Re: noatime?

From: Wojtek Puchar <wojtek@dont-contact.us>
Date: Wed, 31 Mar 1999 23:17:28 +0200 (CEST)

On Wed, 31 Mar 1999, Jens-S. Voeckler wrote:

> >1) Can i use mount -o atime for squid disk for speedup.
>
>
> Yes, of course. It was built into Linux/Solaris to speed things like news
> and
> caches. The atime isn't of big use to a cache, as Squid-2 stores the
> relevant metadata within the object file.
Thanks! It really makes a speedup.
>
> >2) How can i tell squid to use ALL available space.
> >I currently have:
> >/dev/sda 2062465 2031298 31167 98% /var/cache/www
> >And
> >cache_dir /var/cache/www 2060 16 256
> >
> >And i always have at least 15MB free (wasted?) space.
>
>
> I would only answer for Solaris: Yes, you will have to live with a little
> wasted space.
Squid is COOL - just look:
1999/03/31 23:13:07| diskHandleWrite: FD 19: disk write error: (28) No
space left on device
1999/03/31 23:13:07| storeSwapOutHandle: SwapOut failure (err code = -6).
1999/03/31 23:13:07| WARNING: Shrinking cache_dir #0 to 2026445 KB

but still works.

Now i know i should set cache size to 2026445/1024=1978 - i set to 1976 to
be sure.
Received on Wed Mar 31 1999 - 14:08:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:37 MST