[Top][All Lists]

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

Re: [Qemu-devel] [RFC 09/13] numa: introduce '-numa cpu' cpu option

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC 09/13] numa: introduce '-numa cpu' cpu option
Date: Fri, 20 Jan 2017 14:40:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 18/01/2017 18:13, Igor Mammedov wrote:
> It allows to specify mapping of a CPU to NUMA node on CLI.
> Option should be repeated for each present/possible CPU.
> Example for PC machine:
>   -numa node,nodeid=0 -numa node,nodeid=1 \
>   -numa cpu,socket-id=0,core-id=0,thread-id=0,node-id=0 \
>   -numa cpu,socket-id=1,core-id=0,thread-id=0,node-id=1
> Signed-off-by: Igor Mammedov <address@hidden>

What about making core-id/thread-id optional, like

-numa cpu,socket-id=0,node-id=0


Also perhaps change it like this to make it less verbose and match
"-numa node":

  -numa node,nodeid=0 -numa cpus,nodeid=0,socket=0 \
  -numa node,nodeid=1 -numa cpus,nodeid=1,socket=1

(Yeah, I know, bikeshedding).


reply via email to

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