summaryrefslogtreecommitdiffstats
path: root/extras/benchmarking
diff options
context:
space:
mode:
Diffstat (limited to 'extras/benchmarking')
-rw-r--r--extras/benchmarking/Makefile.am7
-rw-r--r--extras/benchmarking/README20
2 files changed, 23 insertions, 4 deletions
diff --git a/extras/benchmarking/Makefile.am b/extras/benchmarking/Makefile.am
index 16f73cbaa6b..04cc06182ab 100644
--- a/extras/benchmarking/Makefile.am
+++ b/extras/benchmarking/Makefile.am
@@ -1,7 +1,12 @@
docdir = $(datadir)/doc/$(PACKAGE_NAME)/benchmarking
-EXTRA_DIST = glfs-bm.c README launch-script.sh local-script.sh
+benchmarkingdir = $(docdir)
+
+benchmarking_DATA = rdd.c glfs-bm.c README launch-script.sh local-script.sh
+
+EXTRA_DIST = rdd.c glfs-bm.c README launch-script.sh local-script.sh
CLEANFILES =
+
diff --git a/extras/benchmarking/README b/extras/benchmarking/README
index e83dd882235..92c82960669 100644
--- a/extras/benchmarking/README
+++ b/extras/benchmarking/README
@@ -5,14 +5,28 @@ 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.
+* 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.
+* 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 \ No newline at end of file
+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 \ No newline at end of file