I'm sure we've all heard the terms 64bit and 32bit thrown around, but what do they actually mean?
I'm pretty sure they have to do with the size of a memory address. On a 64bit machine, a reference to an object is 64 bits. But I want to dig a little deeper....
One often hears the phrase "64bit machine." What part of the computer is actually geared toward the number of bits? Processor? Operating System?
What is the advantage of having larger memory addresses?
I could add more questions, but I think brief is better.
Thanks guys :D
CPU registers and memory addressing.
The system can reference (see) much more memory.
For some programs, like office automation suites, 32bit vs 64bit makes little observable difference.
But for other applications, such as databases, graphics/video processing, or hosting virtual machines, being able to reach more physical memory at once and being able to process more information with each instruction can make a huge difference in performance.
Note that today, many 32bit chips have 64bit extension functions, as many FPU (math) or SSMD (vector) operations are done in 64bit mode already.
See 32-bit Vs. 64-bit Systems: What's The Difference? for more.
The difference is exactly 32 bit ;-)
You need 64 bit hardware (processor) to run a 64 bit OS. You need a 64 bit OS to run 64 bit software. This are the dependencies.
64 bit refers to the width of registers, memory addressing space, etc. One benefit is the ability to address more than 4GB of memory.
Wikipedia has an article on 64-bit computing with more details.
Edit: The advantages to more memory are that the operating system and programs have more virtual addressing space--16 exabytes (17.2 billion GB)--and, more importantly, that more physical memory can be added to a system and addressed, causing less swapping of virtual memory to and from disk.
The advantage to wider registers and data buses are that it is easier and faster to move the same amount of data around. An operation that required two or more registers can now be done with one.
So, performance is typically increased when software is recompiled for 64 bits.
A disadvantage is that wider data can mean more space taken by the same data. For instance storing the number 300 requires nine bits. If it's stored in a 32 bit integer, 23 bits are wasted. In 64 bit, that wastage becomes 55 bits. So, without retooling, a simple recompile to 64 bit can yield faster, but slightly more bloated software.
Edit: Also there are 64-bit technology pages here:
Let's go back to the basics.
99% of computer these days are based on what is referred to as the Von Neumann architecture. Essentially, the computer is in a constant cycle of:
alt text http://upload.wikimedia.org/wikipedia/commons/1/1c/Von_Neumann_architecture.png
When referring to 32/64-bit system (or any other bit size), essentially you are talking about the architecture and implementation of the computer:
If you have a 64-bit system, you have an address space of
2^64
. This is why 32-bit system cannot have more than 4GB of RAM. How can you address a memory space which is larger than2^32
?Regarding the performance differences, there is no clear cut answer (just as there is no clear answer if CISC or RISC architecture is better). It vastly depends on the applications you are using.
To sum: a 64-bit architecture is simply a different way to build a computer. It does not mean it is better, or worse, or does things differently (on a low level, every computer is doing fetch-execute). It's simply a different way of implementing a computer.
Exactly the 64bit or 32bit references just to the width of the main bus.