sharing resources between virtual machines

After some extensive searching I couldn’t find the answer to my question. I’m sorry if this is obvious or not, but I just need to know.
I have a server with verry low resources, 2gb of ram and 2 cores. I want to run a few webservices on it and want to do those in at least three linux VM’s. Can I set my vm software up so that it shares the core depending on resource need of the guest os’es? My favourite vm software is VmWare, And I like to use that if that’s possible.

Answer

You can set each VM to have up to two cores in this case. The more cores the more wait time per processing task. You can certainly assign two cores to each VM but it wont help them.

As for memory, you don’t want to oversubscribe it too much. My suggestion is to leave 20% for host and distribute the rest. You can monitor memory and change it so that you’re giving each machine a maximum that it uses but you will QUICKLY start using the scratch/page file and burning up your disks. For webservers, you’re probably safe with 256-512mb of memory each depending on distro and packages installed.

Attribution
Source : Link , Question Author : blipman17 , Answer Author : Daniel S.

Leave a Comment