RE: [squid-users] Slow tranfert speed over ADSL internet connection

From: Alex Braunegg <alex.braunegg_at_gmail.com>
Date: Fri, 23 Apr 2010 11:41:31 +1000

For your Cisco 837 DSL config, try some of the following:

interface Dialer0
 ip mtu 1492

If you are using a bridging interface for the 4 ports on the back into a
VLAN, also try the following

interface BVI1
 ip tcp adjust-mss 1452

Whilst I have ADSL2+ here, I get nowhere near 2+ speeds thanks to copper
pair distance due to its path from exchange & quality:

sh dsl interface | i Speed
Speed (kbps): 0 3634 0 819

Using speedtest.net via Chrome/W7 through Squid 3.1.1 on CentOS 5.4 x86_64
running on a VM (can provide source RPM if needed):

Download: 1.96Mb/s
Upload: 0.54Mb/s

Via Chrome/W7 without Squid:

Download: 3.12Mb/s
Upload: 0.68Mb/s

From another Linux system:

export http_proxy=http://x.x.x.x:3128
wget wget
http://cache-203.39.198.135.files.bigpond.com/software/network/browsers/Fire
foxPortable_3.6.3_English.paf.exe

--11:36:40--
http://cache-203.39.198.135.files.bigpond.com/software/network/browsers/Fire
foxPortable_3.6.3_English.paf.exe
           => `FirefoxPortable_3.6.3_English.paf.exe'
Connecting to 192.168.0.5:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 9,616,696 (9.2M) [application/octet-stream]

100%[=======================================================================
============>] 9,616,696 375.53K/s ETA 00:00

11:37:07 (362.46 KB/s) - `FirefoxPortable_3.6.3_English.paf.exe' saved
[9616696/9616696]

Squid Log:

1271986638.443 26802 X.X.X.X TCP_MISS/200 9617229 GET
http://cache-203.39.198.135.files.bigpond.com/software/network/browsers/Fire
foxPortable_3.6.3_English.paf.exe - DIRECT/203.39.198.135
application/octet-stream

Not bad given my connection .... quite poor performance for what it costs me
per month but that’s another story.

Also check Cisco's site for ADSL firmware updates for your router to improve
DSLAM compatibility as well - it may help.

Hope all of the above helps.

Alex

-----Original Message-----
From: francis aubut [mailto:fugitif.fa_at_gmail.com]
Sent: Thursday, 22 April 2010 8:38 AM
To: squid-users_at_squid-cache.org
Subject: Fwd: [squid-users] Slow tranfert speed over ADSL internet
connection

---------- Forwarded message ----------
From: francis aubut <faubut_at_infogfa.com>
Date: 2010/4/21
Subject: Re: [squid-users] Slow tranfert speed over ADSL internet connection
To: Amos Jeffries <squid3_at_treenet.co.nz>
Cc : squid-users_at_squid-cache.org

What I can add is when IE is not connected to the proxy, it goes at
2,5 mbps and I connect to the proxy it goes down to 500 kbps.

At home the speed is the same 10 mbps on both tests.

I'll check for the DNS, could the cisco 837 router limit speed somehow?

Tanks,

Francis.

2010/4/20 Amos Jeffries <squid3_at_treenet.co.nz>:
> On Tue, 20 Apr 2010 11:49:05 -0400, francis aubut <fugitif.fa_at_gmail.com>
> wrote:
>> Hi,I configured Squid, first with Ubuntu server and then on CentOS 5
>> the problem is the same, I get very slow speed on a network connected
>> with a ADSL internet connection and when I bring the computer at home
>> it goes well, I have a Cable Modem connection, what could be wrong?
>>
>> Francis.
>
> Your experiments as described pretty conclusively confirm that the
> problems is:
>  a) difference in network lag (its conceivable that your ADSL is simply
> slower than Cable, I know mine is by a whole order of magnitude or two).
>
>  b) site-specific configuration somewhere in your setup. Resulting in the
> box going a long way to get stuff, ie a DNS server from the cable
> connection being used when on ADSL etc.
>
> Amos
>
Received on Fri Apr 23 2010 - 01:41:39 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 23 2010 - 12:00:05 MDT