Thread (7 messages) 7 messages, 3 authors, 2014-02-13

Re: [PATCH v4 0/3] ext4: increase mbcache scalability

From: Thavatchai Makphaibulchoke <hidden>
Date: 2014-01-27 12:27:10
Also in: linux-fsdevel, lkml

On 01/24/2014 11:09 PM, Andreas Dilger wrote:
I think the ext4 block groups are locked with the blockgroup_lock that has about the same number of locks as the number of cores, with a max of 128, IIRC.  See blockgroup_lock.h. 

While there is some chance of contention, it is also unlikely that all of the cores are locking this area at the same time.  

Cheers, Andreas

Thanks Andreas for the suggestion. Will try that versus adding just a new private spinlock array in mbcache and compare the performance.

Thanks,
Mak.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help