[87448] trunk/dports/benchmarks/bonniexx/Portfile

takanori at macports.org takanori at macports.org
Mon Nov 21 23:42:43 PST 2011


Revision: 87448
          http://trac.macports.org/changeset/87448
Author:   takanori at macports.org
Date:     2011-11-21 23:42:39 -0800 (Mon, 21 Nov 2011)
Log Message:
-----------
bonniexx: add notes about memory detection

Modified Paths:
--------------
    trunk/dports/benchmarks/bonniexx/Portfile

Modified: trunk/dports/benchmarks/bonniexx/Portfile
===================================================================
--- trunk/dports/benchmarks/bonniexx/Portfile	2011-11-22 04:37:23 UTC (rev 87447)
+++ trunk/dports/benchmarks/bonniexx/Portfile	2011-11-22 07:42:39 UTC (rev 87448)
@@ -46,3 +46,11 @@
     xinstall -m 644 -W ${worksrcpath} bonnie++.8 zcav.8 getc_putc.8 ${destroot}${prefix}/share/man/man8
     xinstall -m 644 -W ${worksrcpath} README-2.00 README.txt changelog.txt copyright.txt credits.txt readme.html ${destroot}${prefix}/share/doc/bonnie++
 }
+
+notes-append \
+"Darwin's sysconf() doesn't support _SC_PHYS_PAGES. Due to this limitation,
+Bonnie++ cannot detect the amount of physical memory automatically.
+To tell Bonnie++ a suitable RAM size, you can use -r option like the following.
+
+  e.g. If your Mac have 4GB RAM:
+  $ bonnie++ -r 4096 -d /tmp"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111121/320a94e0/attachment.html>


More information about the macports-changes mailing list