Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 1998 12:34:58 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        "Ron G. Minnich" <rminnich@Sarnoff.COM>
Cc:        hackers@FreeBSD.ORG
Subject:   RE: timeout granularity (was: Re: Console driver...)
Message-ID:  <Pine.BSF.3.95.980702123250.5089D-100000@current1.whistle.com>
In-Reply-To: <Pine.SUN.3.91.980702112908.1162B-100000@terra>

next in thread | previous in thread | raw e-mail | index | archive | help
why do all that fiddling when there is already support for this in
FreeBSD?

use "aquire_timer0()"
and set the hardware clock to whatever you want dynamically..
it will call whatever function you want at that speed..
remember that the pcaudio driver sets it to 16000 Hz.
that would seem a good speed to set it, so that pcaudio could still work..



On Thu, 2 Jul 1998, Ron G. Minnich wrote:

> 
> 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.
> 
> ron
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980702123250.5089D-100000>