Utilize all four cores for less load? - G2 Q&A, Help & Troubleshooting

I was wondering if it would be possible to utilize all four cores in the snap dragon 800 all of the time. I know that multi core processors only utilize what they need, and each core will only process one thing at a time. Without getting into Amdahl's Law, and getting super complex. It could be impossible, because you would almost have to break the law or something.
I just want to hear your guy's thoughts on this.
I suppose this could have gone into a different section as it is not directly related to the G2 itself, but oh well.
Sent from my LG-D800 using xda app-developers app

livelysins96 said:
I was wondering if it would be possible to utilize all four cores in the snap dragon 800 all of the time. I know that multi core processors only utilize what they need, and each core will only process one thing at a time. Without getting into Amdahl's Law, and getting super complex. It could be impossible, because you would almost have to break the law or something.
I just want to hear your guy's thoughts on this.
I suppose this could have gone into a different section as it is not directly related to the G2 itself, but oh well.
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
sure, its possible. youll need s custom kernel that exposes the files for hotplugging. then you neex to set 4 cores as minimum on. thats how im using my nexus 5, no hotplugging/4 cores always on. in theory, its better for battery life as well, since the cpu doesnt waste time turning cores on and off constantly while hotplugging.

Where would I get that custom kernel for a d800?
Sent from my LG-D800 using xda app-developers app

livelysins96 said:
Where would I get that custom kernel for a d800?
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
now that i cant help with. check out the development sections to see if there are any available. but you need a total of 10 posts to see those sections, and youre almost there!

I think If you are rooted you can try to turn off mpdecision,use trickster mod app.

gm007 said:
I think If you are rooted you can try to turn off mpdecision,use trickster mod app.
Click to expand...
Click to collapse
disabling mpdecision doesnt disable hotplugging

simms22 said:
disabling mpdecision doesnt disable hotplugging
Click to expand...
Click to collapse
What i know that disabling mpdecision will turn all cores on.

gm007 said:
What i know that disabling mpdecision will turn all cores on.
Click to expand...
Click to collapse
wrong again. mpdecision keeps the cpu away from 300mhz, closer to 1100mhz(i dont know what it has been set to for the g2). this provides a boost when starting apps. custom kernels generally disable mpdecision.

simms22 said:
wrong again. mpdecision keeps the cpu away from 300mhz, closer to 1100mhz(i dont know what it has been set to for the g2). this provides a boost when starting apps. custom kernels generally disable mpdecision.
Click to expand...
Click to collapse
1036mhz for G2
U can disable MPdecision in system/bin, just rename the files with a .bak

After disabling 2 cores still seem to be offline. Idk.
Sent from my LG-D800 using xda app-developers app

livelysins96 said:
After disabling 2 cores still seem to be offline. Idk.
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
right, you disabled the cores, you didnt disable hotplugging. but, you are a dual core for the time being
you would need to set 4 cores as minimum used, and 4 cores as a maximum. this, for all intensive purpose, will set 4 cores as a minimum being used, and make hotplugging not available.

How do I do that within trickster?
Sent from my LG-D800 using xda app-developers app

Here are my current settings I believe I figured it out?
Sent from my LG-D800 using xda app-developers app

Hi,
Disabling MpDecision in Trickster Mod makes the four cores always online, I've just tested (and I continue to test)... Compared to MpDecision ON, with two cores online mainly then one core then three cores online (according to what you are doing obviously)...
So I confirm that with MpDecision OFF, all cores are always online whatever the load of the CPU (since 10 minutes with screen ON/OFF, browsing, settings, etc...).
EDIT: with g.lewarne kernel, but he kept MpDecison stuff like stock, so... But I remember tested with the stock kernel and it was the same thing, maybe something related to LG kernel especially?

That's what i know,but simms has more knowledge than me.

