Advantages of 32bit and 64bit versions of Apache 2.2
search cancel

Advantages of 32bit and 64bit versions of Apache 2.2

book

Article ID: 344035

calendar_today

Updated On:

Products

VMware Support Only for Apache HTTP

Issue/Introduction

vFabric Enterprise Ready Server (ERS) version 4 provides both 32bit and 64bit versions of Apache2.2 for most supported platforms. This article provides information on the relative advantages of these versions.

Environment

VMware vFabric Enterprise Ready Server 4
Apache HTTP Server 2.2
Apache HTTP Server 2.0
VMware vFabric Web Server 5.0

Resolution

Advantages of 64bit version of Apache2.2

The main advantage of 64bit HTTPD over 32bit is that it allows higher memory usage per process. 32bit processes generally cannot access more than 2GB of RAM. This could be necessary to allow resource intensive operation, such as massive image rendering.

Another significant advantage is the ability to read and create large files (larger than 2GB), which requires access to 64bit filesystem libraries.

Advantages of 32bit version of Apache2.2

The main advantage of 32bit HTTPD over 64bit is compatibility with legacy libraries, as not all components that you may use are 64bit compatible (though this is increasingly less common).

Another advantage is efficiency. In general, 64bit runs a little slower than 32bit, depending on the usage. This is because everything operates with 8 byte pointers rather than 4 byte. More bytes are loaded/de-referenced for many operations, leading to higher CPU/RAM usage and slower execution.