--- /dev/null
+Phil Schwan
+Eric Barton <eeb@clusterfs.com>
+Jody McIntyre <scjody@clusterfs.com>
+Michael MacDonald <mjmac@clusterfs.com>
+Cliff White <cliffw@clusterfs.com>
--- /dev/null
+2006-10-31 - Borrowing mjmac's most excellent work and setting up autogen/RPM
--- /dev/null
+#!/bin/sh
+
+fatal() {
+ local msg=$1
+
+ echo "FATAL: $msg"
+ exit 1
+}
+
+run_cmd() {
+ local cmd=$1
+
+ echo "Running $cmd..."
+ $cmd || fatal "$cmd failed!"
+}
+
+run_cmd aclocal
+run_cmd "automake -a -c"
+run_cmd autoconf
+
+echo "Finished. Ready for ./configure ..."
--- /dev/null
+AC_INIT
+AM_INIT_AUTOMAKE(lustre-iokit,1.0)
+AC_PATH_PROGS(BASH, bash)
+AC_PATH_PROGS(PERL, perl)
+RELEASE="`date +%Y%m%d%H%M`"
+AC_SUBST(RELEASE)
+
+AC_OUTPUT(
+lustre-iokit.spec
+Makefile
+sgpdd-survey/Makefile
+obdfilter-survey/Makefile
+ost-survey/Makefile
+ior-survey/Makefile
+)
--- /dev/null
+bin_SCRIPTS = ior-survey parse-ior.pl
+CLEANFILE = $(bin_SCRIPTS)
+EXTRA_DIST = README.ior-survey ior-survey parse-ior.pl
--- /dev/null
+# lustre-iokit.spec
+%define name @PACKAGE@
+%define version @VERSION@
+%define release @RELEASE@
+%define libdir %{_datadir}/%{name}
+%define bindir %{_sbindir}
+
+Summary: Lustre IOkit - Benchmark Tools
+Name: %{name}
+Version: %{version}
+Release: %{release}
+License: CFS
+Group: Applications/System
+Source: %{name}-%{version}.tar.gz
+URL: http://clusterfs.com/
+BuildRoot: /var/tmp/%{name}-%{version}-root
+Provides: %{name} = %{version}
+BuildArch: noarch
+
+%description
+A set of wrapper scripts for testing the Lustre filesystem and it's components.
+
+%prep
+%setup -qn %{name}-%{version}
+
+%build
+rm -fr $RPM_BUILD_ROOT
+./configure --prefix=/usr
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+cat > %{name}.files <<EOF
+%attr(-, root, root) %{bindir}/*
+%attr(-, root, root) %{libdir}/*
+EOF
+
+%files -f %{name}.files
--- /dev/null
+bin_SCRIPTS = echo.sh obdfilter-survey obparse.pl
+CLEANFILE = $(bin_SCRIPTS)
+EXTRA_DIST = README.obdfilter-survey echo.sh obdfilter-survey obparse.pl
--- /dev/null
+bin_SCRIPTS = ost-survey.pl plot-ost.pl
+CLEANFILE = $(bin_SCRIPTS)
+EXTRA_DIST = README.ost-survey ost-survey.pl plot-ost.pl
Syntax: $ ost-survey /mnt/lustre > ost_log
$ plot-ost.pl ost_log
-
-
-
-
-
-Some sample test results:
-Ost# Read(MB/s) Write(MB/s) Read-time Write-time
-----------------------------------------------------
-0 12.080 18.382 2.483 1.632 Local Firewire IDE
-1 15.043 43.289 1.994 0.693 Local IDE
-2 22.546 25.252 1.331 1.188 Local loopback
-0 8.896 17.370 3.372 1.727 GigE to above disks
-
--- /dev/null
+bin_SCRIPTS = parse-sgpdd.pl sgpdd-survey
+CLEANFILE = $(bin_SCRIPTS)
+EXTRA_DIST = README.sgpdd-survey parse-sgpdd.pl sgpdd-survey