diff --git a/README.md b/README.md index 856705e..0649be7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # iozone3 +IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations. + diff --git a/iozone-Generate_Graphs b/iozone-Generate_Graphs new file mode 100644 index 0000000..1fe15b1 --- /dev/null +++ b/iozone-Generate_Graphs @@ -0,0 +1,32 @@ +# +# This script will create the Iozone graphs using +# gnuplot. +# +# +# +# ------------------------------------------------ +# YOU MUST PROVIDE A FILE NAME FOR IT TO PROCESS. +# This filename is the name of the file where you +# sent Iozone's output. +# ------------------------------------------------ + +# Generate data base for all of the operation types. + +/usr/share/iozone/gengnuplot.sh $1 write +/usr/share/iozone/gengnuplot.sh $1 rewrite +/usr/share/iozone/gengnuplot.sh $1 read +/usr/share/iozone/gengnuplot.sh $1 reread +/usr/share/iozone/gengnuplot.sh $1 randread +/usr/share/iozone/gengnuplot.sh $1 randwrite +/usr/share/iozone/gengnuplot.sh $1 bkwdread +/usr/share/iozone/gengnuplot.sh $1 recrewrite +/usr/share/iozone/gengnuplot.sh $1 strideread +/usr/share/iozone/gengnuplot.sh $1 fwrite +/usr/share/iozone/gengnuplot.sh $1 frewrite +/usr/share/iozone/gengnuplot.sh $1 fread +/usr/share/iozone/gengnuplot.sh $1 freread + +# Produce graphs and postscript results. +gnuplot /usr/share/iozone/gnu3d.dem + + diff --git a/iozone3.spec b/iozone3.spec new file mode 100644 index 0000000..4ea4a58 --- /dev/null +++ b/iozone3.spec @@ -0,0 +1,67 @@ +Name: iozone3 +Version: 430 +Release: 1mamba +Summary: A filesystem benchmark tool +Group: System/Benchmarks +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.iozone.org/ +Source: http://www.iozone.org/src/current/iozone3_%{version}.tar +Source1: iozone-Generate_Graphs +License: Distributable +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations. + +%debug_package + +%prep +%setup -q -c %{name}-%{version} + +%build +%make -C iozone3_%{version}/src/current linux + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 iozone3_%{version}/src/current/iozone \ + %{buildroot}%{_bindir}/iozone +install -D -m0755 iozone3_%{version}/src/current/fileop \ + %{buildroot}%{_bindir}/fileop +install -D -m0755 iozone3_%{version}/src/current/pit_server \ + %{buildroot}%{_bindir}/pit_server +install -D -m0755 %{SOURCE1} \ + %{buildroot}%{_datadir}/iozone/Generate_Graphs +install -D -m0755 iozone3_%{version}/src/current/gengnuplot.sh \ + %{buildroot}%{_datadir}/iozone/gengnuplot.sh +install -D -m0755 iozone3_%{version}/src/current/iozone_visualizer.pl \ + %{buildroot}%{_datadir}/iozone/iozone_visualizer.pl +install -D -m0755 iozone3_%{version}/src/current/report.pl \ + %{buildroot}%{_datadir}/iozone/report.pl +install -D -m0755 iozone3_%{version}/docs/iozone.1 \ + %{buildroot}%{_mandir}/man1/iozone.1 +cp iozone3_%{version}/src/current/*.dem %{buildroot}%{_datadir}/iozone/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/iozone +%{_bindir}/fileop +%{_bindir}/pit_server +%dir %{_datadir}/iozone +%{_datadir}/iozone/Generate_Graphs +%{_datadir}/iozone/gengnuplot.sh +%{_datadir}/iozone/iozone_visualizer.pl +%{_datadir}/iozone/report.pl +%attr(0644,root,root) %{_datadir}/iozone/*.dem +%{_mandir}/man1/iozone.1* + +%changelog +* Wed Jan 28 2015 Silvan Calarco 430-1mamba +- package created using the webbuild interface diff --git a/iozone3_430.tar b/iozone3_430.tar new file mode 100644 index 0000000..5f00baf Binary files /dev/null and b/iozone3_430.tar differ