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

autosize innodb_buffer_pool_chunk_size

    XMLWordPrintable

    Details

      Description

      With MDEV-25340, MDEV-25341 and MDEV-24670 it would be good to ensure that the changes aren't frequently triggered and have a moderately substantial impact.

      The current default innodb_buffer_pool_chunk_size of 128M results in 1024 segments for 128G RAM.

      As the chunk size is designed around buffer pool resizing maybe 128 equating to just under 1% would be more appropriate.

      So I'm thinking MAX(128M, buffer_pool_size / 128), then round down to a multiple of the next smallest large page size if large_pages are enabled, or a multiple of the OS page size otherwise.

      Sound acceptable Marko Mäkelä

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danblack Daniel Black
              Reporter:
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration