Alpine bootstrap script
This needs to be reproducible in the future, ideally from a relatively dependency-free tarball, to reproducing the results in the paper. Thus, we should choose a particular version of Alpine (the latest, 3.3.3, is probably acceptable), and patch Bilby as necessary to run on its kernel. The script will build Bilby, load the module, make a new filesystem, and install Alpine to it. The alpine-setup should do the heavy lifting for the installation, though there will need to be configuration around it. Make sure lmbench is installed.
The final benchmarking configuration needs to have the filesystem backed by a block ramdisk, so the initrd script for the Linux boot sequence should ensure the brd module is loaded, dd from the actual boot disk to
/dev/ramX as the new root, and switch to it. Note that the module needs some parameters to be useful:
modprobe brd rd_nr=1 rd_size=1048576 will create a single block ramdisk with 100MiB of backing storage. The default seems to be creating 16 devices with 0KiB of backing storage.
The shutdown sequence should dd the ramdisk back to the boot disk after unmounting it, probably.
POSIX shell scripts are fine (sh, not bash). The first iteration can be x86-only, although hopefully x64 and ARM can be supported in the future as well.