github twitter linkedin email
Why we need a 64-bit OS for Raspberry Pi?
Jul 10, 2018
2 minutes read

More than 18 millions of Raspberry Pis have been sold ‘til today. This small, cheap computer has been popular to hobbyist or students as platform to deploy sensor applications, or to create a micro data center.

Although it looks powerless comparing to standard desktop computer or laptop, but the latest models (Raspberry Pi 3 and 3B+) are capable of executing ARM 64-bit instructions since their processors are based on ARMv8 architecture. In terms of memory, there is no advantage of running a 64-bit application on these models since they only have 1GB of RAM. Fortunately, there are other things that we can get.

First, processing the same amount of data using 64-bit instructions are faster than 32-bit ones, but depending on how good the developer exploits the instructions, and how mature the compiler optimises the codes. There are several good old articles (such as here and here) explaining why ARM 64-bit instruction are better.

Second, Cloud providers are already moving from x86 to ARM 64-bit servers, mainly because the later consumes less power, reducing the operational cost. Thus it is not a surprise if the price of ARM-based VMs are cheaper than x86.

To exploit this trend, e.g. reducing our OPEX by using ARM-based VMs, we need to start porting existing codes or developing new applications for ARM 64-bit architecture. Unfortunately, there is a road-block: most (if not all) of developers’ machines are using x86 processors. One of possible solutions would be using one or more Raspberry Pis with 64-bit OS as a testbed for our applications. This is possible because the hardware is very cheap to buy, and the OS is totally free (it is Linux anyway).

OpenSUSE is arguably the first 64-bit operating system for Raspberry Pi. Alternatives are ArchLinux, Alpine Linux, and FruitOS.


Back to posts


comments powered by Disqus