[PATCH] INCOMPLETE fix for CM Performance settings only affecting cpu0 - HTC Sensation

There's a long-standing bug (or omission rather) in (probably all) the kernels used for the HTC Sensation--a feature of some Qualcomm CPUs apparently--which is that you can independently set the max cpu frequency of both processor cores. Because of the way the CM Performance settings is written, it only sets cpu0 and expects cpu1 to automatically follow suite. This causes the second core to always run at the kernel's default max setting when the screen is on.
For some time now I've been twiddling with a patch for the kernel that would set cpu1(...n) to follow the changes of cpu0. I have not succeeded, and am now entirely fed up with the whole business and will dump my current results here if anyone is inclined.
I register a CPUFREQ_POLICY_NOTIFIER in the mach-msm/cpufreq.c driver and reading the values works just fine, but when I try to set them the second core seems to bog down and the phone slowly freezes.
Please note that I am not a kernel hacker, and not much familiar with Linux so there probably are glaring mistakes and stupid things in here.
This patch is against arch/arm/mach-msm/cpufreq.c and I was hacking at sources from @android1234567 's repo at https://github.com/sultanxda/sultan-kernel-bruce-linaro3
Enjoy or something

I wonder if anyone is going to include this patch. In my eyes its really usefull, but in this thread is no acticity, thats kind of awkward

s0ftcorn said:
I wonder if anyone is going to include this patch. In my eyes its really usefull, but in this thread is no acticity, thats kind of awkward
Click to expand...
Click to collapse
Give it time for a developer to look into it if it's worth it (that depends in the eyes of users / devs) it will eventually be considered.
Far as I understood by default the cpu1 will always max no matter whats defined, is that right?

MidnightDevil said:
Give it time for a developer to look into it if it's worth it (that depends in the eyes of users / devs) it will eventually be considered.
Far as I understood by default the cpu1 will always max no matter whats defined, is that right?
Click to expand...
Click to collapse
Yes, if you go by the CM Preferences GUI. It's possible to set the max frequency by doing
Code:
echo 1 > /sys/devices/system/cpu/cpu1/online && echo <value in kHz> > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
Or using a init.d script like the one included in some roms, but it's a bit cumbersome

So you need an app like kernel tuner to set each cpu frequency independently is that it?
Sent from my HTC Z710e using xda premium

MidnightDevil said:
So you need an app like kernel tuner to set each cpu frequency independently is that it?
Sent from my HTC Z710e using xda premium
Click to expand...
Click to collapse
Pimp My ROM has been doing fine for me, so yeah, kernel tuner and the alike work properly from my observations.

This is the full patch and the merge error fix, it can be easily merged into AOSP roms with the CM performance built into the settings package. Enjoy
(btw this patch will even work on quad core QCOM devices)

xmc wildchild22 said:
This is the full patch and the merge error fix, it can be easily merged into AOSP roms with the CM performance built into the settings package. Enjoy
(btw this patch will even work on quad core QCOM devices)
Click to expand...
Click to collapse
This is neat, should've known someone would be there before me
I considered solving it through patching the java code, but you'd have to interface it through the sysfs tree, and that leads to a race condition; the cpufreq files only exist in the tree when the cpu is online, so you'd either have to do some kind of wait loop (could be a long time before the cpu wakes up) or somehow force it to come online--something I don't know how to do.

Related

[BENCH] Benchmarks & overclocks on Photon

