[Discussion/Q&A] Documentation on cpu governors? - Android Software Development

I decided to make my own cpu governor, are there any tips, documentation, etc that the android community can help me with? I cannot seem to pinpoint the actual place where the governor scales the frequency up/down.
regards LLJY

http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
I found this one but may bee there is a better one

addidas_85 said:
http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
I found this one but may bee there is a better one
Click to expand...
Click to collapse
Not governor parameters, making a governor from scratch

Read Documentation/cpu-freq/governors.txt, near the end it mentions the required functions.

_that said:
Read Documentation/cpu-freq/governors.txt, near the end it mentions the required functions.
Click to expand...
Click to collapse
Thanks, do you happen to know the function for getting cpu load?

_LLJY said:
Thanks, do you happen to know the function for getting cpu load?
Click to expand...
Click to collapse
No, but you can easily find out by reading the code of existing governors.

_that said:
No, but you can easily find out by reading the code of existing governors.
Click to expand...
Click to collapse
Alright, thanks anyways

Related

[Q] gm-A500-RC3 Kernel from Linuxsociety

Great Job Linuxsociety. Would like to know how to perform GPU overclocking - thanks
lcaro said:
Great Job Linuxsociety. Would like to know how to perform GPU overclocking - thanks
Click to expand...
Click to collapse
GPU overclocking is included on most kernels.
MD
Moscow Desire said:
GPU overclocking is included on most kernels.
MD
Click to expand...
Click to collapse
Is there anyway to change the setting ?
lcaro said:
Is there anyway to change the setting ?
Click to expand...
Click to collapse
Probably via a script. BTW, he's released some more testing kernels with GPU tweaks if you're interested.
As far as running scripts from init.d, you may want his advice on this, as he knows his kernel.
MD

FearTheBeard said:
bump. anyone please?
Click to expand...
Click to collapse
Of course it can go up to those values. But Samsung has down clocked the frequency with purpose. And they always do. Don't worry though. Soon you will have a kernel which would allow you to over clock the cores.
walkermoon said:
Of course it can go up to those values. But Samsung has down clocked the frequency with purpose. And they always do. Don't worry though. Soon you will have a kernel which would allow you to over clock the cores.
Click to expand...
Click to collapse
Correct. Although I wouldn't OC, it already gets quite hot under full load, this device allows you to use all 8 cores at once.
FearTheBeard said:
thanks guys!
Click to expand...
Click to collapse
You also wouldn't notice any difference from 200mhz anyway, so don't worry haha

[kernel][3.0.31] Mk kernel - based on CoCafe kernel Refresh r10

