Active Topics

 


Reply
Thread Tools
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:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#102
Originally Posted by freemangordon View Post
Will you give me some hint on how KPS correlate with the fact that:

# per |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| nowON)
# core |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| nowON)
# iva2 |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| nowON)


WTF?
I have absolutely no idea why KP settings occasionally causes the n900 to spazz out like mongo-tard. I think it is something to do with the scripts it runs at startup.

Anyway the evidence is clear. Remove KP settings, problem goes away. Re-install KP settings and it may eventually sometime come back.

I mentioned it around 1 year ago, no one cared. I just stopped using KP settings and thought nothing more of it after that.
__________________
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 3 Users Say Thank You to vi_ For This Useful Post:
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#103
vi_ you are the man, big thanks !! you make me laugh with some of your explanations
"Also, 2900mS sleep? HOLY ****! ultimate power saving!"

i have some questions:
- do you use kernel power?
- what brings me kernel power without kernel settings for the device performance?
- is it possible to oc the device and do the smart reflex thing without settings?

btw. thanks man!
 
panjgoori's Avatar
Posts: 1,237 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#104
yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
 
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#105
Originally Posted by panjgoori View Post
yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
my phone lost 100% in 9 hours, offline mode and standby !!
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#106
Originally Posted by StocChr View Post
vi_ you are the man, big thanks !! you make me laugh with some of your explanations
"Also, 2900mS sleep? HOLY ****! ultimate power saving!"

i have some questions:
- do you use kernel power?
- what brings me kernel power without kernel settings for the device performance?
- is it possible to oc the device and do the smart reflex thing without settings?

btw. thanks man!
- do you use kernel power?

Of course, the things pali and freeman have achieved recently make it essential for me.

- what brings me kernel power without kernel settings for the device performance?

If you copy the kernel power kernel-config script. For example copy kernel-config to a file called kernel in /usr/bin or something (be extremely careful or you will braek everything!) then un-install KP-settings you will still have kernel-config (now called kernel) available. The difference is it will not load at boot time.

PROCEED WITH CAUTION!

Only do the following if you KNOW your OC settings will not crash your device or you may endup with a boot-loop!

edit /etc/pmconfig. Here you can set your max/min clock speed and SR. As for setting allowed freqs and DSP freqs you need to stick a script in either event.d or Xsession that echos the appropriate values to the appropriate places. I used xsession, however you could just hi-jack an event.d script like the non gui swappolube event.

- is it possible to oc the device and do the smart reflex thing without settings?

See above.


However I must add none of this is compatible with anything else that muddles with your kernel settings (i.e. battery patch script and speed patch 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 3 Users Say Thank You to vi_ For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#107
Originally Posted by panjgoori View Post
yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
No it doesn't. KP49 is to the n900 as glass tables are to coprophagia.
__________________
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 User Says Thank You to vi_ For This Useful Post:
Posts: 896 | Thanked: 978 times | Joined on Feb 2011 @ Greece, Athens
#108
Originally Posted by StocChr View Post
and what was your solution?
removed kp49

must get kp48
 
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#109
i extracted "kernel-config" and "dsp" from the kernel-power-settings_0.13_armel.deb

i copied kernel-config and dsp to my device, ok!

and how must look my event.d file or the xsession file ( didn't do this before ) to load "kernel-config" and "dsp" on start up?
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#110
I AM IN NO WAY RESPONSIBLE FOR ANYTHING THAT OCCURS BY YOU FOLLOWING THESE INSTRUCTIONS! AT YOUR OWN RISK.

Well if you have extracted 'kernel-config' make a copy of it somwhere then uninstall KP-settings. Then copy kernel-config to /usr/bin.

Check kernel-config still works after uninstalling KP settings.
Check Your device can handle your 'dsp' profile ( no reboots etc).

If that works then as root enter this:

Code:
echo "#!/bin/sh" > /etc/X11/Xsession.post/80kernel-config
echo "sudo kernel-config load dsp" >> /etc/X11/Xsession.post/80kernel-config
Now reboot and cross your fingers. dsp profile should be loaded after boot.
__________________
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.

Last edited by vi_; 2011-11-30 at 12:05.
 

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


 
Forum Jump


All times are GMT. The time now is 13:05.