Re: [squid-users] Squid too slow.Please Help.Urgent

From: Gavin White <white.gavin@dont-contact.us>
Date: Wed, 8 Aug 2007 17:56:02 +0100

On 8/8/07, Preetish <preetish.tripathi@gmail.com> wrote:
> Hi Tek Bahadur Limbu
>
> >>Your 4 mbps connection link seems really really slow. Maybe as you say,
> >>your ISP could be creating this problem for you in the first place.
>
> I know it must be funny but how do we find out that wether the link
> is actually giving us 4 Mbps? The traceroute for google.com shows the
> following:
>
> traceroute www.google.com
> traceroute: Warning: www.l.google.com has multiple addresses; using
> 72.14.235.147
> traceroute to www.l.google.com (72.14.235.147), 64 hops max, 40 byte packets
> 1 dialup-pool-1.165.78.202.shyaminternet.co.in (202.78.165.1) 7.349
<snip>
> 20 tw-in-f147.google.com (72.14.235.147) 512.656 ms 492.229 ms 490.800 ms
>
>
> Regards
> Preetish
>

Hi,

could you show the output of these commands?

unset http_proxy
time wget http://www.us.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz
time wget http://www.in.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz

(the wget commands will retrieve a large (43MB) file from the US and
India, which should indicate your bandwidth. Don't forget to multiply
the size by 8 to get bits when you calculate bandwidth, to get bits
per second. Unsetting the http_proxy ensures you are fetching directly
from the remote site, as long as you have no transparent redirection
set up)

export http_proxy=http://localhost:3128 # or 8080 if that's the squid
listening port
time wget http://www.us.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz
time wget http://www.in.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz

(These commands will show you the speed via the squid service.)

time nslookup www.google.com
time www.fish.com

(instead of fish.com, you can use any hostname which you think nobody
has looked at recently, so you don't get a cached result.)

Regards,

Gavin
Received on Wed Aug 08 2007 - 10:56:09 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT