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

ZGC: Improved NUMA support when using small pages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • gc
    • b09

      The NUMA allocation support in ZGC works as expected only when using -XX:+UseLargePages. The reason is that, on Linux, small pages are allocated at commit/fallocate time and is controlled by the NUMA policy of the current thread, while large pages are allocated at page fault time and is controlled by the NUMA policy of the memory range. ZGC currently only sets up the NUMA policy for the memory range, which has no effect on small pages (since they are allocated by tmpfs rather than being anonymous mappings).

      We should fix this, so that the NUMA allocation support works equally well for small pages.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: