23-Mar-02 at 11:29, Diego Dasso (ddasso@uca.edu.py) wrote :
> cache_swap_low
> cache_swap_high
> i have the values 90% and 95%,, instead the defaults values 85% and 90%
> this could be better or worse for a lan with around 100 users?
The option you choose is based more on your disk space in the cache_dir
setting than the number of users you have. The larger the cache dir, higher
values become more reasonable.
> wich policies accept memory_replacemet_policy, must be the same that
> cache_replacement? because y put the value LFUDA and squid don't start.
If you don't compile with specific support for other replacement policies, the
only policy available is LRU. It is perhaps the least effective for bandwidth
saving, but may give better latency on slower machines (? I am not an expert)
You need to configure squid with the switch --enable-removal-policy=heap
(check the syntax by doing:-
$ ./configure --help
This will give you access to LFUDA as a replacement/removal policy.
Note: IIRC, the switch is enable /removal/ policy, whereas throughout
squid.conf they refer to it as a replacement policy, when both mean the same
thing in the context of squid. This should perhaps be corrected in either
squid.conf or the configure script, to avoid confusion for those non English
speaking Squid Hackers.
Regards,
-- [Simon White. vim/mutt/Linux. simon@mtds.com. GIMPS: 51.78%] v-- John Lennon Sometimes we sit and read other people's interpretations of our lyrics and think, 'Hey, that's pretty good.' If we liked it, we would keep our mouths shut and just accept the credit as if it was what we meant all along.Received on Sat Mar 23 2002 - 11:06:25 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:03 MST