[Gluster-users] Testing for gbench.

Ben Turner bturner at redhat.com
Mon May 15 18:27:37 UTC 2017


Hi all!  A while back I created a benchmark kit for Gluster:

https://github.com/gluster/gbench

To run it just check the help file:

[bturner at ben-laptop bt-0000-0001]$ python GlusterBench.py -h
Gluster Benchmark Kit Options:
  -h --help           Print gbench options.
  -v                  Verbose Output.
  -r --record-size    Record size to write in for large files in KB
  -s --seq-file-size  The size of file each IOZone thread creates in GB
  -f --files          The nuber of files to create for smallfile tests in KB
  -l --sm-file-size   The size of files to create for smallfile tests in KB
  -n --sample-size    The number of samples to collect for each test
  -t --threads        The number of threads to run applications with
  -m --mount-point    The mount point gbench runs against
Example: GlusterBench.py -r 1024 -s 8 -f 10000 -l 1024 -n 3 -t 4 -m /gluster-mount -v

To run it just cd to the dir and run GlusterBench.py:

 $ git clone https://github.com/gluster/gbench.git
 $ cd gbench/bench-tests/bt-0000-0001/
 $ python GlusterBench.py -r 1024 -s 8 -f 10000 -l 1024 -n 3 -t 4 -m /gluster-mount -v

Gbench will install smallfile for you and create any config files, but you will need to have IOzone installed your self as I haven't yet found a reliable repo for IOZone.

If anyone is interested in benchmarking their cluster or testing the tool I would appreciate it.  Also any problems / enhancements / whatever either email me or open an issue on github.  In the future I would love to have a page where you can upload your results and see how your cluster's performance compares to others.  We are always looking for users / contributors so if you know python and want to contribute it would be appreciated!  Thanks!

-b


More information about the Gluster-users mailing list