• 7

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Why udp has lower throughput than tcp? [duplicate]

TCP includes congestion control. It will limit traffic to prevent packet loss. UDP just sends all of the packets you request and hopes for the best.


  • 4
Reply Report
    • I understand we have packet loss in udp, but why? because the link is 10Gbps and no other traffic is on the link, so I think the link is not congested!

Even cheap hardware these days can exceed 10 Gb, especially with traffic generators like iperf. Buffers quickly fill up when link bandwith is exceeded, resulting in drops. No congestion control for UDP means it will keep sending packets through already saturated interfaces, which ruins goodput.

This is like a road half-clogged with crashes of speeding maniacs, with zero traffic management, and complaining that it doesn't hit the theoretical peak cars per hour.

Limit iperf's bandwith. TCP's 8.8 Gb is probably realistic, but let's be optimistic and try for Ethernet theoretical maximum: iperf -u -b 9750M

  • 1
Reply Report

Trending Tags