General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] Progress with latency-under-load tool
Date: Wed, 16 Mar 2011 10:12:25 -0700	[thread overview]
Message-ID: <1300295545.2087.2254.camel@tardy> (raw)
In-Reply-To: <0D59AD34-AA64-4376-BB8E-58C5D378F488@gmail.com>

On Wed, 2011-03-16 at 04:31 +0200, Jonathan Morton wrote:
> I'm finally getting a handle on sockets programming again - the API has
>  actually *changed* since I last used it - so the testing tool I was
>  talking about is starting to actually do semi-useful things.
> 
> For example, just over the localhost "connection", maxRTT is already
>  almost 2ms with no load.  That's CPU scheduling latency.  The tool
>  prints this out as "Link Responsiveness: 556", since it displays Hz in
>  order to give marketing-friendly "bigger is better" numbers.
> 
> Now to write a couple of lovely functions called "spew" and "chug". 
>  I'll let you guess what they do...

FWIW, the output of two netperfs - one running RR the other
"spewing" (running STREAM).  Folks can probably guess when the STREAM
test started and ended:

raj@tardy:~/netperf2_trunk$ src/netperf -t omni -D 1 -H s7 -l 30 -- -d
rr
OMNI TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to s7.cup.hp.com
(16.89.132.27) port 0 AF_INET : demo
Interim result: 3757.61 Trans/s over 1.00 seconds
Interim result: 3769.75 Trans/s over 1.00 seconds
Interim result: 3724.28 Trans/s over 1.01 seconds
Interim result: 3770.74 Trans/s over 1.00 seconds
Interim result: 3761.83 Trans/s over 1.00 seconds
Interim result: 3757.62 Trans/s over 1.00 seconds
Interim result: 3729.01 Trans/s over 1.01 seconds
Interim result: 3752.77 Trans/s over 1.00 seconds
Interim result: 3751.26 Trans/s over 1.00 seconds
Interim result: 2806.23 Trans/s over 1.34 seconds
Interim result:  903.67 Trans/s over 3.11 seconds
Interim result:  965.98 Trans/s over 1.03 seconds
Interim result:  729.16 Trans/s over 1.32 seconds
Interim result:  948.56 Trans/s over 1.00 seconds
Interim result:  678.77 Trans/s over 1.40 seconds
Interim result:  913.86 Trans/s over 1.00 seconds
Interim result: 1622.61 Trans/s over 1.00 seconds
Interim result: 3820.19 Trans/s over 1.00 seconds
Interim result: 3794.34 Trans/s over 1.01 seconds
Interim result: 3803.88 Trans/s over 1.00 seconds
Interim result: 3807.65 Trans/s over 1.00 seconds
Interim result: 3780.38 Trans/s over 1.01 seconds
Interim result: 3785.74 Trans/s over 1.00 seconds
Interim result: 3773.94 Trans/s over 1.00 seconds
Interim result: 3727.44 Trans/s over 1.01 seconds
Interim result: 3743.35 Trans/s over 1.00 seconds
Local       Local       Remote      Remote      Request Response Elapsed
Throughput Throughput 
Send Socket Recv Socket Recv Socket Send Socket Size    Size     Time
Units      
Size        Size        Size        Size        Bytes   Bytes
(sec)                         
Final       Final       Final
Final                                                      
16384       87380       87380       16384       1       1        30.00
2792.25    Trans/s    


raj@tardy:~/netperf2_trunk$ src/netperf -t omni -H s7 -D 1
OMNI TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to s7.cup.hp.com
(16.89.132.27) port 0 AF_INET : demo
Interim result:  779.29 10^6bits/s over 1.01 seconds
Interim result:  739.22 10^6bits/s over 1.05 seconds
Interim result:  773.96 10^6bits/s over 1.00 seconds
Interim result:  771.44 10^6bits/s over 1.00 seconds
Interim result:  803.50 10^6bits/s over 1.00 seconds
Interim result:  807.18 10^6bits/s over 1.00 seconds
Interim result:  820.04 10^6bits/s over 1.00 seconds
Interim result:  831.19 10^6bits/s over 1.00 seconds
Interim result:  800.17 10^6bits/s over 1.04 seconds
Local       Local       Local  Elapsed Throughput Throughput  
Send Socket Send Socket Send   Time               Units       
Size        Size        Size   (sec)                          
Final       Final                                             
646400      646400      16384  10.00   793.36     10^6bits/s  

happy benchmarking,

rick jones
I'd never flog a dead horse :)

As for why it wasn't always interim results every second, that stems
from the algorithm being used to decide when to emit interim results
when ./configured with --enable-demo and -D is used - it tries to avoid
making a gettimeofday() call in front of every socket call, and so
guesses how many "operations" will complete in the demo interval.  Big
drops in the number of operations per interval will have those spikes of
longer intervals.

>  - Jonathan
> 
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat



  reply	other threads:[~2011-03-16 17:12 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16  2:31 Jonathan Morton
2011-03-16 17:12 ` Rick Jones [this message]
2011-03-17 23:38 ` grenville armitage
2011-03-19 17:44   ` Jonathan Morton
2011-03-20 10:45   ` Jonathan Morton
2011-03-20 20:33     ` grenville armitage
2011-03-20 20:53       ` Dave Täht
2011-03-20 21:52       ` Jonathan Morton
2011-03-20 22:32         ` Dave Täht
2011-03-20 22:47           ` Dave Täht
2011-03-20 22:52             ` Jonathan Morton
2011-03-20 22:55               ` Dave Täht
2011-03-20 23:42               ` Dave Täht
2011-03-20 21:50     ` [Bloat] Some results of the latency under load tool Dave Täht
2011-03-20 22:24       ` Jonathan Morton
     [not found]     ` <m3d3llgln8.fsf@yahoo.com>
2011-03-21  6:43       ` [Bloat] Progress with latency-under-load tool Jonathan Morton
2011-03-22  1:13         ` Kim Hawtin
2011-03-22  7:10           ` Jonathan Morton
2011-03-23 10:33     ` Otto Solares Cabrera
2011-03-23 11:26       ` Jonathan Morton
2011-03-23 19:27         ` Otto Solares
2011-03-23 20:40           ` Jonathan Morton

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

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=1300295545.2087.2254.camel@tardy \
    --to=rick.jones2@hp.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=chromatix99@gmail.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