Categories
Filesystem Kernel Linux Performance

Filesystem speeds

The tests were done on a Quad-Core i5 system, using a 24 GB RAM disk (32 GB RAM total).

linux # modprobe brd rd_nr=1 rd_size=$[ 24 * 1024 * 1024 ]

System is Ubuntu 20.04 (x86_64). Basic test were done using fio with variations of this command:

linux # fio --filename=/dev/mapper/luksdev --readwrite=read|write --bs=4k|64k|1M --direct=1 --name=plain --runtime=10 --time_based

The different benchmark scenarios are these:

Create filesystem on RAM disk, create big test file, run fio.

And the same with some more details (more block sizes):

To get some more realistic values, we’re repeating the tests with a NVMe disk: