[Make-wifi-fast] flent ss data

Pete Heist peteheist at gmail.com
Tue Mar 21 09:19:51 EDT 2017


I’ve been making use of the —socket-stats / tcp_* plots in the flent source, and just have two small bugs to report.

1) It doesn’t seem to work for rrul_be_nflows tests (in this case I was trying to make an svg and there were 64 upload stream and 64 download streams):

+ flent -i *.flent.gz -p tcp_rtt -o tcp_rtt.svg
Started Flent 1.0.1-git-87a8f96 using Python 2.7.12.
Initialised matplotlib v1.5.1 on numpy v1.11.0.
Traceback (most recent call last):
  File "/usr/local/bin/flent", line 9, in <module>
    load_entry_point('flent===1.0.1-git-87a8f96', 'console_scripts', 'flent')()
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/__init__.py", line 56, in run_flent
    b.run()
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/batch.py", line 559, in run
    return self.load_input(self.settings)
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/batch.py", line 540, in load_input
    formatter.format(results)
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/formatters.py", line 388, in format
    self.plotter.save(results)
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/plotters.py", line 654, in save
    save_args = self.build_tight_layout(artists)
  File "/usr/local/lib/python2.7/dist-packages/flent-1.0.1_git_87a8f96-py2.7.egg/flent/plotters.py", line 791, in build_tight_layout
    self.figure.tight_layout(pad=0.5, rect=rect)
  File "/usr/lib/python2.7/dist-packages/matplotlib/figure.py", line 1756, in tight_layout
    self.subplots_adjust(**kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/figure.py", line 1612, in subplots_adjust
    self.subplotpars.update(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/figure.py", line 230, in update
    raise ValueError('bottom cannot be >= top')
ValueError: bottom cannot be >= top

*** Non-zero return code 1 from sysadmin at mini1 (local): "flent -i *.flent.gz -p tcp_rtt_cdf -o tcp_rtt_cdf.svg" (6.349302 sec)

2) For the tcp_download test, —list-plots doesn’t need to include these plots as I don’t think the data is available in this case.



More information about the Make-wifi-fast mailing list