Hi Eric, Eric Saxe wrote:
> Hi Aubrey, > > Li, Aubrey wrote: >> Hi Eric, >> >> I got the following report from PowerTOP after cyclic event was >> added. >> >> =====snip====== >> Wakeups-from-idle per second: 392.5 interval: 5.0s >> Top causes for wakeups: >> 25.5% (100.1) <kernel> :unix`cbe_hres_tick >> 25.5% (100.1) <kernel> :genunix`clock >> 25.5% (100.1) <kernel> :genunix`cyclic_timer >> 19.1% ( 74.9) <kernel> >>> uhci`uhci_handle_root_hub_status_change >> 8.5% ( 33.4) <kernel> >>> ehci`ehci_handle_root_hub_status_change >> 8.4% ( 33.0) java :<scheduled timeout expiration> >> >> 2.5% ( 10.0) <kernel> :ata`ghd_timeout >> >> 1.5% ( 5.8) dtgreet :<scheduled timeout expiration> >> >> 1.0% ( 4.0) <kernel> :genunix`deadman >> >> ======snip===== >> >> This looks confused for me. >> >> Actually, timer interrupt occurred 100 times per second, from the >> report, We know we have 3 cyclic consumers, but it appears we have >> 300 times events. > These are 3 separate cyclics each firing at 100 times per second...so > it really is 300 events per second. Low hanging fruit indeed. :) But the numbers do not match. Wakeups-from-idle 392.5 per second Top causes for wakeups: 100.1 *3 + 74.9 + 33.4 +33.0 + 10.0 + 5.8 + 4.0 + ... = 461.0 + ... -Aubrey