viking37 said:
Hi,
Disabling MpDecision in Trickster Mod makes the four cores always online, I've just tested (and I continue to test)... Compared to MpDecision ON, with two cores online mainly then one core then three cores online (according to what you are doing obviously)...
So I confirm that with MpDecision OFF, all cores are always online whatever the load of the CPU (since 10 minutes with screen ON/OFF, browsing, settings, etc...).
EDIT: with g.lewarne kernel, but he kept MpDecison stuff like stock, so... But I remember tested with the stock kernel and it was the same thing, maybe something related to LG kernel especially?
Click to expand...
Click to collapse
gm007 said:
That's what i know,but simms has more knowledge than me.
Click to expand...
Click to collapse
nobody is perfect, i make mistakes as well :angel:
i dont use trickster, nor have a g2. ive always disabled mpdecision with my nexus 4 and nexus 5 by script, and that never ever disabled hotplugging. but, then again, g2 kernel code could be different
btw, on the nexus, disabling mpdecision is easy with the terminal emulator..
su(press enter)
stop mpdecision(press enter)

simms22 said:
nobody is perfect, i make mistakes as well :angel:
i dont use trickster, nor have a g2
Click to expand...
Click to collapse
I never said you're wrong, just stated that with the G2 it works to have all cores online all the time disabling MpDecision do the trick
I remember read that g.lewarne and whootever (2 kernel devs for the G2) have said that LG have some weird things about the kernel, maybe it's that...
LG messed up with some stuff in their kernel according to their sources, but maybe nothing directly related to MpDecision stuff..., ow well I don't know. But for sure I will run with MpDecison OFF to see if there is some good/weird behaviors (performance/battery life). I run with all cores online all the time on my N5 without any issues about battery life and great performance, maybe with the G2 it could be great too...

