From: Alexander Gretencord <arutha@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: Swapping in 2.6.10 and 2.6.11.11 on a desktop system
Date: Tue, 14 Jun 2005 16:53:30 +0200 [thread overview]
Message-ID: <200506141653.32093.arutha@gmx.de> (raw)
Hi,
[1] With swappiness = 60 I either get swap hell (2.6.10) or the oom killer
kicks in (2.6.11.11)
[2] I upgraded to 2.6.11.11 from 2.6.8.1 yesterday and tried to compile
something. After some time I come back and the compile has aborted because
the oom killer killed the compiler process. There is no additional use of
swap space (although some applications that were also running could have been
swapped out). There was a similar bugreport with this behaviour some time ago
for 2.6.11.8 but that one included a swappiness value of 0, i got 60.
Then I tried 2.6.10. The oom bugs were gone, the compile finished over night.
About an hour ago I started a very RAM consuming application and at 2/3 RAM
usage I get swap hell. The system constantly swaps, yet ram usage _and_ swap
usage stay about the same. Even setting swappiness to 0 from an ssh login
(switching to a console does not work) did not help, only killing the
consuming application.
I also applied the ck hard-swappiness Patch to my 2.6.10 and tested a bit
further. Depending on the swappiness I get hellish swapping behaviour at
different levels of RAM usage and even managed to get the oom killer to step
in (at swappiness=20). I had about 250MB of RAM used and boom -> oom killer
shoots down some bigger java processes. At swappiness=80 I get massive
swapping with 250MB of RAM usage. When reaching that level, the fs cache goes
up to 300MB while the applications that need the ram are left with about 120
megs. Rest was buffers.
I'm really out of ideas. 2.6.8.1 with swappiness=0 is by far the best I've
managed to get by now. With that I can use my system until RAM and swap are
completely full. No swap hell and no oom killer yet. Maybe I just have to
search the lkml a bit more to find something usable. If someone else already
has, please tell me (and tell me why it's not in the mainline kernel
already :))
I have 512MB of RAM and another 512MB of swap.
Please cc me in replies as I'm not on the list.
Alex
next reply other threads:[~2005-06-14 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 14:53 Alexander Gretencord [this message]
2005-06-14 16:42 ` Swapping in 2.6.10 and 2.6.11.11 on a desktop system Con Kolivas
2005-06-15 13:44 ` Alexander Gretencord
2005-06-16 4:16 ` Con Kolivas
2005-06-20 19:09 ` Alexander Gretencord
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=200506141653.32093.arutha@gmx.de \
--to=arutha@gmx.de \
--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