Hey guys I've got a question about kernel tunables and Tasker. I'll try to explain as best as I can since I'm usually horrible at it. My goal is to make Tasker change the CPU frequency to 422MHz minimum and maximum (and only one core online) whenever I launch my GBA emulator. As far as I know, each core are named CPU0, CPU1, CPU2 and CPU3 respectively. I can successfully make Tasker change the CPU0 settings, but I can't change anything for the others because most of the time they are offline and Tasker displays nothing in the frequency and governor tab. This isn't the problem though. What I want to ask is: if CPU0 minimum and maximum frequency are at 422MHz, does it make the device think that it's at 100% workload all the time and enable the other CPUs, which are NOT capped at 422MHz? I probably misunderstood how all of this works.
Thanks for your time!
Edit: I realize that I can simply manually change the settings everytime I want to open the emulator, but really this is just for convenience.
Sounds crazy if you want to do that... I use Trickster mod donate
You can do a save of a set profile and just restore that with the app. Should imagine tasker has the same function
Sent from my Nexus 5
zerosum0 said:
Sounds crazy if you want to do that... I use Trickster mod donate
You can do a save of a set profile and just restore that with the app. Should imagine tasker has the same function
Sent from my Nexus 5
Click to expand...
Click to collapse
Does it automatically do it per-app or you have to enable the profile before launching the app?
You do it before but it's a second of a job
Sent from my Nexus 5
Related
Hi
After some time using orginal Toshiba power saving settings I've found it's terrible slow and upractical using fingers, so I've came with an idea to make simple fast and finger friendly app that will allow me to change basic settings like:
CPU Speed
Wi-Fi speed
Backlight while on battery power
If someone wants to make better graphics for eg. buttons or icon feel free to contribute in this thread and I will think about using them
Nice app ! Hope you'll get someone to make some graphics because I think you desserve it
Maybe you could ask LeSScro
But I'm not sure how much slower it will be with added graphics
I'm not a good programer... Now loking for a way to control cpu via DVS1: driver so I can disable autoscaling
The app seems to be very useful!
I'll install it on my TG01 after I flash a new Rom on it.
Thanks for that app!
Does limiting the CPU actually make the battery last any longeR? When I had it throttled down, I didn't notice a difference :S
"Now loking for a way to control cpu via DVS1: driver so I can disable autoscaling"
I don`t think `Snapdragon`CPU have the ability to auto scale like `Intel Xscale`CPU can. I used Asus P535 before and I don`t need to touch the CPU setting for high or low CPU frequency it does it automatically, for example if the CPU needs more power it will throttle up and if its idle it will throttle down the CPU automatically.
@BIG K in TG01 it looks like this if You'll set Low performance then cpu intensive apps work slower but battery drain is lower if you'll set it to high then cpu reaches max speed and get's higher battery drain it's good for apps that always uses 100% cpu
@elder T Snapdragon CPU does have autoscaling and can be overclocked (look at Snapdragon Android devices forum and at HTC Leo (HD2) fo HD2 there is app to disable autoscaling and overclock cpu but for some unknown reasons works on Acer F1 and LG Expo but doesnt work on TG01.
nico101 said:
but for some unknown reasons works on Acer F1 and LG Expo but doesnt work on TG01.
Click to expand...
Click to collapse
Everybody has reported their oc'ed phones overheating. I wouldn't try it even if the app worked in tg01. Many use it to downclock for better battery life in which case we have the toshiba tool. Or nico101's
can you make a version how our enable wlan and bloototh? and a way to change skin? greets alcatras
I think it's possible to add enabling bt and wlan but it's rather pointles cause most of today replacements etc have this function with a quick access and with skins problem is that I'm not a good in making better graphics but if someone wants to do them I can replace ugly buttons with graphical ones
I know about overheating and I know that toshiba have even overheating warning in drivers that can warn or shutdown the phone... But disabling autoscaling and controling cpu frequency can be more exact not only setting our cpu to High perf. so it will autoscale from low to high when needed but making it stay on high perf.
Comes there no update from your great app?
Thx!
'Dzięki'
Very useful application!
Due to lack of time I've stopped development to find a way to disable autoscaling
Anyway program works like it should and there are no reasonable propositions what should I try to add
I don't think this program works.
I set the CPU speed to low, but it is indeed still actually set to high. I use this program primarily for back light purposes now. Is there any other program out there that can actually set the CPU to low mode? Using the Toshiba program is soo slow!
Just adding some additional information. When I use the Toshiba power utility and I set the cpu at slow from being previously at high, then when I play a movie it is choppy. When I set my cpu to low in this utility, the movie is still smooth. This utility doesn't do anything cpu related. I tell ya, If someone can produce a good CPU power/backlight utility, that would be really benafictial. We really, really need that, the Toshiba utility is SOOOOOO slow.
-Kilihari.
Weird... Try to change settings in my tool then check if Toshiba settings shows the same... From what I've researched TG01 takes CPU mode from registry values and I"m using and changing the sam values
Yes, it is true.... but still ....
It is indeed true that if you change the cpu mode to low or that it will show up that way in the Toshiba power management utility, however, it definitely does not change the actual CPU speed. Man, I really wish this utility worked, we so need a utility like this for the TG01, something that is finger friendly and fast.
I will look into powersave.exe again but first I need to finish polish version of WM6.5.5
Parameters to run as a script
Hello Nico,
thanks for this helpful and battery life time saving application. I am running it without any problem on my Toshiba TG01 for a weeks.
I have a question if there are (or you plan to add) parameters for starting up this application? I would like to set night script to set Low CPU automatically every night, how to achieve this?
Hi i have just tried this app and i gotta say it is amazing!! I use it as a Spb shortcut and i use it frequently to save battery! . Its fantastic and fast. I throttle down the power when i am not using the phone for intense apps (standby, music) than when i am browsing i use full speed. With this method, i have saved alot of battery.! thanks veey much!
Unfortunaetly i am sad to say i have the same problem as kilihari. The app doesnt seem to work. It works after a reboot, or after i change the settings, i have to open up the toshiba settings app, close it then the changes take place. I used benchmark test to test it and i also notice a lag in spb. Its a shame as i highly anticipated this app for fasy access to toggling swithces.
i hope nico could provide us with a update, but unfortunately he has moved on to android.
Anyone want to take the job up?
Sent from my GT-P1000 using XDA App
Hi Guys
Is there an app that monitors the cpu frequency in real time?
I am trying out a new battery tweaking app that scales the speed of the processor and I just want to be able to see the real time speed.
CPUStatusLED
forum.xda-developers.com/showthread.php?t=747783
lukaszg said:
CPUStatusLED
forum.xda-developers.com/showthread.php?t=747783
Click to expand...
Click to collapse
I couldn't find it in either the forum or the marketplace, could you post a link?
SetCPU offers a real-time monitoring widget.
If anyone doesn't have this app for CPU over/under clocking, you probably use NoFrills CPU because SetCPU costs money. But you may want to consider buying it after the latest update.
Besides spcific profiles for time of day, screen off, and in call, where you can set CPU freuencies under those conditions, the latest update has added APP SPECFIC profiles!
This means you can keep your CPU underclocked for basic use, but when it comes time to game, say for FPSE, you can just make a profile to overclock the CPU whenever FPSE is actively running. No more manually changing it when you want that extra boost!
Really makes things easy.
I create this topic for information and stop asking the same questions on developers threads. Becouse many of people asking how boost up his phone and get more free memory.
In many threads I can see questions like "My phone gets laggy when it wake up.", "My phone after install ICS are slowed". That's can be, because many of us use app's like task killer or phone is just littered. Task killers in fact dosen't boost up your phone - it's only placebo effect. I'll try to explain something.
This is nonsense! Task Killer does not help significantly extend battery life, no use to speed up application startup or most of the services to which the theory, as described, has come in handy.
Among the members there is a mistaken belief that only free RAM will speed up your system. This legend is a denizen of the times of old systems such as Windows 98 or XP, which actually had some influence. New systems such as windows 7 or Android intentionally cache memory to speed up the service most frequently used programs. At the time when we want to take advantage of another and not for the memory system will complete the other processes - in anything he does not need help.
Manually release the RAM can not be anything here. In a moment, the system will use the free memory with another program, for example - a completely unnecessary and contrary to our purpose - Task Killer, which we used to release the RAM after all do not give us a needed effect!
Moreover, by doing so quickly, it appears that the Task Killer himself consumes more memory and the battery than our smartphone applications running in the background, that we wanted to get rid of! This vicious circle can be especially annoying if you decide to including the option of automatic removal of applications running in the background. I recommend skeptics at the end of the day to see how much battery consumed by Task Killer... Effects can be really intresting. So you still want to use Task Killers? Yes? At the end I'll show you something - several facts of RAM in Android:
Android intentionally caches RAM applications and services
Manual removal processes free the memory for a moment - it will soon be allocated to another program
Improper removal of automation of processes in Task Killerz may result in more rapid wear of the battery and unnecessary processor usage
Resource usage when running Android itself will close several processes to allow the newly launched operate at full capacity
Click to expand...
Click to collapse
Task Killer may be helped when we need to check which application consume battery and processor - but not in the daily work.
In ICS memory management and performance is really good - we don't need to use Task killers at all.
Next is lags when phone wake up from deep sleep mode. Yep - that's in fact that deep sleep mode in our ICS gets phone laggy sometimes. But here is simple solution which I write many times in other topics you just must:
Go to Settings -> Performance -> Processor, and now change grovernor to ONDEMAND or INTERACTIVE (in many phones INTERACTIVE work perfect), then you must set minimum CPU frequency to 368MHz. That's all! Your phone when wake up will have no more lags. Simple, isn't it?
Click to expand...
Click to collapse
I'll try to update the topic to date. Cheers.
reversed for V6SuperScriptCharger description for our phones and ICS
but the battery drain will be worse if i set min cpu freq at 368 mhz ?!
task killers may be counterproductive though it is wrong to say, that androids ram management is good. when it needs memory it can kill apps you may need while it thinks other apps you don't really need right now are too important to kill. so it happens that too much ram is used or the system doesn't give enough ram to an app and the phone starts to lag. in this situation it really helps to kill some background apps which i do manually.
thanks for share.
haribo318 said:
but the battery drain will be worse if i set min cpu freq at 368 mhz ?!
Click to expand...
Click to collapse
No. In deep sleep phone don't use it. 368MHz is really optimal setting. I have it on my phone and battery is really god. In normal use my phone withstand 2-3 days. Wifi, calling, messaging, sometimes small games and internet browsing.
Harrocan said:
No. In deep sleep phone don't use it. 368MHz is really optimal setting. I have it on my phone and battery is really god. In normal use my phone withstand 2-3 days. Wifi, calling, messaging, sometimes small games and internet browsing.
Click to expand...
Click to collapse
ok nice i will try which rom are you using.
cm9 by arco and which build or by ivendor ?
haribo318 said:
ok nice i will try which rom are you using.
cm9 by arco and which build or by ivendor ?
Click to expand...
Click to collapse
I'm use CM9 build6 by arco. Now i'm gonna test beta1 by Ivendor
Harrocan said:
I'm use CM9 build6 by arco. Now i'm gonna test beta1 by Ivendor
Click to expand...
Click to collapse
ok could you test which you think is smoother and which hast the longest battery time ?
haribo318 said:
ok could you test which you think is smoother and which hast the longest battery time ?
Click to expand...
Click to collapse
I'll try.
Thanks for the post, it's really interesting.
I realized myself battery drain is lower when not using the task killer app.
I adjusted my settings and i'll see if "interactive" works better than "ondemand".
I'll wait for more info in this thread.
Alpha120 said:
Thanks for the post, it's really interesting.
I realized myself battery drain is lower when not using the task killer app.
I adjusted my settings and i'll see if "interactive" works better than "ondemand".
I'll wait for more info in this thread.
Click to expand...
Click to collapse
interactive should be a little bit more battery friendly and faster.
Sorry, my bad. In first post should be interactive. I change this.
Sent from my GT-I9001 using xda app-developers app
Great Guide, it is definitly needed
tomsteel1 said:
The way linux works is slightly like Java, It does a rubbish collection once RAM Fills up. So Ive noticed once your system goes below 50mb's free of RAM, It will kill unnecessary apps, or wipe the cache.
The only real way to speed up our system (RAM wise) would be to either make ZRAM fully functional, Or a kernel with the RAM Swap feature.
Click to expand...
Click to collapse
Yes, you have right. But on this time we can't have this so i decide to write this guide. I'll add any good posts to 1st post to explain how it can be only possible or just for information
In my opinion setting the minimum frequency to a higher state can't be a solution. Maybe we should optimize the governors configuration like arco did a time ago while the wakeup lag was more aggressive with the interactive governor. I guess there is much more potential in those values if we adjust them correctly.
Unfortunately I don't want to screw my phone with wrong settings so I won't change those values as long as I can't be sure that they're safe.
If someone want to google or experiment by his own - feel free with no warranty
These are the default values for interactive and ondemand:
Governor: interactive
Values:
hispeed freq (1401600)
go hispeed load (85)
above hispeed delay (80000)
min sample time (80000)
timer rate (80000)
boost (0)
boostpulse (-1)
Governor: ondemand
Values:
sampling rate (50000)
up threshold (90)
down differential (3)
sampling down factor (1)
ignore nice load (0)
powersave bias (0)
io is busy (0)
I'll try to test something if I have the time
On demand !!
Harrocan said:
I create this topic for information and stop asking the same questions on developers threads. Becouse many of people asking how boost up his phone and get more free memory.
In many threads I can see questions like "My phone gets laggy when it wake up.", "My phone after install ICS are slowed". That's can be, because many of us use app's like task killer or phone is just littered. Task killers in fact dosen't boost up your phone - it's only placebo effect. I'll try to explain something.
This is nonsense! Task Killer does not help significantly extend battery life, no use to speed up application startup or most of the services to which the theory, as described, has come in handy.
Among the members there is a mistaken belief that only free RAM will speed up your system. This legend is a denizen of the times of old systems such as Windows 98 or XP, which actually had some influence. New systems such as windows 7 or Android intentionally cache memory to speed up the service most frequently used programs. At the time when we want to take advantage of another and not for the memory system will complete the other processes - in anything he does not need help.
Manually release the RAM can not be anything here. In a moment, the system will use the free memory with another program, for example - a completely unnecessary and contrary to our purpose - Task Killer, which we used to release the RAM after all do not give us a needed effect!
Moreover, by doing so quickly, it appears that the Task Killer himself consumes more memory and the battery than our smartphone applications running in the background, that we wanted to get rid of! This vicious circle can be especially annoying if you decide to including the option of automatic removal of applications running in the background. I recommend skeptics at the end of the day to see how much battery consumed by Task Killer... Effects can be really intresting. So you still want to use Task Killers? Yes? At the end I'll show you something - several facts of RAM in Android:
Task Killer may be helped when we need to check which application consume battery and processor - but not in the daily work.
In ICS memory management and performance is really good - we don't need to use Task killers at all.
Next is lags when phone wake up from deep sleep mode. Yep - that's in fact that deep sleep mode in our ICS gets phone laggy sometimes. But here is simple solution which I write many times in other topics you just must:
I'll try to update the topic to date. Cheers.
Click to expand...
Click to collapse
Please continue use ON DEMAND...i used interactive and that will kill Deep Sleep.....I set Cpu to 368 Mhz and it works perfect...
kingsnoopy said:
Please continue use ON DEMAND...i used interactive and that will kill Deep Sleep.....I set Cpu to 368 Mhz and it works perfect...
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I use Interactive..
Me too... What about "conservative"?
Obviously, I wont ask for "performance" nor "power save" as they are pretty self-explanatory.
Alpha120 said:
Me too... What about "conservative"?
Obviously, I wont ask for "performance" nor "power save" as they are pretty self-explanatory.
Click to expand...
Click to collapse
Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle. Conservative governor aims to dynamically adjust the CPU frequency to current utilization, without jumping to max frequency. The sampling_down_factor value acts as a negative multiplier of sampling_rate to reduce the frequency that the scheduler samples the CPU utilization. For example, if sampling_rate equal to 20,000 and sampling_down_factor is 2, the governor samples the CPU utilization every 40,000 microseconds.
I want to make the CPU do a lot of work. What sort of program is good to stress the CPU like that. I found this http://code.google.com/p/stressapptest/ but it is not for ARM. What I am trying to do here is to have the stress application run in the background and test an application that I have written in foreground. Dosen't mind if it is an apk or a c file. Any help is greatly appreciated...
Pretty sure SetCPU has a stress-tester built in.
Am looking for a free one..
SetCPU is free if downloaded from the XDA thread.
Are there any other stress testing mechanisms like a C program? Where I can run it in the background and test my application. I am changing the nice value of the processes and want to see the effect of changing nice values..
When there is a heavy background process running I expect the interactivity of the forground apps to be slow, so want to check if I change nice values would the ineractivity improve..
SetCPU seem to address the same issue by changing vlotages and I don't think I can use its as stress testing app to test mine.
Try CPUBurn
play.google.com/store/apps/details?id=net.danielroggen.cpuburn