Perseus Kernel - Sprint Samsung Galaxy Note II

ok. Figured out why perseus kernel ran like poo on my device. I noticed on all my 3d games and sometimes on my browser, there would be be occasional stutter or a slighr but noticeable fps drop leading to a jerky stutter performance. even on the tw launcher I would see it here and there. luckily this awesome device has split screen. So I was able to observe the cpu LIVE as it scales. I ran tons of benchmarks and observed the culprit. While the phone is pushing polygons the cpu down scales to fast and way to much. it would bounce from 1.8ghz to 600mhz constantly. When this aggressive down scale happens then you see the stutter. At least I do. So... Here's the fix. Open Stweaks and on CPU SCALING scroll down to FREQUENCY FOR RESPONSIVENESS. Set that to 1.2ghz or above. Done. enjoy your stuttering free performance. Will this impact your battery? Not much. It just keeps the cpu fast when it needs the power. Once you let go of touching the screen then it scale down to below 1.4ghz.

I think your "fix" may work but I don't think it is optimal. See Andrielux's original N7100 thread and you will see that he recommends keeping this parameter no higher than 600mhz because it causes issues above that. I think there are more direct parameters that can be changed regarding down scaling to fix your issue. You should post this on his thread to get his input as he is quite wise.
Sent from my SPH-L900 using xda app-developers app

yup. I kept an eye on it all day yesterday and with cpuspy I noticed my device was hanging allot of time at 1.2. makes sense. I'll play with it more today.

found a better setting change on stweak! You can leave everything on stweak at default and may change........
under CPU SCALING go to UP THRESHOLD AT FAST-DOWN and set that to 25%. Default is 95. Now using cpuspy I see all the clocks being used healthier compared to before where 1.2ghz was hogging up more. And the studder is gone. This makes the cpu hold 1.8. steady and not down scale when using 3d . try it and you will thank me.

Okay I can confirm it now. This is a good fix for the stuttering. my battery has not taken a hit at all. And it runs smooth. And to boot I'm getting a quadrant score on the 7600. this is the change.
under cpu scaling I changed UP THRESHOLD to 70%. UP THRESHOLD AT FAST DOWN to 20%. Under GPU I changed GPU MAX FREQUENCY to 800mhz. And it's UP THRESHOLD to 80%. Everything else is at stock. Now play with the voltage of the cpu to the lowest possible voltages. And you will be thankful.

Related

[Q] Calk's Preset Profiles to save battery question?

