-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
hint/needs-triageHint: Needs TriageHint: Needs Triage
Description
Testground is used to compare the performance between different transport protocols (e.g. raw TCP vs. libp2p TCP vs. libp2p QUIC).
When running on a local connection, raw TCP is able to use jumbo frames, sending segments up to 65 kB. quic-go limits the UDP packet size to 1452 bytes, since this is the absolute maximum packet size that can be transmitted over the public internet (with an Ethernet (?) MTU of 1500 bytes).
I'm still investigating how this impacts libp2p TCP, my suspicion is that we're limiting our buffer size somewhere in the stack (security? muxer?).
Using huge packets gives TCP an unfair and unrealistic advantage. It would be great if Testground could impose realistic limits on packet sizes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
hint/needs-triageHint: Needs TriageHint: Needs Triage