Re: Reading from PF_PACKET, SOCK_DGRAM loses packets

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

 



Hi!

On Fri, 26 Jul 2002, Marc Haber wrote:

> Hi,
> 
> it looks like reading from a socket opened with PF_PACKET, SOCK_DGRAM
> loses data if the system is non-trivially loaded.
> 
What exactly is this non-trivial load? If it sometimes consumes the whole 
of its timeslice then your net-acct is not scheduled for at least 10ms 
which makes up about 50 packets. I don't know how long the queue is, 
though... (might be 64kB, 50*mtu=75kB)

Ciao,
					Roland

+---------------------------+-------------------------+
|    TU Muenchen            |                         |
|    Physik-Department E18  |  Raum    3558           |
|    James-Franck-Str.      |  Telefon 089/289-12592  |
|    85747 Garching         |                         |
+---------------------------+-------------------------+

-
: 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