<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Yeah, as you note Flent has a batch facility. Did you not use this<br>
  simply because you couldn't find it, or was there some other reason?<br>
  Would love some feedback on what I can do to make that more useful to<br>
  people... While I have no doubt that your 'flenter.py' works, wrapping<br>
  a wrapper in this sense makes me cringe a little bit ;)<br></blockquote><div><br></div><div>Wait, what?  It does?  (I've been using wrapper scripts as well)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Flent also has a metadata gathering feature where you can get lots of<br>
  stats from both your qdisc-based bottlenecks, and your WiFi links.<br></blockquote><div><br></div><div>Again, it does?  Neat!  (I try to bury data into the tag for the run...) </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Question 5: For TCP you can't get packet loss from user space; you'll<br>
need packet captures for that. So no way to get it from Flent either.<br>
You can, however, get average throughput. Look at the box plots; if you<br>
run multiple iterations of the same test, you can plot several data<br>
files in a single box_combine plot, to get error bars. `flent<br>
file.flent.gz -f summary` (which is the default if you don't specify a<br>
plot) will get you averages per data series; or you can extract it from<br>
the metadata.<br></blockquote><div><br></div><div>You don't get packet loss, per se, but you can periodically poll the TCP_INFO struct via getsockopt() and get the retransmission count (which more or less gives you the packet loss rate).  (which is what iperf3 does to gather stats like it's view of rtt, retransmits, etc).</div><div><br></div><div>-Aaron</div><div><br></div></div></div></div>