The mainboard of a Raspberry Pi 2 Model B
The mainboard of a Raspberry Pi 2 Model B, before it will soon suffer from a little stress test with fio…

For a bigger project of mine, I need to install and use fio on Raspberry Pi. fio is a benchmark / stress test tool for measuring I/O. The one available in the standard package is 19 month old and produces a few bus errors in many configurations. It’s time for a more recent one.

If you have a previous version of fio on your system (or if you have a doubt and want to have this out of the way), just remove it this way:

$ sudo apt-get remove fio

First, let’s get the the source code from git:

$ git clone --branch fio-2.6 fio-2.6
Cloning into 'fio-2.6'...
remote: Counting objects: 21217, done.

I picked version 2.6 as it is the last stable release (which is 20 days old). Then:

$ cd fio-2.6
$ ./configure
$ make
$ sudo make install

You can then check that everything went well:

$ /usr/local/bin/fio -v

Et voilĂ … It was good to see a little C compilation going on. Goodbye bus errors!

Comments are closed.