cpu hotplug and windows guest (win2012r2)
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2
qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
So, it is a windows bug ? Does I need to do something else ?
Quoted 20 lines · Alexandre DERUMIER
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
Quoted 9 lines
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
So, it is a windows bug ? Does I need to do something else ?
Did you populated appropriate topology in arguments? As far as I can remember from pre-1.1 era CPU hotplug not worked with windows, so it should be neither lack of configured NUMA or a simply OS-specific issue.
Quoted 28 lines · Andrey Korolyov
Quoted 27 lines · Alexandre DERUMIER
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
Quoted 7 lines
Quoted 2 lines
So, it is a windows bug ? Does I need to do something else ?
Did you populated appropriate topology in arguments? As far as I can remember from pre-1.1 era CPU hotplug not worked with windows, so it should be neither lack of configured NUMA or a simply OS-specific issue.
Just to let anyone know that it works well:
http://xdel.ru/downloads/windows-hotplugged-cpu.png
Topology is a bit rotten (I have two sockets with single CPU in each) and I *need* to specify non-zero amount of memory for each numa node to be seen, if each CPU belongs to different node for example but everything else is just fine.
Quoted 3 lines
Quoted 3 lines
I *need* to specify non-zero amount of memory for each numa node to be seen, if each CPU belongs to different node for example but everything else is just fine.
Ok, thanks I'll try to enable numa to see if it's helping
(I known that numa is mandatory for memory hotplug, maybe for cpu too)
----- Mail original -----
De: "Andrey Korolyov" <[email protected]>
À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Janvier 2015 17:07:41
Objet: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2)
Quoted 28 lines · Andrey Korolyov
Quoted 27 lines · Alexandre DERUMIER
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
Quoted 7 lines
Quoted 2 lines
So, it is a windows bug ? Does I need to do something else ?
Did you populated appropriate topology in arguments? As far as I can remember from pre-1.1 era CPU hotplug not worked with windows, so it should be neither lack of configured NUMA or a simply OS-specific issue.
Just to let anyone know that it works well:
http://xdel.ru/downloads/windows-hotplugged-cpu.png
Topology is a bit rotten (I have two sockets with single CPU in each) and I *need* to specify non-zero amount of memory for each numa node to be seen, if each CPU belongs to different node for example but everything else is just fine.
BTW both 2008r2 and 2012r2 are supporting this. 2008r2 is kind enough to tell me that the cpu count is changed and I should relaunch task manager.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
I have tried with numa enabled, and it's still don't work. Can you send me your vm qemu command line ?
Also, with numa I have notice something strange with "info numa" command.
starting with -smp socket=2,cores=1
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: 1 node 1 size: 2048 MB
ok
now:
starting with -smp 1,socket=2,cores=1,maxcpus=2
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB
ok
now hotplug cpu
# cpu-add 1 # info numa 2 nodes node 0 cpus: 0 1 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB
cpu1 has been hotplugged on numa node0 ??????
----- Mail original -----
De: "Andrey Korolyov" <[email protected]>
À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Janvier 2015 17:07:41
Objet: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2)
Quoted 28 lines · Andrey Korolyov
Quoted 27 lines · Alexandre DERUMIER
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
Quoted 7 lines
Quoted 2 lines
So, it is a windows bug ? Does I need to do something else ?
Did you populated appropriate topology in arguments? As far as I can remember from pre-1.1 era CPU hotplug not worked with windows, so it should be neither lack of configured NUMA or a simply OS-specific issue.
Just to let anyone know that it works well:
http://xdel.ru/downloads/windows-hotplugged-cpu.png
Topology is a bit rotten (I have two sockets with single CPU in each) and I *need* to specify non-zero amount of memory for each numa node to be seen, if each CPU belongs to different node for example but everything else is just fine.
Quoted 45 lines · Alexandre DERUMIER
Hi,
I have tried with numa enabled, and it's still don't work. Can you send me your vm qemu command line ?
Also, with numa I have notice something strange with "info numa" command.
starting with -smp socket=2,cores=1
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: 1 node 1 size: 2048 MBok
now:
starting with -smp 1,socket=2,cores=1,maxcpus=2
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MBok
now hotplug cpu
# cpu-add 1 # info numa 2 nodes node 0 cpus: 0 1 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB
Quoted 3 lines
cpu1 has been hotplugged on numa node0 ??????
http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg02240.html
here are working examples. Yes, everything goes to the node0 unless specified (you can see an example for bounded sockets in this url too).
A message that is not in the archive (sent off-list or not yet received): [email protected]
Ok,
I think it's a windows bug,
I have the same topology than you, I don't work.
(I see the new vcpu in device manager, but not in taskmgr or perform)
Rebooting the os make the new vcpu display, so it's seem to be ok on qemu side.
(Just to known, which version of win2012r2 do you use ? standard or datacenter ?)
Thanks for your help!
Regards,
Alexandre
----- Mail original -----
De: "Andrey Korolyov" <[email protected]>
À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Mercredi 21 Janvier 2015 00:16:45
Objet: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2)
Quoted 45 lines · Alexandre DERUMIER
Hi,
I have tried with numa enabled, and it's still don't work. Can you send me your vm qemu command line ?
Also, with numa I have notice something strange with "info numa" command.
starting with -smp socket=2,cores=1
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: 1 node 1 size: 2048 MBok
now:
starting with -smp 1,socket=2,cores=1,maxcpus=2
# info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MBok
now hotplug cpu
# cpu-add 1 # info numa 2 nodes node 0 cpus: 0 1 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB
Quoted 3 lines
cpu1 has been hotplugged on numa node0 ??????
http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg02240.html
here are working examples. Yes, everything goes to the node0 unless specified (you can see an example for bounded sockets in this url too).
Quoted 20 lines · On Fri, 9 Jan 2015 11:26:08 +0100 (CET) Alexandre DERUMIER…
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
Quoted 8 lines
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
So, it is a windows bug ? Does I need to do something else ?
it might be a limitation of specific Windows edition,
I've tested it with W2012R2 Datacenter edition where it's supported for sure.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
it might be a limitation of specific Windows edition,
I've tested it with W2012R2 Datacenter edition where it's supported for sure.From the ovirt documentation:
http://www.ovirt.org/Hot_plug_cpu
It should work with any win2012 version. (Indeed for win2008, datacenter edition was needed)
----- Mail original -----
De: "Igor Mammedov" <[email protected]>
À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Lundi 19 Janvier 2015 17:06:37
Objet: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2)
Quoted 20 lines · On Fri, 9 Jan 2015 11:26:08 +0100 (CET) Alexandre DERUMIER…
Hi,
I'm currently testing cpu hotplug with a windows 2012R2 standard guest,
and I can't get it too work. (works fine with linux guest).
host kernel : rhel7 3.10 kernel
qemu 2.2qemu command line : -smp cpus=1,sockets=2,cores=1,maxcpus=2
Started with 1cpu, topogoly is 2sockets with 1cores.
Then
qmp# cpu-add 1
Quoted 8 lines
I can see a new cpu is windows device manager, and event log in the device said that it's online.
So it should be ok, but.
I can't see new processor in taskmanager or perfmon. (I had tried to relaunch them to be sure.).
So, it is a windows bug ? Does I need to do something else ?
it might be a limitation of specific Windows edition,
I've tested it with W2012R2 Datacenter edition where it's supported for sure.