[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP |
Date: |
Wed, 18 Oct 2017 14:19:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 17/10/2017 17:07, Daniel P. Berrange wrote:
> ie instead of:
>
> -smp 8,sockets=4,cores=2,threads=1
> -numa node,nodeid=0,cpus=0-3
> -numa node,nodeid=1,cpus=4-7
>
> we could do:
>
> -object numa-node,id=numa0
> -object numa-node,id=numa1
> -object cpu,id=cpu0,node=numa0,socket=0,core=0,thread=0
> -object cpu,id=cpu1,node=numa0,socket=0,core=1,thread=0
> -object cpu,id=cpu2,node=numa0,socket=1,core=0,thread=0
> -object cpu,id=cpu3,node=numa0,socket=1,core=1,thread=0
> -object cpu,id=cpu4,node=numa1,socket=2,core=0,thread=0
> -object cpu,id=cpu5,node=numa1,socket=2,core=1,thread=0
> -object cpu,id=cpu6,node=numa1,socket=3,core=0,thread=0
> -object cpu,id=cpu7,node=numa1,socket=3,core=1,thread=0
>
> (perhaps -device instead of -object above, but that's a minor detail)
I understand that this is just an example, but wasn't this what is solved by
-smp 8,sockets=4,cores=2,thread=1
-numa node,nodeid=0 -numa cpu,node-id=0,socket-id=0-1
-numa node,nodeid=1 -numa cpu,node-id=0,socket-id=2-3
?
Paolo
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, (continued)
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/23
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/23
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/19
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Daniel P. Berrange, 2017/10/19
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Eduardo Habkost, 2017/10/19
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Daniel P. Berrange, 2017/10/20
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Eduardo Habkost, 2017/10/20
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/23
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/23
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Daniel P. Berrange, 2017/10/23
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP,
Paolo Bonzini <=
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Daniel P. Berrange, 2017/10/18
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Paolo Bonzini, 2017/10/18
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/18
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Paolo Bonzini, 2017/10/18
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/18
- Re: [Qemu-devel] [RFC 0/6] enable numa configuration before machine_init() from HMP/QMP, Igor Mammedov, 2017/10/18