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

check performance of allocation of big blocks by mem_root under windows

    XMLWordPrintable

Details

    • Q2/2026 Server Development

    Description

      Under windows allocation more than 16KB could be expensive.

      Benchmark stop growing memory blocks more than 16KB in MEM_ROOT.

      There is an alternative system allocator on Windows, called Segment heap, which in my tests always beat the default "low fragmentation" heap, which also does not have problems with larger 16K blocks. It is relatively easy to enable via application manifest (which we already use for some purposes, e.g enabling utf8 codepage by default).

      This should be investigated, and benchmarked, to compare to alternative( to reducing some default MEM_ROOT sizes)

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            sanja Oleksandr Byelkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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