Discussion:
Filebench installation on Suse/Linux?
Bob Resendes
2008-10-09 13:45:37 UTC
Permalink
I downloaded the latest filebench code and built it on openSuse 11. In addition to the instructions in the provided INSTALL file, I ran "make install" which puts things in:

/usr/local/bin/{go_filebench, filebench, ...}
/usr/local/share/filebench/{config/, scripts/, ...}

Note: the above paths differ from the note in the provided INSTALL file, which uses /usr/bin vs. /usr/local/bin, for example.

Now, when I try run "my" benchmark, I get the following:

filebench my_fileio_micro
parsing profile for config: randomread2k
Can't locate /opt/filebench/config/generic.func in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/local/bin/filebench line 577, <CFILE> line 250.

I'm assuming that's because there's some assumptions on the locations of executables and scripts under filebench (i.e. /opt/filebench). Is there any way to install the linux version so that everything I need to run gets put into a single directory tree? I didn't see anything from a quick look at the Makefile.

[I already tried setting FILEBENCH=/usr/local/share/filebench/, but that didn't change things.]

Bob
--
This message posted from opensolaris.org
Andrew Wilson
2008-10-09 17:29:20 UTC
Permalink
Bob, that is a very useful bit of information. It does sound like the
makefile wasn't quite fixed up correctly for Linux. Unfortunately, I am
not at all familiar with Linux, so I generally have to rely on others to
fix this stuff, but I will investigate, on the off chance it is
something trivial that even I can fix.

Drew
Post by Bob Resendes
/usr/local/bin/{go_filebench, filebench, ...}
/usr/local/share/filebench/{config/, scripts/, ...}
Note: the above paths differ from the note in the provided INSTALL file, which uses /usr/bin vs. /usr/local/bin, for example.
filebench my_fileio_micro
parsing profile for config: randomread2k
I'm assuming that's because there's some assumptions on the locations of executables and scripts under filebench (i.e. /opt/filebench). Is there any way to install the linux version so that everything I need to run gets put into a single directory tree? I didn't see anything from a quick look at the Makefile.
[I already tried setting FILEBENCH=/usr/local/share/filebench/, but that didn't change things.]
Bob
--
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
Jay
2008-10-22 00:46:47 UTC
Permalink
Bob I had a similar issue. I was able to fix it by changing the /usr/local/bin/filebench wrapper.
These two lines:
my $FILEBENCH = "/usr/local/share/filebench";
my $PROG = "/usr/local/bin/go_filebench";

Jay
--
This message posted from opensolaris.org
Vasily Tarasov
2010-04-05 22:55:06 UTC
Permalink
If you want you can also try Filebench Linux port: http://www.fsl.cs.sunysb.edu/~vass/filebench/
which should work without problems.
--
This message posted from opensolaris.org
Richard McDougall
2010-04-06 00:10:24 UTC
Permalink
This is great to see. I've put a Linux-port section on the main FileBench
wiki page.

We should try and get this integrated backinto a new public source repo.
Current one is on sourceforge, but is very out of date.

Do you know what Sun version you forked from? Does it have all the latest
fixes that Andrew, Erik and others put in that were discussed on the list?

http://www.solarisinternals.com/wiki/index.php/FileBench

Richard.
Post by Vasily Tarasov
http://www.fsl.cs.sunysb.edu/~vass/filebench/
which should work without problems.
Loading...