From: Bill Fink <[EMAIL PROTECTED]>
Date: Fri, 31 Mar 2006 01:58:35 -0500

> I don't think it makes perfect sense.  If there's overhead, fine go
> ahead and add the overhead, but do it under the covers and invisible
> to the user.

How in the world would you ever be able to figure out what
value the kernel is using for the receive buffer?

It also isn't an exact science, doubling the value is best
effort.

For example, if you, for example, receive a lot of tiny UDP packets,
wherein the "struct sk_buff" overhead far exceeds the amount of data
in the packet, it still might not work out.  You could specify 100K
and only be able to receive say 60K of receive data in the socket
at once.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to