viking37 said:
I never said you're wrong, jsut stated that with the G2 it works to have all cores online all the time disabled MpDecision do the trick
I remember read that g.lewarne and whootever (2 kernel devs for the G2) have said that LG have some weird things about the kernel, maybe it's that...
LG messed up with some stuff in their kernel according to their sources, but maybe nothing directly related to MpDecision stuff...
Click to expand...
Click to collapse
do me an experiment. download and install perfmon from the play store, open it, press cpu. then do whatever you do(but watch the perfmon floating window. tell me if you see cores disable and enable with your use. make sure mpdecision is disabled. now im just curious. btw, perfmon is a cool app that enables a floating window so you can watch it while doing your normal stuff.

simms22 said:
do me an experiment. download and install perfmon from the play store, open it, press cpu. then do whatever you do(but watch the perfmon floating window. tell me if you see cores disable and enable with your use. make sure mpdecision is disabled. now im just curious. btw, perfmon is a cool app that enables a floating window so you can watch it while doing your normal stuff.
Click to expand...
Click to collapse
Re,
Done, just let me uplaod the 147 Mo video (for 49 secondes :laugh on Youtube (tested with Dropbox but even more time)..., in about 40 minutes...

viking37 said:
Re,
Done, just let me uplaod the 147 Mo video (for 49 secondes :laugh on Youtube (tested with Dropbox but even more time)..., in about 40 minutes...
Click to expand...
Click to collapse
thanks! and waiting..

Related

A list of questions

Hello All! I have a somewhat large list of questions that I'm hoping you'll be able to help me figure out!
Here they are:
1. How large of a gain do we see by overclocking the GPU?
2. How large of a gain do we see by overclocking the CPU?
3. Which of the above two creates a larger heat increase?
4. What is "mpdecision" and what does it do?
The fifth question is very specific.
5. When I "supercharge" my phone using Zepplinrox's V6 supercharger, and then finish it with it's sister script the "Ultimate Jar Power tools," I see that the ADJ values don't stick. Why is this? What are ADJ values? Will this prevent me from fully utilizing the Maximum Multitasking Mod?
Thank you for your time patience,
Connor Baker
why would u even want to overclock? this things running a quad core at 1.5 by default. plus those supercharger scripts are meant to speed up slow phones. i don't see what someone could possibly gain by running them on a phone like this.
Sent from my Nexus 4 using xda premium
lowrider262 said:
why would u even want to overclock? this things running a quad core at 1.5 by default. plus those supercharger scripts are meant to speed up slow phones. i don't see what someone could possibly gain by running them on a phone like this.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I know, but I really like to have my phone running at the max, plus I believe that it's needed for the Maximum multitasking mods. It really thrills me to have something faster than my mother's mac in my hand.
Connor Baker
well in that case ill help you the best i can lol... in pretty sure CPU overclock heats up more. GPU overclock can make your graphics glitchy if you go too high. mpdecision lets you shut off your other 3 cores when you don't need them so basically you'll be running single core unless you put your CPU under a heavy load like gaming, which is meant to save battery.
Sent from my Nexus 4 using xda premium
Don't overclock unless you feel you need to, you'll be shortening the lifespan of your device for very little gain, since the n4 already screams as it is.

[Q] Cyanogenmod 10 with Trinity 7 CPU overclocking

So I'm kind of new to messing around with tablets but learning a few things. On my Nexus 7 I decided to put Cyanogenmod 10 on it so I could customize a few things. I then decided I wanted to overclock the max CPU frequency past 1300 MHz so I installed Trinity 7 kernel. Now I'm able to run it at 1700 MHz which runs a few apps much faster but after exiting out of the apps and going back to check on the max CPU frequency and it's set back down to 1300 MHz.
Does anyone have an idea what could be causing this? So far there's only one app I'm overclocking for so it's not a big issue but it would still be nice to figure out the issue.
Thanks
I down loaded too. I just changed the governer to performance and it stays on 1600 etc on set cpu
EsX GingaNinja said:
So I'm kind of new to messing around with tablets but learning a few things. On my Nexus 7 I decided to put Cyanogenmod 10 on it so I could customize a few things. I then decided I wanted to overclock the max CPU frequency past 1300 MHz so I installed Trinity 7 kernel. Now I'm able to run it at 1700 MHz which runs a few apps much faster but after exiting out of the apps and going back to check on the max CPU frequency and it's set back down to 1300 MHz.
Does anyone have an idea what could be causing this? So far there's only one app I'm overclocking for so it's not a big issue but it would still be nice to figure out the issue.
Thanks
Click to expand...
Click to collapse
There might be an option for "set at boot." Try that.
mccolvinj said:
I down loaded too. I just changed the governer to performance and it stays on 1600 etc on set cpu
Click to expand...
Click to collapse
That's not the solution. The performance governor keeps the cpu speed at max frequency at all times (even when screen is off). That will eat up your battery quick.
v9s said:
There might be an option for "set at boot." Try that.
Click to expand...
Click to collapse
Thanks that seemed to have fixed it though I figured out you have to turn that on THEN pick the max CPU frequency. Doing it the other way around won't change anything, I think that's what I tried before.
Also mccolvinj I'd personally leave it on interactive so it will just use the max CPU when needed or at least that's what I got out of the descriptions of governors I looked up.
EDIT: Nevermind...that only temporarily fixed it, it went back to 1300 after a bit. Maybe I installed Trinity 7 wrong?
Does trinity have superuser permissions?
Sent from my Nexus 7 using xda app-developers app
winged mantis said:
Does trinity have superuser permissions?
Click to expand...
Click to collapse
I think so since it's rooted, is there a way I can check or give it permissions?
you need the powerHAL "fix". your rom should include it, but i guess it doesnt. search the n7 forums for a flashable. or, the trinity kernel toolbox app includes the "fix" just in case your rom doesnt.
EsX GingaNinja said:
I think so since it's rooted, is there a way I can check or give it permissions?
Click to expand...
Click to collapse
Check in the superuser app
Sent from my Rezound using xda app-developers app
kernels arent rooted, your roms are. you can flash a custom kernel on a rom without root. the only difference is that you wouldnt be able to control the cpu with ant cpu control apps, the apps need root.
ive posted the solution already. either find the flashable powerHAL fix or use the trinity kernel toolbox to control the kernel. tkt includes the powerHAL fix.

Tegra Overclock App - Play Store

Not my app, but I seen this over on the N7 forums and thought I might share. I haven't personally tried it but seems pretty cool. It might be able to get a few more FPS out of some of the stuff the Ouya is doing.
Tegra OverClock
I don't know how you'd get it installed on the Ouya without having to backup and restore the APK by sideloading.
It seems it was just released today.
It appears to use drm tied to Google framework.
Sent from my GT-P3113 using Tapatalk 4 Beta
Perhaps it can be found in another market?
Sent from my Nexus 7 using XDA Premium HD app
player911 said:
Not my app, but I seen this over on the N7 forums and thought I might share. I haven't personally tried it but seems pretty cool. It might be able to get a few more FPS out of some of the stuff the Ouya is doing.
Tegra OverClock
I don't know how you'd get it installed on the Ouya without having to backup and restore the APK by sideloading.
It seems it was just released today.
Click to expand...
Click to collapse
Well after doing some research it looks like (Assuming you're rooted with custom ROM, cwm recovery, Google Apps enabled etc.) We can "safely" overclock the GPU.
I used Google translate and found the following Spanish user said, "Tegra overclock (no Tegrak): Default uya the gpu of 200mhz and can come to no problem climbing to 520 (more crashes) and force the 4 cores to stay on. It is quite noticeable in some ways, the vice city to the fullest without almost pulls, n64 emus greatly improved the framerate but less so in the benchmarks. The temperature in my case (I have it out of the box) is no problem. http://www44.zippyshare.com/v/71430637/file.html
ale! to tinker but I take responsibility if it burns! lol"
I'm going to give this a shot. Hope my OUYA doesn't die on me
BlissfulBeast said:
Well after doing some research it looks like (Assuming you're rooted with custom ROM, cwm recovery, Google Apps enabled etc.) We can "safely" overclock the GPU.
I used Google translate and found the following Spanish user said, "Tegra overclock (no Tegrak): Default uya the gpu of 200mhz and can come to no problem climbing to 520 (more crashes) and force the 4 cores to stay on. It is quite noticeable in some ways, the vice city to the fullest without almost pulls, n64 emus greatly improved the framerate but less so in the benchmarks. The temperature in my case (I have it out of the box) is no problem. http://www44.zippyshare.com/v/71430637/file.html
ale! to tinker but I take responsibility if it burns! lol"
I'm going to give this a shot. Hope my OUYA doesn't die on me
Click to expand...
Click to collapse
So did it work? Can you post back your experience? Thanks
Really it sounds great.
Sent from my GT-N7100 using xda app-developers app
Will it eventual work the orginal terga overclock app, or will it just be the Spanish
Sent from my HTC One S using XDA Premium 4 mobile app
D3LTA said:
Will it eventual work the orginal terga overclock app, or will it just be the Spanish
Click to expand...
Click to collapse
He was simply quoting a Spanish website regarding Tegra3 GPU clock - this has nothing to do with the O/C app. IF the app is optimized for Ouya, it won't be Spanish only of course.
Ipse_Tase said:
He was simply quoting a Spanish website regarding Tegra3 GPU clock - this has nothing to do with the O/C app. IF the app is optimized for Ouya, it won't be Spanish only of course.
Click to expand...
Click to collapse
FYI...I tried the latest version on my Ouya and got nothing. It doesn't even pull the CPU clock speed.
Ipse_Tase said:
FYI...I tried the latest version on my Ouya and got nothing. It doesn't even pull the CPU clock speed.
Click to expand...
Click to collapse
Did you run it on a rooted / custom rom / play enabled ouya? i'm on 519r2 (StockPlus). Would love to give it a go, but a little concerned about heat!
rosietastic said:
Did you run it on a rooted / custom rom / play enabled ouya? i'm on 519r2 (StockPlus). Would love to give it a go, but a little concerned about heat!
Click to expand...
Click to collapse
It is working fine for me on 519r2. If you don't mess with the CPU speed, which there is really no reason to, there shouldn't be any noticeable increase in heat. I just have the GPU set to 520 and the FPS locked at 60. It has definitely made games I considered previously unplayable, playable.
philburkhardt said:
It is working fine for me on 519r2. If you don't mess with the CPU speed, which there is really no reason to, there shouldn't be any noticeable increase in heat. I just have the GPU set to 520 and the FPS locked at 60. It has definitely made games I considered previously unplayable, playable.
Click to expand...
Click to collapse
In my case, even with "Set at boot time" enabled, the settings are not sticking. I have to do it every time I power on the box - which becomes a bit tedious. Same goes for not being able to wake the Ouya from the controller.
I checked with No-frills CPU Control to see the CPU % use vs different governors and I found (same as on my N4) that "interactive" seems to be the better one.

how to increase battery life by 25%

It is simple, tested on my nexus 6, just go to system/bin and delete mpdecision, then install an app that controls kernel, like kernel adiutor, raise min freq of cpu to 883000 mhz, then set apply on boot, reboot phone and enjoy lagfree and smooth super battery life
you are my hero
fedef12evo said:
It is simple, tested on my nexus 6, just go to system/bin and delete mpdecision, then install an app that controls kernel, like kernel adiutor, raise min freq of cpu to 883000 mhz, then set apply on boot, reboot phone and enjoy lagfree and smooth super battery life
Click to expand...
Click to collapse
Isn't enough to just turn off mpdecision in the kernel app?
this only works for stock roms? I can't find any mpdecision file on /system/bin
Sent from my Nexus 6 using Tapatalk
blanco2701 said:
Isn't enough to just turn off mpdecision in the kernel app?
Click to expand...
Click to collapse
if it turn off the 3 sec boost of mpdecision yes
sgloki77 said:
this only works for stock roms? I can't find any mpdecision file on /system/bin
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
works on all roms for nexus 6, some file managers cant see mpdecision in system/bin, try it in recovery using twrp
fedef12evo said:
raise min freq of cpu to 883000 mhz
Click to expand...
Click to collapse
Can you tell me if it's the minimum CPU frequency in the CPU tab or in the CPU governor configuration?
blanco2701 said:
Isn't enough to just turn off mpdecision in the kernel app?
Click to expand...
Click to collapse
Disabling in a kernel app will accomplish the same thing. The reason you are seeing a change in battery life is because of the 3 second input boost of MPD. Most of the custom kernels have a generic touch boost driver that is set to 1 second or less to take the place of the mpd boost and increase battery because of the decreased boost time.
MPD works great for some people and not for others. It is greatly dependent on your usage habits. For my typical usage, with mpd on, I average 6-7 hours of screen on time. If you are a gamer, where you are constantly touching the screen, mpd will adversely affect your battery life because of the constant boost.
As a kernel developer, I definitely would not recommend deleting the mpd binary. I would suggest trying a couple of different kernels and/or configurations to accomplish the same results.
lol.. seriously? i guess thats one reason that ive disabled mpdecision for the last 3+ years on whichever nexus i was on, but not the main reason
How can I turn mpd off on ex kernel manager
you don't need a kernel app to disable it BTW. all kernel apps do is provide a ui for you to use. it can be done via a terminal emulator app.. type,
su(press enter)
stop mpdecision(press enter)
and that's it.
I'm using kernel auditor and in the CPU hotplug section the first listing is mp decision. Is that what needs to be disabled?
OK, silly question.. do you know what mpdecision does? do you know what disabling mpdecision does?
simms22 said:
OK, silly question.. do you know what mpdecision does? do you know what disabling mpdecision does?
Click to expand...
Click to collapse
@simms22 good point here. This is good for everyone to know. If you disable mpd without a replacement, you risk all cores not coming back online after deep sleep. Mpd doesn't actually control hotplugging, it controls input boost and onlining of cores.
Sent from my Nexus 6 using Tapatalk
and that's exactly why I disable mpdecision, so I can have all 4 cores active at all times.
buckmarble said:
@simms22 good point here. This is good for everyone to know. If you disable mpd without a replacement, you risk all cores not coming back online after deep sleep. Mpd doesn't actually control hotplugging, it controls input boost and onlining of cores.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
When you say without a replacement what are you referring to? Trying to learn here..
MrMiami81 said:
When you say without a replacement what are you referring to? Trying to learn here..
Click to expand...
Click to collapse
A replacement such as Zen, Mako, Blu_Plug, etc.
Also, (just an FIY) Zen isn't really a hotplug (it keeps all four cores active at all times, unlike Mako, Blu_Plug, etc). It's still lumped in there for some reason.
I highly recommend disabling MPDecision. You know what MPDecision stands for, right? MakePoor Decisions
Face_Plant said:
A replacement such as Zen, Mako, Blu_Plug, etc.
Also, (just an FIY) Zen isn't really a hotplug (it keeps all four cores active at all times, unlike Mako, Blu_Plug, etc). It's still lumped in there for some reason.
I highly recommend disabling MPDecision. You know what MPDecision stands for, right? MakePoor Decisions
Click to expand...
Click to collapse
I'm running elemental x now and I can't find mp decision on kernel auditor. Do you know if it is included with this kernel? If so how would I disable it?
MrMiami81 said:
I'm running elemental x now and I can't find mp decision on kernel auditor. Do you know if it is included with this kernel? If so how would I disable it?
Click to expand...
Click to collapse
i believe its already disabled in elementalx kernel. anyways, you can always use a terminal emulator app, then type..
su(press enter)
stop mpdecision(press enter)
thats all. all kernel apps do is give you a ui to whats already available.
MrMiami81 said:
I'm running elemental x now and I can't find mp decision on kernel auditor. Do you know if it is included with this kernel? If so how would I disable it?
Click to expand...
Click to collapse
Some kernels come with it already removed. Check the features section of the original post in the Elemental X thread or try searching the thread.
I can say from experience that Kernel Auditor doesn't give you access to all of the adjustments in Elemental X. Some features are only accessible through the official Elemental X app, so it might be there, but you can't use Kernel Auditor to adjust it.
Face_Plant said:
Some kernels come with it already removed. Check the features section of the original post in the Elemental X thread or try searching the thread.
I can say from experience that Kernel Auditor doesn't give you access to all of the adjustments in Elemental X. Some features are only accessible through the official Elemental X app, so it might be there, but you can't use Kernel Auditor to adjust it.
Click to expand...
Click to collapse
I just downloaded the elemental x app. I'm gonna go over to the thread now. I appreciate your help

one core always running

Is it normal? Also i am getting only 6 hours SOT.
Edit :
At least make 2 big cores online
The_CelldWeller said:
At least make 2 big cores online
Click to expand...
Click to collapse
Big cores turned off by default.
Check post again.
SG3 said:
Big cores turned off by default.
Check post again.
Click to expand...
Click to collapse
Are you on custom kernel?
The_CelldWeller said:
Are you on custom kernel?
Click to expand...
Click to collapse
No stock kernel of MIUI.
Stock kernel restores core settings all the time, no matter what you set in kernel tweak app it will only work for a short period, you would have to write a init.d script that watches those settings for changes and then sets your custom ones.
Don't keep only one small core running, device will start rebooting if you stick with this setup.

Categories

Resources