[MDEV-12545] Reduce the amount of fil_space_t lookups Created: 2017-04-21  Updated: 2017-04-21  Resolved: 2017-04-21

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.1
Fix Version/s: 10.1.23, 10.2.6

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


 Description   

In InnoDB, fil_system->mutex is one of the most contended mutexes. We should reduce the amount of work done while holding this mutex.
One such source of work is tablespace lookups.
During a page flush, we could look up the tablespace only once, in buf_flush_write_block_low(), and pass the fil_space_t* to all functions that need it.



 Comments   
Comment by Marko Mäkelä [ 2017-04-21 ]

bb-10.2-marko

Comment by Jan Lindström (Inactive) [ 2017-04-21 ]

There is comments that in my understanding require actions or reasons why not.

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