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

Micro optimizations

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: OTHER
    • Labels:
      None
    • Epic Name:
      Performance: micro optimizations

      Description

      In MariaDB there seem to be no major (>5%) bottlenecks for CPU bound workloads. However there's a whole bunch of more or less easily fixable minor things that waste inexcusable amount of time. Among those:

      • one-line virtual methods that can't be inlined
      • simple functions defined in source file that can't be inlined
      • abuse of likely()/unlikely() (likely in InnoDB, PFS)
      • added (sometimes complex) conditions (PFS, WSREP, PROFILING)
      • frequent calls of pthread_getspecific() (InnoDB, parser, optimizer)

      See linked issues for details.

        Attachments

          Activity

            People

            Assignee:
            svoj Sergey Vojtovich
            Reporter:
            svoj Sergey Vojtovich
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: