RE: bug in cleancache ocfs2 hook, anybody want to try cleancache?

From: Dan Magenheimer
Date: Fri Jun 03 2011 - 11:17:36 EST



> > I'd like to try and understand the design of the existing code before
> I
> > consider anything more advanced such as writing a kvm backend,
>
> OK. I'd be happy to answer any questions on the design
> at any time.

Oops, forgot to add: If you do any experimentation (e.g.
benchmarking), I strongly recommend that you also try
frontswap** at the same time. As of today, frontswap is
now in linux-next.

Dan

** Frontswap is complementary to cleancache. When memory is
plentiful, cleancache essentially stores more clean page
cache pages to avoid disk reads. When memory is scarce and
swapping is imminent or happening, frontswap stores swap
pages in memory to avoid disk writes and reads. Both
zcache and Xen tmem support both, and in both zcache and
Xen tmem, cleancache pages are prioritized lower than
frontswap pages, i.e. the number of cleancache pages is
reduced as frontswap pages increase. Both cleancache
and frontswap share the underlying Transcendent Memory
"ABI".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/