Copyrights @ Journal 2014 - Designed By Templateism - SEO Plugin by MyBloggerLab

Saturday, October 23, 2010

VMware Workstation and Multi-Core processors

Share

Recently when upgraded to my new dual core laptop, all my development guests started freezing for a few seconds are random intervals of few seconds. As impatient as I am when developing, it was very annoying to wait till it resumes. Tried a lot of fruitless searches on Google and led me to start rebuilds on Virtual PC. The rebuild was really pain because of enormous time it takes to install the OS and then excruciating time taken to install all software and data migration.

Finally thanks to Code Journey’s blog post, it is quite simple solution to make.

It could be because of the fact that if the computer is dual core and the virtual machine is set to use both cores, then BOTH cores must be available every time CPU is needed by the guest. This might be the problem for some, and setting VMware to use 1 CPU core for clients may help, but for me it did not.

Add following line to your .vmx file.
mainmem.useNamedFile = false

The pauses should stopped now, and it does not matter if you use 1 or 2 cores on clients.

Anyways, however it did, thanks Code Journey.

0 comments: