Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5.7
Description
After the code refactoring that was performed in MDEV-23855, we can replace the use of srv_stats counters in buf_dbwlr with regular variables that are protected by buf_dblwr.mutex.
The counters in srv_stats use std::atomic and multiple cache lines per counter. This is an overkill in a case where a critical section already exists in the code. A regular variable will work just fine, with much smaller memory bus impact.
Attachments
Issue Links
- relates to
-
MDEV-24544 innodb_buffer_pool_wait_free is not protected by mutex
- Closed
-
MDEV-23855 InnoDB log checkpointing causes regression for write-heavy OLTP
- Closed