Date: Sat, 18 Oct 2003 14:17:33 -0700 From: David Schultz <das@FreeBSD.ORG> To: Nate Lawson <nate@root.org> Cc: arch@FreeBSD.ORG Subject: Re: Variable timer tick rate? Message-ID: <20031018211733.GA14976@VARK.homeunix.com> In-Reply-To: <20031018130119.T47207@root.org> References: <20031018130119.T47207@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 18, 2003, Nate Lawson wrote: > This is an interesting approach. If there are no upcoming timeouts, > decrease the tick rate. Of course, you have to amortize the cost of > resetting the timer over the period of no ticks. > > http://kerneltrap.org/node/view/1006 For the last couple of years, Solaris has had a 'cyclic' system that automatically schedules the next clock interrupt to match the next timeout. This allows for arbitrarily high or low resolution timers. Even if we presently have subsystems that poll every tick, high-resolution timers would be a neat thing to have, and it should be possible to implement on all supported architectures except pre-PPro i386's that don't have TSCs.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031018211733.GA14976>