Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18851

modernise Linux Large Page support (multiplesizes)

    XMLWordPrintable

Details

    Description

      Large page support for MariaDB has a number of problems

      1. MDEV-18726 - innodb allocates chunks larger than innodb_buffer_pool_chunk_size
      2. granularity - Linux has supported multiple large page sizes since kernel ~2.6.32. MariaDB needs multiple large page sizes to support a 128M key_cache_size/aria_pagecache_buffer_size to a larger 1G innodb_buffer_pool_chunk_size
      3. using shared memory means that kernel limits of kernel.shmall or kernel.shmmax need to be adjusted (and the biggest clue in the log is `Failed to attach shared memory segment, errno 22`)
      4. innodb falls back to conventional mmap if shmget SHM_HUGETLB fails, meaning the deallocation attempts to use shmdt on an mmapped segment.

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.