Lampros - Weird Bricks

Benchmarking EXT4, XFS and JFS

10 November, 2017 | CentOS

Hey folks,

I've been wanting to do a comparison of my own on filesystem performance for a while now so I chose 2 popular contesters (EXT4 and XFS) and one rather unpopular (JFS) to benchmark.

This is how I did it:

A. Install all tools


1. Add the file /etc/yum.repos.d/mongodb-org-3.4.repo with contents:

name=MongoDB Repository

2. Install Mongo

yum -y -q install mongodb-org

3. Prevent Mongo from starting on reboots:

systemctl disable mongod

4. Stop Mongo for now (in case it's running)

systemctl stop mongod

5. Edit the /etc/mongod.conf file and change the line:

dbPath: /var/lib/mongo


dbPath: /media/mongo

Percona MySQL 5.6

1. Install the repository:

yum -y -q install

2. Install the Percona Server package:

yum -y -q install Percona-Server-server-56

3. Edit the /etc/my.cnf and change the line:




4. Prevent MySQL from starting on reboots

systemctl disable mysqld

5. Stop MySQL for now (in case it's running)

systemctl stop mysqld


1. Install the EPEL repository:

yum -y -q install epel-release

2. Install FIO:

yum -y -q install fio


Follow my blog post here: and install both the kmod-jfs and the jfs-tools.

YSCB (Yahoo! Cloud System Benchmark)

Follow my blog post here to install the Yahoo! Cloud System Benchmark.

Install the XFS tools

yum -y -q install xfsprogs

B. Connect a high performance volume to your server.

Use the script packet-block-storage-attach - this has been provided by to make attaching the volumes easier - I found it to work great!


When the script is done you should see similar output to this:

Block device /dev/mapper/volume-bce5c3a6 is available for use

C. Let the benchmarks begin!