I'm running 2.6.27-rc3, and I happily discovered that e8aa46 "x86: enable hpet=force for AMD SB400" allowed me to enable my HPET hardware by enabling the "hpet=force" boot option. So I wanted to get down and start saving power. I fire up powertop, but to my dismay, I'm still getting some 200 "extra timer interrupt"'s per second. In dmesg I have: [ 0.576031] hpet clockevent registered [ 0.576031] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0 [ 0.576031] hpet0: 4 32-bit timers, 14318180 Hz [ 1.492096] rtc0: alarms up to one month, hpet irqs I've gone through the lesswatts.org page, and the following kernel options are enabled: CONFIG_NO_HZ CONFIG_HIGH_RES_TIMERS CONFIG_HPET_TIMER CONFIG_CPU_FREQ_GOV_ONDEMAND CONFIG_USB_SUSPEND CONFIG_SND_AC97_POWER_SAVE CONFIG_TIMER_STATS The following kernel options are disabled: CONFIG_IRQBALANCE CONFIG_ACPI_DEBUG I'm not sure what my issue is. I have an Acer ferrari 5000 laptop with a AMD Turion TL-60 X2 2GHz processor, and RS480/SB400 chipset. My machine supports C1E, but I've also tried modifying the DSDT to get other C States working. I've attached screenshots of powertop in both configurations. My /proc/timer_list looks like this: Timer List Version: v0.3 HRTIMER_MAX_CLOCK_BASES: 2 now at 6919676260251 nsecs cpu: 0 clock 0: .index: 0 .resolution: 1 nsecs .get_time: ktime_get_real .offset: 1218842370490407372 nsecs active timers: clock 1: .index: 1 .resolution: 1 nsecs .get_time: ktime_get .offset: 0 nsecs active timers: #0: <ffff880044d33d48>, tick_sched_timer, S:01, tick_nohz_restart_sched_tick, swapper/0 # expires at 6919676000000 nsecs [in -260251 nsecs] #1: <ffff880044d33d48>, hrtimer_wakeup, S:01, do_nanosleep, atd/6516 # expires at 7563706773541 nsecs [in 644030513290 nsecs] .expires_next : 6919676000000 nsecs .hres_active : 1 .nr_events : 672127 .nohz_mode : 2 .idle_tick : 6919560000000 nsecs .tick_stopped : 0 .idle_jiffies : 4296622185 .idle_calls : 1404776 .idle_sleeps : 887226 .idle_entrytime : 6919675633506 nsecs .idle_waketime : 6919559515105 nsecs .idle_exittime : 6919573032161 nsecs .idle_sleeptime : 6103157724271 nsecs .last_jiffies : 4296622214 .next_jiffies : 4296622217 .idle_expires : 6919572000000 nsecs jiffies: 4296622214 cpu: 1 clock 0: .index: 0 .resolution: 1 nsecs .get_time: ktime_get_real .offset: 1218842370490407372 nsecs active timers: clock 1: .index: 1 .resolution: 1 nsecs .get_time: ktime_get .offset: 0 nsecs active timers: #0: <ffff880044d33d48>, tick_sched_timer, S:01, tick_nohz_restart_sched_tick, swapper/0 # expires at 6919677000000 nsecs [in 739749 nsecs] #1: <ffff880044d33d48>, hrtick, S:01, hrtick_start_fair, firefox/17982 # expires at 6919696215784 nsecs [in 19955533 nsecs] #2: <ffff880044d33d48>, it_real_fn, S:01, do_setitimer, ntpd/18110 # expires at 6919956583447 nsecs [in 280323196 nsecs] #3: <ffff880044d33d48>, hrtimer_wakeup, S:01, futex_wait, firefox/17985 # expires at 6919998697562 nsecs [in 322437311 nsecs] #4: <ffff880044d33d48>, hrtimer_wakeup, S:01, do_nanosleep, irqbalance/6068 # expires at 6920509598512 nsecs [in 833338261 nsecs] #5: <ffff880044d33d48>, hrtimer_wakeup, S:01, do_nanosleep, cron/6548 # expires at 6931044579685 nsecs [in 11368319434 nsecs] #6: <ffff880044d33d48>, it_real_fn, S:01, do_setitimer, syslogd/5275 # expires at 6935643222652 nsecs [in 15966962401 nsecs] #7: <ffff880044d33d48>, hrtimer_wakeup, S:01, futex_wait, firefox/18681 # expires at 6949993709073 nsecs [in 30317448822 nsecs] .expires_next : 6919677000000 nsecs .hres_active : 1 .nr_events : 702428 .nohz_mode : 2 .idle_tick : 6919569000000 nsecs .tick_stopped : 0 .idle_jiffies : 4296622187 .idle_calls : 2083115 .idle_sleeps : 1599746 .idle_entrytime : 6919567514656 nsecs .idle_waketime : 6919571505876 nsecs .idle_exittime : 6919571528365 nsecs .idle_sleeptime : 6292184634485 nsecs .last_jiffies : 4296622187 .next_jiffies : 4296622224 .idle_expires : 6919712000000 nsecs jiffies: 4296622214 Tick Device: mode: 1 Clock Event Device: hpet max_delta_ns: 149983003520 min_delta_ns: 3352 mult: 61496115 shift: 32 mode: 3 next_event: 6919676000000 nsecs set_next_event: hpet_legacy_next_event set_mode: hpet_legacy_set_mode event_handler: tick_handle_oneshot_broadcast tick_broadcast_mask: 00000003 tick_broadcast_oneshot_mask: 00000001 Tick Device: mode: 1 Clock Event Device: lapic max_delta_ns: 671063275 min_delta_ns: 1199 mult: 53689114 shift: 32 mode: 1 next_event: 6919676000000 nsecs set_next_event: lapic_next_event set_mode: lapic_timer_setup event_handler: hrtimer_interrupt Tick Device: mode: 1 Clock Event Device: lapic max_delta_ns: 671063275 min_delta_ns: 1199 mult: 53689114 shift: 32 mode: 3 next_event: 6919677000000 nsecs set_next_event: lapic_next_event set_mode: lapic_timer_setup event_handler: hrtimer_interrupt
Attachment:
powertop c1e.png
Description: PNG image
Attachment:
powertop c3.png
Description: PNG image
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm