Eric Saxe wrote: > Rafael Vanoni wrote: >> Back again at this one :) >> >> I took a better look at all msgs related to this bug and I'd like to >> suggest the following: >> >> A) default event reporting to exclude cyclic activity as (per Aubrey's >> suggestion) this is irrelevant to sys admins >> >> B) add an option to display cyclic firings as it is now, which includes >> batch processed events >> >> C) add an option to display cyclic events but exclude cyclics which >> expire at the same time, which seems to be the criteria that the cyclic >> subsystem uses to batch process them >> >> I have a patch for this but wanted to check if I'm conceptually on the >> right track. With C), genunix`clock, genunix`cyclic_timer and >> unix`cbe_hres_tick always add up to ~100. But the sum of wakeups are >> still not adding up perfectly. >> > Are you seeing more interrupts than are accounted by the events? Are you > always seeing more wakeups than events listed? >
It depends. For instance, writing a lot to disk shows a lower wakeup count than events: Wakeups-from-idle per second: 1566.7 interval: 2.0s no ACPI power usage estimate available Top causes for wakeups: 88.4% (1384.6) <interrupt> : pci-ide#0 9.5% (149.3) <kernel> : uhci`uhci_handle_root_hub_status_change 7.7% (120.4) <interrupt> : nvidia#0 4.4% ( 68.2) java : <scheduled timeout expiration> 4.3% ( 66.7) <kernel> : ehci`ehci_handle_root_hub_status_change 4.3% ( 66.7) <kernel> : genunix`clock 2.1% ( 33.3) <kernel> : genunix`cyclic_timer 0.9% ( 13.9) <kernel> : genunix`lwp_timer_timeout While sitting idle shows a higher wakeup count: Wakeups-from-idle per second: 562.7 interval: 2.0s no ACPI power usage estimate available Top causes for wakeups: 26.5% (149.3) <kernel> : uhci`uhci_handle_root_hub_status_change 21.5% (120.9) <interrupt> : nvidia#0 12.2% ( 68.7) java : <scheduled timeout expiration> 11.8% ( 66.7) <kernel> : ehci`ehci_handle_root_hub_status_change 10.3% ( 57.7) <kernel> : genunix`cyclic_timer 7.5% ( 42.3) <kernel> : genunix`clock 2.7% ( 15.4) thunderbird-bin : <scheduled timeout expiration> 2.4% ( 13.4) <kernel> : genunix`lwp_timer_timeout thanks Rafael
