For the complete site map for agents, see llms.txt.
Where the open-source database community meets: Secure your spot at PerconaLive.com
Back to all talks

Optimization for InnoDB buffer pool LRU mutex contention

Event: November 2026 MySQL Contributor Summit

Dates: November 4, 2026 – November 5, 2026

Presentation: November 4, 2026

Video: Watch video

Link: On event website

Speaker: Pawel Olchawa

On a memory-bound workload, InnoDB throughput drops once client connections pass the number of CPU cores. The LRU list mutex is a large part of that drop. Reads held it while registering pages, preparing buffer frames, and adding them to the list. Eviction scans also restarted from the tail of the list, so pages that could not be freed were examined again and again.

This talk covers two changes. The first shortens the time the mutex is held during page initialization, so concurrent reads can proceed. The second fixes the inverted scan condition so eviction continues from the right place instead of restarting.

The patches are in Percona Server for MySQL 8.4.11. The same change is proposed for upstream MySQL.

Video

Event

Speaker card

Optimization for InnoDB buffer pool LRU mutex contention

Speakers