Re: large files unnecessary trashing filesystem cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wednesday 19 October 2005 21:49, Andrew Morton wrote:
> Ingo Oeser <[email protected]> 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

Attachment: pgpYTZjelF9fv.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux