Matthieu Coudron <notificati...@github.com> writes:

> so I managed to pass a negative length but it fails with 
> ```
> NetperfDemoRunner TCP netperf::5 finished
> Runner aggregation finished
> Data file written to ./tcp_iperf_delay-2018-06-08T154503.539961.flent.gz.
> Creating new PlotFormatter
> CACHEDIR=/home/teto/.cache/matplotlib
> Using fontManager instance from /home/teto/.cache/matplotlib/fontList.json
> backend GTK3Cairo version unknown
> Initialised matplotlib v2.2.2 on numpy v1.14.2.
> Traceback (most recent call last):
>   File "/run/user/1000/tmp.84zoa9EUe9/bin/flent", line 11, in <module>
>     load_entry_point('flent', 'console_scripts', 'flent')()
>   File "/home/teto/flent/flent/__init__.py", line 59, in run_flent
>     b.run()
>   File "/home/teto/flent/flent/batch.py", line 617, in run
>     return self.run_test(self.settings, self.settings.DATA_DIR, True)
>   File "/home/teto/flent/flent/batch.py", line 525, in run_test
>     formatter.format([res])
>   File "/home/teto/flent/flent/formatters.py", line 396, in format
>     self.init_plots(results)
>   File "/home/teto/flent/flent/formatters.py", line 381, in init_plots
>     self.plotter.init()
>   File "/home/teto/flent/flent/plotters.py", line 1814, in init
>     s_unit = self.data_config[s['data']]['units']
> KeyError: 'TCP netperf'
> ```
> on https://github.com/tohojo/flent/compare/master...teto:iperf_delay?expand=1
>
> Ideally I would like to run several times one tcp transfer but I
> thought running several at once would allow me to test the cdf_combine
> faster.

Ah. Using 'duplicates' changes the name (adds ::1, ::2, etc). You can
use a glob in the plot definition to grab all of them.

To run the test multiple times, you'd just repeat the Flent invocation
(or use the batch facility and the 'repetitions' keyword). That will
produce a bunch of data files that you then plot at once in a separate
plot definition.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/138#issuecomment-395718604
_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

Reply via email to