DragonFly-2.3.0.864.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

Sepherosa Ziehau sepherosa at gmail.com
Tue May 5 06:48:25 PDT 2009


On Tue, May 5, 2009 at 9:27 PM, Hasso Tepper <hasso at estpak.ee> wrote:
> Sepherosa Ziehau wrote:
>> My git repo on leaf, lapic_timer branch, see whether it helps.
>
> It helps somewhat. With lapic enabled there is no interrupt load any more,
> but the rate of clock interrupts is doubled compared to what it was with
> master and without lapic - it was ín range of ~250, but is ~500 now. I
> don't like it much as ideally it should get smaller in development ;).

Good to know, I was just about to give up :P

>
> But with patched kernel and lapic _disabled_ a interrupt load is still
> there - now 100% at CPU0. The rate of clock interrupts is ~225.

Could you do following test, change acpi_cpu.c:
reload = systimer_time_left();
to
reload = -1;
Two places need to be changed in acpi_cpu_idle().  See whether it
works without lapic timer.

Best Regards,
sephe

-- 
Live Free or Die





More information about the Commits mailing list