Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294

Summary: bonnie++-1.02a.ebuild (New Package)
Product: Gentoo Linux Reporter: Sandy McArthur <Sandy>
Component: Current packagesAssignee: Mikael Hallendal (hallski) (RETIRED) <hallski>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: bonnie++-1.02a.ebuild and the related md5 file

Description Sandy McArthur 2002-01-23 18:07:46 UTC
Please find attached bonnie++.tar.gz containing bonnie++-1.02a.ebuild .

From: http://www.coker.com.au/bonnie++/

Bonnie++ is a benchmark suite that is aimed at performing a number of simple
tests of hard drive and file system performance. [...] The main program tests
database type access to a single file (or a set of files if you wish to test
more than 1G of storage), and it tests creation, reading, and deleting of small
files which can simulate the usage of programs such as Squid, INN, or Maildir
format email.

I'm gonna suggest sys-apps/bonnie++ .

As best as I can tell this has no dependicies other than glibc.

Note: This is my first ebuild file. I think it's pretty good but someone should
probably double check it for correctness.

Sandy
Comment 1 Sandy McArthur 2002-01-23 18:11:12 UTC
Created attachment 74 [details]
bonnie++-1.02a.ebuild and the related md5 file

# tar tzf bonnie++.tar.gz
bonnie++/
bonnie++/bonnie++-1.02a.ebuild
bonnie++/files/
bonnie++/files/digest-bonnie++-1.02a
Comment 2 Bruce A. Locke 2002-01-26 04:08:57 UTC
Thank you for the ebuild :)

I committed it into cvs under app-misc/bonnie++... I believe sys-apps is limited
to actual system commands (filesystem management, hardware management, really
important daemons, etc).  FreeBSD has a seperate benchmark catagory...  We
currently don't have one so app-misc is probably the best place for it.

Also I moved the binaries from /usr/sbin to /usr/bin as they don't seem to
require root privs to run...  question is if benchmark utilities are useful to
non-root users...

If you think it really should go into /usr/sbin let me know and I'll change it back.
Comment 3 Sandy McArthur 2002-01-26 17:59:31 UTC
I didn't put any thought into the locations of the binaries but I 
think /usr/bin is better than /usr/sbin. (I think) I tried keep the locations 
`make install` would use but sbin doesn't make much sense because bonnie++ 
won't let you run it as the root user (with out explicitly telling it to do so).