mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Oeser <ioe-lkml@rameria.de>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>, gfiala@s.netic.de
Subject: Re: large files unnecessary trashing filesystem cache?
Date: Thu, 20 Oct 2005 08:28:23 +0200	[thread overview]
Message-ID: <200510200828.29204.ioe-lkml@rameria.de> (raw)
In-Reply-To: <20051019124927.643a0603.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

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


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-10-20  6:28 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 20:01 Guido Fiala
2005-10-18 20:48 ` Badari Pulavarty
2005-10-20 15:23   ` Guido Fiala
2005-10-19  3:02 ` Andrew James Wade
2005-10-19  4:37   ` Andrew Morton
2005-10-19  5:45     ` Andrew James Wade
2005-10-19 11:01       ` gfiala
2005-10-19 11:10     ` gfiala
2005-10-19 15:54       ` Ingo Oeser
2005-10-19 19:49         ` Andrew Morton
2005-10-19 22:26           ` Paul Jackson
2005-10-20  6:28           ` Ingo Oeser [this message]
2005-10-19  4:10 ` Lee Revell
2005-10-19 15:43   ` Badari Pulavarty
2005-10-19 17:58   ` Guido Fiala
2005-10-19 18:43     ` Kyle Moffett
2005-10-19 18:52       ` Guido Fiala
     [not found] <4Z5WG-1iM-19@gated-at.bofh.it>
     [not found] ` <4Z6zs-27l-39@gated-at.bofh.it>
2005-10-18 21:58   ` Bodo Eggert
2005-10-18 23:05     ` Badari Pulavarty
2005-10-19  0:20       ` David Lang
2005-10-19  0:33       ` Fawad Lateef
2005-10-19  1:42         ` Bernd Eckenfels
2005-10-19  7:23       ` Bodo Eggert
2005-10-19 11:06         ` gfiala
2005-10-19 13:43     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510200828.29204.ioe-lkml@rameria.de \
    --to=ioe-lkml@rameria.de \
    --cc=akpm@osdl.org \
    --cc=gfiala@s.netic.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®