How much of the CPU bandwidth is consumed copying payload data across the socket API interface in send() or recv() system calls?
A. On a 1-GHZ Intel Pentium III CPU with PC133 memory, about 46 percent of the CPU is consumed copying data in send() and recv() socket API system calls during a TCP/IP transfer at 110 megabytes per second (MB/sec) and about 24 percent on a 2-GHZ Intel Xeon CPU with DDR SDRAM. Based on this and the benchmark CPU utilizations, this would indicate that these Socket API buffer copies are likely the most significant single CPU/memory overhead factor in TCP/IP over Gigabit Ethernet — much more so than the TCP/IP protocol stack itself.
Related Questions
- How much of the CPU bandwidth is consumed copying payload data across the socket API interface in send() or recv() system calls?
- When using the HT9020 datasheet application circuit to interface to the telephone line, why can I not decode CPT data?
- Is DCML a data format, a protocol, or an application programming interface (API)?