perfsonar / pscheduler

The perfSONAR Scheduler
Apache License 2.0
55 stars 34 forks source link

iperf3 send-then-receive test #910

Open candlerb opened 5 years ago

candlerb commented 5 years ago

Suggest a new version of bi-directional throughput test, which runs iperf3 immediately followed by iperf3 -R in double the timeslot.

Advantages:

mfeit-internet2 commented 2 years ago

A few points on this (and probably why it hasn't been done yet):

Architecturally, we're not set up for one run of a task to produce multiple, dissimilar results. The multi-result arrangements that are used for streaming latency work because each result is for the same measurement and it looks like an identical test that ran multiple times. This case would have alternating results being A-to-B and B-to-A, and there'd be no way to tell which is which.

We've discussed the idea of "bonus material," where one measurement could synthesize others (e.g., the job was to measure RTT and a loss measurement was a side effect). There would have to be some architectural changes to the innards of pScheduler to do that; it's a nontrivial effort and, last we discussed it (this spring), the demand for it wasn't there.

We could do a simultaneous throughput test between pSchedulers or a one-after-the-other version that would work single-ended. It would have to be a separate test from throughput and would have a unique set of tools.

Operating from behind NAT can be handled by running the same test twice and using the reverse switch on one. That also covers the "friendlies" case and archiving being done on the local node.

mfeit-internet2 commented 2 years ago

This might be better done as a single bidirectional test as in #883 .