Re: PF_PACKET speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Underwood wrote:

>         Is 4000 packets a second reasonable on hardware like this? I found
> an old message in an archive that considered 20kpps for sendto() on a raw
> socket was slow. I had certainly been expecting more.
> 
>         Is SOCK_DGRAM significantly slower than SOCK_RAW for PF_PACKET?
> Would an upgrade to a 2.5 kernel help? Where is the bottleneck likely to be?

It might help to compile your kernel with the oprofile patch and
profile the kernel under your test. You'd get an idea of whats taking time..
I believe oprofile support has been recently backported to 2.4.20
by Redhat. 

thanks,
Nivedita
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux