RE: [SQU]

From: Chemolli Francesco (USI) <ChemolliF@dont-contact.us>
Date: Wed, 18 Oct 2000 09:14:44 +0200

> hi!
> i had sent a message asking for help on configuring squid
> with multiple
> disk, but i haven't got any reply.......
> i wanted to know whether there is any special care i need to
> take while
> doing that, or just adding cache_dir would do the work.

No problem at all.

> i had read before in the mailing list that using RAID is not a good
> idea. i would like to know the reason for that, as i have an IDE RAID
> controller. So i was wondering whether to use RAID or not.

Squid does many short writes, and that is a behaviour that stresses
the raid controller in the worst possible pattern, as it will
have to continue recalculating parities all the time, and rewrite
stripes over and over again.
Raid-0 makes little sense either, because if a disk breaks, you
throw your entire cache away, and it doesn't give any extra
security. Also, it is entirely possible that squid won't exploit
the striping in the best possible manner. JBOD (many independent
disks) will allow Squid to schedule writes in a saner manner, and
in case a disk breaks you just lose 1/nth if the cache.

I hope this solves your doubts.

-- 
	/kinkie
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Oct 18 2000 - 11:05:25 MDT

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