mariadb/storage
Krunal Bauskar 8d4e3ec2f7 MDEV-21212: buf_page_get_gen -> buf_pool->stat.n_page_gets++ is a cpu waste
n_page_gets is a global counter that is updated on each page access.
This also means it is updated pretty often and with a multi-core machine
it easily boils up to be the hottest counter as also reported by perf.

Using existing distributed counter framework help ease the contention
and improve the performance.

Patch also tend to increase the slot of the distributed counter from original
64 to 128 given that is new normal for next-generation machines.

The original idea and patch came from Daniel Black which is now ported
to 10.6 with some improvement and adjustment.
2021-03-12 12:56:23 +02:00
..
archive Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
blackhole Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
columnstore Merge 10.5 into 10.6 2021-02-17 19:39:05 +02:00
connect Merge 10.5 into 10.6 2021-03-11 20:20:07 +02:00
csv Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
example remove mysql_declare_plugin declaration from some plugins 2020-07-04 01:44:47 +02:00
federated Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
federatedx Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
heap Merge 10.4 into 10.5 2021-01-25 12:44:24 +02:00
innobase MDEV-21212: buf_page_get_gen -> buf_pool->stat.n_page_gets++ is a cpu waste 2021-03-12 12:56:23 +02:00
maria Merge 10.5 into 10.6 2021-03-11 20:20:07 +02:00
mroonga Merge 10.5 into 10.6 2021-03-05 16:05:47 +02:00
myisam Added 'const' to arguments in get_one_option and find_typeset() 2021-02-08 12:16:29 +02:00
myisammrg Added 'final' to some classes to improve generated code 2020-08-04 17:27:32 +02:00
oqgraph Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
perfschema Merge remote-tracking branch 'origin/10.4' into 10.5 2021-02-26 13:23:13 +11:00
rocksdb MDEV-25085: Simplify instrumentation for LRU eviction 2021-03-09 09:05:26 +02:00
sequence Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
sphinx Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
spider MDEV-7317: Make an index ignorable to the optimizer 2021-03-04 22:50:00 +05:30
test_sql_discovery MDEV-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode 2020-08-01 07:43:50 +04:00