/!\ disclaimer: this thread is not about a war between android versions, nor a competition of "who has the biggest one". thank you /!\
I just installed an application named Quadrant Standard, it gives good idea of performance of our phone versus different android versions.
Running Froyo 2.2, release 134++, i have a score of 902
(screen capture enclosed, webcam = bad quality sorry)
derefas, running CM6, has a score of 1000
(screen capture enclosed)
CM6 have higher performance because it does not uses HTCSense.
it's interesting, in the version of derefas, to note that we are weak in memory and i/o access versus the other phones.
might be the sdcard latency.
looking at those results, it seems devs have introduced some "lagfix" that boost reactivity of their phones. another thing to investigate.
also, there are some apps to overclock, we could try to overclock to 700 or 800Mhz to see the improvements.
some other benchmark applications here:
http://www.everythingabouttablets.net/2011/05/05/top-6-android-benchmarks/
regarding lagfix, a post in french:
http://forum.frandroid.com/topic/22162-refmaj-22102010-le-point-sur-les-lagfix/
basically it replaces the old filesystem of samsung (RFS) by the well known ext2.
but since we are already using this filesystem, it is not gonna help us here :-D
-r0bin- said:
also, there are some apps to overclock, we could try to overclock to 700 or 800Mhz to see the improvements.
Click to expand...
Click to collapse
I've tried set-cpu 2.2.4 from here, but it doesn't seem to work. On startup, i press 'msm7x27'. It then asks for root permissions, before force closing.
I've also tried overclocking widget, but it says it needs root access, but I'm pretty sure we already do.
Correct me if I'm wrong or some other overclocking app works for you
Thanks devs!
benjanico said:
I've tried set-cpu 2.2.4 from here, but it doesn't seem to work. On startup, i press 'msm7x27'. It then asks for root permissions, before force closing.
I've also tried overclocking widget, but it says it needs root access, but I'm pretty sure we already do.
Correct me if I'm wrong or some other overclocking app works for you
Thanks devs!
Click to expand...
Click to collapse
I tried this too and it didn't work
I guess we don't have the privilege to scale cpu...to make it higher than 600 Mhz or smaller than 600 MHz
you need the "super user" application
it is in froyo release
when you install setcpu, it asks you to grant root access.
it worked for me, i selected "MSM7x27
but it seems the app cannot read the CPU frequency :-/
it shows "0 Mhz"
ok i know why:
our /dev/cpuinfo lacks details.
it shows only this:
# cat /proc/cpuinfo
cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 5 (v6l)
BogoMIPS : 598.01
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 5
Hardware : photon
Revision : 0000
Serial : 0000000000000000
Click to expand...
Click to collapse
to be improved
Hi, i know this feature is disabled in our phone becouse Cotulla tried to add cpu scaling but not finished (he disabled frequency init)... we need to finish his job and enable it!
EDIT:
I compiled kernel with all known fixes, enabled frequency init, so I can confirm about time: FULL working without time forwarding!!! But not know if time fix come from owerclock or by kernel itself, or maybe by gps.conf ?!!
Here is dmesg with owerclocking
that's interesting!
and guess what, stepping for MSM7227 is available
see here:
https://github.com/ladios/htc-kernel-msm7227/commit/935fd0650743f6b68b256d671b2e5446cd90de61
worst a try
and might fix our issues with clock!
I porting ladios 2.6.35, think will be finished tomorrow
munjeni said:
I porting ladios 2.6.35, think will be finished tomorrow
Click to expand...
Click to collapse
you dont need to port this version, it is also available on 2.6.32
https://github.com/ladios/htc-kerne...86e8a995f/arch/arm/mach-msm/acpuclock-arm11.c
Hi, yes I know that, but I need 2.6.35 for Gingerbread becouse if you see that version have new drivers like bluetooth...etc, also have some bugfixes from 2.6.32... we will try, maybe gtt something better tnan 2.6.32!
I finished and now it is in testing... I will upload to git
Here is http://gitorious.org/2-6-35-photon
Hi,
Guys i Found This file : acpuclk_tbl in /sys/acpuclock....
and there are write this values: 245760,480000,600000...
are they the values of cpu speed?
And are they editable to increase cpu speed?
HTCxxxx said:
Hi,
Guys i Found This file : acpuclk_tbl in /sys/acpuclock....
and there are write this values: 245760,480000,600000...
are they the values of cpu speed?
Click to expand...
Click to collapse
yes
......
but...how can i edit the file? it does't change values...can you help me?
HTCxxxx said:
but...how can i edit the file? it does't change values...can you help me?
Click to expand...
Click to collapse
It doesn't work this way
you need a program for that,for ex setCPU available from Market,but CPU scaling feature will be available on next release which is on testing now
tzacapaca said:
It doesn't work this way
you need a program for that,for ex setCPU available from Market,but CPU scaling feature will be available on next release which is on testing now
Click to expand...
Click to collapse
OK...But they are testing MSM 7227 CPU for Mini?
HTCxxxx said:
OK...But they are testing MSM 7227 CPU for Mini?
Click to expand...
Click to collapse
We are testing.
tzacapaca said:
We are testing.
Click to expand...
Click to collapse
True im looking the dedicated Thread...
hurray guys, i managed to overclock our photon!
credits to ladios, the guy who work on htc aria, from which i stole a bit of code
Using Froyo2.2 with HTCSense standard:
Photon original speed: 600Mhz => quadrant standard score = 860/900
Photon [email protected] 768Mhz => quadrant standard score = 1090/1093
it works great!
in addition to that, the power of enabling overclocking is, you can also underclock the CPU to 250Mhz when idle/charging/doing nothing, which dramatically saves your battery life!!
will play with it and commit changes when validated

