Re: [PATCH] net_sched: sfq: add optional RED on top of SFQ
From: Rick Jones <hidden>
Date: 2012-01-06 19:43:40
On 01/06/2012 11:33 AM, Eric Dumazet wrote:
Le vendredi 06 janvier 2012 à 10:30 -0800, Rick Jones a écrit :quoted
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.Ah Rick, I dont think we can tune IP_TOS with netperf -t UDP_{STREAM| RR} ? I ask because it could be a good thing to set ECT(0) on datagrams to check our ECN capabilities and get in the final report from receiver a count/percentage of CE frames.
Funny you should mention that :) In the top-of-trunk (perhaps it is in
2.5.0 too, I do not recall) there is the global -Y option:
$ src/netperf -Y
src/netperf: option requires an argument -- 'Y'
Usage: netperf [global options] -- [test options]
Global options:
...
-y local,remote Set the socket priority
-Y local,remote Set the IP_TOS. Use hexadecimal.
So long as you either use the omni code directly, or indirectly by not
undoing WANT_MIGRATION those should work - for some definition of work
anyway...I would not be surprised to learn there are bugs in the support.
However, there is nothing presently in the netperf code to cause any
*individual* send to be so marked independently of the others.
happy benchmarking,
rick jones