[OpenAFS-devel] linux double-caching

John S. Bucy bucy-openafs-devel@gloop.org
Thu, 2 Jun 2005 13:21:23 -0400


The for fs-backed caches, the Linux client double-caches data in the
page cache: reads from AFS go through generic_file_read() and then
AFS's readpage routine eventually calls generic_file_read() again for
the underlying cache file.

This can be readily demonstrated: as an iozone workload's working-set
size approaches half of phyiscal memory, the system starts paging
whereas it can get close to all of physical memory on a local fs.




john