Huge pages

Volker Simonis volker.simonis at gmail.com
Mon Apr 8 11:02:26 PDT 2013


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)
- which version of zero do you use (java -version would be helpful)
- how do you run the program (i.e. a complete command line would be useful)
- how have you configured your machine (i.e. the output of 'cat
/proc/sys/kernel/shmmax' and 'cat /proc/meminfo')

Thank you and best regards,
Volker

On Mon, Apr 8, 2013 at 4:49 PM, Tiago Stürmer Daitx <
tdaitx at linux.vnet.ibm.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20130408/989987c1/attachment.html 


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