Re: question on select: How big can the empty buffer space be before select returns ready-to-write?

From: Ben Greear (
Date: Mon Dec 10 2001 - 11:41:49 EST

Alan Cox wrote:

>>* Ben Greear ( wrote:
>>>For instance, it appears that select will return that a socket is
>>>writable when there is, say 8k of buffer space in it. However, if
>>>I'm sending 32k UDP packets, this still causes me to drop packets
>>>due to a lack of resources...
>>udp has a fixed 8k max payload. did you try breaking up your packets?
> UDP has a 64K - headers max payload.

Yes, and I am writing code to specifically try out large UDP
packet sizes, so limiting myself to a certain size is not at
all useful in this case....


Ben Greear <>       <Ben_Greear AT>
President of Candela Technologies Inc

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:17 EST