As applications continue to become more functional and more complex, and as data sets grow in size, the address space requirements of existing applications continue to grow. Today, certain classes of applications need to exceed the 4 Gigabyte address space limitations of 32-bit systems. Examples of applications that exceed the 4 Gigabyte address space include
Various database applications, particularly those applications that perform data mining
Web caches and Web search engines
Components of CAD and CAE simulation and modeling tools
The desire to make these applications and other large applications run efficiently has been the primary impetus for the development of 64-bit computing.
The diagram in Figure 1–1 plots
typical performance against problem size for an application running on a machine with
a large amount of physical memory installed. For very small problem sizes, the entire
program can fit in the data cache (
D$) or the external cache (
E$). But eventually, the program's data area becomes large enough that the
program fills the entire 4 Gigabyte virtual address space of a 32-bit application.
Beyond the 32-bit virtual address limit, applications programmers can still handle large problem sizes. Usually, applications that exceed the 32-bit virtual address limit split the application data set between primary memory and secondary memory, for example, onto a disk. Unfortunately, transferring data to and from a disk drive takes a longer time, in orders of magnitude, than memory-to-memory transfers.
Today, many servers can handle more than 4 Gigabytes of physical memory. High-end desktop machines are following the same trend, but no single 32-bit program can directly address more than 4 Gigabytes at a time. However, a 64-bit application can use the 64-bit virtual address space capability to allow up to 18 Exabytes (1 Exabyte is approximately 1018 bytes) to be directly addressed. Thus, larger problems can be handled directly in primary memory. If the application is multithreaded and scalable, then more processors can be added to the system to speed up the application even further. Such applications become limited only by the amount of physical memory in the machine.
It might seem obvious, but for a broad class of applications, the ability to handle larger problems directly in primary memory is the major performance benefit of 64-bit machines.
A greater proportion of a database can live in primary memory.
Larger CAD/CAE models and simulations can fit in primary memory.
Larger scientific computing problems can fit in primary memory.
Web caches can hold more in memory, reducing latency.
Other compelling reasons why you might want to create 64-bit applications include:
You need to perform a lot of computation on 64-bit integer quantities that use the wider data paths of a 64-bit processor to gain performance.
Several system interfaces have been enhanced, or limitations removed, because the underlying data types that underpin those interfaces have become larger.
You want to obtain the performance benefits of the 64-bit instruction set, such as improved calling conventions and full use of the register set.