Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPV6 causes slow internet [solved]
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
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 895

PostPosted: Fri Dec 26, 2008 8:38 pm    Post subject: IPV6 causes slow internet [solved] Reply with quote

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
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Fri Dec 26, 2008 9:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sat Dec 27, 2008 4:33 am    Post subject: Reply with quote

Please post your ifconfig output out. You cannot have IPv6 unless you are connected to a PoP.
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 895

PostPosted: Mon Dec 29, 2008 1:15 am    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Dec 29, 2008 1:22 am    Post subject: Reply with quote

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
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 895

PostPosted: Mon Dec 29, 2008 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Dec 29, 2008 2:32 am    Post subject: Reply with quote

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
View user's profile Send private message
sedorox
Apprentice
Apprentice


Joined: 13 Feb 2004
Posts: 207

PostPosted: Mon Dec 29, 2008 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Dec 29, 2008 3:46 am    Post subject: Reply with quote

IPv6 support for programs is set by ufed.
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