From: Nick Piggin <nickpiggin@yahoo.com.au>
To: aeriksson@fastmail.fm
Cc: linux-kernel@vger.kernel.org
Subject: Re: kswapd (& clock?) problems in 2.6.10
Date: Sun, 16 Jan 2005 15:11:43 +1100 [thread overview]
Message-ID: <41E9E97F.6090806@yahoo.com.au> (raw)
In-Reply-To: <20050115134052.7CD3A24286B@latitude.mynet.no-ip.org>
aeriksson@fastmail.fm wrote:
> Since installing 2.6.10 kswapd has decided to loop wildly on two
> occations. Both occations happened after starting a big compiles.
> Checking vmstat, I noticed a steady stream of io/bi figures ranging
> between 2-5K (which is about what I can get out of this box during
> normal operation), but no swap io(?). Manwhile the load (xload)climbs
> to about 10, and the system looses interactive responsiveness.
>
> Now after the last time, after reboot, I noticed that the clock was
> missing 3 hours, which is about the time I left the box unattended. It
> might be that kswapd stresses the system to the point that the clock
> cannot move forward, (or the clock does something bad and kswapd gets
> tricked by it???).
>
> Thoughts anyone?
>
Are you sure it is a bug? kswapd has been recently fixed so it properly
starts freeing memory before the critical shortage is reached where
processes have to synchronously free memory for themselves.
This will make kswapd take more CPU time, but it should be doing work
that would otherwise need to be done by someone else. The lack of any
swapping activity indicates that kswapd is not actually having too much
trouble freeing memory (or you have swap turned off!)
If you still think it is a bug, if kswapd keeps running after the compile
stops, or if the system stops doing useful work, then let's see what the
problem is:
Can you make sure you kernel is compiled with "magic sysrq key" turned
on (under kernel hacking menu). While the weird kswapd behaviour happens
next, press alt+sysrq+m 3 or 4 times, then dump dmesg to a file
`dmesg > dmesg.out`, and send that file in.
Thanks,
Nick
prev parent reply other threads:[~2005-01-16 4:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-15 13:40 kswapd (& clock?) problems in 2.6.10 aeriksson
2005-01-16 4:11 ` Nick Piggin [this message]
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=41E9E97F.6090806@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=aeriksson@fastmail.fm \
--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