*BSD News Article 93081


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!izvestia.its.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!mindspring!uunet!in2.uu.net!194.77.0.15!news.gtn.com!klemm.gtn.com!not-for-mail
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Formating Drives For Squid
Date: 5 Apr 1997 18:03:21 GMT
Organization: private site powered by FreeBSD, see http://www.freebsd.org/
Lines: 24
Message-ID: <5i6459$en2$1@klemm.gtn.com>
References: <3346eefa.0@news.topend.com.au>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38692

In article <3346eefa.0@news.topend.com.au>,
	nagy@darwin.topend.com.au (Robert Nagy) writes:
> Hi Folks,
> 
> I'll be formatting a couple of drives to use as disk cache with squid.
> What is the best block size (& other settings) to set these drives up as.
> Both drives are 3.1GB in size.

The new squid's cachemgr.cgi interface shows you how many
percent of objects use a certain block size ...

So I'd first suggest you use the standard ufs filesystem block-
and fragsize, 8k/1k, but increasing the number of inodes, 
since I assume, you get similar little files as in a news
filesystem.

After investigating your squid's "real life" disk space usage,
object sizes, figure out what to do ...

-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<