rpms/tiobench/devel tiobench-man-tiobench.1, NONE, 1.1 tiobench-man-tiotest.1, NONE, 1.1 tiobench.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Fri Oct 14 16:00:22 UTC 2005


Author: thl

Update of /cvs/extras/rpms/tiobench/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14127/devel

Modified Files:
	.cvsignore sources 
Added Files:
	tiobench-man-tiobench.1 tiobench-man-tiotest.1 tiobench.spec 
Log Message:
auto-import tiobench-0.3.3-2 on branch devel from tiobench-0.3.3-2.src.rpm


--- NEW FILE tiobench-man-tiobench.1 ---
.TH tiobench 1 "" Mar-2001 ""
.\" manual page by Peter Palfrader

.SH NAME
.LP
tiobench \- Threaded I/O bench

.SH SYNOPSIS
.LP
\fBtiobench\fP
[\fB--help\fP]
[\fB--nofrag\fP]
[\fB--size\fP \fISizeInMB\fP [\fB--size\fP ...]]
[\fB--numruns\fP \fINumberOfRuns\fP [\fB--numruns\fP ...]]
[\fB--dir\fP \fITestDir\fP [\fB--dir\fP ...]]
[\fB--block\fP \fIBlkSizeInBytes\fP [\fB--block\fP ...]]
[\fB--random\fP \fINumberRandOpsPerThread\fP [\fB--random\fP ...]]
[\fB--threads\fP \fINumberOfThreads\fP [\fB--threads\fP ...]]

.SH DESCRIPTION
.LP
\fBtiobench\fR is a perl wrapper to \fBtiotest\fP calling it multiple times
with varying sets of parameters as instructed.

.SS
OPTIONS
.IP "\fB--help\fP" 8
Display a brief help and exit.

.IP "\fB--nofrag\fP" 8
Instructs \fBtiobench\fP to pass \fB-W\fP to \fBtiotest\fP so it waits
for previous threads to finish before starting a new one in the writing
phase. For more info see the \fB-W\fP option in the \fBtiotest\fP(\fB1\fP)
manpage.

.IP "\fB--size\fP \fISizeInMB\fP" 8
The total size in MBytes of the files may use together. If this option is not
given, tiobench tries to be smart and figure out a size making sense.

.IP "\fB--numruns\fP \fINumberOfRuns\fP" 8
This number specifies over how many runs each test should be averaged.
Defaults to 1.

.IP "\fB--dir\fP \fITestDir\fP" 8
The directory in which to test. Defaults to \fB.\fP, the current directory.

.IP "\fB--block\fP \fIBlkSizeInBytes\fP" 8
The blocksize in Bytes to use. Defaults to \fB4096\fP.

.IP "\fB--random\fP \fINumberRandOpsPerThread\fP" 8
Random I/O operations per thread. Defaults to \fB1000\fP.

.IP "\fB--threads\fP \fINumberOfThreads\fP" 8
The number of concurrent test threads. Defaults to \fB4\fP.

.LP
The options \fB--size\fP, \fB--numruns\fP, \fB--dir\fP, \fB--block\fP,
\fB--random\fP, and \fB--threads\fP may be given multiple times to cover
multiple cases, for instance: \fBtiobench --block 4096 --block 8192\fR
will first run through with a 4KB block size and then again with a 8KB
block size.

.LP
To get usefull results the used file sizes should be a lot larger than
the physical amount of memory you have. A good idea is to boot with 16
Megs of RAM (Try passing the "mem=16M" option to the kernel to limit
Linux to using a very small amount of memory) and into Single User mode
only.

.SH "SEE ALSO"
\fBtiotest\fP(\fB1\fP),
\fBbonnie\fP(\fB1\fP),
\fBhdparm\fP(\fB8\fP)


.SH AUTHOR

.LP
\fBtiobench\fR was written by James Manning <jmm at computer.org>.

This  manual  page  was  written by Peter Palfrader <weasel at debian.org>,
for the Debian GNU/Linux system (but may be used by others).


--- NEW FILE tiobench-man-tiotest.1 ---
.TH tiotest 1 "" Mac-2001 ""
.\" manual page by Peter Palfrader

.SH NAME
.LP
tiotest \- Threaded I/O bench

.SH SYNOPSIS
.LP
\fBtiotest\fP
[\fB-h\fP]
[\fB-W\fP]
[\fB-f\fP \fISizeInMB\fP]
[\fB-d\fP \fITestDir\fP]
[\fB-b\fP \fIBlkSizeInBytes\fP]
[\fB-r\fP \fINumberRandOpsPerThread\fP]
[\fB-t\fP \fINumberOfThreads\fP]
[\fB-T\fP]
[\fB-c\fP]
[\fB-L\fP]
[\fB-S\fP]
[\fB-R\fP]
[\fB-D\fP \fIDebugLevel\fP]
[\fB-k\fP \fISkipTestNoN\fP]


