Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
- As part of
MDEV-21212we switched to use distributed counter (default to atomic) for tracking page access (n_page_get). - Originally the counter was non-atomic and so represented an approximate value of the page access. Using the same analogy we could continue to use a non-atomic distributed counter that helps get an approximate count.
- this change helps improve performance slightly in the range of 3-8% especially in more contention cases.
Attachments
Issue Links
- relates to
-
MDEV-21212 buf_page_get_gen -> buf_pool->stat.n_page_gets++ is a cpu waste (0.5-1%)
- Closed