-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
I wrote a custom file transfer application that uses udp over a one-way-connection (packets can only go one way from sender to receiver)
I used UdpConn.Write() for each packet. It works fine for 1Gbit connection but once you start
working on 10Gbit connections you can see that the syscall overhead starts to impact performance (you actually can't use the whole 10Gbit connection on some servers).
anyway there are apis for windows and linux to send more than one packet in one syscall.
I didn't dive deeply into linux's api but in windows I wrote a POC using the TransmtPackets function.
anyways I suggest adding this feature of sending multiple packets in one syscall, atleast for UDP at first.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.