windows 7 cpu topology (sockets/cores/threads) management

asked 2015-06-01 09:05:40 -0500

mmeurillon gravatar image

Hello ! I have installed Openstack form Ubuntu 14.04 + Horizon Dashboard. Everything work properly excepted the number of recognized cores in Windows 7. I found several post and over threads about this problem but nothing to explain me clearly how to configure flavor or glance images to have for example 4 CPU in my Windows 7 guests...

I know that Windows 7 does not work with more than 2 sockets but normally it can detect 4 cores. I have try to modify manually my flavor from console with: nova flavor-key Test set hw:cpu_sockets=2 nova flavor-key Test set hw:cpu_cores=2 nova flavor-key Test set hw:cpu_threds=1

Without success.

Can anybody can explain my clearly how to do that or why I cannot do that (my OpenStack run Nova / KVM an KVM can be configured to run a precise number of sockets and cores)

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-12 16:22:22 -0500

brad-x gravatar image

I found my answer to this question here:

https://help.bluebox.net/hc/en-us/articles/215805977-How-can-I-define-flavor-vCPU-topology-ex-prevent-a-flavor-from-exceeding-2-sockets-but-still-have-4-cores- (https://help.bluebox.net/hc/en-us/art...)

By specifying max_sockets the nova driver will figure out how many cores/threads it needs to set up to get the instance up to the flavor's specified number of vcpu's. In this case the hw:cpu_cores= are not needed.

Note also - this will not affect current instances for some reason. Only newly created ones.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-06-01 09:05:40 -0500

Seen: 571 times

Last updated: Jun 01 '15