[Ocfs2-devel] bug in cleancache ocfs2 hook, anybody want to try cleancache?

Dan Magenheimer dan.magenheimer at oracle.com
Fri Jun 3 08:17:01 PDT 2011


 
> > 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".



More information about the Ocfs2-devel mailing list