OpenBSD: 32 bit or 64 bit

I would like to use the 64 bit version of OpenBSD,
but I’m not really sure how good it works.

Are there any known problems? Is the 32 bit version more recommended for productive environment?

Asked By: Jonathan Egerton

||

I assume that you’re wondering about amd64 vs i386, the 64-bit and 32-bit architectures on PCs (there’s also a choice of word size on Sparc64).

According to the official platform description:

The only major shortcoming at this time is that the kernel debugger ddb is somewhat poor.

Another mentioned limitation is that if your processor lacks the NX bit (most amd64 processors have it), on a 64-bit system, you won’t get OpenBSD’s protection against some exploits based on uploading executable code as data and exploiting a bug (e.g. a buffer overflow) to execute that code.

Another resource to check is the FAQ. Most importantly, unlike on many other operating systems, you can’t run 32-bit binaries on OpenBSD/amd64.

There are several virtualization technologies that allow running OpenBSD/amd64 and OpenBSD/i386 on the same machine (Xen, Vmware, and VirtualBox should support OpenBSD/amd64 guests with a 64-bit hypervisor or host OS; I don’t know if there’s a way to virtualize OpenBSD/i386 on an OpenBSD/amd64 host).

I have used 64bit OpenBSD as a firewall and router without problems for over 2 years, and would highly recomend its stability.

Answered By: Michael Shaw
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.