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

100% cpu load when idle on arm v7

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.5.8
    • N/A
    • Server
    • Fresh alpine linux 3.13 container running on an arm v7 debian 10.7 host

    Description

      Issue has also been filed in alpine packages

      The following issue appeared with mariadb 10.5.8 (there is no issue with alpine 3.12 and mariadb 10.4.x):

      • On arm v7 (32 bits) mysqld consumes about 100% cpu when idle, but still works.
      • On arm v8 (64 bits) or amd64, it consumes near 0% cpu when idle as expected.

      I see only one difference in start logs (but that may be irrelevant):

      • arm v7 : "Using generic crc32 instructions"
      • arm v8 : "Using ARMv8 crc32 instructions"

      Any idea why this happens and if there is an option in mysqld to circumvent the issue?

      Steps to reproduce:

      ~ # apk --update --upgrade add mariadb sudo
      ~ # mkdir /run/mysqld
      ~ # chown mysql:mysql /run/mysqld
      ~ # sudo -su mysql
      ~ $ mysql_install_db
      ~ $ mysqld --datadir=./data
      

      Attachments

        1. mariadb_sql_commands.txt
          76 kB
        2. perf.data
          634 kB
        3. perf.data
          46 kB
        4. perf.report
          7 kB

        Activity

          People

            Unassigned Unassigned
            andre_r Andre R
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.