Notes about Battery Saver script
Can be used with kernels that have init.d support
It completely eliminates the need for an application to set CPU speeds or profiles
Easily customizable if you use a text editor(scripts located in /system/etc/init.d)
It will set Max CPU speed to 500MHz & Min CPU speed to 200MHz when a sleep
If SetCPU, Overclock Widget, Android Overclock or QuickClock Advanced Overclock are detected, the script is ignored, so it will not affect them
Preset profiles are:
1.2GHz - 100-85%
1.0GHz - 84-36%
800MHz - 35-0%
And just an FYI, even at 800MHz, the phone still operates very well & smooth but the battery saving are the real benefit
Click to expand...
Click to collapse
Does this mean that if I don't use Set CPU or any app that undervolt it, the phone will AUTOMATICALLY drop the CPU speed according to my battery level:
1.2GHz - 100-85%
1.0GHz - 84-36%
800MHz - 35-0%
Another word, it will automatically drop CPU speed to 800 MHZ when my battery level is 35-0% in order to save battery?
It won't "Drop" the CPU speed, it will lower the Maximum speed the CPU is allowed to ramp up to.
Drumrocker said:
It won't "Drop" the CPU speed, it will lower the Maximum speed the CPU is allowed to ramp up to.
Click to expand...
Click to collapse
So if I am not doing CPU intensive stuff and just play simple games, email, web surfing phone call, then I am not going to see battery improvement since my CPU probably don't ramp past 800MHZ anyway when I am just doing simple stuff.?
Calk's ROM undervolts the CPU at all speeds so that in itself should help a little with battery life. But you are correct, if you are not doing CPU intensive tasks the CPU probably isn't spending much time at the higher speeds.
There is an app called CPUSpy which shows how much time the CPU has spent in each frequency state.
Your phone will ramp up to 1200 mhz more than you think. When it loads a webpage, it will ramp up to 1200, when it's loading your "simple" game, it will max out for a bit, etc.
It might not stay there for very long, but still. The nice thing about Calkuins rom is that even at 800 mhz, the phone is super smooth and lag free. In fact I just turn setcpu down to 800 all the time.
Let me research setcpu and play around with it. Thanks again for the quick answers.
clamknuckle said:
Your phone will ramp up to 1200 mhz more than you think. When it loads a webpage, it will ramp up to 1200, when it's loading your "simple" game, it will max out for a bit, etc.
It might not stay there for very long, but still. The nice thing about Calkuins rom is that even at 800 mhz, the phone is super smooth and lag free. In fact I just turn setcpu down to 800 all the time.
Click to expand...
Click to collapse
The way Calkulin's rom scripts are setup, setcpu gets reset on every reboot, even if you have it set to boot settings. The scripts installed will still take priority and the old rules apply, just to let you know. So you would have to set setcpu every boot for it to work, that or remove the scripts.
Sent from my SPH-D710 using xda premium
Team era... Does the same idea apply to the blazer 2.0 battery saving script? or does tegrak break it?
Sent from my SPH-D710 using xda premium
I havnt opened that rom, but Im gonna say the same applies, I remove those scripts, 2 will affect the cpu state.
edit, let me clarify, the scripts take prority, even if the app makes a script for init.d, the original script will take over on a reboot. So the script breaks tegrak, setcpu, and voltage control unless you set the app on every reboot.
I am running Calks 2 and desperado kernel. I notice when using setcpu, if you have it set on boot, it will override calks script.
His script does work well on saving battery life though. I ran oc'd while at 20% and still had 1700mhz blazing on performance gov.
I'd still use Calks script over setcpu or tegrak only due to the fact im too sporatic with my phone use to create optimal profiles to fit the way and when i need to use the device.
mindgrind said:
I am running Calks 2 and desperado kernel. I notice when using setcpu, if you have it set on boot, it will override calks script.
His script does work well on saving battery life though. I ran oc'd while at 20% and still had 1700mhz blazing on performance gov.
I'd still use Calks script over setcpu or tegrak only due to the fact im too sporatic with my phone use to create optimal profiles to fit the way and when i need to use the device.
Click to expand...
Click to collapse
Actually in my own testing setcpu will not override the scripts, the slider may stay the same, but trust me, it goes back to 800 (or 1200 over 86%batt), Ive tested it several times. If you want proof Ill tell you how to figure it out. I know Im not respected yet, but I am someone that is known under another name that is highly respected, so, take it as you will.
Sent from my SPH-D710 using xda premium
Era, what's your suggestion for keeping the battery saving scripts running and getting a 1500 ish over clock when needed... something that can do both without having to physically change setcpu everytime. I basically want to permanently over clock to 1.5 and still save as much battery as possible when i have the screen off or it is charging. Idk if setcpu profiles work on this phone because i know they did not work correctly on the galaxy s. And one final question... what voltages do u run at what speeds on the "desperado" kernel to undervolt efficiently?
Sent from my SPH-D710 using xda premium
TeamERA said:
Actually in my own testing setcpu will not override the scripts, the slider may stay the same, but trust me, it goes back to 800 (or 1200 over 86%batt), Ive tested it several times. If you want proof Ill tell you how to figure it out. I know Im not respected yet, but I am someone that is known under another name that is highly respected, so, take it as you will.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
ERA. I wasn't looking to say that you were wrong in any way shape or form. I would be interested to know how you seen this as I am still in the beginning phases of learning the android system. I do plan on writing my own kernal/roms but I was actually sharing what my logical thought process would have been given the apps and system info I had avail.
I have a little ways to go in understanding the structure and FS of droid. Time is everyones enemy. Thanks for the correction again!
I havnt opened that rom, but Im gonna say the same applies, I remove those scripts, 2 will affect the cpu state.
edit, let me clarify, the scripts take prority, even if the app makes a script for init.d, the original script will take over on a reboot. So the script breaks tegrak, setcpu, and voltage control unless you set the app on every reboot.
I'm currently running Calkulin's rom v2.5, and even at 41% battery I notice the cpu still hits 1.2 Ghz. Is his script activated by default or am I overlooking something? I also have nothing like setcpu installed.

