20070705 - UDP Player Bandwidth
More useful info on player maximum peak bandwidth with UDP packets.
- Overhead to send 1 UDP packet = 46 bytes.
- 18 bytes is the ethernet header/footer.
- 20 bytes is the IPV4 header.
- 8 bytes is the UDP header.
- Minimum/maximum ethernet packet size is 64/1518 bytes.
- So UDP payload minimum/maximum is 18/1472 bytes.
Using 128 Kbps (16 KB/s) as a maximum upload rate (low end DSL connection),
there is a trade off between high packet interactivity and payload (useful) bandwidth.
- 64 byte packet = 18 byte payload = 256 packets/sec = 4608 bytes/sec
- 80 byte packet = 34 byte payload = 204 packets/sec = 6936 bytes/sec
- 96 byte packet = 50 byte payload = 170 packets/sec = 8500 bytes/sec
- 128 byte packet = 82 byte payload = 128 packets/sec = 10496 bytes/sec