lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <48B3CB9F.4070903@tuffmail.co.uk>
Date:	Tue, 26 Aug 2008 10:23:43 +0100
From:	Alan Jenkins <alan-jenkins@...fmail.co.uk>
To:	Andrey Borzenkov <arvidjaar@...l.ru>
CC:	linux-kernel <linux-kernel@...r.kernel.org>, power@...host.org
Subject: Re: What is "extra timer interrupt" in powertop output?

Andrey Borzenkov wrote:
> After disabling CD-ROM polling the next top-100 winner is "extra timer
> interrupt":
>
> Cn Avg residency P-states (frequencies)
> C0 (cpu running) ( 4.2%) 750 Mhz 0.0%
> polling 0.0ms ( 0.0%) 500 Mhz 100.0%
> C1 0.0ms ( 0.0%)
> C2 0.9ms (95.8%)
>
>
> Wakeups-from-idle per second : 1101.2 interval: 5.0s
> Power usage (ACPI estimate): 11.7W (2.2 hours)
>
> Top causes for wakeups:
> 31.6% ( 8.4) : extra timer interrupt
> 15.0% ( 4.0) hald-addon-acpi : schedule_timeout (process_timeout)
>
> I assume, this is what is simply called "timer":
> {pts/1}:~%> cat /proc/interrupts
> CPU0
> 0: 9060975 XT-PIC-XT timer

>
> Any way to find out why there are so many of them? System is using dynamic
> ticks:
> {pts/1}:~/src/linux-git%> grep NO_HZ /boot/config
> CONFIG_NO_HZ=y
>

One possible reason is the hardware timer used cannot delay for long
periods, so the kernel has to wake up more often than necessary.  Um. 
This doesn't seem to be explained well in docs.

The question is do you have HPET (good hardware timer) enabled? 
Enabling HPET is supposed to be one of the things powertop suggests. 
Sometimes it is a BIOS option, or may require a kernel option, or may
not be supported on your motherboard.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