Hi all,
Just came across PowerTOP today - looks interesting. I decided to
have a look how much power my MythTV backend consumes. I've done
some of the required stuff such as recompiling my kernel to include
the following:
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
and disabled:
CONFIG_IRQBALANCE
CONFIG_ACPI_DEBUG
Running PowerTOP gave me a few suggestions of which I had to
incorporate all into rc.local as the settings seems to have been
forgotten when the server boots up.
Despite all this, PowerTOP seems to report a high occurrence of
wakeups but I'm not quite sure how to solve all those problems. My
server uses an VIA EPIA MII motherboard with a VIA Nehemiah 1.2GHz
processor with 512MB memory, 2 PATA hard drives and 2 TV tuners. I'm
using Debian Etch running kernel 2.6.22-5. Here's the output from
PowerTOP:
------------------------------------------------------------------------
-----------
Cn Avg residency P-states (frequencies)
C0 (cpu running) (11.4%)
C1 0.0ms ( 0.0%)
C2 3.9ms (88.6%)
Wakeups-from-idle per second : 248.1 interval: 10.0s
no ACPI power usage estimate available
Top causes for wakeups:
42.4% (101.6) <interrupt> : yenta, uhci_hcd:usb1,
ehci_hcd:usb4, cx88[0], cx88[0], eth1
42.2% (101.1) <interrupt> : yenta, uhci_hcd:usb2,
uhci_hcd:usb3, VIA8233, ohci1394, cx88[1], cx88[1]
8.3% ( 20.0) mythbackend : futex_wait (hrtimer_wakeup)
3.1% ( 7.4) <interrupt> : extra timer interrupt
0.8% ( 2.0) mythbackend : schedule_timeout (process_timeout)
0.8% ( 2.0) <kernel core> : clocksource_register
(clocksource_watchdog)
0.7% ( 1.6) xfsbufd : schedule_timeout (process_timeout)
0.4% ( 1.0) apache2 : schedule_timeout (process_timeout)
0.2% ( 0.5) ifconfig : __netdev_watchdog_up (dev_watchdog)
0.2% ( 0.5) <kernel core> : queue_delayed_work_on
(delayed_work_timer_fn)
0.2% ( 0.4) <kernel core> : neigh_table_init_no_netlink
(neigh_periodic_timer)
0.2% ( 0.4) <kernel module> : <df814236>
(irlmp_discovery_timer_expired)
0.1% ( 0.3) <kernel module> : neigh_table_init_no_netlink
(neigh_periodic_timer)
0.1% ( 0.2) rpc.idmapd : schedule_timeout (process_timeout)
0.1% ( 0.2) init : schedule_timeout (process_timeout)
0.1% ( 0.2) mythbackend : do_nanosleep (hrtimer_wakeup)
0.0% ( 0.1) <kernel core> : addrconf_verify (addrconf_verify)
0.0% ( 0.1) syslogd : do_setitimer (it_real_fn)
0.0% ( 0.1) cron : do_nanosleep (hrtimer_wakeup)
------------------------------------------------------------------------
-----------
I know my server don't need USB, so how do I disable USB completely?
Is there anything else I can do, considering I don't use a lot of the
connectors such as the video card, sound card, USB and printer port,
just to name a few. I've read a bit about C3 and C4 states and HPET
- are those supported by the MII processor? If so, how do I make
those work?
Thanks very much for your time in advance!
Regards - Piers
_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power