[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PowerTOP for FreeBSD ?
- To: Peter Jeremy <peterjeremy_(_at_)_optushome_(_dot_)_com_(_dot_)_au>
- Subject: Re: PowerTOP for FreeBSD ?
- From: Nate Lawson <nate_(_at_)_root_(_dot_)_org>
- Date: Thu, 17 May 2007 10:59:12 -0700
- Cc: acpi_(_at_)_freebsd_(_dot_)_org
Peter Jeremy wrote:
> On 2007-May-16 00:00:46 -0700, Nate Lawson <nate_(_at_)_root_(_dot_)_org> wrote:
>> Normally timers tick every 1 us on FreeBSD.
>
> Unless something has changed massively, tradtiionally, hardclock
> interrupts every 1msec and statclick interrupts at 128Hz (approx
> 8msec).
>
Oops, yes it's every 1 ms (1/1000 sec). I didn't bother mentioning stat
clock since it's derived from hardclock and that's the only one that
makes the CPU exit its idle state.
>> Most interrupts are
>> serviced with no work to be performed, so it's just wasted computation.
>
> Using the lapic timer is an excellent example of this. By default it
> runs at 2000Hz to run hardclock() every 1msec and statclock() every
> 7.5 msec - just under 50% of the interrupts are completely wasted.
>
Absolutely.
--
Nate
_______________________________________________
freebsd-acpi_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org