qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] x86: Allow to set NUMA distance for differen


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2] x86: Allow to set NUMA distance for different NUMA nodes
Date: Tue, 21 Mar 2017 08:57:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/16/2017 03:38 AM, He Chen wrote:
> Current, QEMU does not provide a clear command to set vNUMA distance for
> guest although we already have `-numa` command to set vNUMA nodes.

Subject line: "Allow to $verb" is not idiomatic English.  It is either
"Allow $subject to $verb", or the shorter "Allow ${verb}ing"; in this
case, I'd go with "Allow setting NUMA distance...".


> +++ b/qapi-schema.json
> @@ -5647,7 +5647,7 @@
>  # Since: 2.1
>  ##
>  { 'enum': 'NumaOptionsType',
> -  'data': [ 'node' ] }
> +  'data': [ 'node', 'dist' ] }

Missing documentation for dist.

>  
>  ##
> +# @NumaDistOptions:
> +#
> +# Set distance between 2 NUMA nodes. (for OptsVisitor)

The '(for OptsVisitor)' comment doesn't add anything useful; I'd drop it.

>  
> address@hidden and @var{destination} are NUMA node ID.

Maybe s/ID/IDs/

> address@hidden is NUMA distance from @var{source} to @var{destination}.

s/is/is the/

> +The distance from node A to node B may be different from the distance from
> +node B to node A since the distance allows to be asymmetry.

s/allows to be asymmetry/can be asymmetric/

> +If the distance is not set, the default distance for local NUMA node is 10,
> +and 20 for remote node.

s/for/for a/g

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]