On Tue, 22 Jun 1999, Joachim Holst wrote:
> Hi !
>
> I wonder if there's a way to increase the speed of polling the TNC's
> when using mkiss.
>
> My system with 3 TNC's on one serial line is very slow in responce :-(
I added the polling support to mkiss as a quick hack to support a special
case at our club where actally only one TNC was to be polled (it's a long
story...). So the polling algorithm probably leaves much room for
improvement especially in the case of several TNCs.
A quick solution would be to experiment with the select timeout. Look for
the place where the timeout is reseted:
if (pollflag) {
timeout.tv_sec = 1;
timeout.tv_usec = 0;
}
and try changing the values. The timeout is tv_sec + tv_usec/1000000
seconds.
--
--- Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ---