linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Simon Kirby <sim@stormix.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.rutgers.edu
Subject: Re: [PATCH] Recent VM fiasco - fixed
Date: Thu, 11 May 2000 19:38:58 -0400	[thread overview]
Message-ID: <20000511193858.A402@stormix.com> (raw)
In-Reply-To: <20000511071703.A4297@stormix.com>; from sim@stormix.com on Thu, May 11, 2000 at 07:17:04AM -0700

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

On Thu, May 11, 2000 at 07:17:04AM -0700, Simon Kirby wrote:

> On Thu, May 11, 2000 at 12:23:19AM -0700, Linus Torvalds wrote:
> ...
> > which doesn't endup serializing the IO all the time?
> 
> A little bit better!  203 vmstat-line-seconds before, now 155
> vmstat-line-seconds to complete.  It seems to be doing a better job like
> this, but still doesn't write out in blocks like it used to:

Hrm!  pre7 release seems to be even better.  113 vmstat-line-seconds now
(yes, I know this isn't a very scientific testing method :)).  Second try
was 114 vmstat-line-seconds.  classzone-27 did it in 107, so that's not
very far off!  Also, it swapped much less this time, and used less CPU. 
vmstat output attached.

Hmm...I don't know if this means anything, but this kernel and pre7-9
with the buffer.c modification seem to look at bit different than with
classzone and with 2.2.  As the free memory is used and turned into cache
as the uncompression first starts, it seemed to kind of sweep down not in
a line but in a curve as it approached the minimum free, and during the
beginning it was writing out in groups of 500 blocks but then went back
to the continuous writing.  It seems odd that when it start it has no
problem going through the first 50 MB in two or three seconds but then
takes a long time to go through the next.  Maybe not, though.  Just
noticing. :)

Simon-

[  Stormix Technologies Inc.  ][  NetNation Communications Inc. ]
[       sim@stormix.com       ][       sim@netnation.com        ]
[ Opinions expressed are not necessarily those of my employers. ]

