Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027842

Kitchensink on Solaris gets "Attempt to use MPSS" failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • hs25, 9
    • hotspot
    • gc

      When running Kitchensink on a rather large Solaris machine, we get the error:
      "Attempt to use MPSS failed".

      This error comes from os_solaris.cpp, Solaris::set_up_large_pages. The issue that the system call memcntl does not succeed. For more info about memcntl, see http://www.informit.com/articles/article.aspx?p=174103&seqNum=3.

      AFAIK, memcntl is used to give Solaris a hint for the page size we want to use for a given virtual address region. memcntl can fails for various reasons (errno is not printed in the debug message), some examples are:
      - Unsupported page size for the virtual address range
      - Unaligned boundaries for the virtual address range
      - Virtual address region is reserved with MAP_NORESERVE

      The unsuccessful syscall means that the OS will not get the hint, which might result in slightly less performance.

      Impact: Medium (we might get slightly wrong performance, but the app will still work)
      Likelihood: Low (only happened once)
      Workaround: High (run without large pages)

      Medium + Low + High = P4

            Unassigned Unassigned
            ehelin Erik Helin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: