Very very interesting read, I learned a lot. We recently had a problem where default configured linux system on a 180ms latency connection (east coast to finland) could only push 4mbps stable. Forcing SO_RCVBUF on listening socket of app to be 16MB kind of solved it but it was not perfect.
Question. What is the extra CPU overhead of always checking for collapse once the queue exceeds 6MiB?
Interesting, I am curious how were you able to achieve this, Baldurs Gate 2 is a closed source game, I guess its possible to have written a lifter for LLVM WASM?
This is using GemRB, which itself is a reimplementation of Bioware's Infinity Engine. GemRB is ported to WASM, and it loads the game demo data in the filesystem. Pure magic, if you ask me :)
Question. What is the extra CPU overhead of always checking for collapse once the queue exceeds 6MiB?
Any chance at getting all the patches here upstream? https://github.com/cloudflare/linux/commits/master