What advantages do 64-bit processors have over 32-bit?

There are 3 most obvious advantages of 64-bit processors over their 32-bit counterparts: extended address space, capacity increase, and larger number of general-purpose registers.

The extended 64-bit address space theoretically allows the processor to work with 16 Ebytes (2^64) of physical memory within the flat memory model. Although contemporary 64-bit processors can address only 1 Tbyte (2^40) of memory in practice, it is still much higher than in the case of 32-bit addressing. A larger amount of available memory, in turn allows you to eliminate or greatly reduce sluggish operations of data swapping to the disk.

The larger number of registers, and increase of their size, allow the processor to handle large memory areas simultaneously, to handle variables and arrays more effectively, and to pass function arguments in registers instead of the stack.

Keep in mind that you must port your program using the 64-bit version of the compiler, and consider changes of the data model (new type capacities) to get a real performance gain on a 64-bit processor. Launching an application not adapted for the 64-bit platform might on the contrary cause great performance loss, depending on the specifics of the architecture of the processor being used.

But the greatest performance gain from moving to the 64-bit platform awaits those applications which handle large data arrays - these are CAD/CAE-like programs, data managers, programs to work with digital media and applied scientific applications. The performance gain might be of several hundred percent for this kind of software.

Thus, for instance, porting the service 'Oracle on Demand' by the Oracle company from the 32-bit platform to the 64-bit one, allowed reduction of the server response time (350 users working simultaneously) from 13.60 seconds to 2.35 seconds. When FASTCOM integrated the 64-bit platform based on Itanium 2 into their IT-infrastructure, they managed to eliminate issues caused by increased load on billing systems, and get a two-fold performance gain.


Use PVS-Studio to search for bugs in C, C++, C# and Java

We offer you to check your project code with PVS-Studio. Just one bug found in the project will show you the benefits of the static code analysis methodology better than a dozen of the articles.

goto PVS-Studio;

Bugs Found

Checked Projects
Collected Errors
14 072
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →