My favorites | Sign in
Google
                
Search
for
Updated Mar 20, 2009 by mdcallag
InnodbMutexContention2  
Reduce mutex contention on log_sys->mutex and buffer_pool->mutex

Details

InnoDB was changed to reduce mutex contention on the transaction log and buffer pool mutexes (log_sys->mutex, buffer_pool->mutex). It was also changed to reduce contention between them because on commit a session would lock log_sys->mutex and then lock buffer_pool->mutex. Now it locks log_sys->mutex and then locks buffer_pool->flush_list_mutex.

Changes:

Query Performance

Changes were made to reduce contention on log_sys->mutex and buffer_pool->mutex. At high levels of concurrency this improves performance by 20% on sysbench readwrite with a 16-core server.

binary 1 user 2 users 4 users 8 users 16 users 32 users 64 users
without fix 173 379 697 1105 1233 1174 1095
with fix 179 388 700 1175 1453 1491 1263

The same data graphed

Database reload performance

This lists the time to reload a production database server with ~130GB of data for a real and complex schema into InnoDB.

binary seconds to reload speedup from base
5.0.37 49331 NA
5.0.37 & v2 google patch 8298 5.9X
5.0.37 & v3 google patch 7248 6.8X


Sign in to add a comment