mikeleahyirelan
Contributor
Contributor

vm acting slow

Jump to solution

hi everyone

i did a p2v on a two processor server with 4 gb of ram. it all went ok but an application that users access via the network is now acting slowly. the converter assigned 4 gb ram to the server and 4 processors (dont know why, the original two processors didnt have dual cores). the server is up and running but a tad slower to respond than my other servers. i assigned it high priority shares for cpu and memory and there is no scarcity of resources so reservations and limits arent a problem. when it was a physical machine there was no performance problem at all. im in a bit of a mess here as its a production server and the app is important. the app is based on a MS accesss database. is it somethign to do with the cpus????

thanks so much

0 Kudos
1 Solution

Accepted Solutions
AndreTheGiant
Immortal
Immortal

First try to change to 2 proc.

If you see that VM doesn't use 2 proc, then change to 1.

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

0 Kudos
10 Replies
mikeleahyirelan
Contributor
Contributor

forgot to say its ms 2003 server standard. in vi client the cpu usage is 900 mhz and memory is 3800 mb even though task mgr on the server is showing no performance issues

0 Kudos
mikeleahyirelan
Contributor
Contributor

in the performance tab the cpu counters are going crazy but dont show it on the task mgr.

0 Kudos
mikeleahyirelan
Contributor
Contributor

ok i have read posts and i think i should change the vm to one cpu. having 4 cpus makes it pause processing until it can get control of 4 cpus, am i correct?

can i just shut down and change or do i have to downgrade the hal. i have other vm's with two cpus, should i change them all to one??

0 Kudos
AndreTheGiant
Immortal
Immortal

First try to change to 2 proc.

If you see that VM doesn't use 2 proc, then change to 1.

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

0 Kudos
Steve_Tron
Enthusiast
Enthusiast

Hi,

The reason for the 4 vCPUs is probably due to the original processors being Hyper threading processors, giving you four logical processors. Andre's right try two vCPU's then one. Depending on how many CPU's and cores each of your ESX hosts have you run into performance issues with VM's with 4 vCPU due to scheduling contention on the host. For example and very basically if you have a dual quad core host a 2 vCPU vm will have 12 scheduling slots for the VM. IF the vm has a 4 vCPU you limit this down to 2. The more VMs the worse the overall performance will be.

Regards

weinstein5
Immortal
Immortal

I disagree with Andre - the right thing to do drop to a single vCPU and see the impact - with Windows 2003 you do not have to change the HAL -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
AndreTheGiant
Immortal
Immortal

the right thing to do drop to a single vCPU and see the impact - with Windows 2003 you do not have to change the HAL -

I'm not sure.

I'm only sure that HAL automatically change from uni to multi. But not from multi to uni:

http://communities.vmware.com/thread/29202

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
mikeleahyirelan
Contributor
Contributor

thanks guys. i downgraded it to a single cpu and changed the HAL and all is better now

0 Kudos
AndreTheGiant
Immortal
Immortal

You're welcome.

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
weinstein5
Immortal
Immortal

Glad to hear do not forget to award points -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos