Network performance comparison between TCP and UDP using ttcp tool in a layer-3 switch based paltform switching packets between two VLANs; VLAN2 and VLAN3 where one host is a sender and the other host is a receiver.
fig5
TCP Receiver TCP Sender
Data Length (Bytes) Time (seconds) Goodput (KBps) Data Length (Bytes) Time (seconds) Goodput (KBps)
8192 X 2048 1.61 10150.60 8192 X 2048 1.62 10096.80
8192 X 4096 2.87 11410.41 8192 X 4096 2.87 11416.77
8192 X 8192 5.74 11426.72 8192 X 8192 5.74 11426.72
8192 X 16384 11.47 11430.11 8192 X 16384 11.47 11432.70
UDP Receiver UDP Sender
Data Length (Bytes) Time (seconds) Goodput (KBps) Data Length (Bytes) Time (seconds) Goodput (KBps)
8192 X 2048 1.40 11702.19 8192 X 2048 1.41 11625.79
8192 X 4096 2.80 11698.00 8192 X 4096 2.81 11663.87
8192 X 8192 5.60 11698.01 8192 X 8192 5.61 11693.42
8192 X 16384 11.21 11694.88 8192 X 16384 11.21 11692.17