All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Paulo Marques <pmarques@grupopie.com>
Cc: Al Boldi <a1426z@gawab.com>, linux-kernel@vger.kernel.org
Subject: Re: Kswapd flaw
Date: Tue, 28 Jun 2005 06:58:15 -0300	[thread overview]
Message-ID: <20050628095815.GA13464@logos.cnet> (raw)
In-Reply-To: <42C164E1.6000506@grupopie.com>

On Tue, Jun 28, 2005 at 03:55:29PM +0100, Paulo Marques wrote:
> Al Boldi wrote:
> >On Mon, Jun 27, 2005 at 11:04:08PM +0300, Al Boldi wrote:
> >
> >>In 2.4.31 kswapd starts paging during OOMs even w/o swap enabled.
> >>
> >>Is there a way to fix/disable this behaviour?
> >
> >
> >Marcelo,
> >
> >Kswapd starts evicting processes to fullfil a malloc, when it should just
> >deny it because there is no swap.
> 
> I think what you really want is to adjust your "overcommit" settings.
> 
> See: "Documentation/vm/overcommit-accounting"

Al, 

You should set overcommit accordingly as Paulo mentions.

You might also want to disable the OOM killer (CONFIG_OOM_KILLER).


  reply	other threads:[~2005-06-28 15:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 20:04 Kswapd flaw Al Boldi
2005-06-27 15:58 ` Marcelo Tosatti
2005-06-28  6:37   ` Al Boldi
2005-06-28  8:18     ` Michal Schmidt
2005-06-28  9:08       ` Al Boldi
2005-06-28  9:54         ` Michal Schmidt
2005-06-28 10:50     ` Nix
2005-06-28 11:47       ` Al Boldi
2005-06-28 12:50         ` Nix
2005-06-28 13:52           ` Al Boldi
2005-06-28 14:37             ` Nix
2005-06-28 15:35               ` Al Boldi
2005-06-28 16:25                 ` Nix
2005-06-28 18:15         ` Helge Hafting
2005-06-28 14:55     ` Paulo Marques
2005-06-28  9:58       ` Marcelo Tosatti [this message]
2005-06-28 16:43         ` Al Boldi
     [not found] <4knRo-4Li-9@gated-at.bofh.it>
     [not found] ` <4koWT-5Iy-21@gated-at.bofh.it>
2005-06-28 14:28   ` Robert Hancock
     [not found] <20050628143932.GA14545@logos.cnet>
2005-06-29  4:53 ` Al Boldi

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=20050628095815.GA13464@logos.cnet \
    --to=marcelo.tosatti@cyclades.com \
    --cc=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmarques@grupopie.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.