Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On a 64 bit Windows7 machine will I get better VirtualBox guest performance running 32-bit or 64-bit Debian?

I want to run the guest as a LAMP server.

share|improve this question

migrated from Jul 3 '11 at 22:16

This question came from our site for professional and enthusiast programmers.

A 64-bit system doesn't have any intrinsic performance improvement over a 32-bit one, apart from being able to use more memory. If the guest machine doesn't have at least 4 GB of memory, x64 will give you no benefit at all.

share|improve this answer
But note that compilers will have plenty more register space to optimize in. Of course, data will frequently take up twice the space, but some data are fixed size (say, bytes). These will be handled more efficiently; The savings in more opportunity for register-based parameter passing instead of stack-based are not something to spit at. I've done recent benchmarks with heavy computation-intensive tree search algorithms that were a factor of 1.1 to 1.2 faster in 64 bit due to this effect mostly. Not shocking, but worthwhile – sehe Jul 3 '11 at 22:58
So user22394, you're saying it will make no difference to the OP running a LAMP server? – saschabeaumont Jul 4 '11 at 2:14
I wouldn't agree with that, @sascha. The AMD64 (EM64T, x86-64) extensions double the number of general purpose registers from 8 to 16, and any program complied for AMD64 will take advantage of this additional workspace because it must be present. It depends on what the system is doing if these registers will help or not. – Bacon Bits Jul 4 '11 at 5:16
I agree that for heavy number crunching 64-bit can actually help; but I don't think a LAMP server could benefit at all from it. – Massimo Jul 4 '11 at 5:18
Nothing about this answer is right. If it's talking about 64-bit systems in general, there's not even a guarantee that it will let you use more memory. If he's talking about these specific systems, there are many differences other than being able to use more memory. For example, more registers. There are lots of benefits to a 64-bit system beyond accessing more physical memory. For example, you can memory map large files. – David Schwartz Oct 29 '15 at 19:47

If performance is the only factor you care about, it really would be better to use 32-bit instead of 64-bit because you could disable the IO APIC feature then, which runs quite faster. This is VirtualBox-specific, BTW.

share|improve this answer
Each cpu might be faster, but according to Why should I enable IO APIC in VirtualBox? - Server Fault, without IO APIC, the guest will not be able to use more than one virtual CPU in the virtual machine, which sounds like a big thruput reduction for most LAMP servers. – nealmcb Mar 30 '14 at 15:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.