Search squid archive

Re: performance question, 1 or 2 NIC's?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux