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

Table scan performance drops by 29%

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.1.1
    • 12.2
    • None
    • None
    • Ubuntu 24.04, 48-core server

    Description

      The relative QPS is 0.71 for the scan test I run via sysbench.
      The relative QPS is: (QPS for my version / QPS for 10.2.30)

      My repro script is here, that runs all of my sysbench tests. I ran it with 40 clients, 8 tables and 10M rows per table on a 48-core server.

      The changes in relative QPS per release are here. The results for scan have more changes than the other sysbench tests. I see large decreases in:

      From vmstat I see large increases in CPU overhead and context switch rates starting in 11.7, although there are also large increases after 10.2 and before 11.7. See cpu/o and cs/o here.

      Using vmstat metrics for 11.7 relative to 10.2.30 I see large increases in CPU overhead and context switch rates, see cpu/o and cs/o here

      Using absolute values from vmstat I see a large increase in the context switch rate on the server from 376 per second in 10.2.30 to 538957 per second in 12.1.1.

      Attachments

        Activity

          People

            axel Axel Schwenke
            mdcallag Mark Callaghan
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.