Will I get better performance using a 32bit guest on a 64bit host?
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Will I get better performance using a 32bit guest on a 64bit host?
Should I run a 32bit or 64bit Linux guest on my Windows 7 Professional 64 bit? Will I get better performance? Software compatibility is not really an issue for me.
This is kind of subjective as there are a lot of variables at work. What may be the case on one machine may not be the same on another. First of all, what software will you be running in your guest and what is its purpose? Further, what sort of virtualization tool will you be using, for example, VMWare Player, VirtualBox, qemu, etc.? Also, how do you define "performance?"
It also depends upon your physical hardware. For example, older Intel processors without vmx capability will not run virtual machines nearly as well as those with it. That is just one very specific example. As another example, my hardware will let me run a 64 bit guest on a 32 bit host in VMWare Player which is not valid on all hardware. With that said, you should find out what processor can and cannot do and proceed from there.
Your performance will also be affected by other hardware, such as graphics, usb emulation, and the like. If your definition of performance means "how responsive will my full desktop environment be in my virtual machine?" then there are many other factors to consider, especially the case of the rogue desktop environment that *requires* 3D acceleration out of the box.
If you are instead referring to more quantitative benchmarks, again that will depend on your specific hardware and the method of virtualization. Ultimately this will come down to a matter of personal preference. You'll have to do some trial and error and see what works best for your purposes.
My guess would be that it is too hard to tell. For the most part a vm should behave like a physical machine. It would require a full test but in either case I'd guess too close to call for most common uses.
Issues are as noted in post #2 about your system.
It would also include many many more variables. How well you distro integrates with the vm selected. Drivers inside the vm may have an effect. The programs you require in the vm would be most dramatic I'd think.
The only obvious effect that I'd see would be the amount or ram. A 32 bit would require and use less in most cases. That may leave your host with enough to reduce any swap file. So an issue with limited ram may be a deciding factor. No page or swap is best but can't always be avoided.
How you configure you client would be of concern in this too with regard to ram amount free.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.