[pre7-5] Large VM perf. DEcrease - 64Mb RAM [vmstat trace]

From: Benjamin Redelings I (bredelin@ucla.edu)
Date: Thu May 04 2000 - 11:32:48 EST


Hello,

        I've just tested out pre7-5, and it has MAJOR VM performance
degradations that were NOT in pre7-4.
        In pre7-4, the kernel swapped out mainly pages from non-running tasks.
I am running several daemons in the background which are NOT used, there
are a lot of pages in this category. I could run netscape for quite a
while w/o have ANY swapout!
        However, in pre7-5, very few pages from long-sleeping/unused daemons
are swapped out. Instead, almost all the swapped pages are from
netscape, which is the main running task! This slows down netscape
NOTICEABLY! In pre7-4, much swapping occurred which I did 'tar -xf
linux-2.3.99-pre5.tar', but in pre7-5, the system is almost completely
unresponsive, besides swapping a lot.
        I then tried to run quake. Quake took MANY seconds to load, maybe even
30 seconds! This is highly unusual, and sure enough, many pages from
QUAKE were swapped out. Still almost no swapout from unused damons.
        You can see that the swap-in numbers below are rather bad.

telomere:~> vmstat 7
   procs memory swap io
system cpu
 r b w swpd free buff cache si so bi bo in cs us
sy id
 1 0 0 2076 1268 240 18644 2 4 109 7 185 339
9 5 86
 0 0 0 1996 1512 172 19096 76 0 542 3 191 405 10
16 74
 3 0 0 1984 1216 212 18876 1 0 115 8 217 573
16 6 78
 4 0 1 1968 1416 184 18656 14 0 250 21 900 568 25
15 60
 2 0 0 1968 1504 180 18472 0 0 21 15 872 411
13 5 82
 1 0 0 1968 1036 184 18608 0 0 14 0 732 398
11 3 85
 2 1 0 2220 1248 136 17272 46 46 613 28 284 344 33
30 37
 0 0 0 2176 1172 148 17232 23 0 280 3 176 378
4 6 90
 5 0 1 2424 1548 132 16984 17 39 388 10 189 396 15
16 70
 1 0 0 2316 1180 144 17176 31 0 315 0 211 462 21
13 66
 4 0 0 2312 1164 156 17184 0 0 3 0 196 458
36 4 59
 2 0 0 2316 1476 140 16916 10 4 99 1 179 377
18 8 74
 1 0 0 2316 1452 140 16916 0 0 0 0 126 292
3 1 97
 3 0 1 2376 1540 136 17636 96 19 864 6 211 379 6
28 66
 1 0 0 2316 1472 140 17708 10 0 313 3 188 389 9
10 81
 3 0 0 2328 1104 148 18208 7 10 283 15 587 442 20
10 70
 1 0 0 2308 1136 156 18096 7 0 57 7 189 576
26 7 67
 1 0 0 2308 1096 156 18136 0 0 6 1 161 360
17 3 80
 1 0 0 2300 1108 176 17996 0 0 51 0 136 331
4 4 92
 2 0 1 2672 1516 176 17888 0 53 637 621 255 320 4
15 82
 4 0 2 2736 1108 180 18356 45 17 826 662 247 327 2
18 80
   procs memory swap io
system cpu
 r b w swpd free buff cache si so bi bo in cs us
sy id
 5 1 2 2704 1148 156 18084 63 3 1349 757 392 534
4 9 87
 1 2 1 3032 776 208 18908 1 47 745 524 317 429 19
17 64
 2 2 1 3344 1336 200 18640 57 50 749 567 238 297 3
12 85
 4 1 1 4220 1112 208 19648 260 142 2539 1957 596 703 2
30 68
 4 0 1 4776 1312 208 19928 130 88 1530 1401 470 490 2
30 68
 4 1 1 4944 1148 196 20160 97 29 1493 1111 403 521 8
35 57
 3 1 1 5628 1144 252 20572 90 110 1289 989 343 453 3
18 79
 1 2 1 6012 1496 240 20628 190 103 1959 1411 656 739 9
20 71
 1 2 2 6288 1116 276 21256 97 62 1206 720 387 504 6
13 81
 3 1 2 6276 1116 296 21180 162 17 1192 715 500 757
16 8 76
 3 1 1 6216 1044 320 21296 122 17 924 400 287 500 8
11 81
 1 1 1 6324 876 292 21516 39 27 910 804 345 417 4
12 85
 3 1 0 6084 1260 192 21136 381 21 780 151 273 388 9
30 61
 1 0 0 5788 1612 208 21476 134 6 438 4 165 396 14
13 73
 2 0 0 5700 1228 348 20552 12 5 374 6 162 384 10
12 79
 2 0 0 5640 1212 320 19800 46 17 300 14 209 516 28
18 54
 2 0 0 5812 1284 204 19552 14 26 58 7 201 677
16 9 75
 2 0 0 5896 1292 192 19660 91 31 304 9 225 430 18
13 69
 2 0 0 5636 1364 196 19316 41 0 97 10 211 515
25 8 67

carry on!
-BenRI

-- 
"I want to be in the light, as He is in the Light,
 I want to shine like the stars in the heavens." - DC Talk, "In the
Light"
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/

- 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 May 07 2000 - 21:00:16 EST