FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-16-2011, 04:49 PM
Apollon Oikonomopoulos
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

Package: linux-2.6
Version: 2.6.32-34squeeze1
Severity: normal
Tags: patch

Hi,

While performing stress testing on a KVM instance with IPv6, we noticed very
poor performance on IPv6 TCP connections, which basically came down to the bug
fixed by upstream commit 8e1e8a4779cb23c1d9f51e9223795e07ec54d77a[1]. Both, the
host and the guest were running 2.6.32-5-amd64 2.6.32-31 and the host featured
Intel NICs, using e1000e and igb. SSH sessions to the guest from outside would
effectively stall when large output was generated (e.g. ls -lR /) and
the problem would disappear when disabling virtio_net's gso (modprobe
virtio_net gso=0) or disabling the host's TSO using ethtool.

Furthermore, while trying to reproduce the behaviour on another system, we
triggered the bug fixed by commit 0aa68271510ae2b221d4b60892103837be63afe4[2],
i.e. a routed (not bridged) KVM instance using virtio-net would not get its GSO
IPv6 packets forwarded to the network, with the same poor performance as above.

After backporting and applying both patches to squeeze's version, IPv6
performance was restored to the same levels as IPv4 in both cases. You
can find the backported versions of the patches attached.

Thanks,
Apollon

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8e1e8a4779cb23c1d9f51e92237 95e07ec54d77a
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0aa68271510ae2b221d4b608921 03837be63afe4


-- Package-specific info:
** Version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-31) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 7 21:35:22 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/linux-root ro

** Not tainted
 
Old 06-22-2011, 03:20 AM
Ben Hutchings
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

On Thu, 2011-06-16 at 19:49 +0300, Apollon Oikonomopoulos wrote:
> Package: linux-2.6
> Version: 2.6.32-34squeeze1
> Severity: normal
> Tags: patch
>
> Hi,
>
> While performing stress testing on a KVM instance with IPv6, we noticed very
> poor performance on IPv6 TCP connections, which basically came down to the bug
> fixed by upstream commit 8e1e8a4779cb23c1d9f51e9223795e07ec54d77a[1]. Both, the
> host and the guest were running 2.6.32-5-amd64 2.6.32-31 and the host featured
> Intel NICs, using e1000e and igb. SSH sessions to the guest from outside would
> effectively stall when large output was generated (e.g. ls -lR /) and
> the problem would disappear when disabling virtio_net's gso (modprobe
> virtio_net gso=0) or disabling the host's TSO using ethtool.
>
> Furthermore, while trying to reproduce the behaviour on another system, we
> triggered the bug fixed by commit 0aa68271510ae2b221d4b60892103837be63afe4[2],
> i.e. a routed (not bridged) KVM instance using virtio-net would not get its GSO
> IPv6 packets forwarded to the network, with the same poor performance as above.

David, these look like good candidates for longterm updates. What do
you think?

Ben.

> After backporting and applying both patches to squeeze's version, IPv6
> performance was restored to the same levels as IPv4 in both cases. You
> can find the backported versions of the patches attached.
>
> Thanks,
> Apollon
>
> [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8e1e8a4779cb23c1d9f51e92237 95e07ec54d77a
> [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0aa68271510ae2b221d4b608921 03837be63afe4
>
>
> -- Package-specific info:
> ** Version:
> Linux version 2.6.32-5-amd64 (Debian 2.6.32-31) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 7 21:35:22 UTC 2011
>
> ** Command line:
> BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/linux-root ro
>
> ** Not tainted

--
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett
 
Old 06-22-2011, 03:32 AM
David Miller
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

From: Ben Hutchings <ben@decadent.org.uk>
Date: Wed, 22 Jun 2011 04:20:13 +0100

> David, these look like good candidates for longterm updates. What do
> you think?

Sure but I don't do submissions for the longterm stuff, I only
work on the -stable trees that Greg is actively maintaining.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110621.203204.1453116137449804668.davem@davemlof t.net">http://lists.debian.org/20110621.203204.1453116137449804668.davem@davemlof t.net
 
Old 07-28-2011, 02:48 PM
Faidon Liambotis
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

On Tue, Jun 21, 2011 at 08:32:04PM -0700, David Miller wrote:
> From: Ben Hutchings <ben@decadent.org.uk>
> Date: Wed, 22 Jun 2011 04:20:13 +0100
>
> > David, these look like good candidates for longterm updates. What do
> > you think?
>
> Sure but I don't do submissions for the longterm stuff, I only
> work on the -stable trees that Greg is actively maintaining.

What's the status of this? Have the patches been forwarded to -longterm
maintainers? (is that Greg KH?); if not, I'd be happy to do it for you.

Best regards,
Faidon



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110728144858.GA9072@tty.gr">http://lists.debian.org/20110728144858.GA9072@tty.gr
 
Old 08-25-2011, 10:10 PM
Faidon Liambotis
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

forwarded 630730 stable@kernel.org
thanks

On Thu, Jul 28, 2011 at 04:48:58PM +0200, Faidon Liambotis wrote:
> What's the status of this? Have the patches been forwarded to -longterm
> maintainers? (is that Greg KH?); if not, I'd be happy to do it for you.

After talking with Ben on IRC, I've prepared and sent a -longterm tree
submission for the two commits. I'll update the bug report when I get a
reply.

Thanks,
Faidon



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110825221025.GA24461@tty.gr">http://lists.debian.org/20110825221025.GA24461@tty.gr
 
Old 08-30-2011, 10:13 PM
Faidon Liambotis
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

On Fri, Aug 26, 2011 at 01:10:25AM +0300, Faidon Liambotis wrote:
> After talking with Ben on IRC, I've prepared and sent a -longterm tree
> submission for the two commits. I'll update the bug report when I get a
> reply.

I just got a reply that the patches were accepted to the stable review
queue.

Regards,
Faidon



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110830221320.GA14815@tty.gr">http://lists.debian.org/20110830221320.GA14815@tty.gr
 
Old 09-05-2011, 04:09 AM
Ben Hutchings
 
Default Bug#630730: linux-image-2.6.32: GSO IPv6 issues

On Wed, 2011-08-31 at 01:13 +0300, Faidon Liambotis wrote:
> On Fri, Aug 26, 2011 at 01:10:25AM +0300, Faidon Liambotis wrote:
> > After talking with Ben on IRC, I've prepared and sent a -longterm tree
> > submission for the two commits. I'll update the bug report when I get a
> > reply.
>
> I just got a reply that the patches were accepted to the stable review
> queue.

Also queued for 2.6.32-36, in case we release that before the next
longterm update.

Ben.
 

Thread Tools




All times are GMT. The time now is 05:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org