mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@idb.hist.no>
To: "José Luis Domingo López" <jdomingo@internautas.org>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.4.10 much better than previous 2.4.x :-)
Date: Thu, 27 Sep 2001 10:17:05 +0200	[thread overview]
Message-ID: <3BB2E081.DEF4B97B@idb.hist.no> (raw)
In-Reply-To: <1001377785.1430.7.camel@gromit.house> <Pine.LNX.4.33L.0109242234410.19147-100000@imladris.rielhome.conectiva> <20010925203515.A227@squish.home.loc> <20010926200833.A1859@dardhal.mired.net>

José Luis Domingo López wrote:

> In my test, OOM seems to work well most of the time, but not always. When
> in works, it works fine, that is, it doesn't kill applications too early,
> and (in recent kernel), multithreaded applications (like mozilla and
> staroffice) and fully wiped from memory ("old" 2.4.x kernels didn't kill
> all the threads, just the selected process ID).
> 
> When OOM doesn't work, the disk starts spinning like crazy, responsiveness
> in null, mouse doesn't move, consoles don't update, unability to switch to
> text consoles, etc. Giving time to the machine to recover itself is not
> helpful: after more than 15 minutes the disk continue to spin and sound
> like they were to inmediately crash :)

Seems to me you aren't necessarily OOM, that's why the killer don't
kick in.  You simply have a working set larger than RAM, and is
trashing into a hopeless slowness.  This slowness may even postpone
further allocations so you need more time to go OOM.  

If you _want_ to get OOM killed quickly - allocate way too much memory
but keep the working set small.

Helge Hafting

  reply	other threads:[~2001-09-27  8:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25  0:29 Michael Rothwell
2001-09-25  1:35 ` Rik van Riel
2001-09-26  0:35   ` Paul
2001-09-26 20:08     ` José Luis Domingo López
2001-09-27  8:17       ` Helge Hafting [this message]
2001-09-28  4:53     ` Paul
2001-09-25 15:20 ` Something Broken in 2.4.9-ac15 Kent Borg
2001-09-25 16:51   ` Kent Borg
2001-09-26  0:06 ` 2.4.10 much better than previous 2.4.x :-) Andrea Arcangeli
2001-09-25 16:18 Martin Knoblauch

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=3BB2E081.DEF4B97B@idb.hist.no \
    --to=helgehaf@idb.hist.no \
    --cc=jdomingo@internautas.org \
    --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®