-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove generated files. First buildconf complete. Start httpperf library conf fixes. httperf-0.9.0 and references. Possibly a fork, but no release since 2007 Forgot httperf/man Initial Add: Iozone3, under evaluation regarding Open Source licensing problems. Run shell updates. Benchmark Build modifications Add Yocto recipes-benchmarks to get in sync, and modify with current benchmark versions where applicable. First Add: Bonnie to Autotools. New template run.sh. Simulator options for all scripts. Ported 11 cross compilers. First add: Memtester Add lttng. Generic Autotools for iozone3 and memtester. Mods for Ubuntu 10.04 autotools. First distcheck First Add Tiobench 0.4.1 Merge Ubuntu porting. Benchmark Adds. Add all Open Source Benchmarks (Latest Versions)
- Loading branch information
Showing
764 changed files
with
272,428 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
html/ | ||
aclocal.m4 | ||
autom4te.cache | ||
.deps | ||
depcomp | ||
Makefile.in | ||
configure.in | ||
configure | ||
config.guess | ||
config.sub | ||
config.log | ||
config.status | ||
stamp-h1 | ||
install-sh | ||
missing | ||
config.h.in | ||
compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
[submodule "buildconf"] | ||
path = buildconf | ||
url = git://buildconf.git.sourceforge.net/gitroot/buildconf/buildconf | ||
[submodule "html"] | ||
path = html | ||
branch = gh-pages | ||
url = git@github.com:rickfoosusa/openbenchmarks.git | ||
[submodule "lttng/benchmarks"] | ||
path = lttng/benchmarks | ||
url = git://git.lttng.org/benchmarks.git | ||
[submodule "lttng/ust"] | ||
path = lttng/ust | ||
url = git://git.lttng.org/ust.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Makefile dependencies for openbenchmarks. | ||
# @author Rick Foos | ||
# @file | ||
# Use --host= to set cross, despite warnings... | ||
|
||
AUTOMAKE_OPTIONS = foreign | ||
|
||
SUBDIRS = @subdirs@ $(MAYBE_DIRS) | ||
EXTRA_DIST = README |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Automake for Bonnie | ||
# @author Rick Foos | ||
# @file | ||
|
||
AUTOMAKE_OPTIONS = foreign | ||
AM_CPPFLAGS = -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope | ||
|
||
bin_PROGRAMS = bonnie zcav | ||
bin_SCRIPTS = bon_csv2html bon_csv2txt | ||
noinst_SCRIPTS = bonnie-run.sh | ||
|
||
bonnie_SOURCES= \ | ||
bon_file.cpp bon_time.cpp \ | ||
bon_io.cpp forkit.cpp \ | ||
bonnie++.cpp semaphore.cpp \ | ||
bon_suid.cpp \ | ||
bon_file.h bon_time.h forkit.h \ | ||
bon_io.h conf.h port.h \ | ||
bonnie.h config.h semaphore.h | ||
|
||
zcav_SOURCES = \ | ||
zcav.cpp bon_suid.cpp bonnie.h conf.h config.h port.h | ||
|
||
man_MANS = bon_csv2html.1 bon_csv2txt.1 bonnie.8 bonnie++.8 zcav.8 | ||
|
||
EXTRA_DIST = $(man_MANS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
EXES=@exes@ | ||
|
||
all: $(EXES) | ||
|
||
SCRIPTS=bon_csv2html bon_csv2txt | ||
|
||
prefix=@prefix@ | ||
eprefix=@exec_prefix@ | ||
#MORE_WARNINGS=-Weffc++ -Wcast-align | ||
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope $(MORE_WARNINGS) | ||
CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS) | ||
CXX=@CXX@ $(CFLAGS) | ||
|
||
INSTALL=@INSTALL@ | ||
INSTALL_PROGRAM=@INSTALL_PROGRAM@ | ||
|
||
BONSRC=bon_io.cpp bon_file.cpp bon_time.cpp semaphore.cpp forkit.cpp \ | ||
bon_suid.cpp | ||
BONOBJS=$(BONSRC:.cpp=.o) | ||
|
||
MAN1=bon_csv2html.1 bon_csv2txt.1 | ||
MAN8=@man8@ | ||
|
||
ZCAVSRC=bon_suid.cpp | ||
ZCAVOBJS=$(ZCAVSRC:.cpp=.o) | ||
|
||
ALLOBJS=$(BONOBJS) $(ZCAVOBJS) | ||
|
||
bonnie++: bonnie++.cpp $(BONOBJS) | ||
$(CXX) bonnie++.cpp -o bonnie++ $(BONOBJS) $(LFLAGS) | ||
|
||
zcav: zcav.cpp $(ZCAVOBJS) | ||
$(CXX) zcav.cpp -o zcav $(ZCAVOBJS) $(LFLAGS) | ||
|
||
install-bin: $(EXES) | ||
mkdir -p $(eprefix)/bin $(eprefix)/sbin | ||
@INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin | ||
@INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin | ||
|
||
install: install-bin | ||
mkdir -p @mandir@/man1 @mandir@/man8 | ||
@INSTALL_DATA@ $(MAN1) @mandir@/man1 | ||
@INSTALL_DATA@ $(MAN8) @mandir@/man8 | ||
|
||
%.o: %.cpp %.h bonnie.h port.h | ||
$(CXX) -c $< | ||
|
||
bon_suid.o: bon_suid.cpp bonnie.h port.h | ||
$(CXX) -c $< | ||
|
||
clean: | ||
rm -f $(EXES) $(ALLOBJS) build-stamp install-stamp | ||
rm -rf debian/tmp core debian/*.debhelper | ||
rm -f debian/{substvars,files} config.log | ||
|
||
realclean: clean | ||
rm -f config.* Makefile bonnie.h port.h bonnie++.spec bon_csv2html bon_csv2txt sun/pkginfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.TH bon_csv2html 1 | ||
.SH "NAME" | ||
.BR bon_csv2html | ||
program to convert CSV format Bonnie++ data to a HTML form | ||
using tables suitable for display on a web page. NB Lynx can't display this | ||
properly, and due to the size it probably requires 1024x768 monitor to display | ||
properly. | ||
.P | ||
.BR bon_csv2txt | ||
program to convert CSV format Bonnie++ data to plain\-text format | ||
suitable for pasting into an email or reading on a Braille display. | ||
|
||
.SH "DESCRIPTION" | ||
They take CSV format (comma\-delimited spreadsheet files AKA Comma Seperated | ||
Values in MS land) data on standard input and produce HTML or plain text on | ||
standard output respectively. | ||
|
||
.SH "AUTHOR" | ||
These programs were written by Russell Coker <russell@coker.com.au>. May be | ||
freely used and distributed without restriction. | ||
|
||
.SH "AVAILABILITY" | ||
The source is available from http://www.coker.com.au/bonnie++ . | ||
.P | ||
See http://etbe.coker.com.au/category/benchmark for further information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
#!/usr/bin/perl | ||
|
||
{ | ||
header(); | ||
my $line; | ||
while($line = <STDIN>) | ||
{ | ||
while($line =~ /^name,/) | ||
{ | ||
$line = <STDIN>; | ||
} | ||
process($line); | ||
} | ||
footer(); | ||
} | ||
|
||
sub header | ||
{ | ||
print <<END; | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | ||
<HTML> | ||
<HEAD><TITLE>Bonnie++ V@version@ Benchmark results</TITLE> | ||
<STYLE type="text/css"> | ||
TD.header {text-align: center; backgroundcolor: "#CCFFFF" } | ||
TD.rowheader {text-align: center; backgroundcolor: "#CCCFFF" } | ||
TD.size {text-align: center; backgroundcolor: "#CCCFFF" } | ||
TD.ksec {text-align: center; fontstyle: italic } | ||
</STYLE> | ||
<BODY> | ||
<TABLE ALIGN=center BORDER=3 CELLPADDING=2 CELLSPACING=1> | ||
<TR><TD COLSPAN=2 class="header"></TD> | ||
<TD COLSPAN=6 class="header"><FONT SIZE=+2><B>Sequential Output</B></FONT></TD> | ||
<TD COLSPAN=4 class="header"><FONT SIZE=+2><B>Sequential Input</B></FONT></TD> | ||
<TD COLSPAN=2 ROWSPAN=2 class="header"><FONT SIZE=+2><B>Random<BR>Seeks</B></FONT></TD> | ||
<TD COLSPAN=1 class="header"></TD> | ||
<TD COLSPAN=6 class="header"><FONT SIZE=+2><B>Sequential Create</B></FONT></TD> | ||
<TD COLSPAN=6 class="header"><FONT SIZE=+2><B>Random Create</B></FONT></TD> | ||
</tr> | ||
END | ||
print "<TR><TD></TD>"; | ||
print "<TD>Size:Chunk Size</TD>"; | ||
heading("Per Char"); heading("Block"); heading("Rewrite"); | ||
heading("Per Char"); heading("Block"); | ||
print "<TD>Num Files</TD>"; | ||
heading("Create"); heading("Read"); heading("Delete"); | ||
heading("Create"); heading("Read"); heading("Delete"); | ||
print "</TR>"; | ||
|
||
print "<TR><TD COLSPAN=2></TD>"; | ||
my $i; | ||
|
||
for($i = 0; $i < 5; $i++) | ||
{ | ||
print '<TD class="ksec"><FONT SIZE=-2>K/sec</FONT></TD>' | ||
. '<TD class="ksec"><FONT SIZE=-2>% CPU</FONT></TD>'; | ||
} | ||
print '<TD class="ksec"><FONT SIZE=-2>/ sec</FONT></TD>' | ||
. '<TD class="ksec"><FONT SIZE=-2>% CPU</FONT></TD>'; | ||
print "<TD></TD>"; | ||
for($i = 0; $i < 6; $i++) | ||
{ | ||
print '<TD class="ksec"><FONT SIZE=-2>/ sec</FONT></TD>' | ||
. '<TD class="ksec"><FONT SIZE=-2>% CPU</FONT></TD>'; | ||
} | ||
print "</TR>\n"; | ||
} | ||
|
||
sub heading | ||
{ | ||
my($item) = @_; | ||
print "<TD COLSPAN=2>" . $item . "</TD>"; | ||
} | ||
|
||
sub footer | ||
{ | ||
print <<END; | ||
</TABLE> | ||
</BODY> | ||
</HTML> | ||
END | ||
} | ||
|
||
sub process | ||
{ | ||
my($line) = @_; | ||
|
||
chop($line); | ||
my $name = $line; | ||
$name =~ s/,.*$//; | ||
$line =~ s/$name,//; | ||
my $size = $line; | ||
$size =~ s/,.*$//; | ||
$line =~ s/$size,//; | ||
print '<TR><TD class="rowheader"><FONT SIZE=+1><B>' | ||
. $name . "</B></FONT></TD>"; | ||
print '<TD class="size">' . $size . "</TD>"; | ||
|
||
|
||
$line =~ s/,/<\/TD><TD>/g; | ||
print "<TD>" . $line . "</TD></TR>\n"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.so man1/bon_csv2html.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
#!/usr/bin/perl | ||
|
||
{ | ||
my $line; | ||
$iocount = 0; | ||
$filecount = 0; | ||
while($line = <STDIN>) | ||
{ | ||
while($line =~ /^name,/) | ||
{ | ||
$line = <STDIN>; | ||
} | ||
process($line); | ||
} | ||
printIOData(); | ||
|
||
printFileData(); | ||
} | ||
|
||
sub IOHeader | ||
{ | ||
my $version = '@version@'; | ||
print "Version $version ------Sequential Output------ --Sequential Input- --Random-\n"; | ||
print " -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--\n"; | ||
print "Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP\n"; | ||
} | ||
|
||
sub FileHeader | ||
{ | ||
print " ------Sequential Create------ --------Random Create--------\n"; | ||
print " -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--\n"; | ||
print "files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP\n"; | ||
} | ||
|
||
sub process | ||
{ | ||
my($line) = @_; | ||
|
||
chop($line); | ||
my $name = $line; | ||
$name =~ s/,.*$//; | ||
$line =~ s/$name,//; | ||
|
||
# $ioline contains the file-IO data, IE we strip off the data on file creation | ||
my $ioline = $line; | ||
$ioline =~ s/,[:0-9\-\+.\/]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+,[0-9\+.]+$//; | ||
$ioline =~ s/,,,,,,,,,,,,,$//; | ||
if(join('', split(/,/,$ioline)) != "") | ||
{ | ||
$io[$iocount] = $name . "," . $ioline; | ||
$iocount++; | ||
} | ||
# $fileline contains the file creation data - everything but $ioline | ||
my $fileline = substr($line, length($ioline)); | ||
if(join('', split(/,/,$fileline)) != "") | ||
{ | ||
$file[$filecount] = $name . $fileline; | ||
$filecount++; | ||
} | ||
} | ||
|
||
sub printFileData | ||
{ | ||
if($filecount < 1){ return; } | ||
FileHeader(); | ||
for($i = 0; $i < $filecount; $i++) | ||
{ | ||
@arr = split(/,/,$file[$i]); | ||
my $size = $arr[1]; | ||
$size =~ s/:0:0:/\//; | ||
my $desc = $arr[0] . " "; | ||
$desc = substr($desc, 0, 18 - length($size) ); | ||
$desc .= " " . $size; | ||
printf(STDOUT "%19s %5s %3s %5s %3s %5s %3s %5s %3s %5s %3s %5s %3s\n" | ||
, $desc, $arr[2], $arr[3], $arr[4], $arr[5], $arr[6], $arr[7] | ||
, $arr[8], $arr[9], $arr[10], $arr[11], $arr[12], $arr[13] | ||
, $arr[14], $arr[15]); | ||
} | ||
} | ||
|
||
sub printIOData | ||
{ | ||
if($iocount < 1){ return; } | ||
IOHeader(); | ||
for($i = 0; $i < $iocount; $i++) | ||
{ | ||
@arr = split(/,/,$io[$i]); | ||
my $size = $arr[1]; | ||
my $desc = $arr[0] . " "; | ||
$desc = substr($desc, 0, 18 - length($size) ); | ||
$desc .= " " . $size; | ||
printf(STDOUT "%19s %5s %3s %5s %3s %5s %3s %5s %3s %5s %3s %5s %3s\n" | ||
, $desc, $arr[2], $arr[3], $arr[4], $arr[5], $arr[6], $arr[7] | ||
, $arr[8], $arr[9], $arr[10], $arr[11], $arr[12], $arr[13] | ||
, $arr[14], $arr[15]); | ||
} | ||
} | ||
|
Oops, something went wrong.