[-- Attachment #2: vmstat-4.txt --]
[-- Type: text/plain, Size: 13280 bytes --]

   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  0  0      0 102848   1252  10652   0   0    27     1   67    32   1   1  98
 0  0  0      0 102928   1252  10652   0   0     0     0  114    27   0   0 100
 0  0  0      0 102848   1252  10652   0   0     0     0  123    34   0   0  99
 0  0  0      0 102844   1252  10652   0   0     0     0  132    27   0   0 100
 0  0  0      0 102844   1252  10652   0   0     0     0  133    30   0   0 100
 0  0  0      0 102844   1252  10652   0   0     0     0  127    26   0   0 100
 1  0  0      0  96160   1268  15896   0   0   820     0  162   109   3   4  93
 1  0  0      0  65276   1308  45840   0   0  3763     0  353   313  23  13  64
 0  1  0      0  50064   1324  60432   0   0  1827  1003  352   250  11   6  83
 0  1  0      0  37832   1340  72264   0   0  1488  1500  591   193   8   5  87
 0  1  0      0  25928   1352  83784   0   0  1442  1500  608   185  10   5  85
 1  0  0      0  15760   1200  93968   0   0  1346  1000  621   165   8   7  85
 0  1  0      0  15044    252  96420   0   0  1231  1503  451   193  10   4  86
 1  0  0      0  13796    228  98736   0   0  1284  1000  578   205   7   7  86
 0  1  0      0  13676    228  98872   0   0   705  1802  778   157   3   4  93
 0  1  0      0  12536    232 100012   0   0  1522  1027  531   237   8   6  86
 0  1  0      0  12024    224 100500   0   0   642  2150  748   224   5   4  91
 0  1  0      0  11856    224 100696   0   0   704  1473  745   107   4   3  93
 0  1  0      0  10220    204 102488   0   0  1698   932  550   244   8   7  85
 1  0  0      0   9096    220 103804   0   0  1523   870  430   239   7   5  88
 0  1  0      0   8284    220 104548   0   0  1025  1348  596   161   5   6  89
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  1  0      0   7940    204 104852   0   0  1183  1377  619   185   8   7  85
 0  1  0      0   7184    212 105604   0   0  1269  1157  496   212   9   5  86
 1  0  0      0   6052    220 106732   0   0  1059  1124  586   169   6   4  90
 1  0  0      0   4928    216 107932   0   0  1426  1361  607   224   8   7  85
 0  1  0      0   4464    220 108328   0   0  1218  1302  617   181   5   3  92
 0  1  0      0   4016    212 108820   0   0   865  1445  698   178   4   6  89
 0  1  0      0   3076    204 109800   0   0  1153  1156  545   174   8   4  88
 0  1  0      0   2572    220 110280   0   0  1651   897  531   240   9   6  85
 0  1  0      0   3008    220 109688   0   0  1762  1030  475   222  13   7  80
 0  1  0      0   2820    224 109848   0   0  1008  1092  554   132   5   6  89
 0  1  0      0   2448    232 110140   0   0  1250  1153  466   180   8   5  87
 0  1  0      0   2580    232 109884   0   0  1437  1235  595   183   8   5  87
 0  1  0      0   2884    228 109560   0   0  1590  1010  500   202  11   7  82
 0  1  0      0   2760    228 109672   0   0  1155  1540  609   174   5   6  88
 1  0  0      0   3072    232 109360   0   0  1089  1540  517   183   8   5  87
 0  1  0      0   2768    216 109692   0   0   415  1605  677   285   2   3  94
 0  1  0      0   2832    224 109704   0   0  1396  1155  547   188   7   5  88
 1  0  0      0   2344    228 110336   0   0  1693   961  600   238  10   7  83
 0  1  0      0   2684    240 109812   0   0  2038   868  500   266  14   9  77
 1  0  0      0   2436    228 110184   0   0  1057  1446  576   156   5   3  91
 0  1  0      0   2980    216 109556   0   0   416  1746  711   136   3   3  93
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  1  0      0   2564    224 109976   0   0   946  1108  624   173   5   6  89
 0  1  0      0   2432    228 110180   0   0  1762   963  529   243  10  10  80
 0  1  0      0   2336    236 110248   0   0  2097  1028  586   282  13   5  82
 0  1  1      0   2812    220 109572   0   0  1250  1831  488   154   7   4  88
 0  1  0      0   2592    212 109828   0   0   412  1539  763   361   2   4  93
 0  1  1      0   2868    232 109560   0   0  1689   389  492   221  11   3  86
 0  1  0      0   2564    232 109860   0   0  1282  1199  576   151   8   5  87
 1  0  0      0   2492    236 109928   0   0  1153  1281  565   163   6   5  89
 0  1  0      0   2828    224 109564   0   0  1456  1704  472   362   7   9  84
 0  1  0      0   2796    220 109600   0   0   512  1156  754   280   5   1  94
 1  0  0      0   2680    228 109784   0   0   994  1251  575   165   5   7  87
 0  1  0      0   2580    236 109836   0   0  1634  1122  505   221  11   6  83
 1  0  0      0   2256    232 110236   0   0  2097   739  434   229  18   6  76
 0  1  0      0   2840    212 109612   0   0  1213  1319  540   145   9   5  86
 0  1  0      0   2564    224 109880   0   0  1046  1378  592   156   4   4  92
 0  1  1      0   2816    236 109568   0   0   964  1281  580   149   5   5  89
 0  1  0      0   2564    236 109800   0   0  1153  1205  616   176   6   7  87
 0  1  0      0   2500    240 109804   0   0  1712   996  456   200  13   8  79
 0  1  0      0   2556    228 109796   0   0  1378  1267  515   150  10   6  83
 0  1  0      0   2564    224 109840   0   0   961  1831  522   294   3   7  90
 0  1  0      0   2236    224 110196   0   0   417  1249  741   245   3   1  96
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  1  0      0   2692    224 109828   0   0  1213  1252  602   188   8   6  86
 0  1  0      0   2580    228 109996   0   0  1751   993  511   199  10   8  82
 0  1  0      0   2576    232 110032   0   0  1392  1094  570   181   9   5  86
 1  0  0      0   2604    232 110016   0   0  1731  1121  539   221  10   9  81
 0  1  1      0   2796    236 109584   0   0  1411  1124  576   175  11   4  85
 1  0  0      0   2924    236 109368   0   0  1169  1476  409   146   9   4  87
 0  1  0      0   2564    236 109728   0   0  1185  1092  570   162   8   6  86
 0  1  0      0   2568    220 109752   0   0  1281  1569  647   185   8   8  84
 0  1  0      0   2820    228 109496   0   0   721  1381  558   112   5   3  91
 0  1  0      0   2328    228 110020   0   0   706  1699  617   150   2   3  95
 1  0  0      0   2884    208 109680   0   0   428  1188  691   218   3   5  92
 0  1  1      0   3072    192 109720   0   0   738  2171  582   133   5   6  89
 0  1  0      0   2948    188 110484   0   0   769   941  709   176   4   5  90
 1  0  0      0   2264    220 110992   0   0  2613   261  382   293  16  11  72
 0  1  0     36   2908    224 110112   0  36  1585  1023  441   216   9   9  82
 0  1  0     36   2832    224 110092   0   0  1090  1716  552   192   6   5  89
 1  0  0     36   2172    220 109876   0   0   608  1025  699   187   2   4  94
 1  0  1     36   2896    220 110052   0   0  2291   708  492   285  13   8  79
 1  0  0     36   3068    228 109684   0   0  1506  1414  470   237   9   8  82
 0  2  0     36   2764    220 110032   0   0   446  1797  725   303   4   3  93
 1  0  0     36   2260    216 110620   0   0   929   769  615   128   8   4  88
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  1  0     36   2316    232 110464   0   0  1715  1089  545   207   7   7  86
 0  1  0     36   2752    224 110036   0   0  1346  1061  523   234   6   6  88
 0  1  0     36   2584    224 110232   0   0  1296  1349  591   226   9   5  86
 0  1  1     36   3080    216 109756   0   0   689  1988  612   212   3   6  91
 0  1  0     36   2684    212 110204   0   0  1411   513  592   228   8   5  87
 0  1  0     36   3064    224 109792   0   0  1586  1252  510   244  11   8  81
 0  1  0     36   2900    232 109800   0   0  1858   978  533   213  11   9  80
 0  1  0     36   2804    228 109800   0   0  1085  1256  495   202   6   7  87
 0  1  0     36   2564    228 110040   0   0  1140  1186  534   136   7   5  87
 0  1  0     36   2820    240 109632   0   0  1539  1252  583   184   9   5  86
 0  1  0     36   2692    236 109772   0   0  1121  1026  567   165  11   3  86
 0  1  0     36   2584    224 109912   0   0   911  1381  463   255   6   5  89
 1  0  0     36   2424    220 110240   0   0   544  1026  723   130   3   3  94
 0  1  0     36   2560    216 110036   0   0  1507  1445  605   170   7  10  83
 0  1  0     36   2196    232 109548   0   0  1426  1378  572   191  10   5  85
 0  1  0     36   2744    236 109828   0   0  2147  1110  537   252  13  12  75
 0  1  0     72   2836    220 109764   0  36   739  1181  563   116   4   3  92
 0  1  0     72   2228    232 110364   0   0  1071  1025  592   164   9   4  87
 0  1  0     72   2632    248 109956   0   0  1221  1186  526   178   9   4  87
 0  1  0     72   2824    236 109784   0   0  1121  1155  579   156   7   5  88
 0  1  0     72   2572    236 110012   0   0  1264  1122  532   181   8   6  86
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  1  0     72   2984    224 109588   0   0  1442  1116  403   154   9   4  86
 0  1  0    108   3020    216 109620   0  36  1123  1498  535   134   6   7  87
 0  1  0    108   2580    216 110072   0   0   545   803  454    90   3   2  94
 0  1  0    108   2568    228 110088   0   0  1101  1314  505   162   6   6  88
 0  1  0    108   2732    232 109920   0   0  1223  1152  557   185   7   3  89
 0  1  0    108   2820    228 109868   0   0  1153  1221  592   168   7   4  89
 0  1  0    108   2564    240 110128   0   0  1426   901  503   254   8   5  86
 0  1  0    108   2760    236 109948   0   0  1121  1090  536   141   6   6  88
 0  1  0    108   2628    232 110020   0   0  1520  1347  579   200  13   5  82
 0  1  0    108   2772    236 109868   0   0  1122  1187  557   157   8   5  87
 0  1  0    108   2568    236 110072   0   0  1058  1219  573   178   5   6  89
 1  0  0    108   2812    228 109900   0   0  1121  1412  656   168   7   3  90
 0  0  0    108   3804    248 110140   0   0  1094   609  397   166   4   4  91
 0  0  0    108   3804    248 110140   0   0     0     0  105    29   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    24   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  102    26   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    30   0   0  99
 0  0  0    108   3804    248 110140   0   0     0     0  101    29   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  101    25   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  102    24   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  101    26   0   0 100
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  0  0    108   3804    248 110140   0   0     0     0  102    29   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    31   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  101    24   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    28   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    30   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  101    27   0   0 100
 0  0  0    108   3804    248 110140   0   0     0     0  103    30   0   0 100
 0  0  0    108   3764    264 110164   0   0    20     0  112    43   0   0  99
 0  0  0    108   3764    264 110164   0   0     0     0  101    24   0   0 100
 0  0  0    108   3764    264 110164   0   0     0     0  101    30   0   0 100
 0  0  0    108   3764    264 110164   0   0     0     0  102    24   0   0 100
 0  0  0    108   3764    264 110164   0   0     0     2  105    32   0   0 100
 0  0  0    108   3764    264 110164   0   0     0     0  101    23   0   0 100
 0  0  0    108   3764    264 110164   0   0     0     0  101    26   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  106    32   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  103    27   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  101    29   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  101    26   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  102    23   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  103    31   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  101    26   0   0 100
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  0  0    108   3760    264 110168   0   0     0  4834  313   332   0   1  99
 0  0  0    108   3760    264 110168   0   0     0     0  211    26   0   0 100
 0  0  0    108   3760    264 110168   0   0     0     0  103    27   0   0 100

  reply	other threads:[~2000-05-11 23:38 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-08 17:21 Zlatko Calusic
2000-05-08 17:43 ` Rik van Riel
2000-05-08 18:16   ` Zlatko Calusic
2000-05-08 18:20     ` Linus Torvalds
2000-05-08 18:46     ` Rik van Riel
2000-05-08 18:53       ` Zlatko Calusic
2000-05-08 19:04         ` Rik van Riel
2000-05-09  7:56   ` Daniel Stone
2000-05-09  8:25     ` Christoph Rohland
2000-05-09 15:44       ` Linus Torvalds
2000-05-09 16:12         ` Simon Kirby
2000-05-09 17:42         ` Christoph Rohland
2000-05-09 19:50           ` Linus Torvalds
2000-05-10 11:25             ` Christoph Rohland
2000-05-10 11:50               ` Zlatko Calusic
2000-05-11 23:40                 ` Mark Hahn
2000-05-10  4:05         ` James H. Cloos Jr.
2000-05-10  7:29           ` James H. Cloos Jr.
2000-05-11  0:16             ` Linus Torvalds
2000-05-11  0:32               ` Linus Torvalds
2000-05-11 16:36                 ` [PATCH] Recent VM fiasco - fixed (pre7-9) Rajagopal Ananthanarayanan
2000-05-11  1:04               ` [PATCH] Recent VM fiasco - fixed Juan J. Quintela
2000-05-11  1:53                 ` Simon Kirby
2000-05-11  7:23                   ` Linus Torvalds
2000-05-11 14:17                     ` Simon Kirby
2000-05-11 23:38                       ` Simon Kirby [this message]
2000-05-12  0:09                         ` Linus Torvalds
2000-05-12  2:51                           ` [RFC][PATCH] shrink_mmap avoid list_del (Was: Re: [PATCH] Recent VM fiasco - fixed) Roger Larsson
2000-05-11 11:15                   ` [PATCH] Recent VM fiasco - fixed Rik van Riel
2000-05-11  5:10                 ` Linus Torvalds
2000-05-11 10:09                   ` James H. Cloos Jr.
2000-05-11 17:25                   ` Juan J. Quintela
2000-05-11 23:25                   ` [patch] balanced highmem subsystem under pre7-9 Ingo Molnar
2000-05-11 23:46                     ` Linus Torvalds
2000-05-12  0:08                       ` Ingo Molnar
2000-05-12  0:15                         ` Ingo Molnar
2000-05-12  9:02                     ` Christoph Rohland
2000-05-12  9:56                       ` Ingo Molnar
2000-05-12 11:49                         ` Christoph Rohland
2000-05-12 16:12                       ` Linus Torvalds
2000-05-12 10:57                     ` Andrea Arcangeli
2000-05-12 12:11                       ` Ingo Molnar
2000-05-12 12:57                         ` Andrea Arcangeli
2000-05-12 13:20                           ` Rik van Riel
2000-05-12 16:40                             ` Ingo Molnar
2000-05-12 17:15                               ` Rik van Riel
2000-05-12 18:15                               ` Linus Torvalds
2000-05-12 18:53                                 ` Ingo Molnar
2000-05-12 19:06                                   ` Linus Torvalds
2000-05-12 19:36                                     ` Ingo Molnar
2000-05-12 19:40                                     ` Ingo Molnar
2000-05-12 19:54                                     ` Ingo Molnar
2000-05-12 22:48                                       ` Rik van Riel
2000-05-13 11:57                                         ` Stephen C. Tweedie
2000-05-13 12:03                                           ` Rik van Riel
2000-05-13 12:14                                             ` Ingo Molnar
2000-05-13 14:23                                               ` Ingo Molnar
2000-05-19  1:58                               ` Andrea Arcangeli
2000-05-19 15:03                                 ` Rik van Riel
2000-05-19 16:08                                   ` Andrea Arcangeli
2000-05-19 17:05                                     ` Rik van Riel
2000-05-19 22:28                                     ` Linus Torvalds
2000-05-11 11:12               ` [PATCH] Recent VM fiasco - fixed Christoph Rohland
2000-05-11 17:38               ` Steve Dodd
2000-05-09 10:21     ` Rik van Riel
2000-05-11 11:26 Jones D (ISaCS)
2000-05-12  7:50 ` Andrea Arcangeli

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=20000511193858.A402@stormix.com \
    --to=sim@stormix.com \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=linux-mm@kvack.org \
    --cc=torvalds@transmeta.com \
    /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