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
Created attachment 231711 [details] bonnie++-1.96 ebuild
Created attachment 231713 [details, diff] patch to add zcav to "See Also" in the manpage
Created attachment 231715 [details, diff] Disable LARGEFILE64 checks
Created attachment 231717 [details, diff] getc/putc patch
Created attachment 231721 [details, diff] Patch to enable CXXFLAGS
Created attachment 231723 [details, diff] Patch to add bonnie++ to "See Also" for zcav manpage
Just noticed that patch-bonnie++.8 is unneccessary.
And for those that are curious about the performance of an X25-M under OS X, it's much faster under Linux ;)
Completely off-topic, out of curiosity, any idea why it is so much faster under OSX? Filesystem? Hardware?
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).
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.
> 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 ;)
bonnie++-1.97 compiles out of the box