Re: ~500 megs cached yet 2.6.5 goes into swap hell

From: Nick Piggin (nickpiggin_at_yahoo.com.au)
Date: 04/30/04

  • Next message: David Gibson: "[TRIVIAL] ppc64 shmget() translation bugfix"
    Date:	Fri, 30 Apr 2004 15:15:50 +1000
    To: Horst von Brand <vonbrand@inf.utfsm.cl>
    
    

    Horst von Brand wrote:
    > Nick Piggin <nickpiggin@yahoo.com.au> said:
    >
    > [...]
    >
    >
    >>I don't know. What if you have some huge application that only
    >>runs once per day for 10 minutes? Do you want it to be consuming
    >>100MB of your memory for the other 23 hours and 50 minutes for
    >>no good reason?
    >
    >
    > How on earth is the kernel supposed to know that for this one particular
    > job you don't care if it takes 3 hours instead of 10 minutes, just because
    > you don't want to spare enough preciousss RAM?

    It doesn't know that.

    But if you restrict this guy's working set to a tiny amount
    and just allow it to thrash away, then if nothing else, all
    that wasted disk IO will slow all your other stuff down too.

    However that is something we can allow you to tune, via RSS
    limits. I am maintaining Rik's patch for that and will send
    it on when rmap optimisation work is more finalised.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: David Gibson: "[TRIVIAL] ppc64 shmget() translation bugfix"

    Relevant Pages

    • Re: [ANNOUNCE 0/4][RFC] Genetic Algorithm Library
      ... Then tune specific genes, that actually ... I considered doing this in userland at first, but I went away from it ... I wanted users of the library to have a lot of ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
      ... >> I'm also wondering why cdrecord disables it by default. ... >> do any harm being enabled? ... As has been pointed out by others, the alternative is a wasted disk. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] token based thrashing control
      ... On Wed, 4 Aug 2004, Song Jiang wrote: ... > We may need to tune it carefully to make it valid. ... Maybe we should use the "time/size" score to influence the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
      ... Horst von Brand wrote: ... >> save an attachment and then cut'n'paste from it is a pain. ... makes buggy programs. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: RFD: Kernel release numbering
      ... On Thu, 3 Mar 2005, Horst von Brand wrote: ... > [I'm pulling bk daily, and have it mixed with the ipw tree too, so I'm just ... grail for me, if just a small percentage of people did that, we'd be ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)