VMware Communities
lenkiatleong
Contributor
Contributor

How to allocate specific core to a guest image?

Hi,

1) I am using Lenovo S20 server with single CPU 4 cores, 12GB RAM, VMWare Workstation 7, Windows 7 Pro 64bits.

2) I would like to know how to allocate a specific core for a specific guest image everytime i reboot the server.

Please advise.

Len

Reply
0 Kudos
6 Replies
AWo
Immortal
Immortal

Why do you want to do that?

However, check sched.cpu.affinity: http://sanbarrow.com/vmx/vmx-advanced.html#sched

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
continuum
Immortal
Immortal

if I remeber right we used a different parameter for early VMserver1 years ago - but nowadays nobody uses it anymore so I forgot it.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
lenkiatleong
Contributor
Contributor

My product requires one dedicated core, one dedicated physical HDD and if possible one dedicated network port per vmware image. As i am running about 6 images, i actually need 2xCPU withe 8 cores total. However my current Lenovo has only 1x CPU. Looking to upgrade it soon.

Using ESX4, it is possible to configure this affinity manually but VMWare workstation 7 could not as far as i know.

I saw your link but i think it is not what i want. Would be good if you could point out how after reading this post.

Reply
0 Kudos
AWo
Immortal
Immortal

Does your product recognize it if VMware shifts the guest to another core?

As far as I understood your question you want to bind one virtual guest to one specific core. Fixed. Correct?

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
lenkiatleong
Contributor
Contributor

I am not sure whether my product will know if vmware shift the guest to another core. But that's what the manual recommends. One guest = One core = One physical HDD = One NIC.

Well, i reckon that someone figures that this may be faster than letting vmware decides how many cores or which core to use. I dunno.

Reply
0 Kudos
lenkiatleong
Contributor
Contributor

And yes. Using ESX, it is possible to bind one guest to one specific core in a specific CPU. And this is what i want to do in WorkStation too. Possible?

Reply
0 Kudos