mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Les Schaffer <schaffer@optonline.net>
To: linux-kernel@vger.kernel.org
Subject: 2.4.13 (SMP): kswapd working furiously, to no effect
Date: Mon, 29 Oct 2001 20:05:51 -0500	[thread overview]
Message-ID: <15325.64751.75250.887741@gargle.gargle.HOWL> (raw)

I noticed a problem for the last several days (2.4.13 Tyan PIII Dual)
but couldnt put my finger on it till i started paying attention:
kswapd is working furiously, but accomplishing nothing.

that is, kswapd is logging lots of CPU time, but no swap space is
being used. (see below).

i dont recall having problems until towards the end of the day (i
shutdown at nite). when i open or close a netscape session for
example, or do a dpkg blah-blah, the process hangs for a long time
before getting going.  at one point prior to the 'top' below, i had
something like 500XXXK used, and still not a drop, err byte, of swap
used.

this behavior was not occuring with 2.4.12 (will check tmw) and
earlier versions.

les schaffer

================= INFO =================
speggy)~/: dmesg | grep swap
Starting kswapd
Adding Swap: 506036k swap-space (priority -1)

--------------

(speggy)~/: top

19:07:09 up 13:12,  3 users,  load average: 1.68, 1.45, 1.24
69 processes: 66 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  14.4% user,  85.5% system,   0.0% nice,   0.1% idle
Mem:    513916K total,   443932K used,    69984K free,     7808K buffers
Swap:   506036K total,        0K used,   506036K free,   166992K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 2873 godzilla   9   0 31984  30M 12272 S     0.0  6.0   0:00 mozilla-bin
             [ mozilla-bin repeated ad infinitum)
  356 godzilla   9   0 27528  26M  3688 S     0.0  5.3   4:16 xemacs
  298 root       6 -10  202M  26M  4120 S <   0.9  5.1   9:04 XFree86
  335 godzilla   9   0  7672 7668  6100 S     0.0  1.4   0:17 gabber
  326 godzilla   9   0  4908 4908  3812 S     0.0  0.9   0:06 panel
             [ etc ... ]
    3 root      19  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    4 root      19  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU1
    5 root      19   0     0    0     0 RW   95.9  0.0 282:40 kswapd
    6 root       9   0     0    0     0 SW    0.0  0.0   0:00 bdflush

--------------

(speggy)~/: ps uxwa     // about 50 minutes after 'top' above 

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         5 37.9  0.0     0    0 ?        SW   05:54 315:56 [kswapd]

--------------

(speggy)/proc/: cat swaps 
Filename			Type		Size	Used	Priority
/dev/hda4                       partition	506036	0	-1



             reply	other threads:[~2001-10-30  1:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30  1:05 Les Schaffer [this message]
2001-10-30 23:16 ` Les Schaffer
2001-10-31  9:44 ` Marcelo Tosatti
2001-10-31 14:01 ` Les Schaffer

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=15325.64751.75250.887741@gargle.gargle.HOWL \
    --to=schaffer@optonline.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

all inboxes | Powered by JetHome®