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

Correcting the cache alignment for Table_cache_instance.

    XMLWordPrintable

Details

    Description

      Correcting the cache alignment for Table_cache_instance.

      • Size of Table_cache_instance is 224 (64 bits processor)
      • To avoid cache sharing padding of cacheline size was added.
        This padding fails to generate closet possible alignment
        and infact causes bloating with size = 352 (128 bytes cacheline)
      • Proposed patch ensure that structure is cache aligned.
        (will submit the patch through github).

      -----------
      With patch a marginal improvement is seen with multi-numa nodes though not significant to classify this as performance issue.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              krunalbauskar Krunal Bauskar
              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.