On Wed, Mar 2, 2011 at 10:43 AM, Auke Kok <[email protected]> wrote:
> cat /sys/devices/platform/coretemp.*/temp1_input ?

meegolem-99-~> cat /sys/devices/platform/coretemp.*/temp1_input
cat: No match.

> The suggestion is extremely valid. Without it programs will default to
> polling because there is no other method to monitor files and folders.

Any reason why it's not the default?

> You're not running MeeGo now, are you? The kernel version string suggests
> you run something else :P

My Lenovo s10-3t netbook is running MeeGo "1.2" alpha where
Linux meegolem 2.6.37-7.28 #1 SMP PREEMPT Tue Feb 22 03:55:51 UTC 2011
i686 i686 i386 GNU/Linux == meego-netbook-ia32-1.1.90.4.20110222.2.img

Why would I be posting stuff to the MeeGo lists about a different OS?
Other than my recent gentle prodding to take a look at stability and
UX of Fedora15/Gnome3 on the same netbook in order to remain
competitive:
http://lists.meego.com/pipermail/meego-community/2011-March/003628.html
ANd of course my "meego" looks a little different than most people's
since I am now successfully using Fedora14/RPMFusion/PlanetCCRMA RPMs
in MeeGo 1.2 ( 
http://lists.meego.com/pipermail/meego-community/2011-March/003628.html
and the last half of
http://lists.meego.com/pipermail/meego-community/2011-March/003621.html
)

> graphics interrupts. Seems like something is requesting interrupts from the
> gpu.

Xorg is always spinning just a little even when I'm interacting w/ the
netbook over SSH from desktop -- it's not like there's a clock
updating it's second hand or anything else that's moving on the
screen, but you see
  387 npm       20   0 17852 8544 5112 S  0.3  1.0   0:08.05 Xorg
And also you see stuff like this all the time -- as if the touch panel
is active even when
I'm not using the netbook's display or touchscreen:
100.0%  USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller
(Cando Corporation)

> apart from that, the suggestion was recently changed to ask for
> CONFIG_INOTIFY_USER instead of CONFIG_INOTIFY, since that option no longer
> exists in the kernel config. Check if your kernel has this option enabled
> instead. This will hopefully make it into a new release soon.

I'm looking forward to the a final release of 1.2 with all the bugs
fixed and the performance tuned to the netbook.

-- NIels
http://nielsmayer.com


PS: here's some notes I took on powertop and observations:
.......................
Powertop on MeeGo 1.2

Note that I ran all the suggestions on powertop to
(1) "Suggestion: Enable Device Power Management by pressing the P key"
(2) "Suggestion: Enable USB autosuspend for non-input devices by
pressing the U key" and warns
"A USB device is active 100.0% of the time:
USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller (Cando
Corporation)"


before:
....................
Recent USB suspend statistics
Active  Device name
  0.0%  USB device  3-2 : Bluetooth Module BCM92070 (Broadcom Corp)
100.0%  USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller
(Cando Corporation)
  0.0%  USB device  1-8 : Lenovo EasyCamera (Chicony Corp.)
  0.0%  USB device usb5 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb4 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
100.0%  USB device usb3 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb2 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb1 : EHCI Host Controller (Linux 2.6.37-7.28 ehci_hcd)
....................

after:
....................
Recent USB suspend statistics
Active  Device name
  0.0%  USB device  3-2 : Bluetooth Module BCM92070 (Broadcom Corp)
100.0%  USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller
(Cando Corporation)
  0.0%  USB device  1-8 : Lenovo EasyCamera (Chicony Corp.)
  0.0%  USB device usb5 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb4 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
100.0%  USB device usb3 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb2 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb1 : EHCI Host Controller (Linux 2.6.37-7.28 ehci_hcd)
....................


(3) "Disable Ethernet Wake-On-Lan with the following command:
  ethtool -s eth0 wol d
Wake-on-Lan keeps the phy active, even when the system is turned off."

