RE: tty level buffer overflows

1999-12-09 Thread Koster, K.J.
> > We're seeing it with our ppp link, which uses the kernel level ppp > code. Since it doesn't happen for me often, it is hard to diagnose. > You could set up a 486 (386?) and have it chew on a tonne of ipfw rules. If it is due to ipfw load, you should be able to force the problem to be reprod

Re: tty level buffer overflows

1999-12-06 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : Yup. Ignore the "problem in the application" part, as that predicates : that the kernel and driver are working properly, which doesn't seem to be : the case. The problem here is that the buffer between the top side of : the driver and the app

Re: tty level buffer overflows

1999-12-06 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : Growing the buffer isn't the solution; it should be big enough already. : We need to work out why a system that should have no trouble with the : data rate in question is croaking so trivially. Growing the buffer is a solution. I only get a

Re: tty level buffer overflows

1999-12-06 Thread Matthew Jacob
> > > > > Er, you should read the sio(4) manpage too. tty-level buffer overflows > > > have nothing to do with interrupt latency/execution time. > > > > You mean this: > > > > sio%d: tty-level buffer overflow. Problem in the application. Input has > > arrived faster than the give

Re: tty level buffer overflows

1999-12-06 Thread Mike Smith
> In message <[EMAIL PROTECTED]> Mike Smith writes: > : It's documented in the sio(4) manpage, which is always worth reading. > > Even reading the sio manpage is unclear. All it says is that things > are too slow. Steady state I don't get these, just every now and > again it happens. No appare

Re: tty level buffer overflows

1999-12-05 Thread Mike Smith
> > > Er, you should read the sio(4) manpage too. tty-level buffer overflows > > have nothing to do with interrupt latency/execution time. > > You mean this: > > sio%d: tty-level buffer overflow. Problem in the application. Input has > arrived faster than the given module could pr

Re: tty level buffer overflows

1999-12-04 Thread Matthew Jacob
> In message <[EMAIL PROTECTED]> Matthew Jacob >writes: > : Normally I might agree with this, but I use a tty line on a 150Mhz i386 to > : be a serial console for another freebsd box. This is a NS16550A with a 16 > : byte fifo. This systems is effectively idle except for this task. So, I'm > :

Re: tty level buffer overflows

1999-12-04 Thread Warner Losh
In message <[EMAIL PROTECTED]> Matthew Jacob writes: : Normally I might agree with this, but I use a tty line on a 150Mhz i386 to : be a serial console for another freebsd box. This is a NS16550A with a 16 : byte fifo. This systems is effectively idle except for this task. So, I'm : running tip a

Re: tty level buffer overflows

1999-12-04 Thread Matthew Jacob
> Er, you should read the sio(4) manpage too. tty-level buffer overflows > have nothing to do with interrupt latency/execution time. You mean this: sio%d: tty-level buffer overflow. Problem in the application. Input has arrived faster than the given module could process it and som

Re: tty level buffer overflows

1999-12-03 Thread Mike Smith
> > Dec 2 11:08:56 bifrost /kernel: sio0: 208 more tty-level buffer overflows (total >3356) > > > > is appearing on our ppp machine. What are tty-level buffer overflows? > > How can I fix this? What resource is running out? > > Is it safe to assume that this isn't happening on a laptop? At

Re: tty level buffer overflows

1999-12-03 Thread David Scheidt
On Fri, 3 Dec 1999, Warner Losh wrote: > What I was wondering is if there is a way to, say, double the buffer > size. Also, what is the number of overflows mean? Is that bytes? > clists? 16byte chunks? The overflow seems to happen just once and it It's the return from b_to_q, so it is the nu

Re: tty level buffer overflows

1999-12-03 Thread Nate Williams
> Dec 2 11:08:56 bifrost /kernel: sio0: 208 more tty-level buffer overflows (total >3356) > > is appearing on our ppp machine. What are tty-level buffer overflows? > How can I fix this? What resource is running out? Is it safe to assume that this isn't happening on a laptop? At least with t

Re: tty level buffer overflows

1999-12-03 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : It's documented in the sio(4) manpage, which is always worth reading. Even reading the sio manpage is unclear. All it says is that things are too slow. Steady state I don't get these, just every now and again it happens. No apparent correlati

Re: tty level buffer overflows

1999-12-02 Thread Mike Smith
> On Thu, 2 Dec 1999, Warner Losh wrote: > > > > > Dec 2 11:08:56 bifrost /kernel: sio0: 208 more tty-level buffer overflows (total >3356) > > > > is appearing on our ppp machine. What are tty-level buffer overflows? > > How can I fix this? What resource is running out? > > If I remember p

Re: tty level buffer overflows

1999-12-02 Thread David Scheidt
On Thu, 2 Dec 1999, Warner Losh wrote: > > Dec 2 11:08:56 bifrost /kernel: sio0: 208 more tty-level buffer overflows (total >3356) > > is appearing on our ppp machine. What are tty-level buffer overflows? > How can I fix this? What resource is running out? If I remember properly, it is a r