Subject: Re: fixing send(2) semantics (kern/29750)
To: Emmanuel Dreyfus <manu@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/27/2005 17:20:35
On Sun, Mar 27, 2005 at 02:50:33PM +0200, Emmanuel Dreyfus wrote:
> 
> The fact that it does not scale to any situation and that others have
> already being researching in that direction does not make the problem we
> have with send(2) disapear. I'm okay to fix the application if someone
> can tell me how I can detect when the link layer is ready to send.

You'd much better fixing it by implementing some kind of congestion control.
One day you'll install a gigabit NIC on your server, and the clients
will still be receiving at 100mbs.
Maybe you could have a look at pkgsrc/net/spread ?
Yes, it's not free, but as you're developing a very specialised application,
this may be OK.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--