From: warudkar@vsnl.net
To: kernel@kolivas.org, wli@holomorphy.com, linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>
Subject: RE:2.6.0-test4-mm1 - kswap hogs cpu OO takes ages to start!
Date: Wed, 27 Aug 2003 21:25:56 -0500 (GMT) [thread overview]
Message-ID: <200308280225.h7S2PuM26198@webmail2.vsnl.net> (raw)
Con - With swappiness set to 100, the apps do start up in 3 minutes and kswapd doesn't hog the CPU. But X is still unusable till all of them have started up.
Wli - Sorry, vmstat segfaults on 2.6!
kernel@kolivas.org wrote
On Thu, 28 Aug 2003 07:38, warudkar@vsnl.net wrote:
> Trying out 2.6.0-test4-mm1. Inside KDE, I start OpenOffice.org, Rational
> Rose and Konsole at a time. All of these take extremely long time to
> startup. (approx > 5 minutes). Kswapd hogs the CPU all the time. X becomes
> unusable till all of them startup, although I can telnet and run top. Same
> thing run under 2.4.18 starts up in 3 minutes, X stays usable and kswapd
> never take more than 2% CPU.
Yes I can reproduce this with a memory heavy load as well on low memory
(linking at the end of a big kernel compile is standard problem). I actually
found the best workaround was to increase the swappiness instead of
decreasing it.
Try
echo 100 > /proc/sys/vm/swappiness
time it
then try
echo 0 > /proc/sys/vm/swappiness
you'll see that at low swappiness kswapd0 can use ridiculous amounts of cpu
trying to avoid swap. The default is 60.
Con
next reply other threads:[~2003-08-27 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-28 2:25 warudkar [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-01 2:26 Re: 2.6.0-test4-mm1 - kswap hogs cpu OO takes ages to start! Parag Warudkar
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=200308280225.h7S2PuM26198@webmail2.vsnl.net \
--to=warudkar@vsnl.net \
--cc=akpm@osdl.org \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.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