[Setup] Varnish cache does not appear to speed up page delivery
JimL
jim.leek at eng.ox.ac.uk
Wed Mar 4 12:36:51 UTC 2009
Hi Martin,
Martin Aspeli wrote:
>
>
> Try to run varnishstat and look for cache hits and misses. It's possible
> that you've got your setup messed up. If you're testing, try to test as
> anonymous first.
>
>
I'm running Apache Benchmarking (./ab -n 1000 -c 5 http://blah-blah) so all
requests are anonymous.
Looking at varnishstat to my untrained eye things look okay - only 0.11
Cache misses:
Hitrate ratio: 1 1 1
Hitrate avg: 0.0000 0.0000 0.0000
1492 31.86 8.73 Client connections accepted
1506 31.86 8.81 Client requests received
1487 31.86 8.70 Cache hits for pass
18 0.00 0.11 Cache misses
1506 31.86 8.81 Backend connections success
19 0.00 0.11 Backend connections reuses
19 0.00 0.11 Backend connections recycles
2 . . N struct srcaddr
1 . . N active struct srcaddr
6 . . N struct sess_mem
6 . . N struct sess
23 . . N struct object
28 . . N struct objecthead
43 . . N struct smf
0 . . N small free smf
2 . . N large free smf
5 . . N struct vbe_conn
5 . . N struct bereq
10 . . N worker threads
10 0.00 0.06 N worker threads created
1 0.00 0.01 N overflowed work requests
2 . . N backends
1484 31.86 8.68 Objects sent with write
1487 31.86 8.70 Total Sessions
1501 31.86 8.78 Total Requests
1483 31.86 8.67 Total pass
1501 31.86 8.78 Total fetch
822201 17585.92 4808.19 Total header bytes
31384748 673617.14 183536.54 Total body bytes
1485 31.86 8.68 Session Closed
18 0.00 0.11 Session herd
127549 2707.98 745.90 SHM records
9109 191.15 53.27 SHM writes
3007 63.72 17.58 allocator requests
Do these figures (taken during the benchmarking) seem okay to you?
Cheers, Jim
--
View this message in context: http://n2.nabble.com/Varnish-cache-does-not-appear-to-speed-up-page-delivery-tp2422346p2422549.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list