Networking Forums

Networking Forums > Computer Networking > Linux Networking > multiple sendmsg and single user-kernel switch

Reply
Thread Tools Display Modes

multiple sendmsg and single user-kernel switch

 
 
avivgr
Guest
Posts: n/a

 
      10-13-2005, 06:28 PM
Hi all,
I want to use the sendto (or sendmsg) for sending raw packets on a raw
socket directly to the NIC (passing the kernel protocol stack).
In addition to that i need so send a lot of packets (100-200Kpps) so i
have to do that fast.
Currently the kernel-user switching is killing me and i want to batch
some packets before calling send() - to reduce the user-kernel switch
overhead.
Passing a batched buffer to the sendto() cause a probelm - the NIC have
to get one message at a time because it has to calculate the L2 CRC for
each packet (or msg). so batched buffer is not acceptable.

I would like to get some help please. any one have any idea how to
reduce the user-kernel overhead (or sending a batched buffer so the
kernel will call sendto for each buffer)?

Thanks,
Aviv

 
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
Kernel upgrade -> no network access (ping: sendmsg: Operation not permitted) smythe70@hotmail.com Linux Networking 10 09-17-2006 01:55 AM
Multiple IP's on a single NIC -> Help! =?Utf-8?B?Rm9yY2g=?= Windows Networking 3 04-25-2004 03:44 PM
proxy for a single user fabio vassalli Linux Networking 0 01-13-2004 08:32 AM
BT Single User?? Col Broadband 4 12-29-2003 10:22 PM
BT business 500 single user.. run NAT rat Broadband 5 11-21-2003 12:50 PM



1 2 3 4 5 6 7 8 9 10 11