Bandwidth estimation (possible rough ETA? Use-case feedback)
Maintainer antworten meist innerhalb von 23 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cpp
- Bereich
- networking
Rechercherichtung
Das Issue nennt keine Dateien oder Tests. Beginne damit, den Roadmap-Eintrag zur Bandbreitenschätzung und die aktuelle Einstellung für den Transport mit fester Bandbreite zu finden. Überprüfe, wie sich die gemeldeten Fälle mit ~128 kB/s und 8 MB/s im Vergleich zum alten Sliding-Window-Protokoll verhalten, und definiere anschließend eine klar abgegrenzte Änderung an der Schätzung sowie messbare Kriterien für den Abschluss.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hello!
I've recently got the Steamworks version of the library integrated with my project thanks to your additions (like the flat interface for C#)!
It's mostly working great, it's a lot more robust/efficient than our other protocol, except for one thing: the fixed bandwidth.
I know this is on the roadmap, so I just want to share my experience and add my +1 for this feature to be re-implemented. If you have any rough ETA on when it might come back that would also help, but I of course understand if you do not!
Our use-case:
Anyway, our project has a bit of varied network requirements. Initial connection can transfer a lot of data (hundreds of kB to MB) due to initial state sync (it's a VR world-building, so the entire data model gets synced).
During the session itself there are usually small deltas (using reliable channel) and position/voice and other stream data (sent as unreliable). Additionally there can be P2P asset transfers, which can be dozens, sometimes even hundreds of MB in addition.
For the assets, I technically establish a second independent connection (+1 for the ENet like channels, but it's workable without them https://github.com/ValveSoftware/GameNetworkingSockets/issues/95 ) so it's better interweaved with the realtime traffic (both reliable and unreliable).
However when using this protocol, the initial sync and asset transfers either end up being very slow when the bandwidth is conservative (the default seems to be about ~128 kB/s). Everything else is smooth.
If I up the bandwidth to something higher, like 8 MB/s, if the connection can handle it it also runs really well and transfers are super speedy. However once there are multiple people or people with slower upload/download, this ends up very quickly degrading everything.
The connection quality starts dropping to 0.5, even as low as 0.1, I assume because of a lot of dropped UDP packets, because the library is pushing them through too fast and it becomes unusable.
I've tried setting the limit just a bit higher, but even something like 512 kB/s causes problems, so we're currently stuck with the low default limit.
In our case we don't currently care about not sending some message, so if there was a limitation that bandwidth estimation only works well when the messages are not removed from the queue, that would be ok, but I understand if it's necessary to have mechanism like this in general anyway.
Currently we're staying with the old protocol as our primary one. It uses sliding window algorithm, so it scales better with the bandwidth, but it's not nearly as good as this one otherwise, we'd love to switch to it as our primary transport protocol.
I hope this info helps a bit! Thanks for all your hard work on this!
- Vorherrschende Sprache
- C++
- Sterne
- 10.1k
- Forks
- 781
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ValveSoftware/GameNetworkingSockets
-
ICE (native client): relay-only connections time out against a real TURN server; host-socket checks starve the relay pairsEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
ValveSoftware/GameNetworkingSockets#452 ·
Maintainer antworten meist innerhalb von 23 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
ValveSoftware/GameNetworkingSockets#475 ·
Maintainer antworten meist innerhalb von 23 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
ValveSoftware/GameNetworkingSockets#474 ·
Maintainer antworten meist innerhalb von 23 Tagen
-
Schwierigkeit 4/5 Über eine Woche Anfängerfreundlichkeit 12/100
ValveSoftware/GameNetworkingSockets#465 ·
Maintainer antworten meist innerhalb von 23 Tagen
-
Native ICE resolves STUN/TURN hostnames under the global lockEvtl. vergeben @tintinhamans hat das vor 64 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
ValveSoftware/GameNetworkingSockets#440 ·
Maintainer antworten meist innerhalb von 23 Tagen
Alle Issues in ValveSoftware/GameNetworkingSockets
Ähnliche Issues
-
enhancement question
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lbr-stack/lbr_fri_ros2_stack#420 · 1 Kommentar ·
-
area:readers difficulty:easy prio:normal type:bug
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 90/100
NatronGitHub/openfx-arena#276 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
morluto/rea#15041 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
difficulty:easy func:buildsystem prio:low type:task
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
NatronGitHub/Natron#2070 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag