9fans archive / 1997 / 10 / 39 /    prev next

From: beto@ncu... beto@ncu...
Subject: [9fans] IL question?
Date: Fri, 17 Oct 97 10:36:20 PDT

In <199710171717.NAA18350@cse...>
 presotto@pla... wrote:

> It wouldn't take much to throw out any il data
> that appears after > 256k of il bytes are in the
> process end queue (or pick your favorite limit).
> You'll still have to process the packets or the
> protocol will break but nothing forces you to keep
> the processed data lying around.
> 

thanks. 

I think we'll implement something similar to
the tcp->sndfull idea. You keep a counter of bytes
on the ackq and if bigger than some limit it will
sleep. The ackto funtion will wakeup this
process if the number is smaller than half
the limit.

This shouldn't affect RPC performance and the protocol
will work as a pipe too.