netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Jan Engelhardt <jengelh@inai.de>, Eric Dumazet <eric.dumazet@gmail.com>
Cc: Linux Networking Developer Mailing List <netdev@vger.kernel.org>
Subject: Re: TSO on veth device slows transmission to a crawl
Date: Wed, 08 Apr 2015 10:20:10 -0700	[thread overview]
Message-ID: <5525634A.10207@hp.com> (raw)
In-Reply-To: <alpine.LSU.2.20.1504081844390.6502@nerf40.vanv.qr>

On 04/08/2015 10:09 AM, Jan Engelhardt wrote:
> The problem won't manifest with netperf even if run for extended
> period (60 seconds). netperf is probably too smart, exploiting some
> form of parallelism.

Heh - I rather doubt netperf is all that smart.  Unless you use the 
likes of the -T global option to bind netperf/netserver to specific 
CPUs, it will just blythly run wherever the stack/scheduler decides it 
should run.

It is though still interesting you don't see the issue with netperf.  I 
don't know specifically how xinetd-chargen behaves but if it is like the 
chargen of old, I assume that means it is sitting there writing one byte 
at a time to the socket, and perhaps has TCP_NODELAY set.  If you want 
to emulate that with netperf, then something like:

netperf -H <receiver> -t TCP_STREAM -- -m 1 -D

would be the command-line to use.

happy benchmarking,

rick jones

  reply	other threads:[~2015-04-08 17:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 22:45 TSO on veth device slows transmission to a crawl Jan Engelhardt
2015-04-07  2:48 ` Eric Dumazet
2015-04-07  9:54   ` Jan Engelhardt
2015-04-07 19:49     ` Eric Dumazet
2015-04-08 17:09       ` Jan Engelhardt
2015-04-08 17:20         ` Rick Jones [this message]
2015-04-08 18:16           ` Jan Engelhardt
2015-04-08 18:19             ` Rick Jones
2015-04-09  9:24         ` Eric Dumazet
2015-04-09 10:01           ` Eric Dumazet
2015-04-09 10:26           ` Jan Engelhardt
2015-04-09 15:08             ` Eric Dumazet
2015-04-09 15:35               ` Jan Engelhardt
2015-04-09 15:55                 ` Eric Dumazet

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=5525634A.10207@hp.com \
    --to=rick.jones2@hp.com \
    --cc=eric.dumazet@gmail.com \
    --cc=jengelh@inai.de \
    --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).