Re: [SQU] current CVS ... diskd config args changed ...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 01 Mar 2001 23:40:15 +0100

diskd and aufs are two different approaches for making disk I/O
non-blocking. This to allow Squid to scale on higher loads. Both
sacrifice CPU usage for better latency. aufs uses POSIX threads, while
diskd uses a separate I/O process per cache_dir.

--
Henrik Nordstrom
Squid hacker
Hamid Hashemi Golpayegani wrote:
> 
> Sorry for asking this question !
> what diffrent between diskd and ufs and aufs ?!
> which one is better nad why ?!?1
> I am using ReiserFS and ufs in my squid conf . is it ok ?
> 
> --
> Regards
> 
>     ============================================================
>    /  Seyyed Hamid Reza    /        WINDOWS FOR NOW  !!            /
>   /  Hashemi Golpayegani  /  Linux for future , FreeBSD for ever  /
>  /    Morva System Co.   / ------------------------------------- /
> /  Network Administrator/ hamid@morva.net   ,   ICQ# : 42209876 /
> ===========================================================
> 
> -----Original Message-----
> From: hno@hem.passagen.se [mailto:hno@hem.passagen.se]
> Sent: Friday, March 02, 2001 1:27 AM
> To: Marc G. Fournier
> Cc: squid-users@ircache.net
> Subject: Re: [SQU] current CVS ... diskd config args changed ...
> 
> Sorry. My fault. The change to use cache_dir options was not fully
> tested for diskd. There was some unwanted leftovers of the old option
> parsing.
> 
> Fixed. And at the same time the revised cache_dir parser was back-ported
> to 2.4 to keep cache_dir syntax compability between 2.3, 2.4 and 2.5.
> 
> So the next 2.4 CVS snapshot will have a revised cache_dir syntax, again
> compatible with 2.3 in most configurations (async-io differs slightly).
> 
> /Henrik
> 
> Marc G. Fournier wrote:
> >
> > from the newest version in CVS:
> >
> > Mar  1 09:43:19 demeter squid: Bungled squid.conf line 568: cache_dir
> diskd /usr/local/squid/cache/1 15240 16 256
> >
> > with 568 showing:
> >
> > cache_dir diskd /usr/local/squid/cache/1 15240 16 256
> > cache_dir diskd /usr/local/squid/cache/2 15240 16 256
> > cache_dir diskd /usr/local/squid/cache/3 15240 16 256
> >
> > On Tue, 13 Feb 2001, Henrik Nordstrom wrote:
> >
> > > Yes, the syntax has changed. Hopefully you will find it is to the easier
> > > ;-)
> > >
> > >
> > > Since you are using the defaults you do not need any of the options and
> > > can simply specify:
> > >
> > > cache_dir diskd /usr/local/squid/cache/1 15240 16 256
> > >
> > > Or if you like you can spell it out fully with all the options
> > > specified:
> > >
> > > cache_dir diskd /usr/local/squid/cache/1 15240 16 256 max-size=-1 Q1=64
> > > Q2=72
> > >
> > > /Henrik
> > >
> > >
> > >
> > >
> > > Marc G. Fournier wrote:
> > > >
> > > > trying to bumble my way through fixing this, but am at a loss so far
> ...
> > > > what is wrong with my cache_dir line? :(
> > > >
> > > > Feb 12 10:31:39 demeter squid: Bungled squid.conf line 568:
> max-size=-1 64 72
> > > >
> > > > thanks ...
> > > >
> > > > Marc G. Fournier
> marc.fournier@acadiau.ca
> > > > Senior Systems Administrator                            Acadia
> University
> > > >
> > > >   "These are my opinions, which are not necessarily shared by my
> employer"
> > > >
> > > > --
> > > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > >
> > > --
> > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > >
> > >
> >
> > Marc G. Fournier                                 marc.fournier@acadiau.ca
> > Senior Systems Administrator                            Acadia University
> >
> >   "These are my opinions, which are not necessarily shared by my employer"
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Mar 01 2001 - 15:42:39 MST

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