netdev
[Top] [All Lists]

Re: PATCH Re: udp weirdness

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: PATCH Re: udp weirdness
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Tue, 01 Oct 2002 11:54:36 -0700
Cc: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Organization: Candela Technologies
References: <Pine.GSO.4.30.0210011433300.18461-100000@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722
jamal wrote:

On Tue, 1 Oct 2002, Chris Friesen wrote:


to be silently dropped by the kernel because userspace is sending faster
than they can get onto the wire during that tight loop.



So what happens when you find packets being dropped?
AFAIK, a dropped voice packet is as good as dead whether local or remote.

If it is dropped locally, you can re-send in way less than 1 milisecond,
which is well within the realm of expected jitter.  You can also back off
for 5 miliseconds to alleviate congestion, which is still within acceptable
jitter.

If you think you sent it, but didn't actually send it, then it looks like
your network is shitting, when in fact your local machine is acting shitty.

Ben



Okay, so with IP_RECVERR set the case that Eric saw will not happen?  I
mean that sendto() will return with -1 and errno set to ENOBUFS?


yes

cheers,
jamal



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



<Prev in Thread] Current Thread [Next in Thread>