RE: [squid-users] about ufs and aufs

From: Mitesh P Choksi <mitesh.choksi@dont-contact.us>
Date: Mon, 6 Aug 2001 09:25:15 +0300

Something todo with SCSI queues? I have seen that in the kernel when setting
up SCSI devices. Especially the ADAPTEC devices.

-----Original Message-----
From: mani [mailto:balu_2003@yahoo.com]
Sent: 06 August 2001 07:34
To: Brian; squid-users@squid-cache.org
Subject: Re: [squid-users] about ufs and aufs

Thanks for your infromation. I need some further clarification..

I have tested squid with 200 req/sec with enabling the aufs.But in cache log
i am getting the warning "Queue congestion - Disk I/O" .

How can I overcome this problem? how can we calculate the number of
threads needed...?

RH7.1
squid2.4STABLE1
512MB RAM,
3X5GB cache

Thanks.

----- Original Message -----
From: Brian <hiryuu@envisiongames.net>
To: mani <balu_2003@yahoo.com>; <squid-users@squid-cache.org>
Sent: Sunday, August 05, 2001 2:11 AM
Subject: Re: [squid-users] about ufs and aufs

> On Friday 03 August 2001 11:45 pm, mani wrote:
> > Hi,
> >
> > What is the the difference between ufs and aufs. As I know both are file
> > system of the squid.In ufs mode it handles the request as single
> > processes but in case of aufs it handles the request in a
> > multiprocesses.. am I correct here, if not educate me.
>
> Multiple threads. Threads are lightweight processes that share the same
> memory space, making switches between them very fast. Squid also has a
> multi-process storage system, diskd.
>
> > What is advantage and disadvantages of ufs mode? What we achieve when we
> > go aufs..? How these both mode works..?
>
> Disk operations block the process making the request until the data is
> available. In ufs, squid handles the io operations itself, which means it
> blocks on disk IO and will not scale very far. In aufs, squid hand the io
> operations off to other threads. Those threads block, but the main squid
> continues normally.
>
> The problem with aufs is threads are not well supported (either by squid
> or even the OS itself) on all systems. It also incurs some CPU overhead
> from squid 'tending the flock' of threads.
>
> Redhat 7 should handle threads just fine, so use aufs if this squid will
> be seeing a decent amount of traffic.
>
> -- Brian

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Mon Aug 06 2001 - 00:29:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:28 MST