[MOD] IncrediControl - Easy GUI Undervolting

Please read this post through thoroughly before downloading.
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
NOTE: The settings in the general tab are only functional in kernels that have implemented the simple sysfs interfaces for usb fast charging and audio boost. If you toggle them, its not going to break anything, but they won't work and the app may crash. If you would like your kernel dev to implement the interfaces, please direct them to these two commits:
https://github.com/Chad0989/android_kernel_common/commit/a7c21fa0391c225900f93960362535179c0cecc9
https://github.com/Chad0989/android_kernel_common/commit/41dc138bae23dc7582de72a4d9895aaa8e1f8b2d
NOTE2: It is a requirement of the HAVS adjustment that the kernel you are using has the HAVS sysfs interface implemented. If it does not, it will not work.
NOTE3: Before using, please delete any boot scripts you may have in /etc/init.d that toggle any of the settings this app controls.
Get it at http://www.incredikernel.com
Restore script - use this if you went too low and find yourself in a boot loop. Flash through recovery:
http://www.incredikernel.com/?p=229
Hi,
Good job, just one thing, i use Eviollet kernel (svs) and there's a step at 128 mhz.
The apps doesn't show these step.
It Would be great if you can implement it.
Otherwise i found no bug.
Thx in advance.
sffmandrake said:
Hi,
Good job, just one thing, i use Eviollet kernel (svs) and there's a step at 128 mhz.
The apps doesn't show these step.
It Would be great if you can implement it.
Otherwise i found no bug.
Thx in advance.
Click to expand...
Click to collapse
The app skips the first frequency because on a lot of phones its a.useless frequency like 19mhz. Thanks for letting me know though. I will add an exception and upload a new version later.
Sent from my ADR6300 using XDA App
7/31/11 - Preview 5-4
Minor change to no longer skip the first frequency. On many phones the first frequency is a useless frequency like 19mhz so the app was set up to skip that frequency. This is only a temporary fix until I change it to display only the available frequencies instead of all of them.
Sounds interesting, will have a go
Hi,
Thx chad0989, now it works at 128 mhz
sffmandrake said:
Hi,
Thx chad0989, now it works at 128 mhz
Click to expand...
Click to collapse
Great. I just sent you a PM.
Works great thanks!
IncrediControl v1.0!
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
Good job. Works on cm7 nightly with manU kernel 2.1.1.
chad0989 said:
The app skips the first frequency because on a lot of phones its a.useless frequency like 19mhz.
Click to expand...
Click to collapse
The eviollet Kernel implements AXI @ 128Mhz, which drops the bus down to 19Mhz which potentially could save more battery
rootSU said:
The eviollet Kernel implements AXI @ 128Mhz, which drops the bus down to 19Mhz which potentially could save more battery
Click to expand...
Click to collapse
But the actual cpu speed still never drops below 128mhz if I'm not mistaken (at least thats how it is on the inc, its possible to enable the use 19mhz cpu speed, but the phone is unusable). So the cpu voltage for 19mhz would never be used. I have changed the app now though to show all cpu frequencies available for use, so if you did enable the use of 19mhz cpu speed (you have to comment out a line in the acpuclock file), it would show up.
Hopefully that clears up confusion.
IncrediControl v1.3
Major changes include:
Ad Free has now been turned into a key that removes the ads from the free version. This allows donors who have downloaded the ad free version from the site to update through the market.
HAVS voltage checking. Minimum voltages can no longer be set higher than maximum voltages.
Boot voltages are now stored in the application’s data directory. Boot settings will now persist if you update your ROM or restore the application and data from a backup.
IncrediControl v1.4:
This is mostly a bug fix release but I have also added:
Automatic detection of the minimum and maximum voltages supported by your kernel
Unless any more bugs arise, the next release will have some new goodies to play with...
http://www.incredikernel.com or from the market.
I'm making an enquiry for a friend who uses his HTC desire with RCMix S v2.0 Evolutionary Sense using SNQ v05 kernel. Does this Rom / kernel meet the InvrediControl system requirements?
One other question, in other utils I've used in the past they also supply a "reset" zip which can be used to revert the settings back to default in the event if instability/freeze (requires flash from recovery). Do you see value in creating a similar zip for over agressive UV?
Thanks again for a wonderful utility. Can't wait to try it.
Sent from my Desire HD using XDA App
fidoedidoe said:
I'm making an enquiry for a friend who uses his HTC desire with RCMix S v2.0 Evolutionary Sense using SNQ v05 kernel. Does this Rom / kernel meet the InvrediControl system requirements?
One other question, in other utils I've used in the past they also supply a "reset" zip which can be used to revert the settings back to default in the event if instability/freeze (requires flash from recovery). Do you see value in creating a similar zip for over agressive UV?
Thanks again for a wonderful utility. Can't wait to try it.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I don't believe that kernel has the sysfs interface for adjusting voltages. You can still give it a shot though. The app will let you know if the kernel doesn't have the correct interface.
I also have a reset zip. It's on the site and there is a link in the OP.
SNQ anyone?
Ahhhw...no love for the wildly popular SNQ Kernal?!
SilverHawk2 said:
Ahhhw...no love for the wildly popular SNQ Kernal?!
Click to expand...
Click to collapse
The kernel dev has to implement the interface in order to use the app. Since I don't believe that the source for the GB kernel has been released yet for the desire, the dev won't be able to implement the interface until it is.
chad0989 said:
The kernel dev has to implement the interface in order to use the app. Since I don't believe that the source for the GB kernel has been released yet for the desire, the dev won't be able to implement the interface until it is.
Click to expand...
Click to collapse
Thanks for the heads up. Next time I have access to the phone I will install and see what unfolds. But from what you said I'm not expecting much with SNQ.
Maybe time to suggest to my friend a new Rom

