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.
Event
Speaker card



