[RFC] [PATCH 0/4] Replace buffer cache hash with rbtrees

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series cleans up several unconventional buffer uses to
avoid using cached buffers, and then converts the buffer cache
indexing to use a set of per-ag rbtrees rather than a hash. This
version show no performance degradation on my 1.1TB filesystem under
parallel create and unlink compared to the existing enlarged hash
cache. In both cases _xfs_buf_find() is consuming 5-6% of the entire
CPU time of the workload.

This patchset is needed to prepare for moving away from using the
page cache as the backing cache and instead maintaining a LRU of
cached buffers. This is necessary because on larger filesystems
we are completely unable to maintain the working set of metadata
buffers hot in cache as we cannot control page cache reclaim. It
means that we need to be able to hold a lot more buffers in memory
than we currently do and as such the hash based indexing needs
replacing first.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux