View previous topic :: View next topic |
Author |
Message |
jesnow l33t
Joined: 26 Apr 2006 Posts: 895
|
Posted: Fri Dec 26, 2008 8:38 pm Post subject: IPV6 causes slow internet [solved] |
|
|
I was having problems with the internet being slow on one of my boxes. Then I noticed that somehow
CONFIG_IPV6=y had crept into my .config. Vis Google I noticed some indications that this might be the cause of the problem.
Is this normal? If so why? Should I just set it to N and recompile?
TIA
Jon.
Last edited by jesnow on Wed Jan 07, 2009 2:15 am; edited 1 time in total |
|
Back to top |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
Posted: Fri Dec 26, 2008 9:27 pm Post subject: |
|
|
ipv6 servers are buggy
OR/AND
packets translation from 4 to 6 and backwards adds more lag.
I think best idea is to use IPv4 until the last day this is possible. _________________ http://www.youtube.com/watch?v=4jtmOZaIvS0 |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Sat Dec 27, 2008 4:33 am Post subject: |
|
|
Please post your ifconfig output out. You cannot have IPv6 unless you are connected to a PoP. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 895
|
Posted: Mon Dec 29, 2008 1:15 am Post subject: |
|
|
jonfr wrote: | Please post your ifconfig output out. You cannot have IPv6 unless you are connected to a PoP. |
I'm sure I wasn't *using* IPV6, but somehow I would guess that there was code that was checing for it and slowing eveything down. I did compile with CONFIG_IPV6=N and it did go back to normal. If you want to track this down I'm happy to help. I have lots of slow kernels to choose from.
Cheers
Jon. |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Mon Dec 29, 2008 1:22 am Post subject: |
|
|
If your IPv6 address is Link, not Global then you don't have a IPv6 address that works on the internet. Also, if you do have IPv6 address and are getting a slow connection. Then your IPv6 connection is problay configured wrong.
Check the Gentoo Linux IPv6 Home router guide.
http://www.gentoo.org/doc/en/ipv6.xml |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 895
|
Posted: Mon Dec 29, 2008 2:20 am Post subject: |
|
|
jonfr wrote: | If your IPv6 address is Link, not Global then you don't have a IPv6 address that works on the internet. Also, if you do have IPv6 address and are getting a slow connection. Then your IPv6 connection is problay configured wrong.
Check the Gentoo Linux IPv6 Home router guide.
http://www.gentoo.org/doc/en/ipv6.xml |
I suspect more likely, I configured IPV6 in the kernel, and nowhere elae, and every net access had to timeout on IPV6 before defaulting to IPV4. I really had nothing configured, and thought I would play with it later. A mistake, I guess.
Jon. |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Mon Dec 29, 2008 2:32 am Post subject: |
|
|
It is ok to configure the IPv6 into the kernel, that will give you a lan IPv6 that you can use on your Lan. Please post your ifconfig output so I can help you fix your issue. |
|
Back to top |
|
|
sedorox Apprentice
Joined: 13 Feb 2004 Posts: 207
|
Posted: Mon Dec 29, 2008 3:18 am Post subject: |
|
|
I think the problem is that by configuring IPv6 in the kernel, you're telling applications to look up the IPv6 address first, since you have support for it. Before you didn't have support in the kernel, so the applications just avoided it all together. If you use Firefox, and have IPv6 enabled in your kernel, go to about:config, and search for network.dns.disableIPv6 and set it to true, if it already isn't. See if this helps bring you back to normal speed. If it does, it just means the applications are waiting on the v6 timeout. so you can either leave that, or remove it from the kernel. If you don't ever plan to mess with v6, just remove it from the kernel. _________________ Home Desktop: Ryzen 3900X 3.8ghz | 32G Ram | 2x 1TB NVMe
Previous 7 Year Build: Intel i5-2400 3.1ghz | 16G Ram | 1x 60G SSD, 1x 1TB HDD |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Mon Dec 29, 2008 3:46 am Post subject: |
|
|
IPv6 support for programs is set by ufed. |
|
Back to top |
|
|
|