From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 17 Oct 1997 10:36:20 -0700 From: beto@ncube.com beto@ncube.com Subject: [9fans] IL question? Topicbox-Message-UUID: 696be0ba-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19971017173620.M92tldcCPQOlRnpLmE-3WcFpK3-X6kqmScWTXyLUuAg@z> In <199710171717.NAA18350@cse.psu.edu> presotto@plan9.bell-labs.com 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.