[squid-users] Squid performance not able to drive a 1Gbps internet link

Marcus Kool marcus.kool at urlfilterdb.com
Thu Aug 4 13:38:24 UTC 2016



On 08/04/2016 10:08 AM, Heiler Bemerguy wrote:
>
> Sorry Amos, but I've tested with modifying JUST these two sysctl parameters and the difference is huge.
>
> Without maximum tcp buffers set to 8MB, I got a 110KB/s download speed, and with a 8MB kernel buffer I got a 9.5MB/s download speed (via squid, of course).
>
> I think it has to do with the TCP maximum Window Size, the kernel can set on a connection.

With these tuning parameters it is always important to look at the bandwidth*latency product.
I see that you are from Brasil and I know from experience that latencies to Europe are 230+ ms and latencies to USA vary between 80 and 200 ms.
I believe that the large variation in latency is due to the limited international capacity of Brasil (the Level3 link from the SP-IX to USA is most of the day 90+% utilized).

Marcus



More information about the squid-users mailing list