.SH DESCRIPTION
.LP
\fBtiotest\fR is a file system benchmark especially designed to test
 I/O performance with multiple running threads.

.SH OPTIONS
.IP "\fB-h\fP" 8
Display a brief help and exit.

.IP "\fB-W\fP" 8
Instructs \fBtiotest\fP to wait for previous thread to finish before
starting a new one in the writing phase. This results in the files to
be sequentially allocated and thus prevents them to be fragmented. Of
course the writeside test is not parallel then but in readside the files
are physically more sequentially placed on the media (well this depends
on the filesystem too).

.IP "\fB-f\fP \fISizeInMB\fP" 8
The filesize per threat in MBytes. Defaults to \fB10\fP MB.

.IP "\fB-d\fP \fITestDir\fP" 8
The directory in which to test. Defaults to \fB.\fP, the current directory.

.IP "\fB-b\fP \fIBlkSizeInBytes\fP" 8
The blocksize in Bytes to use. Defaults to \fB4096\fP.

.IP "\fB-r\fP \fINumberRandOpsPerThread\fP" 8
Random I/O operations per thread. Defaults to \fB1000\fP.

.IP "\fB-t\fP \fINumberOfThreads\fP" 8
The number of concurrent test threads. Defaults to \fB4\fP.

.IP "\fB-T\fP" 8
More terse output.

.IP "\fB-c\fP" 8
Consistency check data. This should be used for stresstesting the media
rather than benchmarking (it will slow io and raise cpu percentage).
It is especially usefull to seek media for very hard to detect errors.

.IP "\fB-L\fP" 8
Hide latency output.

.IP "\fB-S\fP" 8
Do writing synchronously.

.IP "\fB-R\fP" 8
Use raw drives.

.IP "\fB-D\fP \fIDebugLevel\fP" 8
Set the debug level.

.IP "\fB-k\fP \fIfISkipTestNoN\fP" 8
Skip test number n. Could be used several times.


.IP
Example:

.ce
while tiotest -c -f 2000 ; do echo run ok ; done

.LP
To get usefull results the used file sizes should be a lot larger than
the physical amount of memory you have. A good idea is to boot with 16
Megs of RAM (Try passing the "mem=16M" option to the kernel to limit
Linux to using a very small amount of memory) and into Single User mode
only.

.SH "SEE ALSO"
\fBtiobench\fP(\fB1\fP),
\fBbonnie\fP(\fB1\fP),
\fBhdparm\fP(\fB8\fP)

.SH AUTHOR

.LP
\fBtiotest\fR was written by Mika Kuoppala <miku at iki.fi>.

This manual page was written by Peter Palfrader <weasel at debian.org>,
for the Debian GNU/Linux system (but may be used by others).


--- NEW FILE tiobench.spec ---
Name:           tiobench
Version:        0.3.3
Release:        2%{?dist}
Summary:        Threaded I/O benchmark

Group:          Applications/System
License:        GPL
URL:            http://tiobench.sourceforge.net
Source0:        http://download.sourceforge.net/sourceforge/tiobench/tiobench-0.3.3.tar.gz
Source1:	tiobench-man-tiobench.1
Source2:	tiobench-man-tiotest.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Tiobench is a portable, robust, fully-threaded file system benchmark 
especially designed to test I/O performance with multiple running threads.
 

%prep
%setup -q
sed -i 's|^#(DEFINES=-DLARGEFILES)$|$1|' Makefile
sed -i 's|tiobench.pl|tiobench|' scripts/makeimages.pl scripts/bigbench.sh
rm -rf scripts/CVS
chmod 0644 scripts/*

%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
install -Dp -m0755 tiotest $RPM_BUILD_ROOT%{_bindir}/tiotest
install -Dp -m0755 tiosum.pl $RPM_BUILD_ROOT%{_bindir}/tiosum
install -Dp -m0755 tiobench.pl $RPM_BUILD_ROOT%{_bindir}/tiobench
install -Dp -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/tiobench.1
install -Dp -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/tiotest.1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc BUGS ChangeLog COPYING README TODO scripts/
%{_bindir}/*
%{_mandir}/*/*


%changelog
* Fri Oct 14 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.3.3-2
- Use dist
- Use uncompressed man-pages
- Use RPM_OPT_FLAGS

* Mon Oct 03 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.3.3-1
- Initial package.
- Install tio{bench,sum}.pl as tio{bench,sum} (like debian and dag do)
- Man-Pages from Debian


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tiobench/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Oct 2005 15:59:31 -0000	1.1
+++ .cvsignore	14 Oct 2005 16:00:20 -0000	1.2
@@ -0,0 +1 @@
+tiobench-0.3.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tiobench/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Oct 2005 15:59:31 -0000	1.1
+++ sources	14 Oct 2005 16:00:20 -0000	1.2
@@ -0,0 +1 @@
+bf485bf820e693c79e6bd2a38702a128  tiobench-0.3.3.tar.gz




More information about the fedora-extras-commits mailing list