CPU Governor - Galaxy S I9000 Android Development

The galaxy has a big jump from 400Mhz to 800Mhz. Is it possible by modifying the kernel to an intermediate step (600Mhz) or is the hardware limitation?
Thanks in advance

sorry edited :

fobas001 said:
Galaxy s have 1ghz cpu, wrong forum...
Click to expand...
Click to collapse
I think you should read the title... I mean the governor of the cpu. It has various speeds to save energy...

Yes. I beleive SetCPU can do this. I haven't tested though.

I think its possible, I've just added one scaling from 100,200,400,800,1000,1200

SetCPU can do that

soraxd said:
SetCPU can do that
Click to expand...
Click to collapse
Only with a stock kernel? So why I can only choose 100-200-400-800-1000 speeds? The ideal would be that it can be set to 600MHz, plenty of power for everyday use

You would have to change the cpu multiplier in order to get a frequency in that range.

You can't change it without adding 600 MHz in the source. SetCPU can only choose the speeds given to it by the source code. I wouldn't be too worried about it though. It only speeds up for as long as it needs to complete a task then it's usually back down to 100 MHz.

AJerman said:
You can't change it without adding 600 MHz in the source. SetCPU can only choose the speeds given to it by the source code. I wouldn't be too worried about it though. It only speeds up for as long as it needs to complete a task then it's usually back down to 100 MHz.
Click to expand...
Click to collapse
That is the question. The more intensive use it is when I use the web browser. And would have the necessary fluidity 600Mhz spending less to have it running a while to 800Mhz.
Anyway I see that the overclock is the same as a PC, with the difference of having to modify the kernel. Time will tell if any of those that modify the kernel have the same need and put it.
PD. Google Translate rules...I'm spaniard...

