kswapd @ 60-80% CPU during heavy HD i/o.

From: Richard Torkar (ds98rito@thn.htu.se)
Date: Sat Apr 29 2000 - 08:42:01 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In short:
Whenever I use the program vcdgear (which extracts mpg files from a
bin/cue file) my kswapd goes sky high... See below. It stays between 60 -
80% CPU. Directly when vcdgear stops kswapd stops as well.

There is extensive hd i/o.
The hd reads and writes to the same partition for several minutes when
using vcdgear, and that is of course normal. But is the kswapd usuage
normal?

Kernel 2.3.99-pre6
Hardware: BP6, dual celeron 500, 128MB RAM
I have the HD on a HPT366 interface (IBM-DJNA-371800, 17GB)

***
Output of ver_linux:
Linux ***.***.***.se 2.3.99-pre6 #3 SMP Fri Apr 28 22:06:17 CEST 2000 i686 unknown
Kernel modules 2.3.10-pre1
Gnu C egcs-2.91.66
Binutils 2.9.5.0.22
Linux C Library 2.1.3
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount 2.10f
Net-tools 1.54
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded 3c509 opl3 sb sb_lib uart401 sound soundcore
***

 3:28pm up 17:08, 3 users, load average: 2.57, 2.18, 1.81
47 processes: 44 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: 1.4% user, 6.0% system, 0.0% nice, 22.8% idle
Mem: 126548K av, 124260K used, 2288K free, 0K shrd, 700K buff
Swap: 136512K av, 4092K used, 132420K free 94584K cached

  PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
    2 root 18 0 0 0 0 SW 0 69.8 0.0 66:37 kswapd
  513 root 12 0 111M 110M 1036 R 0 53.2 89.3 24:43 X
 3441 root 15 0 512 512 408 D 0 53.2 0.4 1:49 vcdgear
 3517 toor 6 0 840 840 652 R 0 9.9 0.6 0:00 top
  617 toor 2 0 324 220 160 S 0 3.3 0.1 8:22 wmifs
[...........................................................................]

I have not tried any other kernel. If you want me to try diffrent kernels
please tell me so.

This might be a well-known 'feature' I have no idea.

Richard

- ---
Toor: Linux version 2.3.99-pre6 #1 SMP i686 (2244.61 BogoMips)
Linux _is_ user-friendly. It's just selective about its friends.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5CuavUSLExYo23RsRAglqAJ9v4ZDQFgcJL5KLH7PllgDyeCZX/QCgrprl
47PxcrMdarQX1EVYsAIyC0k=
=oJXc
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST