Il 21/08/2013 03:22, Wanlong Gao ha scritto:
> 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.

Ok.  You didn't answer my exact question though---could you run the
above command line without "-m 2048"?

(Of course with hotplug like in Igor's case you'll still need "-m
maxmem=4096,slots=4" or something like that)

Paolo

Reply via email to