[MDEV-24952] Simplify the locking and access of lock hash tables Created: 2021-02-23  Updated: 2021-02-24  Resolved: 2021-02-24

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Fix Version/s: 10.6.0

Type: Task Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: performance

Issue Links:
Relates
relates to MDEV-20612 Improve InnoDB lock_sys scalability Closed

 Description   

The LockGuard and LockMultiGuard in MDEV-20612 should be a step to the right direction, replacing lock_sys.mutex with a combination of lock_sys.latch and a hash table mutex. However, we could improve performance further if we first computed the start address of the hash table bucket chain and then derived the address of the hash table mutex from that.


Generated at Thu Feb 08 09:33:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.