From owner-freebsd-questions Tue Sep 8 15:29:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26741 for freebsd-questions-outgoing; Tue, 8 Sep 1998 15:29:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpha.netvision.net.il (alpha.netvision.net.il [194.90.1.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26667 for ; Tue, 8 Sep 1998 15:29:43 -0700 (PDT) (envelope-from ycs@netvision.net.il) Received: from netvision.net.il (RAS3-p87.hfa.netvision.net.il [62.0.146.87]) by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id AAA15420 for ; Wed, 9 Sep 1998 00:28:25 +0300 (IDT) Message-ID: <35F5A1DD.386A6F0C@netvision.net.il> Date: Wed, 09 Sep 1998 00:30:05 +0300 From: Yoav Cohen-Sivan X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Measuring interrupt latency for the serial port Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a way to measure interrupt latency for the sio driver? I've been seeing random link lockups during almost every PPP session I initiate (both kernel and user). The lockups would clear after hanging up and redialling. I finally figured I'd lower my bps from 115200 to 57600, and voila! lockups have disappeared. I've spent the better part of the past 2 days banging on the link (and my phone bill) like there's no tomorrow. Since the lockups were usually during heavy link and system use, my thoughts are that the serial FIFO was overflowing, and the sio driver didn't have time to respond to the serial port interrupt. This probably caused some corrupted packets to be sent to my ISP (using Cisco 5200 equipment), causing it to ignore me for the duration of the session. Even though everything seems fine now, I'd still like to be sure that lowering the bps was the cure. Finally, is there a way to find out if the FIFO overflowed? Yoav To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message