qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V8 00/11] Add support for binding guest numa nod


From: Wanlong Gao
Subject: Re: [Qemu-devel] [PATCH V8 00/11] Add support for binding guest numa nodes to host numa nodes
Date: Wed, 21 Aug 2013 09:22:31 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 08/20/2013 09:43 PM, Paolo Bonzini wrote:
> Il 20/08/2013 03:07, Wanlong Gao ha scritto:
>>  -numa node,nodeid=0,cpus=0, \
>>  -numa mem,size=1024M,policy=membind,host-nodes=0-1 \
>>  -numa node,nodeid=1,cpus=1 \
>>  -numa mem,size=1024M,policy=interleave,host-nodes=1
> 
> What nodes would the memory be in, for this command line?  Does it just

The original concept here is that if the nodeid is omitted, it will be
set node by node from node0. Here I also keep the original concept, so the
memory will be in node0 and node1.

> compute the total and split it evenly across the nodes (so that the
> "-numa node" options could omit nodeid and cpus too)?

If no memory size is given for any nodes, the memory will split across
all nodes like (ram_size / nb_numa_nodes). And yes nodeid and cpus options
can also be omitted from the original concept.

> 
> Also, do you still need a "-m" option if you use "-numa mem"?

The "-m" options will be used to compute the memory size of each node
if the memory size of each node is not set by "-numa mem" option. This
is also be consistent with the original concept.


Thanks,
Wanlong Gao

> 
> Paolo
> 




reply via email to

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