users@glassfish.java.net

Large Memory Pages with GF? -XX:+UseLargePages

From: <glassfish_at_javadesktop.org>
Date: Thu, 09 Oct 2008 07:08:40 PDT

hi *,

i have basically two questions:

1) does anyone have any experiences about using large pages (if possivble with linux) when using GF server with heaps from 1,5G -Greater?

2) when i try to use -XX:+UseLargePages with my VM on linux i am getting the following error:

$ java -XX:+UseLargePages -version
Java HotSpot(TM) Server VM warning: Failed to reserve shared memory (errno = 12).
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

i do have setup the system to have large pages but it does not work so far? is there a manual how and what settings to be done to use this? (preferred on linux)

ugePages_Total: 575
HugePages_Free: 575
HugePages_Rsvd: 0
HugePages_Surp: 0


regards chris
[Message sent by forum member 'eingfoan' (eingfoan)]

http://forums.java.net/jive/thread.jspa?messageID=304307