(doesn't seem to do anything, prob because 'ethtool' not installed)

(4) "Suggestion: Enable SATA ALPM link power management via:
  echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
or press the S key."


before:

....................
Recent SATA AHCI link activity statistics
Active  Partial Slumber Device name
100.0%    0.0%    0.0%  INTEL SSDSA2M080m
....................

after:
....................
A SATA device is active 2.6% of the time:
INTEL SSDSA2M080

Recent SATA AHCI link activity statistics
Active  Partial Slumber Device name
  0.0%    0.0%  100.0%  INTEL SSDSA2M080
....................

(I wonder if this'll keep the SSD from sucking down as much power as
it does -- it really decreases battery life)

..............................................
Overall results:

meegolem-98-~> sudo powertop -d
PowerTOP 1.13   (C) 2007 - 2010 Intel Corporation

Collecting data for 15 seconds


Your CPU supports the following C-states : C1 C2 C4
Your BIOS reports the following C-states : C1 C2 C4
Cn                Avg residency
C0 (cpu running)        ( 0.0%)
polling           0.0ms ( 0.0%)
C1 mwait          0.1ms ( 0.0%)
C2 mwait         13.2ms (101.3%)
C4 mwait          0.0ms ( 0.0%)
P-states (frequencies)
  1.67 Ghz     4.1%
  1333 Mhz     0.4%
  1000 Mhz    95.5%
Wakeups-from-idle per second : 78.8     interval: 15.0s
no ACPI power usage estimate available
Top causes for wakeups:
  31.2% ( 32.5)   [ath9k] <interrupt>
  23.1% ( 24.1)   kworker/0:0
  11.3% ( 11.7)   [kernel core] hrtimer_start (tick_sched_timer)
  10.7% ( 11.1)   [kernel scheduler] Load balancing tick
   9.6% (  9.9)   [kernel core] ath_ani_calibrate (ath_ani_calibrate)
   4.8% (  5.0)   syndaemon
   3.8% (  3.9)   [ahci] <interrupt>
   0.9% (  0.9)   kworker/u:1
   0.6% (  0.6)   watchdog/0
   0.5% (  0.5)   [eth0] <interrupt>
   0.5% (  0.5)   [Rescheduling interrupts] <kernel IPI>
   0.5% (  0.5)   sshd
   0.5% (  0.5)   emacs
   0.3% (  0.3)   [Function call interrupts] <kernel IPI>
   0.3% (  0.3)   [kernel core] sk_reset_timer (tcp_write_timer)
   0.3% (  0.3)   watchdog/1
   0.3% (  0.3)   btrfs-transacti
   0.2% (  0.2)   kworker/1:1
   0.1% (  0.1)   wpa_supplicant
   0.1% (  0.1)   btrfs-submit-0
   0.1% (  0.1)   syslogd
   0.1% (  0.1)   [kernel core] neigh_add_timer (neigh_timer_handler)
   0.1% (  0.1)   tracker-miner-f
   0.1% (  0.1)   gconfd-2
   0.1% (  0.1)   btrfs-genwork-0
   0.1% (  0.1)   dsme
   0.1% (  0.1)   btrfs-worker-0
   0.1% (  0.1)   init

A SATA device is active 0.4% of the time:
INTEL SSDSA2M080

A USB device is active 100.0% of the time:
USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller (Cando
Corporation)

Disable Ethernet Wake-On-Lan with the following command:
  ethtool -s eth0 wol d
Wake-on-Lan keeps the phy active, even when the system is turned off.

Suggestion: Enable the CONFIG_INOTIFY kernel configuration option.
This option allows programs to wait for changes in files and directories
instead of having to poll for these changes

Recent USB suspend statistics
Active  Device name
  0.0%  USB device  3-2 : Bluetooth Module BCM92070 (Broadcom Corp)
100.0%  USB device  3-1 : Cando 10.1 Multi Touch Panel with Controller
(Cando Corporation)
  0.0%  USB device  1-8 : Lenovo EasyCamera (Chicony Corp.)
  0.0%  USB device usb5 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb4 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
100.0%  USB device usb3 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb2 : UHCI Host Controller (Linux 2.6.37-7.28 uhci_hcd)
  0.0%  USB device usb1 : EHCI Host Controller (Linux 2.6.37-7.28 ehci_hcd)

Runtime Device Power Management statistics
Active  Device name
100.0%  11:08.0 Ethernet controller: Intel Corporation 82552 10/100
Network Connection
100.0%  07:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express)
100.0%  00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA
AHCI Controller
  0.0%  00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2
EHCI Controller
  0.0%  00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB
UHCI Controller #4
100.0%  00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB
UHCI Controller #3
100.0%  00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB
UHCI Controller #2
  0.0%  00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB
UHCI Controller #1
100.0%  00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High
Definition Audio Controller
100.0%  00:02.0 VGA compatible controller: Intel Corporation N10 Family
Integrated Graphics Controller
100.0%  00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge

Devices without runtime PM
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1
00:02.1 Display controller: Intel Corporation N10 Family Integrated
Graphics Controller

Recent audio activity statistics
Active  Device name
  0.0%  hwC0D0 Conexant CX20582 (Pebble)

Recent SATA AHCI link activity statistics
Active  Partial Slumber Device name
  0.4%    0.0%   99.6%  INTEL SSDSA2M080

..............................................

Kernel messages from doing this:

Mar  2 10:44:36 meegolem klogd: [  263.074601] uhci_hcd 0000:00:1d.0:
PCI INT A disabled
Mar  2 10:44:36 meegolem klogd: [  263.076777] uhci_hcd 0000:00:1d.3:
PCI INT D disabled
Mar  2 10:44:36 meegolem klogd: [  263.077853] ehci_hcd 0000:00:1d.7:
PCI INT A disabled

Note that on reboot, you need to re-run all the powertop suggestions
again.  They're not sticky. Why aren't these settings run out of
/etc/init.d/??

.......................
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to