Over Clocking Kernel

onliner

Senior Member
Oct 29, 2016
2,420
1,025
0
So there in no known method of overclocking either Snap 845 or 855 CPUs, right? (i mean throgh software/kernel)
Is not possible, the CPU frequency tables are stored inside something called "TrustZone", basically the bootloader, and no one outside of Qualcomm has the ability and the tools to control or make changes in that area of the processor.
 
  • Like
Reactions: 666syco

RaduNastase

Senior Member
May 12, 2015
154
17
0
Is not possible, the CPU frequency tables are stored inside something called "TrustZone", basically the bootloader, and no one outside of Qualcomm has the ability and the tools to control or make changes in that area of the processor.
Even rooted? ...how very interesting... 0_0

This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel :confused:
 

DarthVader

Senior Member
Jan 27, 2018
1,744
658
28
19
Lahore
Even rooted? ...how very interesting... 0_0

This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel :confused:
Actually you can. It requires a Kernel that supports Overclocking. As of now there is no Kernel for the 6T that supports CPU Overclocking. Smurf has GPU OC but not CPU. Besides, the 845 is already a beast so I dunno why would you want to OC
 

Striatum_bdr

Senior Member
May 29, 2011
4,650
2,174
253
Marseille
I think me and more features will be driven by the chipsets themselves and will use a Trust Zone not accessible from the kernel (like widevine).

What is sure is that many CPU clock parameters are not accessible, that's why only GPU OC is present. This have been discussed in different kernel threads.

And the real question is why OC on those fast CPU, just to empty faster the battery and warm the phone in winter?
 

onliner

Senior Member
Oct 29, 2016
2,420
1,025
0
Even rooted? ...how very interesting... 0_0

This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel :confused:
Isn't related to root or unroot, It's a limitation set at a lower level, lower than the operating system or the kernel.

You can modify the ramdisk to set the Max/Min frequencies, but those values ​​must be within the stock values ​​of the processor, I mean, you can't create a new frequency, you should use one that already exists.
 

RaduNastase

Senior Member
May 12, 2015
154
17
0
Isn't related to root or unroot, It's a limitation set at a lower level, lower than the operating system or the kernel.

You can modify the ramdisk to set the Max/Min frequencies, but those values ​​must be within the stock values ​​of the processor, I mean, you can't create a new frequency, you should use one that already exists.
Oh, so min/max can be adjusted? That's something at least. Sometimes the CPU assesses wrongly the speed needed to properly run an app (a very CPU heavy one) so restricting the CPU to lower the frequency provides the best performence possible on that hardware.

And yes even a powerful Soc like 845 and even 855 are pushed to the limits by certain apps.
 

onliner

Senior Member
Oct 29, 2016
2,420
1,025
0
Oh, so min/max can be adjusted? That's something at least. Sometimes the CPU assesses wrongly the speed needed to properly run an app (a very CPU heavy one) so restricting the CPU to lower the frequency provides the best performence possible on that hardware.

And yes even a powerful Soc like 845 and even 855 are pushed to the limits by certain apps.
It's not the apps fault, the scheduler is a bit broken in 4.9 thanks to CAF.

restricting the CPU to lower the frequency provides the best performence possible on that hardware
Yes and no, OOS applies boosts from the userspace, I mean that although you limit the frequency of the processor, in certain circumstances that limit can "break" (I don't use custom roms on this device, so I don't know about it, but probably the same thing happens).