Update
All the changes I made were merged into CoCore-refresh kernel (3.0.31) and 3.0.101 by TeamCanjica, so they will hit 'mainstream' in some time when they release another build.
This thread is over
/Update
Hi,
I've been working on this kernel for some time with improving undervolting in mind. It's based on CoCore Refresh r10 by CoCafe and of course the credit goes to him where it's due.
Main changes:
- rewritten liveOPP internals.
It improved stability a lot - it now allows to use 300/500/700/900 MHz frequencies with no problem and it allows to undervolt low frequencies even more. Freqs >1GHz are now stable at varm=0x32 (at least on my phone), which also saves a lot of power.
Freqs <=400 MHz now use 0x12 (0.925V) voltage by default - It's the original voltage for 400MHz and you can go even lower when undervolting
- rewritten Mali booster algorithm.
It's far from perfect yet, but it eliminated instability due to the fact, that CoCafe's mali booster and "original" booster (switching between APE 50/100 OPP) were working independently and could cause a crash when the original algorithm switched to APE_50_OPP while mali boost was active. APE_50_OPP voltage is 1V by default (0x18), so when clock is boosted to i.e. 700MHz and it switched to 50 OPP, the result was 350MHz @ 1V, which mihgt be too low.
- allow to set APE and DDR OPP with liveOPP
echo apeopp=25/50/100 > arm_stepXX and echo ddropp=...
before the kernel would set ape/ddr opp to 100 for freqs above 400MHz
- allow changing ape_50_opp voltage
echo 0xXX > /sys/kernel/mali/mali_gpu_vape_50_opp
- make wlan/mmc boost tunables available through sysfs in /sys/kernel/performance/*
- Memory split changed to 2G/2G and switch highmem off - it's not needed with this split
- removed some unnecessary drivers and moved others to modules to reduce kernel size
- changed kernel compression to LZO
- 631MB available memory
- 7800ms kernel boot time
Download & install:
Mediafire
That's partition image - flash it with dd:
Code:
dd if=kernel.mk-r1-release.img of=/dev/block/mmcblk0p15
It's also good to create a symlink from /system/lib/modules to /lib/modules - it'll allow modules to autoload, enable modprobe to work and also you can use KoControl app to manage module loading.
Source:
GitHub
TODO:
- create a package for flashing with recovery and place modules (7MB) in /system/lib/modules instead of a ramdisk
- touchbooster has a bug that causes it to limit max freq to 1000MHz on boost.
- figure out how to enable setting of minimal cpu freq - now touchboost always resets it to 100MHz
- add interactive gov from Zwliew kernel
- create more power optimized, auto tuning 'foreground' governor (long story)
My voltage settings
(default kernel voltages are more conservative - set those from init scripts and test them for stability!):
100 - 0x0f
200 - 0x10
300 - 0x11
400 - 0x12
500 - 0x14
600 - 0x18
700 - 0x1d
800 - 0x24
900 - 0x28
1000 - 0x2f
1050..1250 - 0x32
Mali gpu voltage
Default voltage from CoCafe is way too high - idx0 vape could be just 1V since that's the voltage, when mali is running at 1/2 speed (200MHz by default).
My settings (for safety they are 3 steps higher than the lowest working voltage for given freq).
#0 - 0x17
#5 - 0x1c
#9 - 0x23
I don't overclock the gpu - my low index is set to 0 (200MHz), and hi (boosted) to 5(400MHz), which is the original mali freq. That gives mi 100MHz when working at half speed. I don't use any fancy UI effects, so it's enough - when not plaing a game, mali is only working at 100/200MHz and only boosts when loaded. Params:
boost_low idx=0
boost_low threshold=30
boost_delay 2000
boost_high idx=5
boost_high threshold=220
Default kernel settings are left unchanged - set those manually from init scripts.
I place the thread here because I'm not allowed to post in developer forums (<10 messages limit).
MK
Wow. Thanks for your work, mate!
Most people are using CM or CM/AOSP based ROMs nowadays, but there are only a few people (like me) who still use Jellybean. So, I'll try your kernel very soon and I'll post a review after using it.
You joined XDA on 2010 and yet, this is your first post. That just doesn't feel right.. Anyways, keep up the good work, mate. :good:
Good to see another kernel developer for our phone! I'm on stock rom now, I will try it out
Sami Kabir;5571pro. [B said:
Wow. Thanks for your work, mate! [/B]
Most people are using CM or CM/AOSP based ROMs nowadays, but there are only a few people (like me) who still use Jellybean. So, I'll try your kernel very soon and I'll post a review after( using it.
Click to expand...
Click to collapse
The code is on github and there's no problem with merging it with some cm kernel. When I'll try my with some 4.4 again (so far each one had something broken and didn't suit me), I'll probably do it
You joined XDA on 2010 and yet, this is your first post. That just doesn't feel right.. Anyways, keep up the good work, mate. :good:
Click to expand...
Click to collapse
To keep it short let just say that I'm not a sociable type of guy... but when I have something of value, I try to share...
One more thing (most probably know it, but for those who don't) - 99% of "user experience" depends on the settings of governor, mali and touch booster - if you screw this up, no kernel will work smoothly. I had this problem with my first vanilla jb - it sucked as hell(ondemand), but when I set sampling_down_factor to 3-4 suddenly it was very smooth. Default gov params aren't always the best. Thats one of the reasons I'll try to write a governor that tunes itself and adjusts itself to the app currently in foreground - but that's just an idea and it'll take me some time to refresh all the math needed for it...
Anyway - enjoy the kernel.
Hmm I really wanna test this kernel, but I'm currently on Vanir
I definitely gonna follow your thread, it's good to know Janice is still alive and kicking
Reinkaos said:
Hmm I really wanna test this kernel, but I'm currently on Vanir
I definitely gonna follow your thread, it's good to know Janice is still alive and kicking
Click to expand...
Click to collapse
You can always ask rom's devs to merge my changes - it's just a few commits.
And how is that rom working for you? At the time I was checking up 4.4 roms each one of them sucked in a different way. Carbon was the closest (in fact it was the only one acceptable) to being useful (feature- and ui-wise), but it had some process spinning in the background and It was draining my batt (it was unkillable because it was a part of lock screen I think - the bug was known, but no fix available at that time).
If it's similar to carbon I might give it a try...
mkaluza said:
You can always ask rom's devs to merge my changes - it's just a few commits.
And how is that rom working for you? At the time I was checking up 4.4 roms each one of them sucked in a different way. Carbon was the closest (in fact it was the only one acceptable) to being useful (feature- and ui-wise), but it had some process spinning in the background and It was draining my batt (it was unkillable because it was a part of lock screen I think - the bug was known, but no fix available at that time).
If it's similar to carbon I might give it a try...
Click to expand...
Click to collapse
Well I use to be a Carbon die-hard fan before, but since the dev have got himself another device, so I just had to change rom.
And then I try Vanir. Surprisingly it's pretty stable, and we have official support by the Vanir team too.
Feature-wise its just as good as Carbon, but I kinda miss the pie, since Vanir doesn't have it.
And I think Vanir have a bit more features than Carbon do.
Anyway can you go lower than those cpu voltage on your OP? Or is it really not stable?
Mine's 1000 is at 0x2c, 800 at 0x20, and that's the lowest I can go.
And thanks for the gpu voltage :good: , I actually use that value now :laugh:
aioreu the
Reinkaos said:
Well I use to be a Carbon die-hard fan before, but since the dev have got himself another device, so I just had to change rom.
Click to expand...
Click to collapse
It's a pity... but I understand that's only the S Advance branch of Carbon thats dead - the rom itself is being developed further?
And then I try Vanir. Surprisingly it's pretty stable, and we have official support by the Vanir team too.
Feature-wise its just as good as Carbon, but I kinda miss the pie, since Vanir doesn't have it.
And I think Vanir have a bit more features than Carbon do.
Click to expand...
Click to collapse
I didn't like the pie ;P But if you say it's ok, I'll give it a try when I'm in the mood to reinstall everything on the phone...
Anyway can you go lower than those cpu voltage on your OP? Or is it really not stable?
Mine's 1000 is at 0x2c, 800 at 0x20, and that's the lowest I can go.
Click to expand...
Click to collapse
Actually I didn't recheck those two and focused on lower freqs - these were the limits with older LiveOPP, but now I can go to 0x22 and 0x2c.
In fact, 0x24 and 0x2f are already undervolted values - original are 0x28 and 0x32. But every bit counts, especially on higher freqs.
Thanks for the tip
But what's more interesting - 900MHz works at 0x23 (didn't test that before - just took a voltage halfway between 800 and 1000)... there's something wrong with this ARM_100_OPP, but I don't know what yet... Will test the rest again later and post my results.
And thanks for the gpu voltage :good: , I actually use that value now :laugh:
Click to expand...
Click to collapse
Your welcome
When I have time, I'll try to write how to quickly check undervolting limits for both cpu and gpu.
Mk
mkaluza said:
It's a pity... but I understand that's only the S Advance branch of Carbon thats dead - the rom itself is being developed further?
Click to expand...
Click to collapse
Yes, only for our device. It's not really dead yet.
The dev has been kind enough compiling new one once in a while.
I didn't like the pie ;P But if you say it's ok, I'll give it a try when I'm in the mood to reinstall everything on the phone...
Click to expand...
Click to collapse
Yeah, I could understand that. Too much of a hassle. Got to reinstall everything back again.
But you know, I always do clean flash, even with nightlies. Imagine backing up, factory reset and restoring everything in every 3-4 days.
But now I get really used to it
Actually I didn't recheck those two and focused on lower freqs - these were the limits with older LiveOPP, but now I can go to 0x22 and 0x2c.
In fact, 0x24 and 0x2f are already undervolted values - original are 0x28 and 0x32. But every bit counts, especially on higher freqs.
Thanks for the tip
But what's more interesting - 900MHz works at 0x23 (didn't test that before - just took a voltage halfway between 800 and 1000)... there's something wrong with this ARM_100_OPP, but I don't know what yet... Will test the rest again later and post my results.
Click to expand...
Click to collapse
No problem man, thought that information would be useful to you.
Yeah, it would be really nice to go lower, especially on 1000 and 800.
I'm gonna test the rest, and later I would let you know the lowest working voltage that I can go.
And honestly, I have no idea about kernel stuffs :silly: The least that I can do is to play around with it
Your welcome
When I have time, I'll try to write how to quickly check undervolting limits for both cpu and gpu.
Mk
Click to expand...
Click to collapse
Yes, please do. I would really appreciate that :fingers-crossed:
Reinkaos said:
Yes, only for our device. It's not really dead yet.
The dev has been kind enough compiling new one once in a while.
Click to expand...
Click to collapse
He also left a repo with build scripts and manual, so I'll try to build the rom.
Yeah, I could understand that. Too much of a hassle. Got to reinstall everything back again.
But you know, I always do clean flash, even with nightlies. Imagine backing up, factory reset and restoring everything in every 3-4 days.
But now I get really used to it
Click to expand...
Click to collapse
That's hardcore ;P I have patience to do it 1-2 times a year
Yeah, it would be really nice to go lower, especially on 1000 and 800.
I'm gonna test the rest, and later I would let you know the lowest working voltage that I can go.
Click to expand...
Click to collapse
mine crashed at 1000MHz/0x2c - I'm on 0x2d now and it seems ok
And honestly, I have no idea about kernel stuffs :silly: The least that I can do is to play around with it
Click to expand...
Click to collapse
You could always learn It's fun, all the info is there to read for free... all it takes is will and time
Yes, please do. I would really appreciate that :fingers-crossed:
Click to expand...
Click to collapse
I still cant post links, so you need to go to my github (mkaluza), open the i9070_kernel_CoCore-E repo and go to wiki on the right - there is a page "Undervolting janice". Hope this helps.
Mk
mkaluza said:
He also left a repo with build scripts and manual, so I'll try to build the rom.
Click to expand...
Click to collapse
Well that's a good news :good:
That's hardcore ;P I have patience to do it 1-2 times a year
Click to expand...
Click to collapse
LOL yeah
mine crashed at 1000MHz/0x2c - I'm on 0x2d now and it seems ok
Click to expand...
Click to collapse
I'm not sure if mine is really stable, gonna test it with your guide on github
You could always learn It's fun, all the info is there to read for free... all it takes is will and time
Click to expand...
Click to collapse
Yeah, I am learning right now
I still cant post links, so you need to go to my github (mkaluza), open the i9070_kernel_CoCore-E repo and go to wiki on the right - there is a page "Undervolting janice". Hope this helps.
Mk
Click to expand...
Click to collapse
So there are scripts that will provide me with some infos when doing UV-ing
And I'm not familiar with registers though, I only do it via liveopp, but still I'll try this
Thanks for the guide
Anyway I got a question about gpu, lets say my mali low_boost is 400 and high_boost is 480,
does it use the two freq only or it use the other freq in between 400 and 480 too?
P.S. hey you could just spam in OT threads to get 10 posts
Reinkaos said:
I'm not sure if mine is really stable, gonna test it with your guide on github
Click to expand...
Click to collapse
If you don't get random reboots/crashes than it is - when following my guide, the resulting voltage should be stable, but it isn't always so... I'ts just a starting point that can save you some initial crashes or the other way around - if it doesn't pass freq_jump test, then it isn't stable for sure
Anyway I got a question about gpu, lets say my mali low_boost is 400 and high_boost is 480,
does it use the two freq only or it use the other freq in between 400 and 480 too?
Click to expand...
Click to collapse
Only those two - three actually - also 200MHz (that is low_boost/2), but with ape_50_opp voltage, not the one from dvfs_config. There's not much point in doing any smarter gov because gpu intensive apps usually load it at 100% no matter how much power it has - they just have more fps then.
.P.S. hey you could just spam in OT threads to get 10 posts
Click to expand...
Click to collapse
Yeah, maybe, but if those are the rules, then I try to respect them - because I respect the community. (not because I'm some kind of by-the-book guy ;P I ride motorcycle and have already broken so many rules, that they would put me behind bars for life if anybody kept the count ;P).
mkaluza said:
I ride motorcycle and have already broken so many rules, that they would put me behind bars for life if anybody kept the count ;P).
Click to expand...
Click to collapse
You like adrenaline, heh
PS: Sorry for OT
mkaluza said:
If you don't get random reboots/crashes than it is - when following my guide, the resulting voltage should be stable, but it isn't always so... I'ts just a starting point that can save you some initial crashes or the other way around - if it doesn't pass freq_jump test, then it isn't stable for sure
Click to expand...
Click to collapse
Hey, just letting you know, about opptop script, we don't have prcmu-qos folder in /debug. I thought maybe it have a different name, but I couldn't find ape_requirements and ddr_requirements. The others are working fine
Only those two - three actually - also 200MHz (that is low_boost/2), but with ape_50_opp voltage, not the one from dvfs_config. There's not much point in doing any smarter gov because gpu intensive apps usually load it at 100% no matter how much power it has - they just have more fps then.
Click to expand...
Click to collapse
Thanks for the infos :good:
Yeah, maybe, but if those are the rules, then I try to respect them - because I respect the community. (not because I'm some kind of by-the-book guy ;P I ride motorcycle and have already broken so many rules, that they would put me behind bars for life if anybody kept the count ;P).
Click to expand...
Click to collapse
LOL, I'm curious though, what bike do yo own? Must be a real badass one
Force said:
You like adrenaline, heh
PS: Sorry for OT
Click to expand...
Click to collapse
I'ts more about freedom and versatility, but yeah sometimes I like to push it too
Reinkaos said:
Hey, just letting you know, about opptop script, we don't have prcmu-qos folder in /debug. I thought maybe it have a different name, but I couldn't find ape_requirements and ddr_requirements. The others are working fine
Click to expand...
Click to collapse
I forgot... this feature was written by me, so it's available only on my kernel for the moment. But it's not really that important - it was more for debugging purposes for me, now I left it as informative.
I'm trying to build Carbon rom for out phone since last night... when/if I'm done, I'll patch the kernel with my stuff and push it somewhere. What is your kernel version? I think that both carbon and vanir use the same, or at least similar one.
LOL, I'm curious though, what bike do yo own? Must be a real badass one
Click to expand...
Click to collapse
Not really I't an old BMW F650 - only 48 ponies (of which some might have already died of old age ;P). But in reality you can do most of the fun stuff with as little as 125cc Anything bigger is usefull for longer trips/highways/trips with passenger/etc... I mostly ride small country roads and light offroad, so I rarely go over 100km/h, so no badass machine is needed something like 350cc would be best I think. Actually - it's not the bike you ride, but how you ride it... and on narrow roads with many turns a bigger bike is event sometimes harder to ride...
mkaluza said:
I forgot... this feature was written by me, so it's available only on my kernel for the moment. But it's not really that important - it was more for debugging purposes for me, now I left it as informative.
I'm trying to build Carbon rom for out phone since last night... when/if I'm done, I'll patch the kernel with my stuff and push it somewhere. What is your kernel version? I think that both carbon and vanir use the same, or at least similar one.
Click to expand...
Click to collapse
Well ok then. Vanir got a 3.0.101 kernel. It's the same I think? I'll flash and test it when you're done, definitely.
Not really I't an old BMW F650 - only 48 ponies (of which some might have already died of old age ;P). But in reality you can do most of the fun stuff with as little as 125cc Anything bigger is usefull for longer trips/highways/trips with passenger/etc... I mostly ride small country roads and light offroad, so I rarely go over 100km/h, so no badass machine is needed something like 350cc would be best I think. Actually - it's not the bike you ride, but how you ride it... and on narrow roads with many turns a bigger bike is event sometimes harder to ride...
Click to expand...
Click to collapse
lol the biggest one I ever been on is about 130 cc. It's small, enough that you could squeeze through traffics
I don't know much about bike, but AFAIK those superbike need different kind of handling too.
Let's speak just about this kernel as for this is meant this thread
Please anyone tell me how to find the kernel link . I`m a noob at this part :silly: Thanks
pictorul20 said:
Please anyone tell me how to find the kernel link . I`m a noob at this part :silly: Thanks
Click to expand...
Click to collapse
Go here and see download link at top of page: https://github.com/mkaluza/i9070_kernel_CoCore-E
Download link : http://goo.gl/FvqPlg
Then check OP to see how to install it.
Force said:
Go here and see download link at top of page: https://github.com/mkaluza/i9070_kernel_CoCore-E
Download link : http://goo.gl/FvqPlg
Then check OP to see how to install it.
Click to expand...
Click to collapse
Many Thanks.

overclocking, modifying the kernel

I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
jsidney96 said:
I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
Click to expand...
Click to collapse
Overclock dont work on redmi 2, all overclocks are fake
NaassomDourado said:
Overclock dont work on redmi 2, all overclocks are fake
Click to expand...
Click to collapse
Yep, except GPU overclock by me and Ashish94, the true 620mhz and the TurboClock 465T increase ~35% the gaming performance, games like asphalt 8 will run at 8 or 9 fps higher with the Overclock
TecnoTailsPlays said:
Yep, except GPU overclock by me and Ashish94, the true 620mhz and the TurboClock 465T increase ~35% the gaming performance, games like asphalt 8 will run at 8 or 9 fps higher with the Overclock
Click to expand...
Click to collapse
You can select upto 1.8ghz on the zetsubo kernel , thats fake??
It feels smoother once overclocked.........
jsidney96 said:
You can select upto 1.8ghz on the zetsubo kernel , thats fake??
Click to expand...
Click to collapse
Fake
TecnoTailsPlays said:
Fake
Click to expand...
Click to collapse
I dont believe it, atleast tell me the fake steps
Those kernels heats up and locks up if i set too high cpu clk..... I know it can be overclocked..
jsidney96 said:
I want to learn how I can modify kernel to adjust clock speeds. wt88047 redmi 2 . If anyone can detail the steps it would be great
Thank you
Click to expand...
Click to collapse
i'd suggest you to try lateautumn kernel, it boosts your CPU freq to 1.8ghz and it seems like it worked for me, battery drained so fast tho...
rufuskid said:
i'd suggest you to try lateautumn kernel, it boosts your CPU freq to 1.8ghz and it seems like it worked for me, battery drained so fast tho...
Click to expand...
Click to collapse
I want to learn how to do it....
jsidney96 said:
I dont believe it, atleast tell me the fake steps
Those kernels heats up and locks up if i set too high cpu clk..... I know it can be overclocked..
Click to expand...
Click to collapse
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
jsidney96 said:
I want to learn how to do it....
Click to expand...
Click to collapse
download kernel adiutor and you will have the option there (with the custom kernel applied)
TecnoTailsPlays said:
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
Click to expand...
Click to collapse
I am sorry . Its just i couldnt believe it .... I will try to do something useful
jsidney96 said:
I am sorry . Its just i couldnt believe it .... I will try to do something useful
Click to expand...
Click to collapse
Something useful? Why don't you try arm64 aosp caf by pirej and see how the rom is? we need more people to log some bugs like wifi 10m off, etc
TecnoTailsPlays said:
Something useful? Why don't you try arm64 aosp caf by pirej and see how the rom is? we need more people to log some bugs like wifi 10m off, etc
Click to expand...
Click to collapse
saw this.....
https://forum.xda-developers.com/redmi-2/help/compiling-kernel-development-overclock-t3538273
I am having exams now..... i will jumb right back in once exams are over..... i am already running pirej's rom on 2014818....
i am still learning
jsidney96 said:
saw this.....
https://forum.xda-developers.com/redmi-2/help/compiling-kernel-development-overclock-t3538273
I am having exams now..... i will jumb right back in once exams are over..... i am already running pirej's rom on 2014818....
i am still learning
Click to expand...
Click to collapse
At that time I din't know anything about this phone, becouse I just had buyed it, then I started spending 8hrs in the computer to study kernels, redmi 2, and all related to source, android, etc. Then I started making overclocks, and after 2 weeks of testing I completed my results and overclock was fake.
It's like school or college, you need to study to understand
Which ROM is best to be used with late autumn kernel. When I install late autumn kernel on any ROM ,the camera stops working.
LuanHalaiko said:
Look, I'm tired from explaining that CPU overcloks are fake, just freaking search about snapdragon 410, the processor is LOCKED, PLL overclock is not possible without external source file help, only Moto g3 osprey have this file, when somebody port's that file to our source, I will be wrong
Also if you don't even know how to overclock a device, how can you say that I'm wrong?
Click to expand...
Click to collapse
Sounds like a stage I'm currently going through, are there any recommended resources for learning?
The main direction is to reverse the kernel code for the purpose of changing system settings

perfd

So... Anyone out there played with /vendor/etc/perf-profile*.conf yet?
It appears we have 8 perfd profiles that something selects... And overrides any other CPU choices while perfd is enabled...
Thoughts?
rignfool said:
So... Anyone out there played with /vendor/etc/perf-profile*.conf yet?
It appears we have 8 perfd profiles that something selects... And overrides any other CPU choices while perfd is enabled...
Thoughts?
Click to expand...
Click to collapse
Haven't looked at that but have a tweaked thermal-engine.conf
tech_head said:
Haven't looked at that but have a tweaked thermal-engine.conf
Click to expand...
Click to collapse
I don't think I've ever bumped into the thermal.config...
I think perfd get a hold of the processor long before the thermal engine fires up
rignfool said:
I don't think I've ever bumped into the thermal.config...
I think perfd get a hold of the processor long before the thermal engine fires up
Click to expand...
Click to collapse
I think it uses both.
Definitely the thermal-engine.conf for heat throttling.
But the perf-profile is probably used and from what I can tell scaling up/down based on demand.
I modified them to take advantage of the overclock in my ElementalX kernel and tweaks thermal-engine.conf.
I now see the CPU go into the overclock frequencies more often. I hadn't even bothered looking in those files.
Great Find!!!!
tech_head said:
I think it uses both.
Definitely the thermal-engine.conf for heat throttling.
But the perf-profile is probably used and from what I can tell scaling up/down based on demand.
I modified them to take advantage of the overclock in my ElementalX kernel and tweaks thermal-engine.conf.
I now see the CPU go into the overclock frequencies more often. I hadn't even bothered looking in those files.
Great Find!!!!
Click to expand...
Click to collapse
Now if only I could understand what triggers them..............
rignfool said:
Now if only I could understand what triggers them..............
Click to expand...
Click to collapse
CPU load as reported by the kernel.
tech_head said:
CPU load as reported by the kernel.
Click to expand...
Click to collapse
It seems to be more than that...
rignfool said:
It seems to be more than that...
Click to expand...
Click to collapse
There are some target loads. There are some ramp times.
If you are running ElementalX and are over clocked. Just adjust the frequencies to get the performance.
If you research thermal-engine.conf it will help understand these files.
Anyone out there know an 835 that has perfd that we could compare profiles?
I can't leave stuff alone...

Categories

Resources