Re: [squid-users] Squid seems to be limiting how fast I can download files

From: Kevin <kkadow@dont-contact.us>
Date: Tue, 4 Oct 2005 14:54:14 -0500

On 10/4/05, deathbots <deathbots@gmail.com> wrote:
> Now running stable11, but it was happening with stable5, too. If I'm using
> the proxy server, downloads will come down the pipe at a maximum speed of
> about 235KB/sec. If I bypass the proxy and download direct, on the same
> workstation I see speeds closer to what I should be getting with a DS3, in
> the MB/sec range.

If you bypass the proxy and download direct, does the direct connection
go through the same gateway as the Squid proxied request? Is the
source IP address natted when it reaches the Internet?

> The OS squid runs on is OpenBSD 3.5.

Off-topic, but you might want to consider upgrading to OpenBSD 3.8,
to be released next month. There have been considerable enhancements
in OpenBSD and pf since release 3.5.

Were this an OpenBSD support list, the next step would be to post your
pf.conf, rc.conf, hostname.*, sysctl.conf, and dmesg :)

> I am not using delay_pools. pf is running on the machine.

Is the OpenBSD machine with squid dual homed?

> I know this isn't a squid limitation or a problem with the machine itself -
> if something is actually cached by squid, it comes down at local lan speeds.
> Also, I can download a zillion files all running at 235KB/sec on the same
> workstation.

The next test I would recommend would be to use 'wget' or another HTTP
client on the OpenBSD server to download direct, just like Squid does,
and see if the download speed is similarly limited.

You could also try setting up a web server on another internal machine,
and using Squid to proxy requests for files from this internal server,
this would isolate the problem to the proxy or to the Internet side of the
equation.

Kevin Kadow
Received on Tue Oct 04 2005 - 13:54:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST