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

don't build the server with jemalloc

    XMLWordPrintable

Details

    Description

      We haven't seen any noticeable speed improvements from building the server with jemalloc. And we did have user complains about inability to use other memory allocators with MariaDB. But TokuDB (and, possibly, RockDB) need jemalloc for a good performance.

      A solution could be:

      • do not build with jemalloc
      • add malloc-liib=jemalloc to tokudb.cnf and manually add a jemalloc dependency to TokuDB packages
      • something similar should be done for systemd too
      • as TokuDB will now introduce an additional dependency that the server itself does not need, it will go into a separate rpm/deb package

      This way

      • the server will not be built with jemalloc, won't require or run with it
      • when a TokuDB package is installed, it will automatically bring in jemalloc as a dependency and will make the server use it — just as before
      • the user can always override it and use another memory allocator, if desired

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.