Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Bob McMahon <bob.mcmahon@broadcom.com>
To: Aaron Wood <woody77@gmail.com>
Cc: make-wifi-fast@lists.bufferbloat.net
Subject: Re: [Make-wifi-fast] QoS and test setups
Date: Thu, 5 May 2016 19:24:17 -0700	[thread overview]
Message-ID: <CAHb6LvoopD2rUwWLy1RroQJ7=3W7htbPzJHYAgCJk3QvzrnAag@mail.gmail.com> (raw)
In-Reply-To: <CALQXh-PXc=eR7mbgkCS0gGq8z578Zii0g1-jCbRnqNhoe+uDQA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3693 bytes --]

iperf 2.0.8 <https://sourceforge.net/projects/iperf2/> has microsecond
end/end latencies per each report interval in mean/min/max/stdev for
"end/end" latencies, use -e for enhanced reports.  Histograms/PDFs are in
prototype stage (see below.)   Isochronous traffic is also being
prototyped.   (The server will merelyindicate a jitter buffer
overun/underrun to indicate a problem.)

All of this does require synchronized clocks.   A quality oscillator to act
as a PTP grandmaster can be found in the open market using various time
sources or and OCXO can run in free wheeling mode.   I use a GPS
disciplined oscillator from spectracom and it's been working great.

[  3] 0.05-0.10 sec  1558200 Bytes  249312000 bits/sec   0.157 ms
0/ 1060 (0%)  *1.985/ 1.098/ 3.219/ 0.473 ms* 21280 pps


This above provides mean/min/max/stdev per every packet.  Though per the
central limit theorem the underlying distribution is lost and sometimes the
underlying distribution is needed.  Hence, a proposal is to support
histograms, something like:

[  3] 0.05-0.10 sec  PDF(bins/binsize=10k/10us, 10/90=137/261)=110:1
111:2 113:1 114:4 115:2 116:4 118:2 119:6 120:3 121:6 122:2 123:1
124:5 125:6 126:7 127:3 128:4 129:3 130:9 131:4 132:7 133:6 134:5
135:7 136:1 137:6 138:10 139:9 140:9 141:8 142:9 143:9 144:14 145:7
146:6 147:6 148:10 149:7 150:7 151:4 152:12 153:8 154:6 155:7 156:10
157:5 158:9 159:4 160:2 161:7 162:6 163:9 164:3 165:5 166:11 167:5
168:8 169:4 170:6 171:8 172:8 173:4 174:5 175:11 176:6 177:8 178:2
179:6 180:10 181:10 182:7 183:4 184:7 185:9 186:11 187:5 188:4 189:8
190:7 191:8 192:2 193:4 194:10 195:12 196:7 197:3 198:4 199:10 200:8
201:5 202:3 203:9 204:8 205:8 206:2 207:5 208:10 209:9 210:6 211:4
212:5 213:13 214:9 215:5 216:5 217:10 218:10 219:4 220:4 221:6 222:15
223:6 224:5 225:5 226:5 227:5 228:13 229:5 230:5 231:9 232:7 233:7
234:1 235:9 236:6 237:7 238:8 239:4 240:2 241:8 242:11 243:4 244:3
245:5 246:7 247:7 248:3 249:3 250:11 251:8 252:5 253:3 254:2 255:12
256:7 257:7 258:2 259:8 260:9 261:9 262:3 263:3 264:8 265:7 266:4
267:4 268:4 269:7 270:5 271:3 272:2 273:3 274:4 275:4 276:1 277:1
278:4 279:2 280:2 281:2 282:2 283:2 284:1 285:2 287:2 288:3 289:2
290:1 292:1 293:2 297:1 298:2 302:2 303:1 307:1 308:1 312:2 317:2
321:1 322:1


It's assumed a higher level tool will parse and handle the histograms.
Example plots might look like:

[image: Inline image 1]
[image: Inline image 1]

Bob

On Thu, May 5, 2016 at 7:08 PM, Aaron Wood <woody77@gmail.com> wrote:

> I saw Dave's tests on WMM vs. without, and started thinking about test
> setups for systems when QoS is in use (using classification, not just
> SQM/AQM).
>
> There are a LOT of assumptions made when QoS systems based on marked
> packets is used:
>
> - That traffic X can starve others
> - That traffic X is more/most important
>
> Our test tools are not particularly good at anything other than hammering
> the network (UDP or TCP).  At least TCP has a built-in congestion control.
> I've seen many UDP (or even raw IP) test setups that didn't look anything
> like "real" traffic.
>
> I know Dave has wanted an isochronous traffic tool that could simulate
> voip traffic (with in-band one-way latency/jitter/loss measurement
> capabilities).
>
> What other tools do we need, for replicating traffic types that match how
> these QoS types in wifi are meant to be used?  I think we're doing an
> excellent job of showing how they can be abused.  Abusing is pretty easy,
> at this point (rrul, iPerf, etc).
>
> -Aaron Wood
>
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast
>
>

[-- Attachment #1.2: Type: text/html, Size: 4895 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 49426 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 55556 bytes --]

  reply	other threads:[~2016-05-06  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06  2:08 Aaron Wood
2016-05-06  2:24 ` Bob McMahon [this message]
2016-05-06  4:41 ` Jonathan Morton
2016-05-07 16:50 ` Dave Taht
2016-05-07 21:49   ` Dave Taht
2016-05-08 19:07     ` Bob McMahon

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/make-wifi-fast.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to='CAHb6LvoopD2rUwWLy1RroQJ7=3W7htbPzJHYAgCJk3QvzrnAag@mail.gmail.com' \
    --to=bob.mcmahon@broadcom.com \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=woody77@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