Huge pages
Tiago Stürmer Daitx
tdaitx at linux.vnet.ibm.com
Mon Apr 8 07:49:51 PDT 2013
When trying to run the PPC AIX Port on Linux (Fedora 17) with Huge Pages
using
"-XX:+UseLargePages -XX:+UseSHM"
I'm getting the following error:
OpenJDK 64-Bit Server VM warning: Failed to attach shared memory (errno
= 16).
I took a look at the offencing line
(hotspot/src/os/linux/vm/os_linux.cpp, line 3117) and checked
documentation for both shmat and shmctl but neither say anything about
errno 16 (EBUSY). Google also didn't help much on this.
Fedora's default OpenJDK build (Zero hotspot) works just fine with Huge
Pages when using the exact same flags and values for heap size, large
heap threshold, and all associated huge pages flags (I checked that much
with -XX:+PrintFlagsFinal).
I would appreciate any help on where I should look at to fix this.
Regards,
Tiago Daitx
--
Tiago Stürmer Daitx
tdaitx at linux.vnet.ibm.com
IBM - Linux Technology Center
More information about the ppc-aix-port-dev
mailing list