Revision
87448
Author
takanori@macports.org
Date
2011-11-21 23:42:39 -0800 (Mon, 21 Nov 2011)

Log Message

bonniexx: add notes about memory detection

Modified Paths

Diff

Modified: trunk/dports/benchmarks/bonniexx/Portfile (87447 => 87448)


--- 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"