Networking Forums

Networking Forums > Computer Networking > Linux Networking > Time taken for send/receive.

Reply
Thread Tools Display Modes

Time taken for send/receive.

 
 
cathode23@gmail.com
Guest
Posts: n/a

 
      08-29-2005, 09:13 PM
Hi All,

Does anybody know of any study conducted to benchmark the linux
networking stack?

Typically does it take more instructions to process an incoming packet
when compared to sending a packet?

Eg. If an application does a send and if we are studying the processing
below the TCP/UDP layer, till the packet is given the NIC drivers, does
it take more time to send a packet than to process an incoming one?

Its well known that encoding takes more time than decoding, what about
send and receive of a particular IP packet?

Any pointers on this will be highly appreciated.

Thanks,
Ajay

 
Reply With Quote
 
 
 
 
Rick Jones
Guest
Posts: n/a

 
      08-29-2005, 10:08 PM
(E-Mail Removed) wrote:
> Does anybody know of any study conducted to benchmark the linux
> networking stack?


Has anyone ever measured the length of a piece of string?-)

> Typically does it take more instructions to process an incoming
> packet when compared to sending a packet?


You first must define typical. With CKO in the NIC, and copy
avoidance, it takes fewer cycles to send a KB of data than to receive.
Add TSO (large send) to that mix and it shifts even further.

> Eg. If an application does a send and if we are studying the processing
> below the TCP/UDP layer, till the packet is given the NIC drivers, does
> it take more time to send a packet than to process an incoming one?


q-syscollect (www.hpl.hp.com) and/or oprofile would seem to be your
friend here.

rick jones
--
oxymoron n, Hummer H2 with California Save Our Coasts and Oceans plates
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a router receive as well as send? Chris Shearer Cooper Network Routers 3 07-27-2007 10:46 AM
Able to receive email but not send when on the road Mel Wireless Networks 2 01-02-2007 06:50 PM
Ex-wanadoo - can now receive but not send in OE Rose28 Broadband 4 09-04-2006 08:38 PM
Wireless puzzler...NIC will send, *not* receive intrepid_dw@hotmail.com Wireless Internet 4 06-13-2006 01:18 PM
Can't send only receive! Magnus Wireless Internet 1 05-31-2004 11:25 PM



1 2 3 4 5 6 7 8 9 10 11