HackerTrans
TopNewTrendsCommentsPastAskShowJobs

JoTurk

no profile record

Submissions

Fixing WebRTC data-channels head-of-line blocking with RFC-8260

pion.ly
2 points·by JoTurk·há 2 meses·0 comments

Pion 4.2.0, 69 Contributors, Rack SCTP – ICE Renomination – Cryptex – FlexFEC

github.com
5 points·by JoTurk·há 7 meses·0 comments

comments

JoTurk
·há 7 meses·discuss
Okay, I see your point, but our test harness isn't meant to be an absolute "max throughput" benchmark. every packet is parsed, corrected (if needed), and validated in real time (CRC32c, on-the-wire checks, deterministic network emulation, etc.).

If we ever want a true ceiling number, we could add a separate fast path (e.g, a dump-writer / sink that skips most validation) or validate after run, but that's not in scope right now. our scope was: (1) validate Pion/SCTP PRs and (2) compare performance against other branches and version. so for relative benchmark under identical conditions.

on head-of-line blocking: we have a pending RFC 8260 message interleaving (I-DATA) implementation, and we've tested with it; it helps reduce HoL on the sender side (especially around fragmentation). our benchmark tool has a flag to run with interleaving, and we tested it quit a bit. We plan to release it in Jan.
JoTurk
·há 7 meses·discuss
SCTP isn't just a UDP pipe, It's a message oriented, congestion-controlled, reliability protocol, with bunch of other semantics.

We measured:

1. Association state + Per PATH CC/RTO, timers, RTT tracking, cwnd etc.

2. Selective ACKs and re-transmit logic.

3. chunk framing + tsn sequences.

4. ordered vs unordered delivery, and fragmentation/reassembly.

much more ...

Also our vnet-based implementation isn't just dumb buffer, we have packet on wire validation, SCTP parsing, CRC32c validations. deterministic network conditions emulator. With real time conditions.

Sure you can get 100 GB/Core second if you bypass all of that and just do huge batching

The blog post claim is just under the same SCTP semantics and the same test harness, enabling RACK has a huge win. not the absolute ceilings of in-process "virtual network" sockets :)
JoTurk
·há 8 meses·discuss
This is unfortunate and sad but understandable. Slightly off-topic: a friend dared me to look for a sandbox CSP bypass and I discovered one using XSLT. I reported it to Mozilla few months ago, CVE-2025-8032. https://www.mozilla.org/en-US/security/advisories/mfsa2025-5...