so Mike is apparently on vacation, and now i've realized there's a mailing
list. anyone have any suggestions on the below? thanks!
-tcl.
---------- Forwarded message ----------
Date: Mon, 7 Aug 2000 18:36:21 -0400 (EDT)
From: tc lewis <tcl@xxxxxxxxx>
To: mja@xxxxxxx
Cc: tc lewis <tcl@xxxxxxxxx>
Subject: accelerating apache/QSC.
Mike,
today i stumbled upon sgi's accelerating apache project and found it
rather intriguing. i've tried sgi's patches with apache 1.3.12
successfully and notice slightly better returns on some simple benchmarks
with apache's "ab" than with apache 1.3.12 alone. is there a document
anywhere that documents what changes sgi has made in the patches as an
overview, or should i continue reading through the actual patch?
also, i have a question about QSC. i have it compiled in, and it's
enabled, but for some reason every page appears to be "uncachable".
static html, static images...everything i've tried. i've looked over the
rules in the qsc documentation about the no-cache pragma and all the steps
in order for a page to be cached, but i'm still baffled. is there
anything i could be easily missing here? i'm basically using all of the
apache/sgi defaults.
this is on a linux/intel system. redhat 6.2 operating system. i've
configured with:
CFLAGS='-DUSE_QSC -D__i686__' ./configure --prefix=/home/tcl/aptest/apache-sgi
--enable-module=most --enable-module=mmap_static
the -D__i686__ is because gcc only seems to define __i386__, yet
src/main/qsc.c checks for 486, 586, 686, or pentiumpro. so that's my hack
way of getting around that for now. the rest should look familiar.
my server-status is showing things like:
Quick Shortcut Cache (QSC) Status:
hit ratio 0/5048 (0.00%)
uncachable 5048/5048 (100.00%)
uncachable misses 5045/5045 (100.00%)
uncachable requests 3/5048 (0.06%)
uncachable responses 0/5048 (0.00%)
resets 1
Hash table
failed insertions 0
entries 0
duplicate entries 0
bucket use 0/128 (0.00%)
hash effectiveness 0/0 (0.00%)
longest chain 0
avg. chain 0.0
avg. nonempty chain 0.0
Chain length histogram:
1 2 3 4 5+
0 0 0 0 0
Memory use (in bytes)
table + misc 544
entries 0
URIs 0
headers 0
total 4640/4194304 (0.11%)
mapped file data 0
mapped file vaddrs 0 (0 4096-byte pages)
all uncachable.
anyway, any ideas?
thanks a lot for your time. your efforts are appreciated.
-tcl.
|