[KERNEL][A510/A700][07/30] Z-Kernel Beta

Welcome to Z-Kernel's thread!​
Features
- Base kernel fully updated to linux-tegra-nv-3.1 (bug fixes & performance improvements)
- Simplified board codes
- Cleaned up Acer specific code
Click to expand...
Click to collapse
Changelog
r2:
- Restarted kernel development (r1's features not implemented yet)
- Base kernel fully updated to linux-tegra-nv-3.1 (bug fixes & performance improvements)
- Simplified board codes
r1:
- CPU OC to 1.6 ghz by default (should be stable)
- GPU OC support up to 700MHz (default is 520 mhz)
- Overclocked LP core from 500 to 620 mhz
- Custom user voltage control for CPU and Core components such as EMC, GPU, and LP (faux123)
- Dynamic FSYNC
- Optimized KSM
- Optimized ZRAM
- Compiled using latest Linaro toolchain with optimized compiler flags
- Optimized SLUB and use SLUB by default instead of SLAB
- Glibc memcpy and memmove
- Deadline improvements for solid state drives
- Proportional Rate Reduction for TCP
- Tegra 3 variant display (faux123)
- Optimized swahb32 byteswap helper
- Asynchronous I/O latency improved through removal of plug in do_io_submit()
- allow use of an I/O controller's native max block size
- Optimized ARM RWSEM algorithm
- timer: optimize apply_slack()
- Optimized crypto algorithms
- Optimized AES and SHA1 routines
- LowMemoryKiller fixes and improvements
- Lock performance governor to all 4 cores
- Many scheduler improvements and optimizations
- updated bcmdhd driver (wifi)
- over 450 changes committed, so the above list isn't complete
Click to expand...
Click to collapse
Complete list of changes can be found in the commit log: https://github.com/Ziyann/android_kernel_acer_t30
I'm not responsible if anything bad happens with your device!
This build has been tested on CM11 only, so if you run into something with other ROMs, report it and I will see what I need to change to cooperate with it.
XDA:DevDB Information
Z-Kernel, Kernel for the Acer Iconia A700 and A510
Contributors
Ziyan
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R2
Stable Release Date: 2014-07-30
Created 2014-09-23
Last Updated 2014-09-23
Nice, if it's working fine, I hope you will also support the A510/A511
Shreps said:
Nice, if it's working fine, I hope you will also support the A510/A511
Click to expand...
Click to collapse
Of course, I'll see what can I do when I get everything (OC, UV, ...) working here waiting for a tester...
it is indeed slow. even when completely debloated plus stripped of "essential" system components that I personally do not use. I will try this right away. will report back within an hour in this post.
@Ziyan
it boots, runs, everything seems standard. not seeing any performance increases though. same ol' 10 to 15 fps is there anything more you wish for me to test with it? I replaced this tab a while ago with galaxy note pro 12.2 so I can't really use it enough to check for random reboots
Sterist said:
@Ziyan
it boots, runs, everything seems standard. not seeing any performance increases though. same ol' 10 to 15 fps is there anything more you wish for me to test with it? I replaced this tab a while ago with galaxy note pro 12.2 so I can't really use it enough to check for random reboots
Click to expand...
Click to collapse
Thanks, that's good, it means I can continue improving it. I need to check the kernel periodically after a big bunch of commits, because if something gets broken, it can be hard to find what causes it if from a thousand things I'll push a new version and changelog later today or tomorrow.
sounds good. quote this post when it's uploaded, it'll send me am email notification and I can get right on it.
Sterist said:
sounds good. quote this post when it's uploaded, it'll send me am email notification and I can get right on it.
Click to expand...
Click to collapse
Here's a new version. Before testing it, please make some benchmarks with the previous version (mainly 3D), because - if everything works as it should -, the GPU is now working at 520 mhz instead of 416. It should also have CPU overclocking and voltage control support, so please install Trickster Mod, or something like that from Play Store to see if it works (screenshots are welcome). If it works (i'd be a bit surprised lol it was too easy), please run some benchmarks again to see if there's a noticeable difference. I've got 12 pages of commits waiting to be merged, so yeah, if something got broken, I better fix it now :silly:
Ziyan said:
Here's a new version. Before testing it, please make some benchmarks with the previous version (mainly 3D), because - if everything works as it should -, the GPU is now working at 520 mhz instead of 416. It should also have CPU overclocking and voltage control support, so please install Trickster Mod, or something like that from Play Store to see if it works (screenshots are welcome). If it works (i'd be a bit surprised lol it was too easy), please run some benchmarks again to see if there's a noticeable difference. I've got 12 pages of commits waiting to be merged, so yeah, if something got broken, I better fix it now :silly:
Click to expand...
Click to collapse
just woke up and leaving for work in 20 minutes. when I get there and settle in (about an hour and 20min from this post) I'll test it
which benchmark though, antutu?
Sterist said:
just woke up and leaving for work in 20 minutes. when I get there and settle in (about an hour and 20min from this post) I'll test it
which benchmark though, antutu?
Click to expand...
Click to collapse
Yeah, antutu will do, just note the invidual points
Ziyan said:
Yeah, antutu will do, just note the invidual points
Click to expand...
Click to collapse
woah woah... I just went to download the second version and the tab was dead from 77% last night, still warm.
there's a wake problem, screen will turn on one time after booting up but only that one time
and a sleep problem, after manually turning the screen off it will not turn back on (and kills battery very quickly!)
Sterist said:
woah woah... I just went to download the second version and the tab was dead from 77% last night, still warm.
there's a wake problem, screen will turn on one time after booting up but only that one time
and a sleep problem, after manually turning the screen off it will not turn back on (and kills battery very quickly!)
Click to expand...
Click to collapse
Thanks for the report, I'll investigate the problem tomorrow (it's 01:30 AM here :silly. If you could take a dmesg (while turning the screen off, then trying to turn it back on), or last_kmsg, that would be great help! If you don't know how, refer to section 2 and 3: http://forum.xda-developers.com/showthread.php?t=1520508
Ziyan said:
Thanks for the report, I'll investigate the problem tomorrow (it's 01:30 AM here :silly. If you could take a dmesg (while turning the screen off, then trying to turn it back on), or last_kmsg, that would be great help! If you don't know how, refer to section 2 and 3: http://forum.xda-developers.com/showthread.php?t=1520508
Click to expand...
Click to collapse
higher score / lower 3D performance is v1
lower score / higher 3D is v0
recent apps cleared and CPU set to 1400 performance and ROW
no app gives OC/UV options with v1
I don't have access to a pc at work so can't run dmesg properly for this, and I'm having trouble reproducing the sleep crash now
this is probably all exactly what you did not want me to say lol
edit: so, I got it to crash again (yay!) but can't get klast to work (read only fs) I tried mounting various directories as RW but honestly I have no idea which to do... and here's dmesg which may or may not contain what you need.
I know it might be a little early to ask but any chance you could implement Frandom?
Sterist said:
(cut)
edit: so, I got it to crash again (yay!) but can't get klast to work (read only fs) I tried mounting various directories as RW but honestly I have no idea which to do... and here's dmesg which may or may not contain what you need.
I know it might be a little early to ask but any chance you could implement Frandom?
Click to expand...
Click to collapse
Thanks for the detailed report, I think I revert Franco's hotplugging driver for now, seems like it's on a rampage. May try again in the future.
As for the last_kmsg, your first command was correct, it's just that it doesn't always get created.
We'll see about Frandom when we get things working nice
Here's a build with the stock hotplugging driver, report back if it still crashes.
Ziyan said:
Thanks for the detailed report, I think I revert Franco's hotplugging driver for now, seems like it's on a rampage. May try again in the future.
As for the last_kmsg, your first command was correct, it's just that it doesn't always get created.
We'll see about Frandom when we get things working nice
Here's a build with the stock hotplugging driver, report back if it still crashes.
Click to expand...
Click to collapse
ok I let it idle for about 30 minutes (that was enough to crash every time I left it alone at work) and so good so far.
still no OC/UV though
edit... idle 2 more hours and no problems
Sterist said:
ok I let it idle for about 30 minutes (that was enough to crash every time I left it alone at work) and so good so far.
still no OC/UV though
edit... idle 2 more hours and no problems
Click to expand...
Click to collapse
Great, let's see if CPU OC/UV works with this one. If it does, don't forget to run a benchmark, as GPU OC didn't work till now
Ziyan said:
Great, let's see if CPU OC/UV works with this one. If it does, don't forget to run a benchmark, as GPU OC didn't work till now
Click to expand...
Click to collapse
still no CPU OC/UV. also, that 52mhz step has never worked on any ROM or kernel I've tried, that may extend battery life
Sterist said:
still no CPU OC/UV. also, that 52mhz step has never worked on any ROM or kernel I've tried, that may extend battery life
Click to expand...
Click to collapse
Ok, it must work now.
About 52 mhz, it's so low that any small background work would ramp up the CPU to hispeed_freq, so in the end, it would shorten battery life. The same thing happens with Galaxy Nexus if we go down to 180 mhz, which is a lot, compared to 52 mhz
I've added about 200 commits since your last try (this is a great daily activity :silly, the kernel is getting to be on pair with a Nexus 7 kernel soon if we get OC/UV and some more extra things working :highfive:
Ziyan said:
Ok, it must work now.
About 52 mhz, it's so low that any small background work would ramp up the CPU to hispeed_freq, so in the end, it would shorten battery life. The same thing happens with Galaxy Nexus if we go down to 180 mhz, which is a lot, compared to 52 mhz
I've added about 200 commits since your last try (this is a great daily activity :silly, the kernel is getting to be on pair with a Nexus 7 kernel soon if we get OC/UV and some more extra things working :highfive:
Click to expand...
Click to collapse
ok so UV menu now loads but doesn't look to work quite right - not usable. this is the menu I was looking for that did not load before
OC still does not work though
about 52 (51 actually) every time it is selected, after I leave the screen and come back 102 becomes the selected minimum automatically, even if lock frequency at 51
need benchmark? and ty ty your time!
Sterist said:
ok so UV menu now loads but doesn't look to work quite right - not usable. this is the menu I was looking for that did not load before
OC still does not work though
about 52 (51 actually) every time it is selected, after I leave the screen and come back 102 becomes the selected minimum automatically, even if lock frequency at 51
need benchmark? and ty ty your time!
Click to expand...
Click to collapse
At least we're making progress :good: try this one, and also try trickster mod (specific and general menu).
Benchmarks are welcome, those 200 commits should improve performance a bit, though I think most of them can only be seen in real usage (low memory killer, zram, ...)
Ziyan said:
At least we're making progress :good: try this one, and also try trickster mod (specific and general menu).
Benchmarks are welcome, those 200 commits should improve performance a bit, though I think most of them can only be seen in real usage (low memory killer, zram, ...)
Click to expand...
Click to collapse
bootloop, won't get past Acer logo
benchmark is from the last kernel