braintheboss said:
The galaxy has a big jump from 400Mhz to 800Mhz. Is it possible by modifying the kernel to an intermediate step (600Mhz) or is the hardware limitation?
Thanks in advance
Click to expand...
Click to collapse
Hello !
A good CPU governor is design to get most CPU performance and save energy without altering too much reactivity (=introducing latency)
This is why the governor jump "as quick as possible" to high frequencies.
BTW, the quickest the CPU calculates the operation asked, the sooner it can go back to deep sleeping states.
Setting a maximum cpu frequency other than 1GHz (800MHz, 600...) is counter productive.
You'll loose both speed and autonomy because the CPU won't be so often in deepest power saving states.
(you'll find many studies about this )

Related

Pocket CPU and cool'n'quiet - is it possible?

Good afternoon!
Many modern processors have such a feature as AMD calls like "Cool'n'Quiet", which automatically decreases work CPU frequency if CPU has no "work" to do and as a consequence, we have less power consumption. Read more here. I just got a thought: what if it's possible on Quallcomm or other CPUs? Battery life would be longer, isn't it?
I have Xperia X1, so I'm interested in Quallcomm, but I know that Quallcomm processors can't be overclocked and therefore MAYBE their frequency can't be lower also. But I have some doubts and want to hear some professional opinions.
Thank you very much in advance!
XCPUSCalar i think it is. A CPU overclocking utility that allows you to adjust the CPU frequency when load increases
There's been a stack of reports of the X1 CPU running at lower than 528MHz so I assume it already underclocks automatically
Aegishua said:
XCPUSCalar i think it is. A CPU overclocking utility that allows you to adjust the CPU frequency when load increases
Click to expand...
Click to collapse
It's an OVERclocking utility, which Quallcomm doesn't support. But is there anything to make Quallcomm DYNAMICALLY DEcrease its frequency?
Leddy said:
There's been a stack of reports of the X1 CPU running at lower than 528MHz so I assume it already underclocks automatically
Click to expand...
Click to collapse
Do you have any links to it? Post it please... it's really interesting...

[Q] Original ROM's CPU freq scaling range

Hi, just wanted to know what is original HTC's ROM CPU scaling range and what is its CPU governor. My guess is 245-528, ondemand - is that correct?
Sorry, I don't know myself, but I'd like to know this too! I've just installed JokerDroid on mine, and I want to set it to stock frequencies so I can improve the battery life.
I'm using 352-691 ondemand, but I think 748 is ok too.
I think the min is 352MHz. But again, I am not so sure. (I arrived at this value when I was on the Stock ROM and used Android System Info which shows the various CPU frequencies and the time periods they operate on that frequency)
zigee said:
I'm using 352-691 ondemand, but I think 748 is ok too.
Click to expand...
Click to collapse
Isn't the max. for this device "528"
xXxeXtreme said:
Isn't the max. for this device "528"
Click to expand...
Click to collapse
Custom ROM's (Or, more appropriately - Custom Kernels) allow you to set a CPU Speed upto 768MHz.
BUT - The performance increase is not as great as the speed increase shows. So, if you do overclock, don't keep huge expectations.
zigee said:
I'm using 352-691 ondemand, but I think 748 is ok too.
Click to expand...
Click to collapse
I am running on 710 max, some people run on 768 max. But apparantly it is phone related because some people can perfectly run on 768 whilst I read a few days ago from a person here whose wildfire started force closing things around 710 or one higher or so.
Try a bit yourself which works for you. There are benchmarks that you can let run to see how often an error will occur approximately I have no link myself but I know a bud of mine did that to try how high he could go
At 691, some apps force closed, so I'm back to 595. It was stable for me.
gues that the 352MHz is the stock minimum then. There should be a noticable battery life increase when 122MHz is my current IDLE clock huh?
Now Iam running 122-710MHz on stock HTC ROM, very stable. If I set the frequency above 710MHz the scaling become unstable uner LOAD sometimes and dropping to 480MHz.
Using jacob kernel v4.

overclocking - my questions for understanding

So I thought about overclocking. I never overclocked any CPU by now. No PC cpus, no mobile cpus
I just always read: Do not overclock! More heat production, more energy costing and of course: probably decrease device life-time and may damage the phone.
On the opposite there is: more cpu-power. WFS seems to be able to get OC'd to 800 MHz (which is 200 above standard and only 200 below Desire)
So, what can you tell me about the above conclusions?
Next question: Do I need overclocking, or is it just to win a p.... length comparing ?
I'm on stock European rom 2.3.5. I know I need custom kernel. which one I could use, how to flash? Which apps do I need furthermore?
theq86 said:
So I thought about overclocking. I never overclocked any CPU by now. No PC cpus, no mobile cpus
I just always read: Do not overclock! More heat production, more energy costing and of course: probably decrease device life-time and may damage the phone.
On the opposite there is: more cpu-power. WFS seems to be able to get OC'd to 800 MHz (which is 200 above standard and only 200 below Desire)
So, what can you tell me about the above conclusions?
Next question: Do I need overclocking, or is it just to win a p.... length comparing ?
I'm on stock European rom 2.3.5. I know I need custom kernel. which one I could use, how to flash? Which apps do I need furthermore?
Click to expand...
Click to collapse
No it's not just for a pissing contest.
Jikantaru's new kernel will allow you to set your clock to vary between 120 Mhz and 806 Mhz although 787 Mhz tends to work for those unlucky enough to have phones that freeze up at 806 Mhz.
The CPU doesn't run balls out all the time. It speedsteps as needed to save battery power.
You flash the kernel that you download to your SD card through CWM Recovery's Install zip from SD card feature.
Reboot and you now have Ext4 support for Link2SD, etc, and overclocking capabilities as well as a host of other kernel tweaks to handle memory management, etc.
As far as programs to set the clock with? SetCPU, Rom Toolbox, Nofrills CPU, Antutu CPU, etc.
I would choose "Smartass" as your governor and 120 and 806 as your min and max CPU settings and choose to set it at boot.
That's just my preference.
I personally bought Rom Toolbox Pro and manage the CPU settings through it.
It's got a host of other cool features all in one place and jrummy updates it very often with new fixes, features, etc.
thanks for that.
so what about damaging the cpu or the device? is there nothing to worry about?
and what is a govener? do I need it in addition to setcpu ?
theq86 said:
thanks for that.
so what about damaging the cpu or the device? is there nothing to worry about?
and what is a govener? do I need it in addition to setcpu ?
Click to expand...
Click to collapse
The governor is the method by which the phone plans it's stepping up and down of frequencies. Smartass is a tried and true good combination of power savings and stepping to the plate with high clock frequencies when needed.
No you won't need anything extra. It's one of the settings in any of those programs.
Sorry for asking again:
It won't damage my device or burn the cpu as overclocking a normal PC CPU would do?
edit: using nofrills now. Seems to work.
theq86 said:
Sorry for asking again:
It won't damage my device or burn the cpu as overclocking a normal PC CPU would do?
edit: using nofrills now. Seems to work.
Click to expand...
Click to collapse
Overclocking comes with no promises man. Mine's been overclocked since August so that's all I have to go on.
There is always a danger or risk when overclocking. The manufacturers determine the safe frequencies, temperatures, voltage, etc. based on scientific experiments in different environments. However, with that said, obviously, they are not infallable either. The best way to determine your risk is to think about what conditions you'll be using it in the most and what kind of stress it'll put on your phone's internals. Do some research and see what other people have problems with and under what kind of stress was the phone. Use common sense. Things like raising voltage and frequencies raise the temperature of the phone's internals, also. So, in turn, do you also have a case on the device that retains heat? Do you live in an humid/dry or warm/cold area? Do you do a lot of multitasking? Are you constantly on it? Hope this helps.
Sent from my myTouch_4G_Slide using XDA App

Undervolting??

Has anyone tried to undervolt his Note 8?
I'll be undervolting my N5110 soon...
So, am I the first one to it or what?
Please share your sets.
Here's my settings. I run CivZ ROM with built-in kernel
I messed with the same rom... yes I undervolted and overclocked and done as much as I could do. Went back to 4.2.2 stock and still get about the same performance, and battery life. One thing that I could not live without, is my 64gb SD card. Too many issues with FAT32 and my music and video files. EXFAT is the only way to go with 64gb SD cards. With my stock ROM, I get 8 to 10 percent every hour, and 15 percent every hour playing HD video through miracast to my TV.
I'm doing it right now, following this guide (not as closely as I should, most likely).
@Alastor_ru : how did you get your values? Mine are generally lower, besides the fact that Voltage Control allows 850 mV as a minimum.
Thanks, but what about the higher freq's voltages
I think that you have up to 1.9 GHZ or 1.8 at least
@bradipovsky, that's the same guide I will follow
bradipovsky said:
@Alastor_ru : how did you get your values? Mine are generally lower, besides the fact that Voltage Control allows 850 mV as a minimum.
Click to expand...
Click to collapse
I use SetCPU, it has 600mV as a minimum.
I perform several steps while set voltage to lower and lower values and stop to play with it, when I get my current settings. As I noticed, the biggest power eater is the screen, so undervaluing doesn't bring the big savings
AhmadLight said:
Thanks, but what about the higher freq's voltages
I think that you have up to 1.9 GHZ or 1.8 at least
Click to expand...
Click to collapse
I don't use the highest freq's, cause it's not needed for me. I limit the highest CPU freq to 1GHz.
Alastor_ru said:
I use SetCPU, it has 600mV as a minimum.
I perform several steps while set voltage to lower and lower values and stop to play with it, when I get my current settings. As I noticed, the biggest power eater is the screen, so undervaluing doesn't bring the big savings
I don't use the highest freq's, cause it's not needed for me. I limit the highest CPU freq to 1GHz.
Click to expand...
Click to collapse
Well, 8" of screen of course don't help the battery I'm doimg it mainly to limit the heating, so high frequencies are the most important. I think it's a better option than underclocking, but that's just my opinion.
I'll share my values later, but I don't think they're ideal yet.

Kernel Related

Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Deep.cdy said:
Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Click to expand...
Click to collapse
You should try them and find out the most suitable for you, use them for 1-2 days, you'll see the difference.... personally, I'm using NoName kernel with RR
NoName for Lineage based.
Deep.cdy said:
Which kernel is best for performance?(for Whyred)
1. Black box
2.no name
And many out there???
Suggestions please.
Thanks in advance.
Click to expand...
Click to collapse
i think currently is noname.
we hope a bunch of recognised developers in the near future as franco as many others.
Kirks, for battery...
Dude unlocked the lower cpu freqs...
m666p said:
Kirks, for battery...
Dude unlocked the lower cpu freqs...
Click to expand...
Click to collapse
It operates on lower Volts using this unlocked freqs?
peter-k said:
It operates on lower Volts using this unlocked freqs?
Click to expand...
Click to collapse
God knows, but what I do know is that it should produce less heat at the very least and it performs pretty gud on powersave governor. The gpu on the other hand is garbage at min freq (160mhz), even the launcher lags....
peter-k said:
NoName for Lineage based.
Click to expand...
Click to collapse
But after flashing no name 1.3 the WiFi doesn't work for me on rr 12th June
Deep.cdy said:
But after flashing no name 1.3 the WiFi doesn't work for me on rr 12th June
Click to expand...
Click to collapse
Mine was fine but now I'm on Aosip.
i think for now the best is to use a stock kernel, be careful with the charging limits.
peter-k said:
It operates on lower Volts using this unlocked freqs?
Click to expand...
Click to collapse
m666p said:
God knows, but what I do know is that it should produce less heat at the very least and it performs pretty gud on powersave governor. The gpu on the other hand is garbage at min freq (160mhz), even the launcher lags....
Click to expand...
Click to collapse
Of course it operates at lower voltage as it's a lower frequency and requires less power draw. Lower voltages should mean lower heat, however you don't magically get that lower freqs to operate, you need to tweak the interactive governor to make use of them all efficiently. So far I'm on Kirks kernel and AOSiP and it's a quite good combo.
The lag is not caused by low GPU freqs, it's because of low CPU freqs for that particular load, so governor tweaking is needed.
Cirra92 said:
Of course it operates at lower voltage as it's a lower frequency and requires less power draw. Lower voltages should mean lower heat, however you don't magically get that lower freqs to operate, you need to tweak the interactive governor to make use of them all efficiently. So far I'm on Kirks kernel and AOSiP and it's a quite good combo.
The lag is not caused by low GPU freqs, it's because of low CPU freqs for that particular load, so governor tweaking is needed.
Click to expand...
Click to collapse
Lol, I tested what you said out. Because you said it with such confidence...
I changed the cpu governor to performance and set the gpu to 160mhz max...
That made the experience a bit better but it would still lag a lot in recents and app launcher scrolling...
I've attached a screen shot to prove it too...
Another thing, just because the clock is lower does not mean that the voltage is lower as well, many devices that ive owned over the years have had the same voltage's for lower clocks( moto g2, Sony xperia z1)
And lastly, you should "magically" get those lower frequencies(if they are truly unlocked) since governors will always operate within the min/max frequencies that are set by the user or by default(unless it reverts parameters back to stock, like our device does on interactive)...
Forgot screenshot....
m666p said:
Lol, I tested what you said out. Because you said it with such confidence...
I changed the cpu governor to performance and set the gpu to 160mhz max...
That made the experience a bit better but it would still lag a lot in recents and app launcher scrolling...
I've attached a screen shot to prove it too...
Another thing, just because the clock is lower does not mean that the voltage is lower as well, many devices that ive owned over the years have had the same voltage's for lower clocks( moto g2, Sony xperia z1)
And lastly, you should "magically" get those lower frequencies(if they are truly unlocked) since governors will always operate within the min/max frequencies that are set by the user or by default(unless it reverts parameters back to stock, like our device does on interactive)...
Click to expand...
Click to collapse
First of all, we are talking here about difference in voltage between stock minimum freq for big cluster, which is 1.1ghz and actual possible minimum which is 300mhz, and there is a difference in voltage, that was the point. The devices I owned, S5 and Z3compact had more CPU steps, therefore the difference between some of the steps was really small or there wasn't any, but the CPU scaling made a jump to the freq with bigger difference (higher or lower, that was the stock behavior so some freqs weren't used). Here it might use all of the freq steps as there are less of them and the difference in voltage is significant enough, which might be the case, I said that because of my experience with previous devices. But you've missed the point anyway, I have said that even if unlocked, some freqs won't be used just because they are there if the governor parameters aren't set properly (or will be barely used). That was my point, I said that as a general note, so users won't jump the gun and blame devs for whatever.
And another one, regarding your test and lag with GPU, now I'm confused why would you set your max at 160mhz? I know it was for testing purposes in this case, but you did complain about it in original post and I said it won't lag because the max would still be set to 430mhz in which case the GPU freq scaling would do the job which it does very good so far. It would lag of course if you set max GPU freq to 160, but that's not what would you do for daily usage, right? Sorry if I misunderstood something.
Cirra92 said:
First of all, we are talking here about difference in voltage between stock minimum freq for big cluster, which is 1.1ghz and actual possible minimum which is 300mhz, and there is a difference in voltage, that was the point. The devices I owned, S5 and Z3compact had more CPU steps, therefore the difference between some of the steps was really small or there wasn't any, but the CPU scaling made a jump to the freq with bigger difference (higher or lower, that was the stock behavior so some freqs weren't used). Here it might use all of the freq steps as there are less of them and the difference in voltage is significant enough, which might be the case, I said that because of my experience with previous devices. But you've missed the point anyway, I have said that even if unlocked, some freqs won't be used just because they are there if the governor parameters aren't set properly (or will be barely used). That was my point, I said that as a general note, so users won't jump the gun and blame devs for whatever.
And another one, regarding your test and lag with GPU, now I'm confused why would you set your max at 160mhz? I know it was for testing purposes in this case, but you did complain about it in original post and I said it won't lag because the max would still be set to 430mhz in which case the GPU freq scaling would do the job which it does very good so far. It would lag of course if you set max GPU freq to 160, but that's not what would you do for daily usage, right? Sorry if I misunderstood something.
Click to expand...
Click to collapse
I kinda get what you mean, but the min freqs should kick in by default. They don't though on kirks, you need to change the governor to something like alucard or zzmove once before it actually starts clocking down to 300mhz...
On a side I would just disable the big. Cluster if I could, I don't really need that much cpu performance...
I was trying to find the min gpu freq that would be usable and I was disappointed, cuz my Sony z1 had a smooth ui experience with the gpu clocked at 200mhz max and that thing had a sd800...
Btw, I do all this to get better battery life...
I found out something else, I can't use power save governor any more because it can't handle audio processing(ainur, v4a) when the screen is off...
Just like my old z1, Lol...
Makes me think that the performance is really identical to the snapdragon 800...
I wonder how pissed I would be if a I got the redmi 5 plus, the 625 would have been even worse...
m666p said:
I kinda get what you mean, but the min freqs should kick in by default. They don't though on kirks, you need to change the governor to something like alucard or zzmove once before it actually starts clocking down to 300mhz...
On a side I would just disable the big. Cluster if I could, I don't really need that much cpu performance...
I was trying to find the min gpu freq that would be usable and I was disappointed, cuz my Sony z1 had a smooth ui experience with the gpu clocked at 200mhz max and that thing had a sd800...
Btw, I do all this to get better battery life...
Click to expand...
Click to collapse
m666p said:
I found out something else, I can't use power save governor any more because it can't handle audio processing(ainur, v4a) when the screen is off...
Just like my old z1, Lol...
Makes me think that the performance is really identical to the snapdragon 800...
I wonder how pissed I would be if a I got the redmi 5 plus, the 625 would have been even worse...
Click to expand...
Click to collapse
Yeah I agree, it should, but how much it stays on minimum freq is dependent on couple of governor parameters (talking about interactive). On mine though it does stay on 300mhz when idling, on stock Kirks settings. Big cluster can be disabled through new hotplug solution, like Intelliplug, which I used on my old devices, and it performed great, 1 core was active when screen was off, screen on and light usage required only 2 cores, while all 4 were active under heavy load. Here however there is only Qualcomm's hotplug solution, until that changes, no luck. Regarding GPU freq, I don't think any device would work smoothly under 200mhz, you can set 266mhz here, it will be smooth, I've tested today, on my old SD801 it performed at 233mhz IIRC.
I've seen that, V4A requires higher freq than 300mhz, or even 422mhz which SD801 had, it's more about the freq rather than the chipset, as I've read on multiple threads that even the devices with SD820 were struggling a lot when processing audio at 300mhz when the screen was off. Don't worry, it's a general issue. There is also the optimization of the rom and audio mods as well, background tasks, kernel, it all goes into the mix.
This is actually a very good chipset, it's technically SD660 just with lower clocks on both CPU and GPU.
EDIT: I forgot, this is my usage on AOSiP + Kirks, stock interactive tunables, min freq 300mhz (big/little), GPU initial/min freq 160mhz, max 430mhz. Using microG instead off GApps, I have used FB, Instagram, Messenger app for 1,5h each, Viber was couple of hours, Chrome some 30mins, Panini sticker album 30+ minutes, 30 minutes of 2G calls. Network mode was LTE, though I was on wifi on whole charge.
Started measuring from 92%.
Thanks bro, that explains a lot...

Categories

Resources