[OpenAFS] Re: bonnie++ on OpenAFS

Andrew Deason adeason@sinenomine.net
Tue, 23 Nov 2010 09:54:59 -0500

On Tue, 23 Nov 2010 09:49:58 -0500
Marc Dionne <marc.c.dionne@gmail.com> wrote:

> > I'm not following you; why can the cache truncate daemon not be
> > triggered and waited for, like in normal cache shortage conditions?
> a) I'm pretty sure the cache truncate daemon simply skips dirty chunks
> and doesn't do any writeback to the server.
> b) The truncate daemon only looks at cache usage, not at dirtiness.
> So we can be above the threshold where doPartialWrite will insist on
> writing back data (2/3 of cache chunks dirty), but the cache is still
> well below the threshold where the truncate daemon will start to
> shrink (95% chunks or 90% space I think)

Okay, so we're "full" of locally-written data. I was reading Simon's
comments to mean that the cache is just >90% filled, but what he's
(apparently) actually saying makes a lot more sense.

Andrew Deason