Re: [squid-users] performance question, 1 or 2 NIC's?

From: Robin <twinturbo_at_f2s.com>
Date: Sun, 29 Aug 2010 19:00:47 +0100

I only use 2 cards when one is on a private lan and the other on a
public routed interface.

And I usualy run up to 700 users on avarage on the boxes I build..

What are you expecting the 300 users to be doing?

Rob

On 29/08/2010 18:10, Jose Ildefonso Camargo Tolosa wrote:
> Hi!
>
> On Sat, Aug 28, 2010 at 11:11 PM, Andrei<funactivities_at_gmail.com> wrote:
>
>> Ooo... the line between Squid and the clients is 1000 MB. My internet
>> connection is 12MB. Not sure if that changes things. Does it? Would it
>> make a difference in that situation if clients (from 1000Mb) come on
>> one line, eth0 and get cached on eth1 which is only 12MB.
>>
> I assume that MB=Mega Bits (and *not* Megabytes).
>
> If that's the case: is the squid NIC 1Gbps? if so: these are usually
> full-duplex (and = to clients connection speed), so: no, you will not
> have a real benefit from adding another NIC, but, if you insist, you
> could do it without changing most of your configuration, by adding two
> NICs together with bonding (and a port-channel on your switch, if it
> support it).
>
>
>
>
>> Sorry if I wasn't clear before
>>
>>
>>
>>
>> On Sat, Aug 28, 2010 at 5:12 PM, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
>>
>>> Leonardo Rodrigues wrote:
>>>
>>>> Em 28/08/2010 12:29, Andrei escreveu:
>>>>
>>>>> I'm setting up a transparent Squid box for 300 users. All requests
>>>>> from the router are sent to the Squid box. Squid box has one NIC,
>>>>> eth0. This box receives requests (from clients) and catches content
>>>>> from the web using this one NIC on its one WAN port, eth0.
>>>>>
>>>>> Question: would it improve performance of the Squid box if I was
>>>>> receiving requests (from the clients) on eth0 and caching content on
>>>>> eth1? In other words, is there a benefit of using two NIC's vs. one?
>>>>> This is a public IP/WAN Squid box. Both eth0 and eth1 would have a WAN
>>>>> (public IP) address.
>>>>>
>>>>>
>>>>> I'm on a 12Mb line.
>>>>>
>>>>>
>>>>
>>>> Your limitation is your 12Mb line .... any decent hardware can handle
>>>> that with no problem at all. ANY 100Mbit NIC, even onboard and
>>>> cheapers/generics one, can handle 12Mbit with no problem at all.
>>>>
>>>> i really dont think adding another NIC will improve your performance,
>>>> given your 12Mbit WAN limitation.
>>>>
>>>>
>>>>
>>> Indeed.
>>>
>>> Andrei escreveu:
>>> Whether anything can be done by Squid depends on whether the clients using
>>> Squid are on the outside of that 12Mb line or on some faster connection
>>> between them and Squid.
>>>
>>> For a faster internal connection and slower Internet connection you can
>>> look towards raising the Hit Ratio' probably the byte hits specifically.
>>> That will drop the load on the Internet line and make the whole network
>>> appear faster to users. The holy grail for forward proxies seems to be 50%,
>>> with reality coming in between 20% and 45% depending on your clients and
>>> storage space.
>>>
>>> Amos
>>> --
>>> Please be using
>>> Current Stable Squid 2.7.STABLE9 or 3.1.7
>>> Beta testers wanted for 3.2.0.1
>>>
>>>
>>
>
>
Received on Sun Aug 29 2010 - 18:02:03 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 30 2010 - 12:00:03 MDT