netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Dave Taht <dave.taht@gmail.com>,
	David Miller <davem@davemloft.net>,
	netdev <netdev@vger.kernel.org>,
	Stephen Hemminger <shemminger@vyatta.com>,
	Kathleen Nichols <nichols@pollere.com>,
	Jim Gettys <jg@freedesktop.org>
Subject: Re: [PATCH] net_sched: sfq: add optional RED on top of SFQ
Date: Fri, 06 Jan 2012 10:30:45 -0800	[thread overview]
Message-ID: <4F073DD5.6000006@hp.com> (raw)
In-Reply-To: <1325869679.2911.27.camel@edumazet-laptop>

On 01/06/2012 09:07 AM, Eric Dumazet wrote:
> Le vendredi 06 janvier 2012 à 17:56 +0100, Dave Taht a écrit :
>> On Fri, Jan 6, 2012 at 5:31 PM, Eric Dumazet<eric.dumazet@gmail.com>  wrote:
>>> Adds an optional Random Early Detection on each SFQ flow queue.
>>
>> netperf -t TCP_RR is useful
>> -t TCP_MAERTS will be interesting.
>> simultaneous ping?
>>
>
> I dont know what you expect from pings, since they are already coming in
> new flows (unless a ping flood is in effect), so RED doesnt fire for
> these packets.
>
> Same for TCP_RR : Since at most one packet is in flight per flow, RED
> cannot fire.

netperf nitpick :)  While I doubt that Dave Taht is running it that way, 
one can have multiple requests in flight on a single _RR test via the 
test-specific -b <additionaltrans> option.  That option is enabled by 
default (--enable-burst on the configure) in 2.5.0 and later.

netperf -t TCP_RR ...  -- -b 1

will cause netperf to have two transactions in flight at one time, -b 3 
will have four etc etc (actually it "slow-starts" to get to that level). 
  This can also be (ab)used to implement a single-connection, 
bi-directional throughput test such as I have in my "runemomni" scripts 
under doc/examples.  For example:

netperf -t TCP_RR ... -- -s 1M -S 1M -r 64K -b 12

As there is no select() or poll() call in the path, it is best to ensure 
that the SO_SNDBUF size on either end is large enough to hold 
[request|response]_size*simultaneous_trans at one time.

Depending on the size of the requests/responses one may want to add the 
test-specific -D option to set TCP_NODELAY.

happy benchmarking,

rick jones

  parent reply	other threads:[~2012-01-06 18:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05 12:25 [PATCH net-next] net_sched: red: split red_parms into parms and vars Eric Dumazet
2012-01-05 13:03 ` Dave Taht
2012-01-05 13:39   ` Eric Dumazet
2012-01-06  5:47     ` Eric Dumazet
2012-01-06  8:31       ` Dave Taht
2012-01-06 16:31     ` [PATCH] net_sched: sfq: add optional RED on top of SFQ Eric Dumazet
2012-01-06 16:56       ` Dave Taht
2012-01-06 17:07         ` Eric Dumazet
2012-01-06 17:36           ` Dave Taht
2012-01-06 18:30           ` Rick Jones [this message]
2012-01-06 19:33             ` Eric Dumazet
2012-01-06 19:43               ` Rick Jones
2012-01-06 20:26                 ` Dave Taht
2012-01-06 17:09       ` Stephen Hemminger
2012-01-06 17:25         ` Eric Dumazet
2012-01-10  9:40       ` Dave Taht
2012-01-13  4:06       ` David Miller
2012-01-05 19:08 ` [PATCH net-next] net_sched: red: split red_parms into parms and vars David Miller

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=4F073DD5.6000006@hp.com \
    --to=rick.jones2@hp.com \
    --cc=dave.taht@gmail.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=jg@freedesktop.org \
    --cc=netdev@vger.kernel.org \
    --cc=nichols@pollere.com \
    --cc=shemminger@vyatta.com \
    /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).