From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "László Monda" <laci@monda.hu>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Hardcore trashing without any swap
Date: Fri, 11 Jun 2010 13:16:52 +0100 [thread overview]
Message-ID: <20100611131652.053afebd@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <AANLkTil0M_2aiRX5IoMzC90O9WgzJPco3arHmDSG_44H@mail.gmail.com>
On Fri, 11 Jun 2010 02:10:33 +0200
László Monda <laci@monda.hu> wrote:
> Hi List,
>
> The problem I'm facing with is very simple, yet extremely irritating
> in nature. I have a laptop with 4G RAM and I don't use any swap.
> Whenever the RAM is full my system keeps trashing. This makes X and
> SSH completely unresponsive for about a hour then a bunch of processes
> gets killed and it's usable again.
>
> How is possible that my system is trashing even though I don't use any swap?
Because you don't have any swap. Its having to dump stuff it doesn't want
to like bits of applications that it can retrieve back from disk.
> I'd expect the kernel to immediately kill the largest process without
> any trashing so I could continue my work right after the event. How
> is it possible to configure?
It isn't.
However if you want to avoid overcommit and thrashing play with
/proc/sys/vm/overcommit*
next prev parent reply other threads:[~2010-06-11 12:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 0:10 László Monda
2010-06-11 12:16 ` Alan Cox [this message]
2010-06-11 12:53 ` László Monda
2010-06-11 13:47 ` Ed Tomlinson
2010-06-11 21:38 ` László Monda
2010-06-14 2:12 ` KAMEZAWA Hiroyuki
2010-06-14 12:35 ` László Monda
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=20100611131652.053afebd@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=laci@monda.hu \
--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®