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

Kitchensink on Solaris gets "Attempt to use MPSS" failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: hs25, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: