[dm-devel] dm-bufio cache patches

Mikulas Patocka mpatocka at redhat.com
Thu Oct 9 15:40:25 UTC 2014



On Thu, 9 Oct 2014, Joe Thornber wrote:

> On Wed, Oct 08, 2014 at 04:17:59PM -0400, Mikulas Patocka wrote:
> > > I created dm-bufio patchset that keep some amount of cache indefinitely, 
> > > regardless of the timeout (the default is to keep 1/500 of total memory 
> > > indefinitely).
> 
> I'm running something similar here.  I just put in a hard coded
> default rather than basing it on the amount of memory present.  I'm
> not sure which I prefer.
> 
> I've also switched over to using a rbtree instead of that huge hash
> table which consumes 8m.
> 
> I'll post clean patches in a bit.
> 
> - Joe

Does rbtree have better performance than the hash table?

Mikulas




More information about the dm-devel mailing list