asyconfig

    Examine or set the asy configuration parameters on a UNIX (eg, Linux)
implementation of Jnos.

Syntax:    asyconfig <iface> <parameter> [<value>]

    <iface> is any asy interface name, as given to the attach command.
    <parameter> is one of:

	bufsize		receive buffer size  [default = attach bufsize]
	rxqueue		receive flow-control threshold  [default = 1]
	txqueue		transmit flow-control threshold  [default = 1]
	status		display asystat info for <iface>

    <value> is optional, and if specified, provides a new setting for the
    parameter.  If omitted, the current setting is displayed.

Any of these parameters can be changed at any time.  The "rxqueue" and
"txqueue" parameters support a simple form of inter-task flow control.
After "rxqueue" packets are put in the network "hopper" by the asy receive
task, it blocks;  after "txqueue" packets are transmitted by the asy transmit
task or if EAGAIN/EWOULDBLOCK is returned on a write, it blocks.  The default
is an rxqueue/txqueue of 1.  For better i/o performance, at the expense of
other Jnos tasks, increase the values of rxqueue and txqueue.  Increase the
rxqueue value if you find other systems retry packets that your system has
received but not acked.

For example, I have both set to 5 on my asy links and to 10 on my
SLIP-to-Linux pty link, and it seems to be a fairly good compromise.


