netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Samuelson <psamuelson@efolder.net>
To: Jay Vosburgh <fubar@us.ibm.com>, netdev@vger.kernel.org
Cc: jgoerzen@efolder.net
Subject: Re: TCP stalls with 802.3ad + bridge + kvm guest
Date: Wed, 1 Aug 2012 09:41:04 -0500	[thread overview]
Message-ID: <20120801144104.GN17572@p12n.org> (raw)
In-Reply-To: <26496.1343419205@death.nxdomain>


  [Peter Samuelson]
> >    ixgbe [10 Gbit port] -- bonding [802.3ad] -- bridge -- KVM guest
> >
> >It all works, except that with some flows in the KVM guest - I
> >can reproduce using smbclient - transfers keep stalling, such that I'm
> >averaging well under 1 MB/s.  Should be more like 100 MB/s.
> >
> >Oddly, this only occurs when both the 802.3ad and KVM are used:
> >
> >    Server        Agg        Client         TCP stalls
> >    --------------------------------------------------
> >    external      none       KVM guest      no
> >    external      802.3ad    KVM host       no
> >    KVM host      802.3ad    KVM guest      no
> >    external      802.3ad    KVM guest      yes

[Jay Vosburgh]
>       Does the problem happen if the bond is a different mode
> (balance-xor, for example)?

No, the balance-xor mode seems to work normally.  I am testing it with
only a single slave interface, same way I'm testing LACP mode.

>       Do the various stats on the host and guest show any drops?
> E.g., from "netstat -i" and "tc -s qdisc"

I am not sure what to make of 'netstat -i'.  Some test boots, I get
26000 or so RX packets dropped on bond0 and eth2 (the slave interface),
but not during the actual file transfer tests.  The current test boot,
with LACP enabled, 'netstat -i' shows only 19 dropped RX packets from
bond0 (compared to 740k total RX packets), after several test runs.

Thanks,
Peter

  parent reply	other threads:[~2012-08-01 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27 18:38 TCP stalls with 802.3ad + bridge + kvm guest Peter Samuelson
2012-07-27 20:00 ` Jay Vosburgh
2012-07-31 14:07   ` Peter Samuelson
2012-08-01 14:41   ` Peter Samuelson [this message]
2012-08-04  5:04     ` Jesse Brandeburg
2012-08-04 16:22       ` Peter Samuelson
2012-08-04 18:07         ` Sławek Janecki
2012-08-04 19:21           ` Sławek Janecki
2012-08-04 22:45         ` Peter Samuelson
2012-08-11 18:28           ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120801144104.GN17572@p12n.org \
    --to=psamuelson@efolder.net \
    --cc=fubar@us.ibm.com \
    --cc=jgoerzen@efolder.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).