You can grab it here: http://code.google.com/p/lusca-cache/downloads/list
Its effectively Cacheboy-1.6 with a namechange and a couple of DoS
bugs fixed. I'll port those bug fixes to Cacheboy-1.6 and re-roll the
freebsd package tonight or tomorrow, but please, if you're using
Cacheboy-1.*, I do suggest you upgrade to this lusca tarball as soon
as possible.
Thanks!
Adrian
Hm!
> nevertheless why the dns lookups is zero ?????
No idea. They shouldn't be zero. But then, I did move around the dns
code into a separate library and its possible I didn't link the
statistics reporting bits in.
Tell me exactly where you're seeing 0 dns lookups in the statistics
and I'll go off and fix it.
> by the way before i had squid-3.1 but for god's sake it was awful in
> performance comparing to this one .....
:) Thats exactly what I like to hear.
> maybe because of the TProxy4.1 patch but this is still questionable
> i was unable to make lots of benchmarks because i needed to get this running
> asap ...
Live, production testing is fine. :)
> in this info i provide i have to clear out its handling something around
> 19Mbit/s yet on peak hours which is couple of hours from now i shall post
> the same info just for comparison where my peak would go for something
> around 30Mbit/s
:)
> How can i enhance the responsivness of near hits ????
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 0.35832 0.33943
> Cache Misses: 0.42149 0.42149
> Cache Hits: 0.01309 0.01235
> Near Hits: 0.33943 0.30459
Whats wrong with 0.3sec near hits? :)
Adrian
Ok i used the LUSCA_HEAD ... I have to admit
compilation was successful yet.......
i didn't touch anything of the tproxy 5 rules found at balbit for iptables and iproute2
ip rule add fwmark 0x1/0x1 lookup 100
ip route add local 0.0.0.0/0 dev lo table 100
iptables -t mangle -N DIVERT
iptables -t mangle -A PREROUTING -p tcp -m socket -m physdev --physdev-in eth1 -j DIVERT
# DIVERT chain: mark packets and accept
iptables -t mangle -A DIVERT -j MARK --set-mark 1
iptables -t mangle -A DIVERT -j ACCEPT
iptables -t mangle -A PREROUTING -p tcp --dport 80 -m physdev --physdev-in eth1 -j
TPROXY --tproxy-mark 0x1/0x1 --on-port 33128
and as stated and was in squid.conf
http_port 33128 tproxy
but alas it was a failure
i switched back to squid-3.1 and here it was no changes and everything running fine ....
can someone test the configuration and say how it works for if you verify it works
then it has another method other than stated at balbit website -;
Regards
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.15888 0.15888
Cache Misses: 0.30459 0.30459
Cache Hits: 0.00000 0.00000
Near Hits: 9.67302 8.22659
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.03532 0.00372
ICP Queries: 0.00000 0.00000
Well, its either a local issue, or its with the codebase. I am not
sure whether its a Squid or Lusca problem. If you run up Squid-2.7 or
Squid-3.1, do the near miss times change?
Adrian