Re: [squid-users] Re: configuration of Squid for high cache gain

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 20 Jul 2011 12:50:45 +1200

 On Tue, 19 Jul 2011 19:23:14 +0200, benjamin fernandis wrote:
> Hi All,
>
> Any suggestion for this.

 All your Q belong to FAQ.

> On Tue, Jul 19, 2011 at 8:16 AM, benjamin fernandis wrote:
>> Hello Friends,
>>
>> We are going to deploy squid for getting high performance caching
>> gain
>> capability.Currently we are going to plan a demo for squid caching
>> at
>> one isp place.
>>
>> isp has 1500-2000 users.
>>
>> H/w specification:
>> Quad Core Xeon 3.06 Ghz Processor
>> 32 GB ram
>> 2 TB sata hdd
>>
>> OS : CENTOS 6
>>

 http://wiki.squid-cache.org/KnowledgeBase/Benchmarks

>> Requirement:
>>
>> We need to deploy full tproxy squid feature and want to gain high
>> cache performance.And we are trying squid for cache gain only.
>>

 http://wiki.squid-cache.org/Features/Tproxy4
 http://wiki.squid-cache.org/BestOsForSquid

>> So please guide me that what are the perameters , i must have to
>> look
>> after to gain more caheing performance.And how much RAM i can assign

  http://wiki.squid-cache.org/SquidFaq/SquidMemory
  http://wiki.squid-cache.org/SquidFaq/RAID

>> to squid.This box is only for squid cache so there is no other
>> processes occupy memory.And also suggest me other standard squid
>> parameter , which i must need to tune for enhancing more caching.
>>

 A several groups of these tuning directives:
  http://www.squid-cache.org/Doc/config/

>>
>> Current Setup :
>>
>> As per ISP:
>>
>> for bandwith mgmt., they are using commercial bandwith management
>> devices as NAS  and for AAA they are using radius.

 There is a huge amount of traffic that is not HTTP which ISP must deal
 with. Recent releases of Squid have several QoS and logging features
 that can feed additional data to external management systems in real
 time, but overall management is best done outside of Squid.
  http://www.squid-cache.org/Doc/config/qos_flows/
  http://www.squid-cache.org/Doc/config/tcp_outgoing_tos/
  http://www.squid-cache.org/Doc/config/access_log/
  http://wiki.squid-cache.org/Features/LogModules

>>
>> So for TPROXY , do i need to deploy squid box at bridge mode ? or do
>> i
>> deploy it as external device ( only forward web traffic from NAS to
>> squid box) ?

 Traffic needs to pass through the Squid box. That is the only
 requirement. See the feature documentation for the above and other
 options.

 Amos
Received on Wed Jul 20 2011 - 00:50:53 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 20 2011 - 12:00:03 MDT