CPU usage - TCP vs UDP

pedallingminstrel_at_pedallingminstrel.fsworld.co.uk
Date: 03/03/05


Date: Thu, 3 Mar 2005 20:12:32 +0000 (UTC)

I am currently doing some work on the comparative performance of UDP and
TCP on a RedHat Linux platform.

In particular I have figures for both protocols that measure the CPU usage
for the transmission of data at a fixed bandwidth using varying packet
sizes. (So these are plotted on a graph where the y axis is "CPU usage" and
the x axis is "packet size".)

The results seem to show that TCP has a significantly higher CPU usage than
UDP for the
same bandwidth. This is what I expected.

However, I have seen at least one reputable study that seemed to demonstrate
that the CPU usage was similar for both protocols.

Does anyone have any further evidence to back up either view?

Many thanks

Steve

-- 
Pedalling Minstrel 


Relevant Pages

  • Re: Stand Alone DHCP Servers and Windows 2000
    ... On our network the clients are allowed to talk to the domain controller ... Kerberos-Sec (UDP) ... Microsoft CIFS (TCP) ... which segments and which computers use specific protocols. ...
    (microsoft.public.windows.server.networking)
  • Re: UDP vs TCP
    ... If you could use TCP instead, you'd be far, far better off. ... Basically, TCP -is- UDP with all the error checking, retransmission of lost ... This is why FTP, HTTP, and most every other protocol are packed ... protocols interacting with the TCP mechanisms. ...
    (microsoft.public.vb.enterprise)
  • Re: Incoming port accesses from China
    ... >probably a designation for one of the protocols. ... many in normal use - you'd see ICMP, IGMP, UDP, and TCP, and that's about ... >I basically block ALL incoming traffic from the address ranges I look up ...
    (comp.security.firewalls)
  • Re: [Full-Disclosure] Re: OFF TOPIC: antisemitic troll
    ... > Anti-semites should not use the Internet, because TCP and UDP are ... > the protocols of the elders of zion.... ...
    (Full-Disclosure)
  • CPU usage with UDP sockets
    ... Compared to other comparable aystems, my CPU usage is pretty ... I have two UDP ... sockets that sends audio and video to the clients. ...
    (comp.os.linux.networking)