Skip to contentSkip to conversation

Benchmark results from resp1 trivial response time test

DISCUSSION Paolo Ciarrocchi 2 participants 2 messages Oct 13, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi David,
I think your benchmark is very intersting.
Here goes my results:

--- 2.4.19 ---
Starting 1 CPU run with 251 MB RAM, minimum 5 data points at 20 sec intervals

                       _____________ delay ms. ____________                  
           Test        low       high    median     average     S.D.    ratio
         noload    119.653    124.207    119.786    120.644    0.002    1.000
     smallwrite    121.051    190.696    144.469    152.062    0.031    1.260
     largewrite    117.412  11871.027   1113.563   3362.302    4.870   27.870
        cpuload    119.691    313.702    178.513    190.324    0.081    1.578
      spawnload    114.624    243.985    119.747    154.604    0.057    1.281
       8ctx-mem    652.737   7564.493   1234.938   2527.273    2.904   20.948
       2ctx-mem    126.914   8428.021    620.418   2941.043    3.890   24.378

--- 2.5.41 ---
Starting 1 CPU run with 250 MB RAM, minimum 5 data points at 20 sec intervals

                       _____________ delay ms. ____________                  
           Test        low       high    median     average     S.D.    ratio
         noload    113.607    114.030    113.774    113.783    0.000    1.000
     smallwrite    117.882    526.275    121.038    208.868    0.178    1.836
     largewrite   1674.216  88428.871  14794.752  27750.852   34.851  243.892
        cpuload    104.225    158.400    104.478    115.269    0.024    1.013
      spawnload    105.933    166.818    106.682    118.452    0.027    1.041
       8ctx-mem    116.458   8893.645    120.670   1875.275    3.923   16.481
       2ctx-mem    116.847  10174.152    121.309   2130.303    4.497   18.722

--- 2.5.42 ---
Starting 1 CPU run with 250 MB RAM, minimum 5 data points at 20 sec intervals

                       _____________ delay ms. ____________                  
           Test        low       high    median     average     S.D.    ratio
         noload    113.676    113.948    113.737    113.774    0.000    1.000
     smallwrite    115.352    189.983    119.500    141.645    0.036    1.245
     largewrite  19012.080  45528.170  30311.890  31472.632    9.646  276.625
        cpuload    103.328   1267.116    103.971    336.462    0.520    2.957
      spawnload    105.196    167.400    105.787    117.983    0.028    1.037
       8ctx-mem    121.166   8616.232    126.489   1824.054    3.797   16.032
       2ctx-mem    115.162  10291.470    119.560   2152.930    4.550   18.923

--- 2.5.42-mm2 ---
Starting 1 CPU run with 250 MB RAM, minimum 5 data points at 20 sec intervals

                       _____________ delay ms. ____________                  
           Test        low       high    median     average     S.D.    ratio
         noload    113.658    114.500    113.737    113.866    0.000    1.000
     smallwrite    117.220    245.110    119.017    144.541    0.056    1.269
     largewrite    114.841    181.420    118.746    131.568    0.028    1.155
        cpuload    104.583    159.080    104.890    115.694    0.024    1.016
      spawnload    108.790    166.141    109.655    120.698    0.025    1.060
       8ctx-mem    114.430   8484.873    784.141   2066.476    3.604   18.148
       2ctx-mem    121.388   8453.018   1414.443   2383.773    3.459   20.935

It seems that 2.5.42-mm2 is the "winner".

Comments ?

Paolo

Signature · 4 lines
Get your free email from www.linuxmail.org 


Powered by Outblaze
#1 lore raw
Quoted 1 line · Paolo Ciarrocchi

Hi David,

thanks for the quick results, but it's Bill...

Quoted 6 lines

I think your benchmark is very intersting.
Here goes my results:

It seems that 2.5.42-mm2 is the "winner".

Comments ?

This mirrors my results, which is encouraging. The -mm2 patch seems to improve performance under write pressure quite a bit. I am attaching Con Kolivas' patch to 41-mm2 in case you missed it, as you can note from the results on the website, it improves things beyond -mm2. If you decide to run this version I'd like to see the result. I believe I had to use the "-l" patch option to ignore blank mismatches to get this to work, and I've cleaned up another mailing funny as well.

mm/vmscan.c 2002-10-11 00:51:06.000000000 +1000 renamed from mm/vmscan.c 2002-10-11 09:11:20.000000000 +1000 +14 -2
@@ -44,7 +44,8 @@
 /*
  * From 0 .. 100.  Higher means more swappy.
  */
-int vm_swappiness = 50;
+int vm_swappiness = 0;
+int vm_swap_feedback;
 static long total_memory;
 
 #ifdef ARCH_HAS_PREFETCH
@@ -587,7 +588,18 @@
         * A 100% value of vm_swappiness will override this algorithm almost
         * altogether.
         */
-       swap_tendency = mapped_ratio / 2 + distress + vm_swappiness;
+       swap_tendency = mapped_ratio / 2 + distress;
+
+        vm_swap_feedback = (swap_tendency - 50)/10;
+        vm_swappiness += vm_swap_feedback;
+        if (vm_swappiness < 0){
+               vm_swappiness = 0;
+       }
+       else
+       if (vm_swappiness > 100){
+               vm_swappiness = 100;
+       }
+        swap_tendency += vm_swappiness;
 
        /*
         * Well that all made sense.  Now for some magic numbers.  Use the
Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.