|
2011-09-05
, 16:08
|
Posts: 1,729 |
Thanked: 388 times |
Joined on Jan 2010
@ Canada
|
#62
|
To anyone wishing to use a different active profile:
1. Save the profile you want to use by:
kernel-config save xxx
2. leafpad /usr/local/bin/overclock
3. Replace the top most two lines starting by kernel-config with:
kernel-config load xxx
The Following User Says Thank You to gabby131 For This Useful Post: | ||
|
2011-09-05
, 16:11
|
Posts: 144 |
Thanked: 68 times |
Joined on Mar 2011
@ a spot
|
#63
|
|
2011-09-05
, 16:12
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#64
|
The Following 2 Users Say Thank You to don_falcone For This Useful Post: | ||
|
2011-09-05
, 16:20
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#65
|
Ready to install:
Place CPUTweak.sh.txt and CPUTweak.tar in ./MyDocs
NOTE: The frequency set here is starving at 250 500 while idle, and 500 1150 ideal when on usage.Code:root apt-get install dbus-scripts sh /home/user/MyDocs/CPUTweak.sh.txt
BE CAREFUL: IF YOU THINK/KNOW THAT YOUR N900 CAN'T SURVIVE THESE SETTINGS, BE SURE TO EDIT THE FREQUENCIES IN /usr/local/bin/overclock and underclock FILES, OR WELCOME A REBOOT LOOP
This is really a brilliant idea GigaByte, wonder why I've never thought aboout it, using dbus-scripts for a noble act like this is really intelligent, bravo
-UPDATE-
I added the effective vfs cache pressure trick into this patch, gives far even better battery life.
Updated archive attached.
-UPDATE2-
Usage of process SIGSTOP to pause greedy processes from running in the background.
Updated archive attached.
#!/bin/sh # Default value in case we don't have a swappolube config saved with 'vfs_cache_pressure' option value. VFS_CACHE_PRESSURE=100 # Loading saved swappolube 'vfs_cache_pressure' value if it exist in /etc/event.d/tuning. if $(grep vfs_cache_pressure /etc/event.d/tuning 1>/dev/null 2>&1) ; then VFS_CACHE_PRESSURE=$(grep vfs_cache_pressure /etc/event.d/tuning | awk '{print $2}' | sed 's|"||g') fi kernel-config load ideal kernel-config limits 500 1150 echo ${VFS_CACHE_PRESSURE} > /proc/sys/vm/vfs_cache_pressure for process in browserd scim-panel-gtk image-viewer do /usr/bin/pkill -CONT $process done
|
2011-09-05
, 16:25
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#66
|
Ok, I see you can overlap swappolube 'vfs_cache_pressure' value if it exist in saved swappolube configuration as default, and differ from the static value you put in 'overclock' script.
What about this modification ? :
Code:#!/bin/sh # Default value in case we don't have a swappolube config saved with 'vfs_cache_pressure' option value. VFS_CACHE_PRESSURE=100 # Loading saved swappolube 'vfs_cache_pressure' value if it exist in /etc/event.d/tuning. if $(grep vfs_cache_pressure /etc/event.d/tuning 1>/dev/null 2>&1) ; then VFS_CACHE_PRESSURE=$(grep vfs_cache_pressure /etc/event.d/tuning | awk '{print $2}' | sed 's|"||g') fi kernel-config load ideal kernel-config limits 500 1150 echo ${VFS_CACHE_PRESSURE} > /proc/sys/vm/vfs_cache_pressure for process in browserd scim-panel-gtk image-viewer do /usr/bin/pkill -CONT $process done
|
2011-09-05
, 16:46
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#67
|
The Following 2 Users Say Thank You to ivgalvez For This Useful Post: | ||
|
2011-09-05
, 16:48
|
Posts: 915 |
Thanked: 57 times |
Joined on Jun 2011
|
#68
|
|
2011-09-05
, 16:57
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#69
|
what if smart reflex is enabled. then you cant give 1150 coz this will enter the reboot loop. does 500 1150 means that the phone will be at 500when its in rest and 1150mhz when its active? but we dont need 1150mhz always when phone is active like for chatting and all.
The Following 5 Users Say Thank You to ammyt For This Useful Post: | ||
|
2011-09-05
, 17:15
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#70
|
Well in this case, it depends on the amount of times you unlock your device...
@Estel
Sorry for popping in but,
karam has provided a battery patch which reduces vfs_cache_pressure to 10 while the device is idle, and back to 100 when it is active. Many users stated that this gave tremendous battery life including me, and this patch is integrated into ammyt's patch along with other goodies which will further increase battery life so...
The Following 5 Users Say Thank You to Estel For This Useful Post: | ||
Dbus-signals are sent - in my script - when the device is locked, and when it is unlocked. The locking/unlocking process should not take long
[NITDroid] [My Qtlockscreen Skins] [QBW HTC Sense on Your N900!] [CPU Power Control] [Debian Packaging] [Build Me!]
Youtube Channel - Subscribe!
Retired Dev - Thanks for all the fish!