What is the optimal size of a UDP packet for maximum throughput?

后端 未结 9 2046
深忆病人
深忆病人 2020-12-13 00:31

I need to send packets from one host to another over a potentially lossy network. In order to minimize packet latency, I\'m not considering TCP/IP. But, I w

9条回答
  •  情歌与酒
    2020-12-13 01:05

    Even though the MTU at the switch is 1500, you can have situations (like tunneling through a VPN) that wrap a few extra headers around the packet- you may do better to reduce them slightly, and go at 1450 or so.

    Can you simulate the network and test performance with different packet sizes?

提交回复
热议问题