lkml.org 
[lkml]   [2001]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: question on select: How big can the empty buffer space be before select returns ready-to-write?


Alan Cox wrote:

>>* Ben Greear (greearb@candelatech.com) 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....

Thanks,
Ben

--
Ben Greear <greearb@candelatech.com> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.064 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site