Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320051 - bonnie++ 1.96 ebuild for OS X Prefix
Summary: bonnie++ 1.96 ebuild for OS X Prefix
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 21:07 UTC by Justin
Modified: 2014-01-14 20:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bonnie++-1.96 ebuild (bonnie++-1.96.ebuild,823 bytes, text/plain)
2010-05-16 21:08 UTC, Justin
Details
patch to add zcav to "See Also" in the manpage (patch-bonnie++.8,204 bytes, patch)
2010-05-16 21:11 UTC, Justin
Details | Diff
Disable LARGEFILE64 checks (patch-bonnie++.cpp,1.31 KB, patch)
2010-05-16 21:13 UTC, Justin
Details | Diff
getc/putc patch (patch-getc_putc.cpp,246 bytes, patch)
2010-05-16 21:14 UTC, Justin
Details | Diff
Patch to enable CXXFLAGS (patch-Makefile.in,208 bytes, patch)
2010-05-16 21:15 UTC, Justin
Details | Diff
Patch to add bonnie++ to "See Also" for zcav manpage (patch-zcav.8,345 bytes, patch)
2010-05-16 21:16 UTC, Justin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2010-05-16 21:07:48 UTC
I wanted to look at the X25-M (second gen) performance under OS X with bonnie++ so I slapped together an ebuild. The patches are from MacPorts and the ebuild is based off of the regular bonnie++-1.96.ebuild
Comment 1 Justin 2010-05-16 21:08:53 UTC
Created attachment 231711 [details]
bonnie++-1.96 ebuild
Comment 2 Justin 2010-05-16 21:11:31 UTC
Created attachment 231713 [details, diff]
patch to add zcav to "See Also" in the manpage
Comment 3 Justin 2010-05-16 21:13:17 UTC
Created attachment 231715 [details, diff]
Disable LARGEFILE64 checks
Comment 4 Justin 2010-05-16 21:14:14 UTC
Created attachment 231717 [details, diff]
getc/putc patch
Comment 5 Justin 2010-05-16 21:15:20 UTC
Created attachment 231721 [details, diff]
Patch to enable CXXFLAGS
Comment 6 Justin 2010-05-16 21:16:19 UTC
Created attachment 231723 [details, diff]
Patch to add bonnie++ to "See Also" for zcav manpage
Comment 7 Justin 2010-05-16 21:18:27 UTC
Just noticed that patch-bonnie++.8 is unneccessary.
Comment 8 Justin 2010-05-16 21:19:40 UTC
And for those that are curious about the performance of an X25-M under OS X, it's much faster under Linux ;)
Comment 9 Fabian Groffen gentoo-dev 2010-05-17 07:55:16 UTC
Completely off-topic, out of curiosity, any idea why it is so much faster under OSX?  Filesystem?  Hardware?
Comment 10 Justin 2010-05-17 18:52:36 UTC
I found the drive to be faster under Gentoo than under OS X.
It's possible that there's something going on with bonnie++ that's reporting lower scores for OS X than for Gentoo/Linux, but my guess is that HFS+ is a bit slower than ext4 and btrfs (the other filesystems that I tested on).
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-02 13:56:23 UTC
Justin, can you try to contact upstream to see if they will take any of your patches? :)

But, I'm not sure why you eg. arbitraily disable the largefile checks.
Comment 12 Justin 2010-06-25 22:21:17 UTC
> But, I'm not sure why you eg. arbitraily disable the largefile checks.

/I/ didn't arbitrarily disable the largefile check, someone else did and I just arbitrarily copied them:
> so I slapped together an ebuild. The patches are from MacPorts and the ebuild

;)
Comment 13 Fabian Groffen gentoo-dev 2014-01-14 20:15:25 UTC
bonnie++-1.97 compiles out of the box