Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow web browsing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kackland
n00b
n00b


Joined: 22 Dec 2003
Posts: 52

PostPosted: Sun Nov 06, 2005 12:40 pm    Post subject: Slow web browsing Reply with quote

Hi

Hopefully someone can help with this one.

I have an Athlon64bit system with Gentoo and Kde3.4 installed. Web browsing is slow. One I've reqwuested a page it can take 10-15 seconds to display it. Same machine same internet connection with Windows XP - it's instant.

I have seen some stuff on IPv6.

I've installed Firefox - it's a bit better but nothing like acceptable.

How do I go about troubleshooting this

Thanks
_________________
Regards



Kevin Ackland
Back to top
View user's profile Send private message
alphonce
Apprentice
Apprentice


Joined: 10 Oct 2004
Posts: 184
Location: Sweden

PostPosted: Sun Nov 06, 2005 1:11 pm    Post subject: Reply with quote

make sure you have your hostname in your /etc/hosts file, ex.
Code:
127.0.0.1       localhost alphOnce

there are plenty of threads in this forum about slow internet, just search and you'll probably find something.
_________________
no computer at the moment! :cry:
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Wed Dec 21, 2005 1:25 pm    Post subject: Reply with quote

Hi Any more developments on this topic? Has it been solved? If so could you share. I got similar problem.

lmcogs
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Dec 21, 2005 1:37 pm    Post subject: Reply with quote

Are you using ipv6?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Tue Jan 03, 2006 11:49 am    Post subject: Reply with quote

I noticed that firefox defaults 'network.dns.disableIPv6' to false.
If you have -ipv6 in your use flags shouldn't firefox set that to true? Probably not, but that would be nice if could have that happen if your
USE FLAG was set to disable IPV6.

Not sure how long firefox has been enabling ipv6 lookup, but think that might be part of my recent slowdown at home for dns lookup.
Going to test it when get home. Also going to test switching the primary and secondary dns servers around.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jan 03, 2006 12:11 pm    Post subject: Reply with quote

One test is to go to a known IP6 enabled site such as http://www.isc.org and a IP4 only site such as http://www.gentoo.org

If one is slow and the other is fast then IP6 is the issue. Of course, that does require a configured IP6 connection :)
Interesting to note that Opera uses IP6 by default even it it's we only have IP6 site addresses where we need an IP6 global address or route.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Tue Jan 03, 2006 12:32 pm    Post subject: Reply with quote

Hmmm, maybe they fixed the slow primary DNS, cause this morning everything is fast again.
I tried both places and they were both fast?

Still, I know it might slow down again. So disabled IPV6 in firefox and pinged my DNS boxes at the isp.
The secondary was much faster. So switched them and restarted the network.

So even though the ISP seems to have fixed their problem, doing the above even seemed to make it snappier.
Boy it is sure nice not waiting for the webpages to load. I would sometimes even click on my toolbar for google.com
and it would say couldn't find google.com or would take 10-20 sec to load. Snappy again. :)

I am curious on another note though: You seem to indicate that the 1st one requires a IP6 setup. I rebuilt my system
awhile back with -ipv6 USE FLAG. I just disabled IPV6 in firefox, and as far as I know, my ISP still is using IPV4. But that
link still works and is as fast as the gentoo one. Backwards compatability??
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jan 03, 2006 1:16 pm    Post subject: Reply with quote

Decibels wrote:
I am curious on another note though: You seem to indicate that the 1st one requires a IP6 setup.


No, the first one has an AAAA record which is ip6

Quote:
But that link still works and is as fast as the gentoo one. Backwards compatability??


No, as you're just asking for A records (ip4) and both sites have those.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
d_adams
Apprentice
Apprentice


Joined: 20 Oct 2003
Posts: 223

PostPosted: Wed Jan 04, 2006 2:38 am    Post subject: Re: Slow web browsing Reply with quote

kackland wrote:


I've installed Firefox - it's a bit better but nothing like acceptable.

How do I go about troubleshooting this


In firefox, type about:config in the address bar. That will get you the configuration page for firefox. In the filter bar, type in dns. The first option should be for ipv6. Double click it to change it to true. Clear your cache and cookies (optionally) and restart firefox. Browse to a known (for you) slow website and see how it does. You should see a noticeable improvement in page loading.

I know there are other tweaks to speed up firefox, but be careful of what you change on it.
_________________
http://www.1and1.com/?k_id=16196755 click me for cheap linux based web hosting.
Back to top
View user's profile Send private message
nutznboltz
Apprentice
Apprentice


Joined: 23 Apr 2004
Posts: 239

PostPosted: Thu Jan 12, 2006 1:38 pm    Post subject: Reply with quote

In root.cache

Old:

B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107

New:

B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201

I think they gave the world from Jan 2004 to Jan 2006 to change. The other day my web browsing got slow and it was tracked down to this DNS issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum