glusterfs/extras/benchmarking
Raghavendra G b491da7cc5 extras/benchmarking: port glfs-bm.c to master.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 422 (port glfs-bm to latest code-base)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=422
2009-12-01 17:52:36 -08:00
..
glfs-bm.c extras/benchmarking: port glfs-bm.c to master. 2009-12-01 17:52:36 -08:00
launch-script.sh Added all files 2009-02-18 17:36:07 +05:30
local-script.sh Added all files 2009-02-18 17:36:07 +05:30
Makefile.am Removed unncessary EXTRA_DIST entries and updated benchmarking directory 2009-02-28 00:06:33 +05:30
rdd.c Changed occurrences of Z Research to Gluster. 2009-10-07 03:54:49 -07:00
README Removed unncessary EXTRA_DIST entries and updated benchmarking directory 2009-02-28 00:06:33 +05:30

--------------
Parallel DD performance:

* Copy the local-script.sh in ${mountpoint}/benchmark/ directory
* Edit it so the blocksize and count are as per the requirements

* Edit the launch-script.sh script to make sure paths, mountpoints etc are 
  alright.

* run 'lauch-script.sh'

* after the run, you can get the aggregated result by adding all the 3rd entry 
  in output.$(hostname) entries in 'output/' directory.

--------------

iozone:

bash# iozone - +m iozone_cluster.config - t 62 - r ${block_size} - s \
      ${file_size} - +n - i 0 - i 1

--------------
rdd: random dd - tool to do a sequence of random block-sized continuous 
     read writes starting at a random offset

gcc -pthread rdd.c -o rdd

--------------
glfs-bm: tool to benchmark small file performance

gcc glfs-bm.c -lglusterfsclient -o glfs-bm