From 24f80a408cbf5214664efe12466929d50575c963 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 27 Feb 2009 10:23:29 -0800 Subject: Removed unncessary EXTRA_DIST entries and updated benchmarking directory Signed-off-by: Anand V. Avati --- extras/Makefile.am | 8 +++----- extras/benchmarking/Makefile.am | 7 ++++++- extras/benchmarking/README | 20 +++++++++++++++++--- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/extras/Makefile.am b/extras/Makefile.am index f243a0da5b6..afb24e5401a 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -1,13 +1,11 @@ docdir = $(datadir)/doc/glusterfs/ -EmacsModedir = $(docdir)/ -EmacsMode_DATA = glusterfs-mode.el +EditorModedir = $(docdir)/ +EditorMode_DATA = glusterfs-mode.el glusterfs.vim SUBDIRS = init.d benchmarking -EXTRA_DIST = specgen.scm glusterfs.vim glusterfs-mode.el Portfile \ - test/Makefile.am test/Makefile.in test/rdd.c \ - benchmarking/Makefile.am benchmarking/Makefile.in +EXTRA_DIST = specgen.scm Portfile glusterfs-mode.el glusterfs.vim CLEANFILES = 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 -- cgit