64-bit Brightboxes now available 29 Sep 10
From today, you can build 64-bit Lucid & Hardy Brightboxes! 64-bit boxes include the usual Brightbox Ruby/Rails stack and deployment tune-up, including our Ruby EE packages, atop a 64-bit userland and kernel.
Why use 64-bit?
There are a number of advantages to 64-bit architectures.
- Increased performance with >3GB of RAM – Addressing more than 3GB of RAM in userland on 32-bit linux requires the use a PAE which incurs a small performance overhead, this is not necessary with 64-bit. This can benefit applications that access large amounts of memory such as MySQL.
- Larger memory-mapped files – Particularly useful for a number of key-value/nosql databases such as Redis and others that use memory-mapped files for storage. MongoDB, for example, is limited to ~2.5GB of storage on 32-bit architectures.
- Certain number-crunching applications such as encryption and audio/video encoding can benefit greatly from access to 64-bit registers, offering considerable performance increases.
However, 64-bit isn’t always beneficial! In nearly all cases a 64-bit process will require (sometimes considerably) more memory than an identical 32-bit process due to larger pointers and other data-types occupying more space. This is particularly prevalent with Ruby where many of the internal data structures double in size when switching to 64-bit. Before deciding on 64-bit you should weigh up the pros and cons for your particular application.