I will be using an Ubuntu VM in Mac OS X with VMWare Fusion but I'm not sure which version will give me better performance (32 or 64 bits).

I believe the 32 bits version should take up less memory, but I'm not sure. What do you recommend?


Unless you plan on giving the VM more than 4 gigs of memory, there's no need to use the 64-bit version. A 64-bit operating system can address more memory than a 32-bit operating system, but if you have less than 4 gigs available, then it doesn't matter, since a 32-bit OS can address that much. They should both give you equal performance, but some software is not available for 64-bit linux and is for 32-bit linux, so you would probably be better off with the 32-bit version.

| improve this answer | |
  • Won't the 64 bit host have to "emulate" 32 bit mode for the guest, wasting CPU cycles ? – Daniel Serodio Apr 26 '12 at 21:07
  • @DanielSerodio CPUs run in x86-64 mode automatically. They don't have to emulate 32-bit instructions because they already can execute them natively. – nhinkle Apr 26 '12 at 22:30

The memory is whatever you provide the VM with, bitness has very little to do with it here (except that the 32-bit is limited to a maximum of 4 gigs).

The real issue will be speed of commands and virtualization, which is where 64-bit will give you an advantage. Using the highest bitness available on your processor for the process will not only give the flexibility to run 64-bit Ubuntu, it'll also allow you to run that using hardware virtualization instructions. I'm not sure if the 32-bit version takes advantage of them (I know it doesn't require them, though).

The performance difference won't be huge except on large operations or large memory, but in general, if you would buy 64-bit hardware (what VMWare is the equivalent of here), you should use a 64-bit app.

| improve this answer | |
  • Hardware virtualization does not require either a 64-bit guest OS nor a 64-bit host OS. – nhinkle Aug 26 '10 at 20:43
  • But a 64-bit guest requires hardware virt and a 64-bit host. The same logic that suggests we buy 64-bit hardware today suggests that running VMWare on a 64-bit host is better than a 32-bit host. There's no disadvantage of using a 64-bit host and at least a few advantages. – ssube Aug 27 '10 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.