Ask around base faux feature

Hi
I think im still newbie in android n i want to know more advance about android especially about kernel n their feature
In faux app i see something feature i still dont understand, yes it is about cpu hotplug..
Can someone explain what function every each in cpu hotplug?especially in intelliplug profile..
Like hysterisis value, treshold value n other..
Please explain that to me i want to know more..
I find in google but that not fill my question..
Thank you very much
xerxess said:
Hi
I think im still newbie in android n i want to know more advance about android especially about kernel n their feature
In faux app i see something feature i still dont understand, yes it is about cpu hotplug..
Can someone explain what function every each in cpu hotplug?especially in intelliplug profile..
Like hysterisis value, treshold value n other..
Please explain that to me i want to know more..
I find in google but that not fill my question..
Thank you very much
Click to expand...
Click to collapse
It's quite impossible to explain everything about kernels. You have to continue your searchs IMO.
But here are my information about intelliplug from Faux:
4. What is Intelli_plug? How do I use it?
Intelli_plug is my open source solution to Qualcomm's closed source mpdecision. Intelli_plug is enabled automatically upon boot, so NO need to turn on or off. However, it conflicts with mpdecsion, so I HIGHLY recommend turning off mpdecision when using my kernels! To turn off mpdecision, either use fauxclock app under CPU page or use terminal / init.d script and write "stop mpdecsion"
Click to expand...
Click to collapse
Kernel.org is a great source: https://www.kernel.org/doc/local/hotplug-history.html
Thankyou very much for answering my question..
But my question more spesific for function every each in intelliplug like intelliplug profile n other

