From owner-freebsd-hackers Thu Jul 2 10:37:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02468 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 10:37:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from att.com (kcgw1.att.com [192.128.133.151]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA02463 for ; Thu, 2 Jul 1998 10:37:29 -0700 (PDT) (envelope-from sbabkin@dcn.att.com) From: sbabkin@dcn.att.com Received: by kcgw1.att.com; Thu Jul 2 12:37 CDT 1998 Received: from dcn71.dcn.att.com ([135.44.192.112]) by kcig1.att.att.com (AT&T/GW-1.0) with ESMTP id MAA26793 for ; Thu, 2 Jul 1998 12:37:25 -0500 (CDT) Received: by dcn71.dcn.att.com with Internet Mail Service (5.0.1458.49) id ; Thu, 2 Jul 1998 13:37:23 -0400 Message-ID: To: rminnich@Sarnoff.COM, hackers@FreeBSD.ORG Subject: RE: timeout granularity (was: Re: Console driver...) Date: Thu, 2 Jul 1998 13:37:22 -0400 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Ron G. Minnich [SMTP:rminnich@Sarnoff.COM] > > On Thu, 2 Jul 1998 sbabkin@dcn.att.com wrote: > > The measurements > > have shown that handling 115200 bps transfer caused 11520 > > interrupts per second and ate up about 20% CPU of 20 MHz 386 > > in the interrupt handler. The OS was SCO Unix 3.2.1. > > Interesting. One the 486/25, linux 1.0.xx, the 10k interrupts also > seemed to > eat about 20% of the machine. > That handler worked with plain ring buffers and had no complex processing, at most it called wakeup() to schedule the higher level routine when it reached the low water mark. It was not a generic serial port driver, it used special protocol to use a slow PC as fast terminal. So it worked at 115Kbps or 56Kbps (the XTs were not able to handle over 56Kbps, ATs worked well with 115Kbps) for output and not more that 100 bytes per second (this was part of the protocol) for input from keyboard. This asymmetric design was also the reason why the lost interrupts were not a problem. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message