View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#101
You can stop now, we have located the problem.

With KP settings:

Code:
C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   0.2% |          |  1150 MHz |   nan% |
     C1 |   0.0% |    0.3ms | 
     C2 |   3.3% |    9.4ms | 
     C3 |   4.2% |  104.3ms | 
     C4 |  92.3% | 1730.5ms |
Code:
Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    sgx |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    per |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)
    dss |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    cam |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
   core |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)
   neon |OFF:  92%|RET:   4%|INA:   3%| ON:   0%| now:(ON)
    mpu |OFF:  92%|RET:   4%|INA:   3%| ON:   0%| now:(ON)
   iva2 |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)
Code:
Total wakeups   520,  17.3/s | IRQ  404,  13.5/s | Timers  116,   3.9/s
HW wakeups        3,   0.1/s |     Real gp_timers expired   54,   1.8/s
Without KP settings:

Code:
C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   0.2% |          |  1150 MHz |   nan% |
     C1 |   0.0% |    0.2ms | 
     C2 |   0.2% |    2.4ms | 
     C3 |   2.9% |  215.9ms | 
     C4 |  96.7% | 2903.8ms |
Code:
Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    sgx |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    per |OFF:  96%|RET:   3%|INA:   0%| ON:   0%| now:(ON)
    dss |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    cam |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
   core |OFF:  90%|RET:   5%|INA:   0%| ON:   3%| now:(ON)
   neon |OFF:  91%|RET:   6%|INA:   1%| ON:   0%| now:(ON)
    mpu |OFF:  91%|RET:   6%|INA:   1%| ON:   0%| now:(ON)
   iva2 |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
Code:
Total wakeups   276,   9.2/s | IRQ  225,   7.5/s | Timers   51,   1.7/s
HW wakeups       24,   0.8/s |     Real gp_timers expired   30,   1.0/s

You will notice while the results are not that significantly different, there is a shitload more DMA activity and IRQing going on when KP-settings is installed. While the CPU is not hammering some hardware on the n900 is. Notice the extra 100% ONs in the power domain table for with KP settings.

Also, 2900mS sleep? HOLY ****! ultimate power saving!

There is an ancient bug in KP settings. I had issues with KP settings since version 26. I never figured out why it caused all these wake ups I just know in some circumstances it does.

This is why I do not use KP settings. I have the script extracted from the deb so I can quickly load/unload settings but it does not do the whole startup thing, I do that from an Xsession script.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 5 Users Say Thank You to vi_ For This Useful Post: