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

AliSQL: [Perf] Issue#10 BUILD JEMALLOC STATICALLY INTO MYSQLD

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • N/A
    • Compiling
    • None

    Description

      Port CMake scripts from mariadb revno:4025,
      jemalloc version is the latest stable 4.2.1,
      jemalloc website: http://www.canonware.com/jemalloc/
       
      Use the jemalloc memory allocator to replace the default
      pkmalloc(in glibc), so mysqld can have higher performance for
      multiple threads. The corresponding overhead is some more physical
      memory(RES) usage.
       
      Also add malloc library info, there are two ways to see this info:
        1. `mysqld --version` will show malloc library
        2. mysqld startup info in the error log
      and for now, cause we build jemalloc's source code statically, you will
      see the malloc library as *bundled jemalloc*.
       
      After the introducing of jemalloc, if you run MTR with valgrind
      option, you will see a lot of annoying message like
      '... are still reachable in loss record ...' from
      initialize_performance_schema(). You can safely ignore this, maybe
      in the future, we will find a way to fix this issue.
      

      https://github.com/alibaba/AliSQL/commit/5d84f891406793100a2e5a26d2e4692db64e9c46

      Attachments

        Activity

          People

            plinux Lixun Peng
            svoj Sergey Vojtovich
            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.