enable processor

Hello I am root, and I have an issue with an app, or kernel, is it possible you to awake the heart of my processor in his sleep?
Hello root!!
I think you will need to be more specific with what you want? The app you think may be the issue? The issue itself?
Sent from my E6653 using Tapatalk
hi I want something that makes all the processor's assets, because at the moment I have 5 active and inactive that his 3
xN2iicolas said:
hi I want something that makes all the processor's assets, because at the moment I have 5 active and inactive that his 3
Click to expand...
Click to collapse
I will take a wild guess and assume you want a separate kernel and tool that allows you to control CPU Governor, perhaps individual core mpdecision, hotplugging, voltages etc.
I don't think that development exists yet for z5 suite, someone please correct me if wrong.
Sent from my E6653 using Tapatalk
millicent said:
I will take a wild guess and assume you want a separate kernel and tool that allows you to control CPU Governor, perhaps individual core mpdecision, hotplugging, voltages etc.
I don't think that development exists yet for z5 suite, someone please correct me if wrong.
Sent from my E6653 using Tapatalk
Click to expand...
Click to collapse
well, you can: CPUQuiet Framework which is included in my & AndroPlus' kernel allows hotplugging control (well at least indirectly),
voltage control is done internally - so you can't control that,
you, at maximum, can limit the maximum frequency of the two cpu clusters (and some other minor cpufreq manipulation);
task pinning to cores ?
take a look at taskset, schedtool, etc. (resorting to terminal and init scripts)
I have an issue with an app, or kernel, is it possible you to awake the heart of my processor in his sleep
Click to expand...
Click to collapse
that statement is too imprecise
this could include functionality of cron-job like scripts & apps, wakelocks, etc.
need more details ...
edit:
per-core control appears to be available with MSM Limiter

Categories

Resources