DragonFly commits List (threaded) for 2009-05
Re: DragonFly-220.127.116.114.gc5b83 master sys/platform/pc32/apic mpapic.c sys/platform/pc32/isa clock.c sys/platform/pc64/isa clock.c sys/platform/vkernel/platform systimer.c sys/sys systimer.h
On Tue, May 5, 2009 at 8:37 PM, Sepherosa Ziehau <email@example.com> wrote:
> On Tue, May 5, 2009 at 2:07 AM, Hasso Tepper <firstname.lastname@example.org> wrote:
>> Matthew Dillon wrote:
>>> 450 interrupts/sec sounds ok for an idle system. I'd expect a
>>> higher number, actually.
>> Yes, but ...
>>> I wonder if the load calculations are being messed up by the C3
>>> state. The code path for the per-cpu hardclock interrupt has
>>> always been fairly sensitive. With the 8254 it was being driven by
>>> IPIs. Now it is being driven by an actual interrupt so there might be
>>> an issue with how it distinguishes the system state when accounting for
>>> the clock tick.
>> It seems to be a real load though - applications lag etc.
>> And one more thing. With sephe's change it's even worse _without_ lapic.
>> The interrupt load is still there and the rate of clock interrupts
>> doubles to ~800.
> My git repo on leaf, lapic_timer branch, see whether it helps.
If it does not improve things, I intend to use cputimer_intr_switch()
in the related sysctl, if C3 state is configured as cx_lowest.
Live Free or Die