Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
s34n: yes I have. while konqueror (sometimes) seems marginally faster than mozilla, that does not at all solve the issue of >30sec waits for contacting some sites.
alxdotnet: I will definately check this out. there are options to turn IPv6 support on/off when compiling a kernel. IIRC it is recommendet to turn it on, which is why I didn't think this should have a major impact on performance (at least not negative ).
Thanks janW! I just remember hearing something about IPv6 and performance before, and I know you can configure it in the kernel setup, so I'd be interested in knowing if turning it off fixes the problem. It'd make sense, since from what I've read it's off in 2.4 by default.
-Alex
while konqueror (sometimes) seems marginally faster than mozilla, that does not at all solve the issue of >30sec waits for contacting some sites.
Interesting...I installed Mozilla and it's doing much better. While it takes 20 seconds or so to establish initial contact, loading pages within that domain is near instantaneous. Still, it doesn't beat 2.4.
Come on pplz, let's solve this!
On my Mandrake 10.0, the shell command "lynx linuxquestions.org" takes 20 seconds to execute and display a page.
The command "ping linuxquestions.org" responds like this:
[alxdotnet@ALEX alxdotnet]$ ping linuxquestions.org
PING linuxquestions.org (64.179.4.146) 56(84) bytes of data.
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=1 ttl=45 time=71.9 ms
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=2 ttl=45 time=67.7 ms
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=3 ttl=45 time=66.7 ms
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=4 ttl=45 time=67.2 ms
The response is instantaneous. However, if i "lynx 64.179.4.146", lynx responds instantaneously! This is confusing me!
Apparently the DNS lookup is causing the problem, but how come ping is able to do it instantly and lynx takes forever? What's the difference? Come on, let's solve this thing!
Have you tried to turn off IPv6? I am fighting the same problem with Mandrake 10, ping times are good download speeds are good, surfing speeds are horible. I am willing to try about anything.
Originally posted by fuzzbucket Problem solved. It seems having IPv6 enabled can slow down certain apps (I assume only IPv6 aware ones) so I simply disabled it (inserted "alias net-pf-10 off" in /etc/modules.conf)
This line reduced the time for me from about 20 seconds to 3~7 (at any given site).
EDIT:
I just went to Mandrake Control Center, Network / Internet, Manage Connections. I found that my connection was set to static, and I have DHCP... this confused me so I changed it to DHCP. Sites load -MUCH- faster now....
EDIT 2:
Don't do it though because now I can't even load my control panel, lol. Great...
EDIT 3:
Restarted, works great and everything is awesome like 2.4!
Weird. Problem fixed itself.
Actually, strange as it may sound I think it had something to do with the KDE theme I was using. I switched to Keramik and response time fell to zero. Oh well, at least it works now...
It doesn't seem to fix itself on my box. And the "alias net-pf-10 off" in /etc/modules.conf didn't fix it either.
As mentioned before, I have the choice of recompiling a kernel (2.4 or 2.6) and having fast internet but a slow SATA harddrive, or use the Mandrake kernel and have a fast harddrive and slow internet. I just switched to the former (deactivating IPv6 support). I'll see what I can do about the SATA driver.
Anyway, the bottom line is that recompiling the kernel without IPv6 support fixes my problem with the slow internet (2.4 or 2.6, both work).
I have the same problems using Mandrake 10.0 with the 2.6.3-4 Kernel:
- Incredibly slooooooooow surfing, despite DSL-connection (1,5MB/s down, 256kb/s up)
- Faaaast downloads (up to 150kb/s)
What seems to slow the process down is the DNS-resolving which of course doesn't occur during a longer Download. I have a Realtek PCI Ethernet card and use the standard rtl8139 driver. I DON'T think it's a device/driver issue. Besides I noticed an actual 'flood' of shorewall-messages in my syslogs. I don't know wheater this is just some kind of a debugging feature in the pre-version of 10.0, but anyhow I'm interested in turning this off :D Guess I'll have to change the iptables? Oo
-- iptables -L excerpt:
Chain net2all (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:net2all:DROP:'
DROP all -- anywhere anywhere
Aaaaany hint would be appreciated :)
Greets from Cologne, Germany
- Niels 'dePOLL'
Oh, and by the way: Ping times are good, but resolving the IP when pingin bla.bla is horribly slow anyway
(or at least there is a laaag between "PING bla.bla (x.x.x.x) 56(84) bytes of data." and the first row of results)
Hey, if anyone's still following this thread...
Are you accessing the internet from behind a router? From what i've gathered, the slowness is because some router/proxy/firewall is not allowing v6 packets through, and it takes 20 secs or so for the operation to time out and the DNS resolve to start again with IPv4. I am using a Dell Truemobile 2300 router.
Adding the disable v6 line above to /etc/modules.conf solved it for me.
I do have a firewall set up. And knowing next to nothing about firewall configuration I can easily believe that something's wrong there. Other than that, I'm not using a router on my end. I don't know if my ISP has maybe troubles with IPv6?
im pretty sure i have ipv6 disabled, but im having the same problem described in this thread. im using kernel 2.6.1, and access the internet from my school, which i know is a fast connection. any suggestions are GREATLY appreciated.
Last edited by disciple061; 04-02-2004 at 01:06 AM.
First thanks to everybody who tries to help us. Unfortunately the problem still isn't solved.. I added 'alias net-pf-10 off' to my modules.conf and the situation may have increased a bit, but surfing the web still is incredibly slow..
Btw, a "ipv6" module is loaded: 'ipv6 232352 10'
Dunno if this is important..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.