[OpenAFS] Re: bonnie++ on OpenAFS

Simon Wilkinson sxw@inf.ed.ac.uk
Mon, 22 Nov 2010 23:15:27 +0000

On 22 Nov 2010, at 23:06, Achim Gsell wrote:
> 3.) But if I first open 8 files and - after this is done - start =
writing to these files sequentially, the problem occurs. The difference =
to 1.) and 2.) is, that I have these 8 open files while the test is =
running. This simulates the "putc-test" of bonnie++ more or less:

AFS is a write-on-close filesystem, so holding all of these files open =
means that it is trying really hard not to flush any data back to the =
fileserver. However, at some point the cache fills, and it has to start =
writing data back. In 1.4, we make some really bad choices about which =
data to write back, and so we end up thrashing the cache. With Marc =
Dionne's work in 1.5, we at least have the ability to make better =
choices, but nobody has really looked in detail at what happens when the =
cache fills, as the best solution is to avoid it happening in the first =