Re: kswap consume a lot of cpu.

From: Steffen Kern (alfi@rocks.pn.org)
Date: Thu Apr 27 2000 - 17:37:49 EST


On Thu, Apr 27, 2000 at 10:44:28PM +0200, Peter Enderborg wrote:
> This is on a dual Pentium II. I have just made an upgrade to 2.3.99pre6,
>
> but I have seen it for while now. Is this realy the way it should be?
> It's the cp of a big file on ext2 filesystem that causes the kswapd to
> use 77% CPU. But any heavy disk usage gives the same result.

I have the same problem in a single processor machine (AMD K6-2 550, 256MB RAM,
2.3.99pre6)

 12:18pm up 44 min, 4 users, load average: 8.37, 6.16, 4.54
72 processes: 66 sleeping, 6 running, 0 zombie, 0 stopped
CPU states: 1.9% user, 93.9% system, 0.0% nice, 4.3% idle
Mem: 255888K av, 252908K used, 2980K free, 0K shrd, 852K buff
Swap: 259264K av, 368K used, 258896K free 226796K cached

  PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
    2 root 20 0 0 0 0 RW 0 91.1 0.0 13:41 kswapd
  940 root 3 0 496 496 420 R 0 2.8 0.1 6:07 mplex
  942 alfi 2 0 856 856 672 R 0 1.2 0.3 0:00 top
    3 root 0 0 0 0 0 SW 0 0.3 0.0 0:00 kflushd
  599 root 0 0 296 284 240 R 0 0.3 0.1 0:00 gpm
    1 root 0 0 464 464 400 S 0 0.0 0.1 0:00 init
    4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate

was multiplexing too mpeg streams to a system stream....

bye
Steffen

-
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:14 EST