mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Cress, Andrew R" <andrew.r.cress@intel.com>
Cc: "Yury V. Umanets" <umka@namesys.com>,
	"Guo, Min" <min.guo@intel.com>,
	"Tvrtko A. Uršulin" <tvrtko@croadria.com>,
	linux-kernel@vger.kernel.org, cgl_discussion@lists.osdl.org
Subject: Re: [cgl_discussion] Re: About Replaceable OOM Killer
Date: Mon, 15 Mar 2004 19:24:06 +0100	[thread overview]
Message-ID: <20040315182406.GA258@elf.ucw.cz> (raw)
In-Reply-To: <E5DA6395B8F9614EB7A784D628184B200E34E8@hdsmsx402.hd.intel.com>

Hi!

> Right, once it is really OOM, you are SOL :-)  Really the only thing you can do at this point in the kernel is to not allocate any more memory, and functions that require more memory just don't work, and the recovery is to reboot..
> 
> IMO, the best answer is to detect a nearly-OOM, or trending-toward-OOM condition before it gets so bad.
> This would allow userland actions, but would require more customization to tune the detection criteria, which would also imply a userland implementation of the monitoring.  We've found that PCP works pretty well for this type of thing.
> See http://oss.sgi.com/projects/pcp/ and http://pcp4cgl.sourceforge.net/.  We did some work with this for CGL 1.0.
> 

Well, I see that as orthogonal.

With right daemon you may prevent OOM in most situations. Kernel still
needs some OOM killer for cases where faileure was just too fast, but
it can now be simpler (and that's good).
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2004-03-15 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 13:45 Cress, Andrew R
2004-03-15 18:24 ` Pavel Machek [this message]
2004-03-15 20:06 ` Marcelo Tosatti

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=20040315182406.GA258@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=andrew.r.cress@intel.com \
    --cc=cgl_discussion@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=min.guo@intel.com \
    --cc=tvrtko@croadria.com \
    --cc=umka@namesys.com \
    /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®