Saturday November 21, 2009 3:19 PM AEST

64-bit computing

  • Email a Friend
  • Print Page
 »
64-bit computing
By Ashton Mills
Mar 30, 2009 | 6 Comments
Tags: 64-bit | computing

The 32-bit era is coming to end, but what does this mean and what's so great about 64-bit? Ashton pads the bits.

The advent of 64-bit CPUs brought with it the promise of a new level of computing. The inevitable successor to 32-bit just as 32-bit succeeded 16-bit before it, we naturally assume it must better. But how is better, and how does it affect you?

The case for bits
I've said this in numerous X-Ray pieces, and it applies again here: the technology isn't new. 64-bit computing has been around since the 1960s when IBM developed its Stretch supercomputer, able to process data and instructions with 64-bits. But it wasn't really necessary back then, and even in more recent years 64-bit computing has been the domain of servers and supercomputers with real work to do rather than the pithy Windows thing desktops run.

Inevitably technology trickles down, but ironically the first consumer level devices to receive the 64-bit treatment were gaming consoles - the Nintendo 64 and Playstation 2. It didn't reach mainstream computing until AMD released its AMD64 line of CPUs, starting with the Opteron line, which ultimately spurred affordable desktop oriented 64-bit CPUs from AMD and Intel soon after.

The timing was partly driven by a limitation of the 32-bit architecture: 32-bit CPUs can only count so high. As memory became more affordable, and mainstream processors formed the basis for servers, the demand for memory rose and the humble 32-bit processor can only see up to 4GB in addressable space. This was partly satiated through the use of PAE (see 'Easy as PAE') but ultimately this was a stop-gap on the way to 64-bit CPUs and a much, much larger address space.

Indeed, this is what most people think of when they hear about 64-bit computing - raising the limit from 4GB to a mind numbingly large 16EB, or exabytes. That's over 16 billion gigabytes.

But 64-bit computing is about much more than addressable memory, it's an architecture change that requires software to change as well, and this brings its own advantages and disadvantages.

What's in a word?
This is actually a very good question when it comes to computing - your CPU thinks in chunks of data known as a word, which roughly approximates to the largest block of data it can process at one time. Traditionally a word is 16-bits, born from previous architectures and carried over as technology progressed. A double word, or dword, is 32-bits and this is the fundamental word size for a 32-bit processor. Data, instructions, registers, pointers and addresses are all managed in 32-bit dword sized blocks. Internally the processor can't cope with anything larger unless it splits them up into 32-bit sized chunks, which takes more time.

And that's where 64-bit CPUs have an advantage. As the name implies, a 64-bit CPU can use a word size 64-bits wide, otherwise known as a quad-word or qword. Data, instructions, registers, pointers and addresses can all be 64-bits in size, manipulating or performing instructions on more information at a time. Indeed, one of the key features of a 64-bit CPU is its ability to sometimes process in one clock cycle what would take a 32-bit CPU two.

Which, on the surface, would seem to imply that a 64-bit CPU is twice as fast as a 32-bit one, but a doubling of the word size is not equivalent to a faster processor. In fact in some cases, it can even be slower.

It all comes down to the data and what the CPU needs to do with it. Software that performs complex maths - especially compression, encryption, and encoding - can usually leverage the larger word sizes to process more data at once. And here, most certainly, there can be considerable performance gains. Multimedia instructions (think SSE et al) can also perform faster, as these usually operate on 128-bit data and, again, a 64-bit CPU can process these faster.

However for most tasks you do, at least on a desktop computer, the extra word size has little if any impact at all. Browsing the web or tapping away in Word isn't going to require the use of large word sizes. Which is why when you installed 64-bit Windows or Linux on your first 64-bit CPU everything seemed just about the same, because it was.

There is an exception, and it's more a indirect benefit than a function of 64-bit architecture - Windows and most Linux distributions are compiled for the lowest common denominator to ensure they can run on as many platforms as possible. This means not tailoring the binaries for particular CPUs, but using a generic base i386 instruction set. This usually means some of the advanced CPU features developed over the years for accelerating performance can't be taken advantage of, as different CPUs support different functions.

The same is also true for 64-bit versions of Windows and Linux, with the exception that even the base 64-bit processor brings with it all those years of development from its 32-bit heritage, and certain functions are standard across all 64-bit CPUs - such as SSE, MMX, register sizes and cache. Hence even when operating systems are compiled for the lowest common denominator for 64-bit platforms, the code is still likely to be better-optimised than the 32-bit versions of the same, the result which may be faster performance.

If you've ever compiled your own Linux kernel, you can see an example of this in the way Linux distributions use the 'Generic x86-64' target over the other 'Opteron' and 'Core2' paths. As a user you can re-compile the kernel and optimise it for a given architecture to further improve performance, which in some cases can provide quite a boost. It would be great to be able to do this with Windows too, but alas Microsoft isn't going to give up the source to users anytime soon.

 
 »
 
This article appeared in the March, 2009 issue of Atomic.

The latest issue is on sale now!

Want to learn all about Diablo III? Want to find out what the best Solid State Drive is on the market today, and how to look after it? Want to catch up on the latest hardware, games and in depth tech from Australia's best enthusiast mag?

Get your copy today :)
6 Comments
Thoughts on this article? Add a comment below.
Athiril
Mar 30, 2009 10:13 PM
Hehe the italics tag didnt work
Athiril
Mar 30, 2009 10:19 PM
And the subhead tag? and graphics is spelled wrong... >.> not to be a nitpicker... but proof reading helps :)

Though interesting, seems like I've been reading this same article for the past 4 years..
Hawkeye
Mar 31, 2009 8:52 AM
I really cannot express how much I love the fact that our CMS has no preview function ;)

- DH
Athiril
Mar 31, 2009 4:12 PM
Hawkeye doesn't the lack of preview take the MS out of CMS? ;)
clockworkman
Apr 8, 2009 5:07 AM
Dont be silly Hawkeye, you dont need 'preview' functions, just post it up, sooner or later one of us will have all your proofing done for you!
surely you agree, a EUMCS (End Users Manage the Content System) is much! better
King_Of_The_Mountain
Apr 23, 2009 10:35 PM
A good read, I'm not a very tech-minded person when it comes to computers but I did learn a bit and enjoyed reading it, keep it up guys.
Login or register to submit a comment.
 
 
 
Atomic Magazine

Issue: 107 | December, 2009

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
"Fucking signed.

"
by index680i | Nov 21, 2009 2:54 PM
 
""sudo preupgrade"
...failed to download installer metadata
------------
So ..."
by wlayton27 | Nov 21, 2009 8:16 AM
 
"I thought Vista outlived it's usefulness about the same time it was released , lol"
by mr.gargoyle | Nov 21, 2009 12:28 AM
 
"^ I find with CoD4 that I can jump on an empty server and be joined by 6-12 others before the ..."
by Ezekill | Nov 20, 2009 10:10 PM
 
"check

LOMAC
DCS Black Shark
X-plane"
by Bastard Child | Nov 20, 2009 8:13 PM
Latest User Reviews
Shenmue II
10%
asdfasdf
 
EVGA X58 Classified
90%
great board, a few things could be better
 
EVGA X58 Classified
90%
Gorgeous looking
 
Sapphire 4890
90%
So good, I immediately wanted a second one!
 
MSI 790FX-GD70 motherboard
90%
Allmost the prefect gaming board