On Fri, Aug 17, 2001, Pranav A. Desai wrote:
> Hi!
> squid takes a long time ( a min or so ) to create the cache directories on
> freebsd ... squid -z ... but its very fast on linux
>
> is it because there is something wrong with the OS setup or with squid
> and the OS ...
> i am doing some testing on squid ...where i need to clean the cache often
> ... i know its not very crucial ... but it will be helpful if i know the
> reason ...
Depends. Have you mounted your cache direcories using softupdates?
By default, FreeBSD's filesystems are mounted sync. Linux ext2fs
is mounted async. If you set your cache filesystems to be mounted
using softupdates (tunefs -n enable /cache when its unmounted, then
remount) it'll speed things like squid -z up quite a bit.
Adrian
Received on Fri Aug 17 2001 - 13:32:31 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:42 MST