
I use vmware a lot for development and networking experimentation’s. My system is getting very slow when 4 instances of vmware are trying to access (destroy?) the hard drive. Recently one of my coworker told me that was possible to speed up vmware by 40%. A very interesting tuning , it avoided me to buy a new computer ![]()
The principle of this tuning is to use the RAM as the temporary directory.
Step 1: Edit VM config file
The file is usually located at /etc/vmware/config
Edit the file and make sure you have this line in it
tmpDirectory = “/dev/shm”
Step 2: Mounting /dev/shm
Edit /etc/fstab and add the following line.
tmpfs /dev/shm tmpfs defaults,size=1G,noatime 0 0
I’m getting really good results by setting the size of the partition as the same size of the ram I have.
Step 3: Mount and Run
Now mount the partition and give it shot.
You will see a huge difference.
You may have some other tricks to make it smoking faster, please share it in the comment section!
Thanks a lot. I see a big improvement.
Guys make sure your configured your kernel to use DMA for the HD. This will help also.
Wow, I might have to try this out, since my OS uses about 600mb of my 2gigs anyways..
Thank you a lot
Between the many VMWare products and terms like Host, Guest, Linux, Windows etc - I just want to be sure:
So this is about configuring VMware *PLAYER* on *LINUX HOST* ?
Matelot,
Yes it’s for VMware (workstation/player) on linux host.
Enjoy
It appears that on my ubuntu hardy system, the 1G bit needs to be larger than the ram allocated to all running VMs. I put it up to 2G and now it seems to work OK. First impressions are that it makes quite a noticeable difference.
Yeah it sure make vmware play nicer with my hard drive…
I wonder who told him this trick!
Also you need to restart vmware services before you see the speed improvement.
Peace,
This might be old but it still seems to work great.
Leave a Reply