Necko/MobileCache/MicroBenchmarks: Difference between revisions

(Created page with "'''This Is Work In Progress - Information Is Incomplete''' This page describes the cache-related microbenchmarks created so far. Contact BjarneG (bherland@mozil...")
 
Line 63: Line 63:
Some results from a Linux server running 64-bit Ubuntu 10.4
Some results from a Linux server running 64-bit Ubuntu 10.4


  Number of entries: 100 Max #connections=256 / max per server=256
  Memory-cache capacity: 51200 Kb / Disk-cache capacity: 1048576 Kb
  Max #connections=256 / max per server=256
                                         Total time      #runs  avg time/run
                                         Total time      #runs  avg time/run
  Setting datasize 50 bytes
  Setting datasize 50 bytes
  Load from server    (no cache)        2324           101    23.01
  Load from server    (no cache)        2796           101    27.68
  Load from server    (mem-cache)        2346           101    23.23
  Load from server    (mem-cache)        2452           101    24.28
  Load from cache      (mem-cache)        208             101    2.06
  Load from cache      (mem-cache)        210             101    2.08
  Load from server    (disk-cache)      2334           101    23.11
  Load from server    (disk-cache)      2805           101    27.77
  Load from cache      (disk-cache)      180             101    1.78
  Load from cache      (disk-cache)      184             101    1.82
  Setting datasize 1024 bytes
  Setting datasize 1024 bytes
  Load from server    (no cache)        2419           101    23.95
  Load from server    (no cache)        2893           101    28.64
  Load from server    (mem-cache)        2409           101    23.85
  Load from server    (mem-cache)        2529           101    25.04
  Load from cache      (mem-cache)        234             101    2.32
  Load from cache      (mem-cache)        272             101    2.69
  Load from server    (disk-cache)      2434           101    24.10
  Load from server    (disk-cache)      2936           101    29.07
  Load from cache      (disk-cache)      247             101    2.45
  Load from cache      (disk-cache)      250             101    2.48
  Setting datasize 51200 bytes
  Setting datasize 51200 bytes
  Load from server    (no cache)        9056           101    89.66
  Load from server    (no cache)        9673           101    95.77
  Load from server    (mem-cache)        9392           101    92.99
  Load from server    (mem-cache)        9617           101    95.22
  Load from cache      (mem-cache)        3100           101    30.69
  Load from cache      (mem-cache)        3311           101    32.78
  Load from server    (disk-cache)      9465           101    93.71
  Load from server    (disk-cache)      9588           101    94.93
  Load from cache      (disk-cache)      3077           101    30.47
  Load from cache      (disk-cache)      3307           101    32.74
  Setting datasize 524288 bytes
  Setting datasize 524288 bytes
  Load from server    (no cache)        71864           101    711.52
  Load from server    (no cache)        76889           101    761.28
  Load from server    (mem-cache)        72233           101    715.18
  Load from server    (mem-cache)        76569           101    758.11
  Load from cache      (mem-cache)        17015           101    168.47
  Load from cache      (mem-cache)        27940           101    276.63
  Load from server    (disk-cache)      84842           101    840.02
  Load from server    (disk-cache)      80344           101    795.49
  Load from cache      (disk-cache)      29878           101    295.82
  Load from cache      (disk-cache)      31521           101    312.09


The interesting numbers are found in the rightmost column of the output.
The interesting numbers are found in the rightmost column of the output.
97

edits