neqo icon indicating copy to clipboard operation
neqo copied to clipboard

test(transport): maximum throughput on unlimited bandwidth and 50ms

Open mxinden opened this issue 1 year ago • 1 comments

This commit adds a basic smoke test using the test-fixture simulator, asserting that on a connection with unlimited bandwidth and 50ms round-trip-time Neqo can eventually achieve > 1 Gbit/s throughput.

Showcases the potential that a future stream flow-control auto-tuning algorithm can have.

See https://github.com/mozilla/neqo/issues/733.


Draft for now. Not familiar enough with the simulator yet. Will be helpful for an implementation of https://github.com/mozilla/neqo/issues/733.

As expected, test is currently failing. I can not quite yet explain the value of 106 Mbit/s. I would expect a value closer to 160 Mbit/s given the 1 MiB send and receive stream buffer. (See calculation in https://github.com/mozilla/neqo/issues/1820.)

thread 'unlimited_bandwidth_50ms_delay_connection' panicked at neqo-transport/tests/network.rs:227:5:
expect transfer on 50ms connection with unlimited bandwidth to eventually surpass 1 Gbit/s but got 106.41665660578931 Mbit/s.

mxinden avatar Apr 25 '24 14:04 mxinden

Failed Interop Tests

Succeeded and unsupported tests

Succeeded Interop Tests

Unsupported Interop Tests

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Closing here in favor of https://github.com/mozilla/neqo/pull/2203.

mxinden avatar Oct 26 '24 16:10 mxinden