rawrtc / rawrtc-data-channel

A standalone WebRTC and ORTC data channel implementation.
BSD 2-Clause "Simplified" License
52 stars 6 forks source link

Significant throughput drops #20

Closed lgrahl closed 6 years ago

lgrahl commented 6 years ago

With an artificial RTT of 20ms, I see significant throughput drops when using the data-channel-sctp-throughput tool:

Started throughput test of 128.00 MiB
Completed throughput test after 30.10 seconds: 34.01 Mbit/s
Started throughput test of 128.00 MiB
Completed throughput test after 250.11 seconds: 4.09 Mbit/s
Started throughput test of 128.00 MiB
Completed throughput test after 26.69 seconds: 38.36 Mbit/s

This could either be a bug in usrsctp (since we unfortunately need to use an old version of it), the usrsctp upcall API or the way we're using it.

lgrahl commented 6 years ago

It seems updating to the new usrsctp revision pushed by @weinrank resolves the problem. If it occurs again, I will reopen this issue.