Bug#613687: general: ipv6 acquitment problem - causes problems in ipv4
Package: general
Severity: important
Hello,
I encountered a problem while using IPv6 : on non-local networks, the bandwidth
is dramatically low, around 8 Kb, while having around 10Mb if deactivating
ipv6. Problem is the following : the bandwidth drop is due to the fact that
when a packet is sent, the next one is sent only if the ACK of the previous
packet has been transfered (as if there was no congestion window at all).
This does not affect only ipv6 connexions, as ipv4 connexions are also
presenting the same syndrom, if ipv6 is active.
On some local transmissions, there seem to be no problem, but I could not figure
why.
The following does not locate the problem, but removes some potential solutions:
Problem is not directly on tcp implementation of IPv6, as I could make it work
on local network.
Problem only happens while the IPv6 module is loaded. If ipv6 is disabled, then
there is no bandwidth problem (for example by setting "blacklist ipv6" in
/etc/modprobe.d/blacklist.conf).
Problem is not directly on the MTU, because fixing a lower MTU on the interface
(1400 for example) does not help.
Here is a sample of wireshark traces (ip have been truncated) :
address starting with 2001: is the client debian
address starting with 2a01: is the server (not running debian)
Exchange is a standard scp transfer between the two computers
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1802897182.833621297873362635.JavaMail.root@spoole r1-g27.priv.proxad.net">http://lists.debian.org/1802897182.833621297873362635.JavaMail.root@spoole r1-g27.priv.proxad.net
02-16-2011, 04:33 PM
Roger Leigh
Bug#613687: general: ipv6 acquitment problem - causes problems in ipv4
On Wed, Feb 16, 2011 at 05:22:42PM +0100, frenchippy@free.fr wrote:
> I encountered a problem while using IPv6 : on non-local networks, the
> bandwidth is dramatically low, around 8 Kb, while having around 10Mb if
> deactivating ipv6.
The "general" package won't get you help from the people who
actually know about IPv6 issues. I'm by no means an expert, so
please take this advice as it is, it's not necessarily specific to
your problem.
The most likely explanation for what you are seeing is that there
is a problem with your local network. We can't really help you
with that.
One known source source of slowdowns with misconfigured IPv6
setups is slow name resolution, which slows down making a
connection:
However, in your case this is probably not applicable; the above
won't affect the speed of a connection once established.
Are your IPv4 and IPv6 connections of the same speed? If not,
and the v6 connection is tunnelled, throttling at the tunnel
endpoint might be an issue. I've certainly had fairly
slow/unresponsive connections at times due to this.
If it's geninely a problem with networking on Linux, I think you
should get in touch with the linux-kernel folks. The netdev list
at vger.kernel.org might be a good place to start.
Regards,
Roger
--
.'`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.