Re: Out of VM idea

David Woodhouse (Dave@imladris.demon.co.uk)
Wed, 29 Apr 1998 21:14:06 +0200


H.H.vanRiel@phys.uu.nl said:
> Am I simply expecting too much of the poor thing when it's paging
> 128-odd Mb?
> Will I have to wait for real swapping before it gets better?

> The situation you describe _is_ a little bit extreme, yes.

OK. This time it was only paging 20-40M. And it was just as bad as before -
utterly unresponsive.

dwmw2:/home/dwmw2 $ cat swapdeath-top
4:19pm up 16 min, 4 users, load average: 23.31, 21.42, 12.79
145 processes: 124 sleeping, 21 running, 0 zombie, 0 stopped
CPU states: 71.6% user, 257.4% system, 0.0% nice, 0.0% idle
Mem: 62344K av, 59608K used, 2736K free, 27196K shrd, 3932K buff
Swap: 196280K av, 43192K used, 153088K free 12604K cached

PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
3 root 9 -12 0 0 0 SW< 0 99.9 0.0 5:04 kswapd
1746 dwmw2 13 0 476 452 268 R 0 14.4 0.7 0:39 top
2384 root 10 0 1956 1740 784 R 0 12.2 2.7 0:03 /usr/lib/gcc
2339 root 17 0 3052 2756 812 R 0 10.4 4.4 0:04 /usr/lib/gcc
1225 dwmw2 9 0 220 192 152 S 0 10.0 0.3 0:38 vmstat 1
202 root 20 0 124 28 16 R 0 9.6 0.0 1:12 klogd
2306 root 12 0 4564 3832 1560 R 0 9.6 6.1 0:05 /usr/lib/gcc
552 root 7 0 252 152 100 S 0 9.0 0.2 0:38 /usr/X11R6/b
2344 root 17 0 3052 2652 808 R 0 8.7 4.2 0:05 /usr/lib/gcc
2387 root 12 0 1876 1828 840 R 0 8.0 2.9 0:01 /usr/lib/gcc
2360 root 16 0 2964 2692 780 R 0 7.0 4.3 0:03 /usr/lib/gcc
2377 root 10 0 2272 2068 772 R 0 7.0 3.3 0:04 /usr/lib/gcc
2374 root 10 0 2364 2040 760 R 0 6.2 3.2 0:04 /usr/lib/gcc
2323 root 16 0 4000 3408 1068 R 0 6.0 5.4 0:04 /usr/lib/gcc
2333 root 17 0 2832 2576 808 R 0 5.9 4.1 0:04 /usr/lib/gcc
2371 root 12 0 2700 2480 780 R 0 5.8 3.9 0:03 /usr/lib/gcc
2329 root 16 0 3520 3128 860 R 0 5.4 5.0 0:03 /usr/lib/gcc
2320 root 15 0 4124 3552 1068 R 0 5.0 5.6 0:03 /usr/lib/gcc
2352 root 14 0 2712 2404 804 R 0 5.0 3.8 0:04 /usr/lib/gcc
2365 root 15 0 3276 2928 840 R 0 4.9 4.6 0:02 /usr/lib/gcc
2355 root 18 0 2776 2584 792 R 0 4.3 4.1 0:03 /usr/lib/gcc
dwmw2:/home/dwmw2 $ cat swapdeath-vmstat
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
23 3 0 33208 2892 3932 12876 396 1920 184 515 660 254 17 83 0
24 3 0 36620 3280 3932 13020 956 4500 307 1167 1283 467 18 82 0
21 3 0 38112 3584 3932 13036 104 708 91 188 238 118 15 85 0
23 4 0 40308 6128 3932 13020 1104 4084 660 1042 1261 577 19 81 0
23 2 0 40020 2668 3932 13812 2056 648 926 162 499 660 67 33 0
23 2 0 40280 1980 3932 13316 724 672 452 168 276 324 57 43 0
21 2 0 42008 2504 3932 12732 624 2624 284 705 863 442 25 75 0
22 5 0 44932 3260 3932 12752 812 3512 648 892 1656 576 15 85 0
22 5 0 47256 4172 3932 12832 992 2608 600 662 1108 490 14 86 0
24 3 0 48988 4188 3932 13088 1308 1756 802 442 1366 424 24 76 0
24 2 0 46704 4416 3932 13864 796 0 263 0 346 518 71 29 0
19 2 0 47288 3328 3932 13252 936 844 334 211 631 661 67 33 0
20 3 0 48228 4340 3932 12592 936 2796 384 733 1803 651 23 77 0
22 3 0 49756 4256 3932 12468 156 772 95 193 368 237 24 76 0
19 3 0 49736 4152 3932 12328 1244 2264 606 599 1348 427 25 75 0
25 3 0 49492 4160 3932 12584 984 1440 454 371 692 194 31 69 0
23 5 0 48488 5604 3932 12652 844 408 477 102 561 329 41 59 0
27 4 0 47188 4204 3932 12756 1552 420 857 105 903 545 62 38 0
25 3 0 47416 4320 3932 12252 144 716 127 188 718 165 21 79 0
26 4 0 44852 6172 3932 12664 1228 608 639 221 684 258 45 55 0
13 5 0 42296 10952 3932 13720 1704 0 929 12 831 587 73 27 0
dwmw2:/home/dwmw2 $ cat swapdeath-swaps
Filename Type Size Used Priority
/dev/sda3 partition 130748 4 -1
/dev/slram partition 65532 21112 10

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu