Search squid archive

Re: Squid seems to be limiting how fast I can download files

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

 



Yes, the download goes through the same gateway. The BSD machine does a transparent bridge with two NICs and a third has the squid IP. One of the bridge interfaces also has an IP on it. So yes, the machine is dual homed in a crazy way.

The source IP address is NATted.  The Squid machine has an internal IP.

downloads with wget on the squid machine with --proxy=off produce the same results. Slow downloads. I should stop blaming squid at this point I think :)

I think my best bet is to just set squid up on another machine that isn't a super crazy BSD box.

Funny thing is, ALL internet traffic at the company goes through the BSD machine's bridge interfaces eventually. And that doesn't slow the stuff down.

And yes, I'm planning a 3.8 upgrade!

----- Original Message ----- From: "Kevin" <kkadow@xxxxxxxxx>
To: "deathbots" <deathbots@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 04, 2005 2:54 PM
Subject: Re: Squid seems to be limiting how fast I can download files


On 10/4/05, deathbots <deathbots@xxxxxxxxx> 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

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

  Powered by Linux