Related
I have some question about cpu cores. I searched for them in net but can't find good answer. I posted this thread in s3 neo forum because i want to about cpu cores of s3 neo plus.
what is exactly cpu cores? are they different parts of cpu or they are just different virtually?
Is running one core in 600mhz will use same amount of power used to run two core at 300 mhz?
can one core of cpu can get damaged while the other cores are working fine?
can i run different cpu in different frequency?
if i turn off all core except one will there is a chance that it will get damaged or lower its lifetime?
what i mean to say is does turning off some cores effect the whole cpu of affect some parts of cpu?
does cpu cores use different parts of cpu or every core can use whole cpu?
I am a newbie so if i have done some mistake asking those questions please forgive me because i am new in this forum and i dont know all the rules. and sorry for my bad english.
1) Cores are separate processing units built into the CPU. They are not virtual.
2) Power usage depends more on the CPU itself than the core speeds. I'm not sure about this question, but I would assume that multiple cores would consume slightly more power, but it's more than likely a negligible amount.
3) I would assume so, but I've never heard of such an occurrence. I would think that if one core dies, the whole CPU would be rendered useless.
4) If you're asking whether you can have separate cores running at different speeds, then no. There are apps that let you disable and enable cores though. You can also overclock (or downclock) core frequencies with specially designed kernels (of course you'll have to root your phone). So theoretically you could boost up a 1.4ghz quad core CPU to a 1.5ghz or more, with an appropriate hit on battery life and temperature.
5) I doubt it. But your phone will be very, very slow. And forget about multi-tasking.
6) It'll affect the whole CPU. While cores are separate parts, they are built into the central unit itself, so powering on a core powers the whole CPU.
I can remember there was a similar issue happening on nexus 6, where cores were disabled at not that high temperatures.
If I can remember correctly, this was rectified by disabling the bcl driver.
Now, I found the correct path for the bcl driver (/sys/devices/soc.0/qcom,bcl.62/mode) on OPT, but I cannot edit the file, check the the screenshot below.
https://photos.google.com/share/AF1...?key=T2xkcU9mbGRON0dhVkFBTHdBaWs3Vi1Od1ZpOGN3
I even tried a init.d script, unfortunately, even this failed.
If someone can find a way to disable this, I reckon this will make our OPT way faster
hamdir said:
@Lord Boeffla
i just flashed your kernel after having problems with stock kernel, i think its similar to the bug you are tracking the stock kernel shuts down the big cluster at 40c or in low battery BUT also sometimes out of the blue it kills the big cluster never let it back on again another bug about usb charging where it stops charging over usb until reboot, i wrote about it extensively on the OP forums:
https://forums.oneplus.net/threads/to-oneplus-2-software-engineers-you-need-to-hear-this.399790/
you said that you are not sure about the s810 quality but i can assure you on the M9 latest v2.10 software it has killer performance full octa all the time (though the M9 has better thermal release as the s810 is connected to the metal unibody) but the quality of the OP2 stock kernel is really down mediocre, also from my M9 experience the high consume on the s810 is not related to a57 in specific, its the leakage in 20nm so even thee a53 cluster has high usage if its running on top clock, in fact on the M9 full octa LITTLE.big is better for battery as the a57s prevents the device from locking into the a53 full clocks, so really killing the big cluster for battery is counter productive to be honest, the easiest gain i found for battery is to underclock the a53 cluster to 1.2ghz and leave the a57 untouched in quad (which also help in keeping the SoC cold / improve sustainable performance)
i like you kernel because it tries to remain as stock as possible and whatever changes it does are noted, this is how i like custom kernels to be, its easier for the user to track what to change
but your hunt is making me think, is it possible that the users reporting the shut down are facing the exact same bug as stock kernel where the big cluster is killed for no reason? equally if the solution is disallowing min 0 why not make it optional?
finally i wanted to ask although we are setting 2:4 in a57 hot plug, the behaviour is exactly stock, ie: the device never requests more than 2 a57 cores so effectively its a hex configuration
Click to expand...
Click to collapse
As we all know, the Snapdragon 810 processor in our OnePlus 2 phones is prone to overheat, especially during heavy tasks such as gaming. With the stock kernel (which probably most of you are using) this leads to the A57 cores being partially or fully shut down and the display - which generates additional heat - being dimmed in order for the phone to keep a healthy temperature (healthy for both its components and the hands that are holding it.) This, in turn, leads to lag when playing especially demanding games. Which in turn leads to a frustrated user.
With root access, it's possible to use custom kernels and/or custom thermal throttling profiles in order to (at least partially) circumvent these issues, by throttling the CPU frequency and/or limiting the number of active cores, using different schedulers and governors, and by applying thermal profiles that allow the phone to get hotter (in order to keep higher CPU frequencies for a longer duration).
Since I bought the OPT, I was playing a very power hungry game - Republique - which, at its highest graphics quality setting, pushes the phone to its limits. I quickly switched from the stock kernel to the Boeffla kernel and started experimenting with schedulers, governors, hotplugging settings, CPU/GPU frequencies and thermal profiles, but nothing I have done so far makes it possible to play the game for more than 15-20 minutes before some kind of throttling / heat control sets in and the game starts lagging.
I tried limiting both CPU clusters to only 2 cores while maintaining higher frequencies, I tried throttling the frequencies and keeping all 8 cores active, and I tried all kinds of solutions in-between with anything from 4-8 cores active and frequencies anywhere between 60% and 100%. I also tried the various thermal profiles that the kernel offers. But whatever I did, the game was either lagging right from the start, or running smoothly for about 15 minutes before the screen was dimmed and the CPU was throttled, leading to a laggy experience.
So my question is, what do you guys do to keep the OnePlus 2 from overheating during gaming, while at the same time maintaining a lag-free experience? I don't seem to get anywhere with anything I try, so I'd be extremely grateful for some useful input.
vonotny said:
As we all know, the Snapdragon 810 processor in our OnePlus 2 phones is prone to overheat, especially during heavy tasks such as gaming. With the stock kernel (which probably most of you are using) this leads to the A57 cores being partially or fully shut down and the display - which generates additional heat - being dimmed in order for the phone to keep a healthy temperature (healthy for both its components and the hands that are holding it.) This, in turn, leads to lag when playing especially demanding games. Which in turn leads to a frustrated user.
With root access, it's possible to use custom kernels and/or custom thermal throttling profiles in order to (at least partially) circumvent these issues, by throttling the CPU frequency and/or limiting the number of active cores, using different schedulers and governors, and by applying thermal profiles that allow the phone to get hotter (in order to keep higher CPU frequencies for a longer duration).
Since I bought the OPT, I was playing a very power hungry game - Republique - which, at its highest graphics quality setting, pushes the phone to its limits. I quickly switched from the stock kernel to the Boeffla kernel and started experimenting with schedulers, governors, hotplugging settings, CPU/GPU frequencies and thermal profiles, but nothing I have done so far makes it possible to play the game for more than 15-20 minutes before some kind of throttling / heat control sets in and the game starts lagging.
I tried limiting both CPU clusters to only 2 cores while maintaining higher frequencies, I tried throttling the frequencies and keeping all 8 cores active, and I tried all kinds of solutions in-between with anything from 4-8 cores active and frequencies anywhere between 60% and 100%. I also tried the various thermal profiles that the kernel offers. But whatever I did, the game was either lagging right from the start, or running smoothly for about 15 minutes before the screen was dimmed and the CPU was throttled, leading to a laggy experience.
So my question is, what do you guys do to keep the OnePlus 2 from overheating during gaming, while at the same time maintaining a lag-free experience? I don't seem to get anywhere with anything I try, so I'd be extremely grateful for some useful input.
Click to expand...
Click to collapse
All the phones throttle while gaming. I use thermal extreme with boeffla kernel. And use 2 a53 at 1,3ghz and 2-4 a57 at 1,4ghz and I modified the throttle file and it underclock to 1,2ghz when it gets hot but it doesn't happen if you don't play longer than 30minutes and it doesn't lag either. You can leave stock settings but if course it will get hot quicker. Also with thermal hotplugged or something like that, I used it all cores online all the time at full speed and it doesn't throttle for a long time, so I don't know what overheating are you talking about. My nexus 5 throttle faster and disable 2 of 4 cores and leave the other 2 at half speed, and our processor overheats?. Oneplus throttle the device a lot because of the rumors, fortunately we can change that. Try what I said, cheers.
Sent from my ONE A2005 using Tapatalk
Migdilu said:
All the phones throttle while gaming. I use thermal extreme with boeffla kernel. And use 2 a53 at 1,3ghz and 2-4 a57 at 1,4ghz and I modified the throttle file and it underclock to 1,2ghz when it gets hot but it doesn't happen if you don't play longer than 30minutes and it doesn't lag either. You can leave stock settings but if course it will get hot quicker. Also with thermal hotplugged or something like that, I used it all cores online all the time at full speed and it doesn't throttle for a long time, so I don't know what overheating are you talking about. My nexus 5 throttle faster and disable 2 of 4 cores and leave the other 2 at half speed, and our processor overheats?. Oneplus throttle the device a lot because of the rumors, fortunately we can change that. Try what I said, cheers.
Sent from my ONE A2005 using Tapatalk
Click to expand...
Click to collapse
Thanks for the tip with thermal extreme! The implementation in the latest Boeffla kernel v1.1 beta1 seem to do a very good job of not letting the phone get too hot while at the same time not throttling the CPU too much. Today, the performance was stable for almost 30 minutes of gaming, and when I checked the CPU stats I saw that all cores were still active (2x A53 + 4x A57), and only throttled to 960 MHz. This still delivered enough performance. (I started the game with both CPU clusters at 1.2 GHz, so this also seemed to help with keeping the phone at an acceptable temperature. I'm sure it would've gotten much hotter much quicker at higher CPU frequencies.)
I have to admit though, I was playing inside in an unlit room and thus the screen wasn't at max. brightness. We'll see how it will perform during my next work break when I have to make the screen much brighter.
vonotny said:
Thanks for the tip with thermal extreme! The implementation in the latest Boeffla kernel v1.1 beta1 seem to do a very good job of not letting the phone get too hot while at the same time not throttling the CPU too much. Today, the performance was stable for almost 30 minutes of gaming, and when I checked the CPU stats I saw that all cores were still active (2x A53 + 4x A57), and only throttled to 960 MHz. This still delivered enough performance. (I started the game with both CPU clusters at 1.2 GHz, so this also seemed to help with keeping the phone at an acceptable temperature. I'm sure it would've gotten much hotter much quicker at higher CPU frequencies.)
I have to admit though, I was playing inside in an unlit room and thus the screen wasn't at max. brightness. We'll see how it will perform during my next work break when I have to make the screen much brighter.
Click to expand...
Click to collapse
Does it throttle to 960mhz? for me never reach 1,2ghz. Playing real Racing for 30min it stays at 1,2ghz. And with thermal hotplugged (all cores enabled, all at stock freq gpu too) it doesnt throttle for 30 min, gpu only sometimes to 510mhz, i played 30 minutes and it didnt throttle, i dont know when it was going to throttle because i stop playing. But also, gaming with all cores and no throttling eats the battery.
Migdilu said:
Does it throttle to 960mhz? for me never reach 1,2ghz. Playing real Racing for 30min it stays at 1,2ghz. And with thermal hotplugged (all cores enabled, all at stock freq gpu too) it doesnt throttle for 30 min, gpu only sometimes to 510mhz, i played 30 minutes and it didnt throttle, i dont know when it was going to throttle because i stop playing. But also, gaming with all cores and no throttling eats the battery.
Click to expand...
Click to collapse
I guess it throttled to 960 MHz because the game I'm currently playing (République) is pretty resource hungry.
Devs,
The performance of le 2 is very bad when it comes to gaming.
It is the same in every stock eui to miui and all lineage os ROMs like AICP which uses lineage is kernel.
As per my finding this is due to severe thermal throttling in eui as well as in lineage os 13 and 14.1.
Firstly the two A72 CORES don't run while any task making it like SD 650 and clock go soo down at reaching 34° to 35°c and at above temp all A72 CORES ARE DOWN in lineage is and only one works in stock eui, same goes with GPU under clocking starts at 32°c making gaming experience horrible,
Even kernel auditor don't have any control in any of the ROMs and in lineage is 14.1 27 Feb build it is told it have core control but it can make all A72 cores run couldn't control clock speeds and result is the same ,
So I request devs please make a kernel from scrap and don't take hints from eui kernel and give us good gaming experience.
Thank you
ajroxxx said:
Devs,
The performance of le 2 is very bad when it comes to gaming.
It is the same in every stock eui to miui and all lineage os ROMs like AICP which uses lineage is kernel.
As per my finding this is due to severe thermal throttling in eui as well as in lineage os 13 and 14.1.
Firstly the two A72 CORES don't run while any task making it like SD 650 and clock go soo down at reaching 34° to 35°c and at above temp all A72 CORES ARE DOWN in lineage is and only one works in stock eui, same goes with GPU under clocking starts at 32°c making gaming experience horrible,
Even kernel auditor don't have any control in any of the ROMs and in lineage is 14.1 27 Feb build it is told it have core control but it can make all A72 cores run couldn't control clock speeds and result is the same ,
So I request devs please make a kernel from scrap and don't take hints from eui kernel and give us good gaming experience.
Thank you
Click to expand...
Click to collapse
My findings were exactly same as yours, the cpu and gpu, both are underclocking for even slightest of temperature rise. This is bad, but the good news is, I figured out a way, by which we can disable this poorly configured thermal throtling.
Delete this file here: /system/etc/thermal-engine-s2.conf
I don't know it it is safe or not, but I have been gaming with my device after deleting this file for about 10 days and there is no explosions yet. Hahaha.
Also, if you want, instead of deleting this file, you can modify some parameters so that, it starts throttling after some really high temperatures, instead of current values, but I like deleting that file because some thermal throtlling algorthm is always embedded in soc anyways.
shivamg95 said:
My findings were exactly same as yours, the cpu and gpu, both are underclocking for even slightest of temperature rise. This is bad, but the good news is, I figured out a way, by which we can disable this poorly configured thermal throtling.
Delete this file here: /system/etc/thermal-engine-s2.conf
I don't know it it is safe or not, but I have been gaming with my device after deleting this file for about 10 days and there is no explosions yet. Hahaha.
Also, if you want, instead of deleting this file, you can modify some parameters so that, it starts throttling after some really high temperatures, instead of current values, but I like deleting that file because some thermal throtlling algorthm is always embedded in soc anyways.
Click to expand...
Click to collapse
See your findings are correct but I myself renamed thermal config s2 but it didnot have any effect and at 33 ° I can see GPU under clocked at 432 MHz and CPU under clocks itself , and at 35° the lagging in games can be seen easily
Will try deleting the file also ,hoping it can have any effect
ajroxxx said:
See your findings are correct but I myself renamed thermal config s2 but it didnot have any effect and at 33 ° I can see GPU under clocked at 432 MHz and CPU under clocks itself , and at 35° the lagging in games can be seen easily
Will try deleting the file also ,hoping it can have any effect
Click to expand...
Click to collapse
My cpu temp have gone over 60°c but I haven't seen any throttling in cpu or gpu. But when, that file was present, those temperatures were never reached because of thermal throttling.
shivamg95 said:
My findings were exactly same as yours, the cpu and gpu, both are underclocking for even slightest of temperature rise. This is bad, but the good news is, I figured out a way, by which we can disable this poorly configured thermal throtling.
Delete this file here: /system/etc/thermal-engine-s2.conf
I don't know it it is safe or not, but I have been gaming with my device after deleting this file for about 10 days and there is no explosions yet. Hahaha.
Also, if you want, instead of deleting this file, you can modify some parameters so that, it starts throttling after some really high temperatures, instead of current values, but I like deleting that file because some thermal throtlling algorthm is always embedded in soc anyways.
Click to expand...
Click to collapse
Deleting this file is an absolutely terrible idea. Modify it instead.
Jelixis said:
Deleting this file is an absolutely terrible idea. Modify it instead.
Click to expand...
Click to collapse
At first, I thought the same. But yesterday, i have played asphalt 8 in bright sunlight(to test if there is some thermal throttling left embedded in soc). And I was right, it throttles down the gpu, big cores, small cores, even some cores went offline automatically. After the device was cooled, everything wqs back to normal. So, IMO, there is no harm even if we play in extreme conditions with the file deleted, thermal throttling will kick in when its needed. Although, I advise modifying the file to others. Hahaha
shivamg95 said:
At first, I thought the same. But yesterday, i have played asphalt 8 in bright sunlight(to test if there is some thermal throttling left embedded in soc). And I was right, it throttles down the gpu, big cores, small cores, even some cores went offline automatically. After the device was cooled, everything wqs back to normal. So, IMO, there is no harm even if we play in extreme conditions with the file deleted, thermal throttling will kick in when its needed. Although, I advise modifying the file to others. Hahaha
Click to expand...
Click to collapse
Thermal throttling happens even in the best chips. Most of the time, it's integrated in the lower level portions of the chip.
Just let it be, really. Thermal throttling is the way of the chip of protecting itself from heat damage. PC processors, for example, shut down when removing the fan and reaching critical temperatures.
Jelixis said:
Thermal throttling happens even in the best chips. Most of the time, it's integrated in the lower level portions of the chip.
Just let it be, really. Thermal throttling is the way of the chip of protecting itself from heat damage. PC processors, for example, shut down when removing the fan and reaching critical temperatures.
Click to expand...
Click to collapse
Ya true it is present in every chip but optimizing is Also a thing right.
In le 2 the two A72 cores don't run at all above 30°(except when opening apps while it is cool ,so after 33 or 34° they are not used in anything,and 34 is average temp of the phone while using ,that means it just exactly works like a loweclocked SD 650 which even more throttled with each degree rise in temp and at 36 ° ( which is avg temperature while gaming ) phone turns off one more A72 core meaning three A72 cores are off and one a72 is throttle to around 800 mhz and even all a53 cores run at half clock speeds and till that time GPU also reaches below 350mhz and lower a and it impossible to run even minor games like subway surfers lag free,
And since lineage is kernel has taken hint from eui kernel ,it performs exactly the same as stock kernel which leaves us with no choice left.
@codeworkx please look into this issue and please build a kernel for gaming performance as SD 652 is getting wasted due to thermal throttling, @codeworkx I am sure you know this issue better than me ,please find time to work on it.
@shivamg95 deleting the thermal file couldn't help this
ajroxxx said:
Ya true it is present in every chip but optimizing is Also a thing right.
In le 2 the two A72 cores don't run at all above 30°(except when opening apps while it is cool ,so after 33 or 34° they are not used in anything,and 34 is average temp of the phone while using ,that means it just exactly works like a loweclocked SD 650 which even more throttled with each degree rise in temp and at 36 ° ( which is avg temperature while gaming ) phone turns off one more A72 core meaning three A72 cores are off and one a72 is throttle to around 800 mhz and even all a53 cores run at half clock speeds and till that time GPU also reaches below 350mhz and lower a and it impossible to run even minor games like subway surfers lag free,
And since lineage is kernel has taken hint from eui kernel ,it performs exactly the same as stock kernel which leaves us with no choice left.
@codeworkx please look into this issue and please build a kernel for gaming performance as SD 652 is getting wasted due to thermal throttling, @codeworkx I am sure you know this issue better than me ,please find time to work on it.
@shivamg95 deleting the thermal file couldn't help this
Click to expand...
Click to collapse
Deleting that thermal engine file, did help. Don't know why it doesn't work for you.
shivamg95 said:
Deleting that thermal engine file, did help. Don't know why it doesn't work for you.
Click to expand...
Click to collapse
It is not working and would have been not working for you also just check with kernel auditor,
I have check it thoroughly .
I think you don't know how to check
Tell me the process you check
ajroxxx said:
It is not working and would have been not working for you also just check with kernel auditor,
I have check it thoroughly .
I think you don't know how to check
Tell me the process you check
Click to expand...
Click to collapse
First i make the soc heat by playing games or running benchmarks, then i open kernel auiditor and check if maximum cpu freq gets lowered or automatically or not. But it doesn't happen after deleting that file. Also, the gameplay seems very fluid then before. I also check for gpu max freq.
Hey, I have Cool 1 (same Soc) and yes, very dissapointed because in second 1 starts the throtling...
I have Kernel auditor. Which settings should I force?
hello, very nice threat.
I had some different experiences.
For me throotling starts slightly at 37° and bigger at 39 or 40 ... this results to throotled big cores at 1248mhz and a gpu to 432
to avoid that I made some underclocking settings which gives my setting antutu score of 69000 instead of 82000 and a geekbench score of 1000/3500 which is giving me cool and fast gaming enough
https://forum.xda-developers.com/le-2/how-to/kernel-adiutor-settings-8h-sot-colour-t3721254
Hey all,
I was looking around in aida64 and I saw that the big core is always active. At idle it's staying at 633mhz. Only after boot I saw "sleeping" , but after few mins it just stayed at 633mhz. More people experiencing this? I'm on the second 7.1.2 beta.
Screenshot: https://s11.postimg.org/d2a4kcyir/Screenshot_20170324-090259.png
I'd like to hear your thoughts!
It seems that when they're stopped or sleeping, that's because of thermal throttling: https://forum.xda-developers.com/nexus-6p/help/4-cores-allways-stopped-whats-t3390543. So I guess they should always be running and not sleeping/stopped. If not, your phone runs too hot.
Would be great if someone can give a clear answer on this!
When the phone reboots it works hard to start the OS and apps and therefore has to thermal throttle to cool the cpu down. Once it fully boots and the cpu load is lower it cools down and the big cluster comes back online and idles at 633, the stock big cluster governor setting.
hawkswind1 said:
When the phone reboots it works hard to start the OS and apps and therefore has to thermal throttle to cool the cpu down. Once it fully boots and the cpu load is lower it cools down and the big cluster comes back online and idles at 633, the stock big cluster governor setting.
Click to expand...
Click to collapse
Thanks for the info. But what's up with this comment on Reddit then? "my nexus 6p is working properly on 7.1.2 apparently, my uptime is ~189 hours, 4 cores are on low frequency 384 mHz and the other 4, the A57s are sleeping, see the screenshot below.
http://m.imgur.com/UZhZxd8". More people are reporting this . So it seems that for some people it's idling at 633mhz and for some people it's sleeping.