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-25 01:13:14
Also in: linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

On 01/24/2014 02:38 PM, Andi Kleen wrote:
T Makphaibulchoke [off-list ref] writes:
quoted
The patch consists of three parts.

The first part changes the implementation of both the block and hash chains of
an mb_cache from list_head to hlist_bl_head and also introduces new members,
including a spinlock to mb_cache_entry, as required by the second part.
spinlock per entry is usually overkill for larger hash tables.

Can you use a second smaller lock table that just has locks and is 
indexed by a subset of the hash key. Most likely a very small 
table is good enough.

Also I would be good to have some data on the additional memory consumption.

-Andi
Thanks Andi for the comments.  Will look into that.

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