httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: mod_file_cache performance
Date Mon, 02 Jul 2001 23:22:12 GMT
On Mon, 2 Jul 2001, Cliff Woolley wrote:

> I'll post those (also useless ;-) numbers a little later.

Okay, I feel a bit better now.  I'm still slapping myself for having run
all those initial tests over NFS (with unpredictable loads on the NFS
server during the tests).  Here are the latest numbers, with the old ones
thrown in just for comparison.  They basically show no difference
whatsoever between cached and uncached files, within a very small margin
of error.  Granted, this is on multiple thousands of consecutive requests
for the same file, which is pretty much the ideal case for the kernel's
caches... the numbers might diverge a bit more when tested on a box
serving other files simultaneously in more of a real-world situation.

So these are pretty much useless, as Dean said, but here they are anyway.


static file NFS threaded:

          No keepalives                 Keepalives
          --------------------------    ----------------------------
no cache  118.98 req/s  676.92 KB/s     2280.06 req/s  13053.79 KB/s
CacheFile  90.19 req/s  511.21 KB/s     2181.21 req/s  12440.95 KB/s
MMapFile   80.90 req/s  458.54 KB/s     1978.32 req/s  11283.72 KB/s


static file local threaded:

          No keepalives                 Keepalives
          --------------------------    ----------------------------
no cache  154.54 req/s  879.06 KB/s     2432.63 req/s  13924.84 KB/s
CacheFile 155.53 req/s  881.38 KB/s     2556.91 req/s  14581.54 KB/s
MMapFile  155.03 req/s  878.55 KB/s     2660.11 req/s  15170.08 KB/s



server-parsed file NFS threaded:

          No keepalives                 Keepalives
          --------------------------    ----------------------------
no cache   31.81 req/s  183.68 KB/s      453.38 req/s   2647.38 KB/s
CacheFile  87.20 req/s  501.66 KB/s      682.49 req/s   3965.77 KB/s
MMapFile  104.17 req/s  599.30 KB/s      674.94 req/s   3925.77 KB/s


server-parsed file local threaded:

          No keepalives                 Keepalives
          --------------------------    ----------------------------
no cache  143.85 req/s  830.53 KB/s      723.16 req/s   4205.63 KB/s
CacheFile 144.26 req/s  829.76 KB/s      756.25 req/s   4406.76 KB/s
MMapFile  144.94 req/s  833.70 KB/s      802.16 req/s   4670.97 KB/s


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message