Huge pages

Tiago Stürmer Daitx tdaitx at linux.vnet.ibm.com
Mon Apr 8 14:47:03 PDT 2013


Volker, sorry for the duplicated message. I forgot to reply to the
mailing list as well.

On Mon, 2013-04-08 at 20:02 +0200, Volker Simonis wrote:
> Hi Tiago,
> 
> can you please provide more information about how to reproduce your
> problem:
> 
> - which version of our port do you use (i.e. have you cloned and build
> the latest sources)
I'm using a build based on changeset: 606:7bdb960330d8 (AFAIK that's
currently the tip).

> - which version of zero do you use (java -version would be helpful)
$ java -version
java version "1.7.0_03-icedtea"
OpenJDK Runtime Environment (fedora-2.3.4.fc17-ppc64)
OpenJDK 64-Bit Zero VM (build 22.0-b10, interpreted mode)

> - how do you run the program (i.e. a complete command line would be
> useful)
java -XX:+PrintCommandLineFlags -XX:+UseParNewGC -XX:+UseLargePages -XX:
+UseSHM -Xms2560m -jar target/concurrency-torture.jar

In place of UseParNewGC one can also use UseConcMarkSweepGC or
UseSerialGC (both also make use of Huge Pages). UseParallelGC and
UseParallelOldGC do not work with Huge Pages - either that or my
settings are preventing them from using it.

As I said, the above GC's do work on the ZeroVM but not on the PPC AIX
Port build.

> - how have you configured your machine (i.e. the output of
> 'cat /proc/sys/kernel/shmmax' and 'cat /proc/meminfo')
$ cat /proc/sys/kernel/shmmax
4294967296

$ cat /proc/meminfo | grep Huge
HugePages_Total:     256
HugePages_Free:      256
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:      16384 kB


BTW, I grabbed java-concurrency-torture from
https://github.com/russel/java-concurrency-torture since the one
indicated at
http://cr.openjdk.java.net/~simonis/ppc-aix-port/test/test_results.html
is unavailable.

Let me know if you need anything else.

Thanks!
Tiago


-- 
Tiago Stürmer Daitx
tdaitx at linux.vnet.ibm.com
IBM - Linux Technology Center



More information about the ppc-aix-port-dev mailing list