lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: large files unnecessary trashing filesystem cache?
Date
Hi,

On Wednesday 19 October 2005 21:49, Andrew Morton wrote:
> Ingo Oeser <ioe-lkml@rameria.de> wrote:
> > > > app which does setrlimit()+exec():
> > > >
> > > > limit-cache-usage -s 1000 my-fave-backup-program <args>
> > > >
> > > > Which will cause every file which my-fave-backup-program reads or writes to
> > > > be limited to a maximum pagecache residency of 1000 kbytes.
> > >
> > > Or make it another 'ulimit' parameter...
> > Which is already there: There is an ulimit for "maximum RSS",
> > which is at least a superset of "maximum pagecache residency".
>
> RSS is a quite separate concept from pagecache.

Yes I know, but the amount of pagecache which is RESIDENT for a process
is not that seperate from RSS, I think.

I always thought RSS is the amount of mapped and anonymous
pages of a process, which are in physical memory (aka resident).

So I consider the amount of mapped pagecache pages of
a process which are in physical memory (aka resident) a subset.

Or do you care about page cache pages not mapped into the process?
Is this the point I miss?

Please enlighten me :-)


Regards

Ingo Oeser

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-10-20 08:34    [W:0.047 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site