From: Larry Finger <Larry.Finger@lwfinger.net>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Bug (or Feature) in the swap system
Date: Mon, 25 Sep 2006 20:34:26 -0500 [thread overview]
Message-ID: <451883A2.3090009@lwfinger.net> (raw)
On my system, I used to have two smallish swap partitions on hda3 and hda7. When I upgraded my hard
drive, I increased the size of hda7 and planned to mount hda3 as /boot. Accordingly, I formatted it
as an ext3 partition, but failed to modify fstab.
When I first booted with the new drive, I noticed the error message that it was unable to find a
swap space signature; therefore, I checked the swap space with the free command and was satisfied to
see 1250 MB of swap space. Everything seemed fine when the system was first booted; however any
sizable task such as a kernel build would proceed very slowly. From top, I learned that the cpu
usage by the system was in the 85-90% range. It was impossible to move the mouse, or to do anything
interactive. Process kswapd0 would run frequently, but no swap space was ever used. As hda3 had
never been used, it was simple to change it to a swap partition, format it, and issue a swapon.
IMMEDIATELY, the system was normal!
Getting back to my subject line: Is this an obscure bug or a feature designed to punish idiots that
cannot set up their swap space correctly?
Thanks,
Larry
reply other threads:[~2006-09-26 1:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=451883A2.3090009@lwfinger.net \
--to=larry.finger@lwfinger.net \
--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