Re: [squid-users] RAID0, LVM or JBOD for best performance squid proxy server?

From: Pieter De Wit <pieter_at_insync.za.net>
Date: Sat, 06 Aug 2011 11:27:27 +1200

On 6/08/2011 10:34, rpereyra_at_lavabit.com wrote:
>> Hi Roberto,
>>
>> Each of the systems you mention will only add an extra layer to the
>> storage solution. Squid (not sure from which version but I am very sure
>> it's main stream on all distros) already has support for multiple cache
>> directories so my suggestion (if you don't need LVM to extend or move
>> physical disks etc) is to make the disks normal mount points. The File
>> system that you use will have to be researched (ext4 vs xfs vs reseirfs
>> vs ...) but I have used ext3/4 with great success (at least enough for
>> me not to complain :) )
>>
>> See http://wiki.squid-cache.org/BestOsForSquid at the bottom for File
>> Systems etc
>>
>> The only one that *might* improve things is RAID0 but I can't really see
>> this as squid won't be writing *that* much (on a 100meg connection)
>>
>> You can also read up on : http://wiki.squid-cache.org/SquidFaq/RAID
>>
>> Cheers,
>>
>> Pieter
> Hi Pieter. Thanks for your help !!
>
> You say something like this?
>
> cache_dir aufs / disk1/squid-cache/squid 100000 64 256
> cache_dir aufs / disk2/squid-cache/squid 100000 64 256
> cache_dir aufs / disk3/squid-cache/squid 100000 64 256
>
> I should add something more to balance the load?
>
> regards
>
> roberto
>
>
Hi Roberto,

cache_dir aufs /disk1/....<bla>

Is what I had in mind :) so just a fix of a typo I believe.

Cheers,

Pieter
Received on Fri Aug 05 2011 - 23:27:36 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 06 2011 - 12:00:01 MDT