[Q] System Tuner and Governor settings

Hi,
I'm a little confused about the cpu tweaks in system tuner. I'm running Bullet v2.9b. What is the difference between the different governor settings? Also, when I change the cpu clock speeds, it keeps resetting to the default settings.
I had this same issue with system tuner. Try another CPU apparently from the market. The governors tell the CPU how fast to ramp up. Conservative is the best for battery life. Performance is the worst. On demand is a middle ground for battery and speed.
Sent from my SGH-T989 using xda premium
haloschief said:
Hi,
I'm a little confused about the cpu tweaks in system tuner. I'm running Bullet v2.9b. What is the difference between the different governor settings? Also, when I change the cpu clock speeds, it keeps resetting to the default settings.
Click to expand...
Click to collapse
Did you ever sort out the System Tuner CPU tweak issue? I'm having the same or a similar problem. I set the freqs to 384-1.6 (whatever) and go away (home or back...). When I return to ST, seconds later, the CPU setting is 1.6-1.6. This happens almost all the time. It does not happen with SetCPU. I'd prefer to use ST, but not with this weirdness.
(I'm using faux-u009 with the standard KL1 ROM.)
Thanks for any help.
CPU Settings
Hi,
I'm using Jugg 4.1 with the bullet kernel. I was wondering what are some normal settings for the CPU when using system tuner. It seems like the first setting is +1 ghz while the second is in the 300-400 mhz range. Any help would be much appreciated.
@disguy03 - Your settings of 384MHz - 1GHz CPU are exactly what I'm using--that, and the Ondemand governor--and I haven't had any problems. If anything, since your CPU is underclocked at its highest, to ~1GHz, your battery will love you for it.
I hope that helps you in some way!
I have noticed the same behaviour, with system tuner. I believe it is a display issue. If you look at the times they will still show the lower ones. At least that is what I see.
its a graphical glitch...if you leave the CPU tab and come back it reverts to the proper view but will work properly as long as you have it set to either run from intuit.d or change after boot.

CPU Clockspeed and Gaming

I've noticed an unusual issue across various roms and kernels (including stock) I use setcpu to fix clockspeed at 1200 (both sliders set to 1200 and governor set to performance), when playing intensive games such as modern combat 3 or FPSE for a while and then looking at cpu spy i notice that the cpu has actually clocked down to lower speeds at various stages. This causes noticeable lag with FPSE.
This only seems to happen when playing intensive game apps. Has anyone experienced this or know why this could be happening?
Thanks
What temps you have when playing? Is your CPU overclocked? Sounds like CPU throttling to me.
Pray with me together: "Oh God, please send us gokhanmoral and tegrak to Galaxy Nexus forums here at XDA, so they can create a superb kernel and 2nd Core app that will save our GN from burning to ashes while gaming. Thank you, enjoy your weekend".
CPU is not overclocked, just fixed at 1200 using setcpu so it should not throttle down, this is what puzzles me
anath said:
CPU is not overclocked, just fixed at 1200 using setcpu so it should not throttle down, this is what puzzles me
Click to expand...
Click to collapse
No no no no, you can't install some app (SetCPU) and tell it "burn my CPU" That's hardware level protection and you can not bypass it that easy.
setcpu is commonly used to control the clockspeed so if I set it to 1200 with performance governor this is what the clock rate should stay at irrespective of what app is running - and it does exactly this all the time except when i'm playing intensive games where it seems to throttle down to lower various levels.
This is just a way for me to maximise performance albeit at a cost of power consumption.
I'd be grateful if anyone else with setcpu and cpuspy could test this playing an intensive game. Not sure if its an issue with my G Nexus or perhaps I have misunderstood how setcpu works?
anath said:
setcpu is commonly used to control the clockspeed so if I set it to 1200 with performance governor this is what the clock rate should stay at irrespective of what app is running and it does exactly this all the time except when i'm playing intensive games where it seems to throttle down to lower various levels.
Click to expand...
Click to collapse
Wrong. Overheat protection works at hardware level and it always will have higher priority then any app. Same way works desktop CPU's: you can set desired clock in BIOS, but CPU will throttle it self if temperature exceeds (for example) +80C and there's a reason for that!
anath said:
I'd be grateful if anyone else with setcpu and cpuspy could test this playing an intensive game. Not sure if its an issue with my G Nexus or perhaps I have misunderstood how setcpu works?
Click to expand...
Click to collapse
Before replying i tested that myself and there was noticeable CPU throttling after temp went over +40C or so.
EDIT: to backup my words - external link
"Dynamically controlled voltage, frequency and power based on device activity, modes of operation and temperature"
makes sense...nice call...is there a throttle governor hack?...to allow us gamers to have the values up a little higher?..i know its not good but is it possible...good thread and help here thank you...
Sent from my Galaxy Nexus using XDA App
Even if there was a way to get around the issue (if its indeed temperature throttling) you wouldn't want to do it unless you want a to a brick.
Whats FPSE? Also I've yet to notice slowdown in any game except GTA but thats a port.

Reliable CPU and GPU stability testing app

I was wondering if there were any good apps that could be used to test CPU and GPU stability. I just installed a custom kernel and I want to make sure my clock/voltage tweaks are solid.
The first thing I tried to use was Antutu, but that was no good since it kept bumping my CPU clock above the limit I set, to the max setting allowed by the kernel which would lead to a crash. I have browsed the app store and google a bit, but the stability apps I found were a little old or they haven't been updated recently. Right not im running 3dmark and Vellamo a few times after every clock/voltage adjustment to make sure everything is stable.
Does anyone know of any better tests?
Update
*update
I was able to undervolt by -100mV and make it through 4 passes of 3dmark and 2 of Vellamo. Just to be safe I went back up to -75mV as my setting for use.
I dont think stress testing is necessarily the key for my situation since the phone was having trouble doing simpler tasks and would sometimes get stuck rebooting. I'm thinking some of the lower clock frequencies need a little more juice and the higher ones may be fine at -75mV
Any thoughts?

What are safe CPU temps?

Does anyone know the safe temperature envelope for the Tab S?
CPUTemp is the app I use to monitor mine.
https://play.google.com/store/apps/details?id=com.yanyan.cputemp
In the past I have disabled DVFS using Xposed to reduce CPU throttling without issue. However this morning my 10.5 started getting very warm and sluggish. I checked and the DVFS module was spiking temps to 90C. Eek, not good. I re-enabled DVFS and temps dropped to high 60s low 70s. Don't know why the DVFS thing suddenly started causing problems but 90C is way way too hot.
I believe the main culprit here may be the latest release of Dolphin Browser 11.2. All other browsers are running at about 65C but Dolphin spikes to 85C. Not good. Will report this.
So may not be DVFS at all but Dolphin.
Running one run of antutu benchmark and the cpu temp peaked at 86c. That's without disabled DVFS.
win81-64 said:
Running one run of antutu benchmark and the cpu temp peaked at 86c. That's without disabled DVFS.
Click to expand...
Click to collapse
Yep Dolphin is messed up. Huge temp spikes.
My SkyHigh kernel commit will answer your question
https://github.com/UpInTheAir/SM-T700-T705-Kernel/commit/ce1efd33185a5dcd2ad3d1cc989b23ee0153492b
CPU scaling decreased at 95 degC is normal and safe. Critical CPU temp at 110 degC

Categories

Resources