Overclocking in Android - some questions and thoughts sharing - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi all guys! I have a couple of questions and would like to hear some experiences and thoughts in general about overclocking in Android.
First a couple of more specific questions which I would like to have answered, if possible. If it's not possible, please give me your general thoughts anyway about overclock instead of moving to the next thread, please.
- Are there any kernels which allow overclocking beyond 1536 MHz?
- If so, did anybody try those frequencies? What was the result?
- Are there any people who for some reasons did NOT manage to have stable 1536 MHz?
- Are there any reliable reports of people frying their phones due to overclocking?
- Are there any easy ways to undervolt the CPU (at standard frequencies, not overclocked) in order to save some battery charge?
My very little OC experience is based on this: I have been running for some days a ROM based on a kernel which allowed OC up to 1536 MHz. I installed CPU Master Free, did some tests and found out, to my surprise, that the phone will run @1536 MHz without any noticeable issues. I never kept it at that frequency for more than 5 minutes I think, because I was afraid of excessive heat, but the phone never got really hot, just a bit warm. I ran some system benchmarks (Quadrant and another one which I can't recall right now) which stressed a bit the CPU and did not encounter any crashes. I also did this with performance governor which keeps the CPU constantly to the max frequency I think, and still no probs. Since everything works so fine and was that easy, I was wondering why don't everybody always run with the HD2 @1536 MHz. Is it only for battery issues? Please share your ideas about this and OC on the HD2 under Android in general.
Thanks.

The problem with overclocking isn't just overheating or too much power. With overclocking you are also increasing the say, amount of data being passed through the cpu. If the cpu's bus size isn't fast or big enough to handle it, it will ultimately slow down or malfunction.
So you should get the picture of overclocking now. Note however there are some safe speeds for overclocking.
Onto your next question as to why everyone doesn't overclock to the max speed. The reasons are: paranoia and safety of device
You have to know that not every chip is made exactly the same, they are modeled after the same design but are never made the same. So that mean whilst some people's phones may be able to handle extreme overclocking, like yours, others may not be able to, and malfunction/overheat. Malfunctioning like, cannot make phone calls, wifi/GPS doesn't work, etc.
So I hope this was informative.

Not everything you have said was new to me, but you were informative.
...although I would really be surprised to have issues with phone calls for instance caused by excessive overclocking...
Do you personally keep the HD2 overclocked?
Anybody else?

When I had my HD2, I rarely did so. Reason being is that I found no need to. The only times I did do so was to see if the phone actually was faster. In my results however I found no big difference so I didn't bother.

Well, the phone is indeed fast without OC, but you can feel the difference if you are performing some CPU intensive tasks. For example, unzipping a 200 MB ROM archive, or importing 1300 SMS from a backup. A temporary OC can save you maybe 1 minute or 30 secs, which aren't absolutely worth the time you spend learning to overclock the device, but never mind, even if you only saved 5 secs it's worth it for the satisfaction.

Ah I see your point. I was only looking in the perspective of simply tasks such as browsing internet/market, games, gallery.

Figure it this way. When you overclock a pc, (and if you're doing it safely/correctly) you have usually spent extra money on liquid cooling systems. Or at the very least, bigger fans, bigger heatsyncs, etc. Even with all that, you could very easily blow out a cpu or other component when you overclock.
Now, on a cell phone, you're running a MUCH higher risk. First off, there is NO extra cooling, and considering the size of our phones, and how thing they are, there's really no room for airflow. So while yes, it may work for you, in general I always say getting those couple extra frames per second out of your game are not worth the potential damage to the device.
Overclocking on actual computers has gotten much safer in the last few years, because the chip designers are putting more effort into keeping the chip cooler under load. Cell phones are not designed to overclock (even one as sweet as the hd2.)
Lastly, when overclocking a system (desktop), you usually change more than just the cpu clock speed. You'll usually have to adjust the voltage to compensate, and in some cases adjust memory timing as well as bus speed. None of this happens when you overclock on the hd2, all you do is change the clock speed.
It's not set in stone, but there's a very real possibility that you can do permanent damage to your device when overclocking. And, you may not notice the damage right away. Also keep in mind, these are mass produced cpu's, and there are slight variations in each chip. (Hence why some people can overclock higher and keep stability, while some phones with the same chip get picky if you even overclock 10mhz )
I've never seen the point in overclocking the hd2, you really don't get any real world speed out of it, it's a placebo at best. (And please don't start showing me or quoting benchmarks, they're useless, and extremely easy to make little changes in the roms to artificially boost benchmark scores.)
Edit: For more info, because I'm tired of typing, check these links:
http://en.wikipedia.org/wiki/Overclocking
http://www.webopedia.com/DidYouKnow/Computer_Science/2005/overclocking.asp

Great info mstrk242,
Thank you!

All benchmark info is skewed. Tried 1500mhz and the only app I noticed a difference on was gun bros. A new more efficient version of rom made it run fine at 998mhz. Not worth the extra wear and tear on your device. Simply changing things like your launcher can have larger effects.
Sent from my HyperDroid powered HD2!

Related

Which is faster: [1000Mhz, 10Mflops] or [500Mhz, 20Mflops]? My thoughts.

I ask because different roms and kernels offer different benefits. Some allow you to overclock. Some allow you to get high Mflops running Linpack.
Mflops is a measure of how fast calculations are being performed (forgive my butchered definition). Mhz is how fast info is being processed. Which is king?
For example, I can underclock my processor to save battery life, but am using a ROM that generates high Mflops in Linpack. OR, I could overclock my processor for performance on a ROM that does not generate high Mflops.
Which would be faster?
My next question is: Do Mflops really matter? From Wikipedia:
"...a hand-held calculator must perform relatively few FLOPS. Each calculation request, such as to add or subtract two numbers, requires only a single operation, so there is rarely any need for its response time to exceed what the operator can physically use. A computer response time below 0.1 second in a calculation context is usually perceived as instantaneous by a human operator,[2] so a simple calculator needs only about 10 FLOPS to be considered functional."
Click to expand...
Click to collapse
If once a certain Mflop is reached the calculation seems "instantaneous," then who cares if they are higher than instantaneous? Will we ever really "perceive" the benefit of 50Mflops on our phones?
Anybody that can shed some light on this for me? It would be much appreciated!
For every-day use, you will notice a much larger impact with the higher clock speed.
TheBiles said:
For every-day use, you will notice a much larger impact with the higher clock speed.
Click to expand...
Click to collapse
What other use is there? Do you mean that processor speed is more important for speeding up the UI?
I would like to see an intelligent answer to this question with data or at least a solid theory to support it.
i may not be able to provide you with an engineers answer
but imma say... the one that sucks up less battery and provides fast calculations is the winner. so a 500mhz proc running higher flops would be my best decision
heck, i dunno.
That increase in mflops is from jit compiling java apps. The core os and browser are already native as are 3d games. They might speed up some from less java overhead.
MHz is not a measurement of "how fast info is processed", it is the clock speed of the processor. All it signifies is the rate at which the processor performs its operations. 1,000 MHz means the CPU has 1,000,000,000 cycles per second. Some operations will take one cycle to perform, other operations will take several cycles. Most software, unless it is exceptionally well written (in assembly language, which I don't believe can be executed on android) will require millions of CPU operations to perform whatever task it is trying to perform.
Increasing your clock speed while keeping all other things equal will increase all of your computing power and should give a useful gain in performance.
Linpack measures numeric floating point calculations. This is one of many types of tasks that a CPU must perform. Linpack is not an overall measurement of system performance, it's a measure of pure numeric (floating point) processing power. I have no idea how some roms manage to improve Linpack that dramatically, and you'd need to know that in order to truely answer your question. It seems likely to me that it's just a floating point optimization method that gives the higher scores, in this case floating point operations are the only things that would be improved.
The simple answer is that it depends what you want to do with your phone. If you do something with a lot of floating point calculation (3d games are an example, but they would typically use 3d hardware acceleration rather than cpu power, I'm not sure exactly how the snapdragon is designed so I'm not sure that they are not one and the same), you would get more performance out of the system with the higher linpack score. The higher clock speed on the other hand would provide you more overall benefit, it would make everything faster instead of just one area.
mhz doesn't necessarily mean speed. It's a easy, barely valid way to compare speeds to like model and generation processors only.
Platform independent benchmarks are much more important and reliable for judging speed. Therefore, a 500mhz processor that performs 20mflops is faster (at least in floating point operations) than a 1000mhz processor that performs 10 mflops.
Also realize, floating point operations per second are only one small part of a computer's performance. There's Specviewperf for Graphics performance, for instance, or general performance benchmarks like the whetstone or dhrystone.
Lets me see if I can shed some light:
In a basic processor you have 4 general tasks performed: Fetching, Decoding, Execution, and Writeback.
Processor clock rate (despite what people think) is not indicative of speed. It is an indicator of the number of wave cycles per second. Depending on the amount of work per cycle that a processor can do, then determines the "speed" of a processor. For instance an Intel 3ghz processor may be able to execute 100 integer calculations per cycle for a total of 300 billion calculations per second; but an AMD 3ghz processor could be able to do 200 integer calculations per second effectively making it the more efficient and "faster" processor.
A perfect example of this is the Hummingbird vs Snapdragon debate. Two processors at the same speed, yet Samsung claims the Hummingbird is faster due to the higher amount of work per cycle that can be executed.
The next step in the chain then comes when determining the types of calculations performed. An AMD processor may work better with a customized Linux based system that uses a higher level of floating point calculations, while an Intel processor may be better suited to a Windows system that uses a high level non-floating integers.
The next question is this: does your phone, a Linux based system use a high enough level Floating Point operations to make a difference in overall performance?
Google apparently does. However, Floating Point operations are simply a generic benchmark of a single facet of the operating system as a whole. Less wave cycles per second will decrease the overall potential of work, thereby decreasing performance in cases where the work needed to be executed exceeds the number of available waves.
Therefore, I would vote for the higher processor speeds, unless the only programs you execute use Floating Points.
Scientific enough?
Feel free to PM me with questions, or post here...
There are other factors that greatly affect processors as well, such as latency, BUS speed, and RAM available for buffering, but I didn't want to do an information overload.
~Jasecloud4
Sorry, I was assuming we were talking about the same processor (namely, the EVO's) clocked at two different speeds. It would make sense that the slower clock speed vielded more Mflops if it had JIT enabled, but I still think you would find the UI snappier with a higher-clocked ROM without JIT.
I notice a greater speed improvement from jit more than a faster processor speed. Especially with apps that have to load your whole system like autostarts. Battery life however, I'm still learning about. With Damage and being OC'd battery life was great. I'm currently on the latest CM nightly with jit and setcpu. We'll see how that compares.
Sent from my EVO using xda App
Quick off-topic question, then we'll get back on topic. Does the CyanogenMod build have the FPS broken?
TheBiles said:
Sorry, I was assuming we were talking about the same processor (namely, the EVO's) clocked at two different speeds. It would make sense that the slower clock speed vielded more Mflops if it had JIT enabled, but I still think you would find the UI snappier with a higher-clocked ROM without JIT.
Click to expand...
Click to collapse
lol you say that as if you dont actually know it...
deep inside we both know it though...
but seriously, both of biles' post on P1 sum up the question from the OP. Trust us
Tilde88 said:
lol you say that as if you dont actually know it...
deep inside we both know it though...
but seriously, both of biles' post on P1 sum up the question from the OP. Trust us
Click to expand...
Click to collapse
I'm a computer engineer, so I at least like to assume that I know what I'm talking about...
This thread is comparing Apples to Oranges. If the number of waves per second on a processor is increased, then the number of floating point calculations will increase, if every other factor remains the same.
It stands to reason that when two systems, one at 500MC/psec is pitted against another at 1000MC/psec with both systems running the same OS and JIT enabled, the one running at 1000MC/psec will have a higher number of floating points calculated.
~Jasecloud4
jasecloud4 said:
This thread is comparing Apples to Oranges. If the number of waves per second on a processor is increased, then the number of floating point calculations will increase, if every other factor remains the same.
It stands to reason that when two systems, one at 500MC/psec is pitted against another at 1000MC/psec with both systems running the same OS and JIT enabled, the one running at 1000MC/psec will have a higher number of floating points calculated.
~Jasecloud4
Click to expand...
Click to collapse
True, but I don't think we're talking about identical ROMS, since different ROMS have different abilities to OC and/or run JIT.
dglowe343 said:
I notice a greater speed improvement from jit more than a faster processor speed. Especially with apps that have to load your whole system like autostarts.
Click to expand...
Click to collapse
Running the nightly CM Froyo ROM right now and Autostarts is also the only app I have perceived to have a significant speed improvement from JIT. It really is the 2-5x faster that Google claimed JIT would be, but I've yet to see any other apps that benefit as much as Autostarts. Everything else seems the same as a non-JIT 2.1 ROM.
Haven't tried any games since getting the phone though, so can't give any feedback on those.
I think another poster in the CM Nightly rom thread compared his browser to his brothers 2.1 ROM phone, and the browsers were just about the same speed wise as well.
Given that feedback, I'd say for general usage a higher clock speed is better than lower clock speed and higher Mflops.
How has this thread gotten so long without the word "frequency" mentioned once? You guys are making this way too difficult. In 1 GHz, the Hz is the unit for frequency, which just means cycles per second. If you want a simple analogy, imagine a hamster running. His legs are moving up and down and forward at a certain frequency. You're running, too. Let's say that you are running at the same frequency. Who is getting somewhere quicker? Obviously you are because your legs are longer and stronger and you have a better power to weight ratio. Processors can behave the same way. Some simply get more done than others when operating at the same frequency for various reasons. This is why looking at only frequency is useless. Instead, we look at the work that it can do. Flops (floating point operations per second) is one measure of the work that a processor can do. There are many other ways to measure performance. This is just one of them.
Why do we want faster processors? It is partially so that we can be faster, but mostly so that we can do more. If you were to run the OS from phones 10 years ago on the hardware of today, most operations would be essentially instantaneous and with smart power saving features, you wouldn't need to charge it but once a week or less. But today's phones do far more. We need those higher speeds because even when you're sitting there looking at the home screen and "not doing anything", the OS is running dozens of services in the background to keep everything working correctly. Imagine if we were to take a modern engine and put it in an econo car from 30 years ago. It would go like hell and be incredibly efficient but it wouldn't have the safety, comfort, or features that we've come to expect with a modern automobile.
Sprockethead said:
Quick off-topic question, then we'll get back on topic. Does the CyanogenMod build have the FPS broken?
Click to expand...
Click to collapse
Yes. I avg 50-55 fps.
Sent from my EVO using xda App
jasecloud4 said:
This thread is comparing Apples to Oranges. If the number of waves per second on a processor is increased, then the number of floating point calculations will increase, if every other factor remains the same.
It stands to reason that when two systems, one at 500MC/psec is pitted against another at 1000MC/psec with both systems running the same OS and JIT enabled, the one running at 1000MC/psec will have a higher number of floating points calculated.
~Jasecloud4
Click to expand...
Click to collapse
um yea, but have you ever OC a video card for example?
lets take my old nVidia 8800gtx...
just because I overclock my core speeds doesnt mean that my memory bus will also be up'd, (of course the option is there but for the sake of the thread we'll ignore that)
Sure, now itll be able to process things much faster, but it cannot render as quickly as its ciphering, buffering, processing... etc...
like biles said, up the CPU for snappier user interfacing, up the flops for lets say, vb compiling ...
im not at my most sober points right now, so if you cant comprehend what im saying, think of the 'core' speed as the CPU, and the 'bus' speed as mFLOPS ...
and well gaming and rendering effects can see an improvement through JIT, but only if the said app or whatnot was built with JIT. otherwise it would be like upscaling a standard DVD to 720p. and seeing as how 3d rendering is after all native, how much more gfx tweaks do we need?

Performance vs. CPU Frequency

I had always read that CPU performance increases were logarithmic with respect to frequency, so I decided to do some testing myself and share the results, which do confirm this (I wasn't doubting it, but wanted to see some actual hands-on data, what can I say, I'm a science student). I thought the forum might be interested in seeing it.
System Info:
Ziggy471 BFS Kernel, 4.4.11 build
Das BAMF 1.3.2 ROM
Procedure:
At each frequency I tested, I did 3 SetCPU Long Benchmark tests and 3 Linpack tests. I know these are not necessarily representative of performance, but they do provide a nice numerical comparison. I averaged the 3 results for each frequency and plotted them. The SetCPU Benchmark shows an especially distinctive exponential decay curve, (Lower is better for SetCPU, higher is better on Linpack) but the Linpack one also displays a vaguely logarithmic shape, although not as distinctive as the SetCPU one.
Plots are attached.
Hopefully, this information will at least be found interesting by some of you who were not already aware of the logarithmic curve of performance and maybe even guide decisions on how high of a frequency is worth it. But obviously my results are not the gospel or anything, just the results I obtained for these tests.
I did some similar testing with roughly the same results. After 1.4ghz you typically get diminishing returns. Tested with several roms and several kernels all with same results. currently running perfect storm 1.2 with ziggy's kernel pre-loaded and is very fast...but let's be honest...the phone is plenty fast stock...we really need more battery!!!! lol
thanks for sharing.
Yeah, it seems across all benchmarks the gains really drop out past ~1.4-1.5.
..Coming from the Eris where I was extremely excited to see 5.1 mflops, well, nuff said I guess....
Luv this fone!!
Perfect Storm stock kernel (ziggy's) is set and 1408mhz...my phone benchmarks faster at 1382mhz so that's what i have settled on.
patdroid1 said:
I did some similar testing with roughly the same results. After 1.4ghz you typically get diminishing returns. Tested with several roms and several kernels all with same results. currently running perfect storm 1.2 with ziggy's kernel pre-loaded and is very fast...but let's be honest...the phone is plenty fast stock...we really need more battery!!!! lol
thanks for sharing.
Click to expand...
Click to collapse
Yup. I'm done with the quad wars. I really hope we get better battery life fast.... Also, I noticed the same diminishing returns as well.
Sent from my thunderbolt
Its to the point where speed is a non issue. I'm not running matlab on this phone, I'm playing pokemon. I'm happy with how fast it is, now if i could get my battery up from 12 hours to ~ 18 I would **** bricks.
athorax said:
Its to the point where speed is a non issue. I'm not running matlab on this phone, I'm playing pokemon. I'm happy with how fast it is, now if i could get my battery up from 12 hours to ~ 18 I would **** bricks.
Click to expand...
Click to collapse
Hahaha. You echoed my sentiments precisely.
Sent from my thunderbolt
We might not be seeing diminishing returns.. what if Linpack isn't properly generating a end result because the phone begins to be too fast for it?
We need much longer tests to get more accurate results.
Diversion said:
We might not be seeing diminishing returns.. what if Linpack isn't properly generating a end result because the phone begins to be too fast for it?
We need much longer tests to get more accurate results.
Click to expand...
Click to collapse
do smartbench
It's nice to know that I"m not the only one nerdy enough to do this. I saw similar results.
Nbench will be good for that, it is very accurate and it takes about 10min to complete, its a stability test rolled into one. Its the only way I can accurately gauge my xoom dual core. OOOO, thunderbolt vs xoom in nbench, give me 10 min...
XOOM
Memory 2.86
Integer 3.89
Float 1.17
Thunderbolt 2.0 kernel, no OC
Memory 2.73
Integer 4.07
Float 0.94
surprising results, thought the xoom would be better, must not be fully implementing dual core in 3.0
Based on the graph, looks like all real gains are minimal for the risk above the chips 1.4ghz rating. Good to know that its almost useless to really OC, and just unlock it to the rated frequency.
This is interesting, I'll have to do a little testing myself. Thanks.
I only used results on which Linpack claimed to have a highly accurate result, but it's probably possible that it's not accurate at the higher clock speeds. I kind of doubt it though. The reason I used quicker tests (Linpack & SetCPU) is because I figured it would be a good enough statistic to compare performance of different clock speeds but on the same ROM and kernel, while allowing me to do multiple trials of each clock rate without the "experiment" being overly time-consuming.
The sticking point for me on chalking it up to inaccuracy is the fact that if you fit a logarithmic function to the SetCPU plot, the R² value is .9947, meaning it's almost a perfect fit.
Additionally, I think you start getting more errors and near kernel panics, as I believe they're referred to in *nix systems, at the higher clock rates (1.7, 1.8, etc) where the voltage, in this particular case, cannot be safely increased but isn't sufficient for that rate. Most of what I know about this is just from my experience in undervolting Macs, though. I'm far from an expert.
dacre said:
I only used results on which Linpack claimed to have a highly accurate result, but it's probably possible that it's not accurate at the higher clock speeds. I kind of doubt it though. The reason I used quicker tests (Linpack & SetCPU) is because I figured it would be a good enough statistic to compare performance of different clock speeds but on the same ROM and kernel, while allowing me to do multiple trials of each clock rate without the "experiment" being overly time-consuming.
The sticking point for me on chalking it up to inaccuracy is the fact that if you fit a logarithmic function to the SetCPU plot, the R² value is .9947, meaning it's almost a perfect fit.
Additionally, I think you start getting more errors and near kernel panics, as I believe they're referred to in *nix systems, at the higher clock rates (1.7, 1.8, etc) where the voltage, in this particular case, cannot be safely increased but isn't sufficient for that rate. Most of what I know about this is just from my experience in undervolting Macs, though. I'm far from an expert.
Click to expand...
Click to collapse
Holy crap! Im sure glad there are guys/gals like the ones in this thread to figure this stuff out because I feel like I walked into Trig class all over again. BTW I hated that stuff but in my own dumba$$ speak, this is kinda what I though. What I mean to say is this is a mobile, comparably lowres, linux based system, so how much speed is enough? One would think that at 1.5-1.8 it would be getting "maxed". If not "maxed" then at least enough that 90% of all users would be so thrilled and never see a need for more, that it would be fine. I (like so many others w TB's) would love to see a way to make that battery last just one full day with average usage. Thanks for all the effort you guys are putting in this! Look fwd to great ROMs as the dev work progresses.
Just using the phone, the higher frequencies actually can feel slower. Am I the only one that noticed? I run 1.4 gHz on the LeanKernel 1.9. Did anyone else realize you can bring it to 1.9? It gets really hot, really fast though.
Nope, mine is the same way. My phone is much snappier at ~1.4-1.5GHz than at 1.6GHz+.
I believe this is because the CPU starts derping up when it's at a clock speed higher than it can handle well (which varies from chip to chip); I think eventually when a big enough error happens it results in a kernel panic (where the phone freezes and eventually reboots), but I'm not exactly sure on how it works.
A quick note on the theoretics from someone who studied embedded systems...
Theoretically performance gain should be proportional to CPU frequency (double your frequency, halve your processing time). In practice you often see what you are seeing here, which is the effect of another system on the phone being the performance bottleneck. Without knowing anything about the cpu architecture and exactly how linpack is designed, it's hard to judge where that bottleneck is on the TB, but the point is that performance should be linear with cpu frequency.
Instead of averaging over 3 trials it would probably be better to take the *best* out of, say, 10 trials.
I'm assuming it's somewhat the same as testing runtime of particular algorithms on a computer--you want the best result you get because it actually is the closest to the actual answer. Processors won't "glitch" to being faster than they really are, so a slower result just means that some of the processor was used for something else (another background program perhaps). You will never get all of the processor's "attention" when doing tests like these on your own phone, so go with the result you get when you get *most* of the processor's attention!
Just a thought

Questions on RAM overclocking

Does anyone who has looked at the kernel source know if we will be able to do RAM overclocking? We know from the whitepaper that playing games on the resolution that the N10 has will take 10+ gigabytes per second of bandwidth so a memory OC should be able to help out considerably, especially if overclocking the GPU as well.
Additionally, how come we never see an area in the tunables where we can tweak timings? All we ever see is voltage and frequency, but the memory has to have primary and subtimings as well, just like all regular computer memory. If someone could make the timings able to be modified we might be able to get some series bandwidth increases out of these.
Oh and one last thing, why dont we ever see memory voltage setting either? We have core, gpu, and video decoding core voltages but being able to tweak memory voltage would be a great addition too. We already know that the Exynos 5 dual uses low power 1.35v DDR3 memory. If Samsung's other LP 1.35v DDR3 chips are any indication, these things have MASSIVE overclock potential. I have seen people running them up over 2400MHz!
bump since we have device support now. Any kernels dev's want to look into the possibility of these things?
I too would be very interested in seeing some RAM overclocking/voltage tweaking; I believe it could open up a lot of potential
If a kernel gets developed that can accomplish this I'll go to the store and buy a n10 that very same day.
Right now I'll show patience and wait to read true reviews from actual users.
Sent from my Nexus 7 using Tapatalk 2
I'm not overclocking my device, in fact if anything i'll under volt it. If I could get a 3rd party accidental warranty, it would be a whole different story.

Do you overclock your N7?

Do you?
Do you keep it overckocked for a longer period, permanently, or just when/while you need it? How much (exact frequencies would be cool) I'm thinking of OCing mine (both CPU and GPU) since some games like NOVA 3 lag on occasions but not sure how safe/advisable it is.
Sent from my Nexus 7 using Tapatalk HD
I don't think it's needed. I've heard that OC won't help much with gaming, but you can definitely try
I don't yet - I might later. My N7 is still less than a month old.
The device manufacturers (e.g. Asus in this case) have motivations to "not leave anything on the table" when it comes to performance. So, you have to ask yourself - why would they purposely configure things to go slowly?
After all, they need to compete with other handset/tablet manufacturers, who are each in turn free to go out and buy the exact same Tegra SoC (processor) from Nvidia.
At the same time, they know that they will manufacture millions of units, and they want to hold down their product outgoing defect levels and in-the-field product reliability problems to an acceptable level. If they don't keep malfunctions and product infant mortality down to a fraction of a percent, they will suffer huge brand name erosion problems. And that will affect not only sales of the current product, but future products too.
That means that they have to choose a conservative set of operating points which will work for 99+ % of all customer units manufactured across all temperature, voltage, and clock speed ranges. (BTW, Note that Asus didn't write the kernel EDP & thermal protection code - Nvidia did; that suggests that all the device manufacturers take their operating envelope from Nvidia; they really don't even want to know where Nvidia got their numbers)
Some folks take this to mean that the vast majority of units sold can operate safely at higher speeds, higher temperatures, or lower voltages, given that the "as shipped" configuration will allow "weak" or "slow" units to operate correctly.
But look, it's not as if amateurs - hacking kernels in their spare time - have better informed opinions or data about what will work or won't work well across all units. Simply put, they don't know what the statistical test properties of processors coming from the foundry are - and certainly can't tell you what the results will be for an individual unit. They are usually smart folks - but operating completely in the dark in regards to those matters.
About the only thing which can be said in a general way is that as you progressively increase the clock speed, or progressively weaken the thermal regulation, or progressively decrease the cpu core voltage stepping, your chances of having a problem with any given unit (yours) increase. A "problem" might be (1) logic errors which lead to immediate system crashes or hangs, (2) logic errors (in data paths) that lead to data corruption without a crash or (3) permanent hardware failure (usually because of thermal excursions).
Is that "safe"?
Depends on your definition of "safe". If you only use the device for entertainment purposes, "safe" might mean "the hardware won't burn up in the next 2-3 years". Look over in any of the kernel threads - you'll see folks who are not too alarmed about their device freezing or spontaneously rebooting. (They don't like it, but it doesn't stop them from flashing dev kernels).
If you are using the device for work or professional purposes - for instance generating or editing work product - then "safe" might mean "my files on the device or files transiting to and from the cloud won't get corrupted", or "I don't want a spontaneous kernel crash of the device to cascade into a bricked device and unrecoverable files". For this person, the risks are quite a bit higher.
No doubt some tool will come in here and say "I've been overclocking to X Ghz for months now without a problem!" - as if that were somehow a proof of how somebody else's device will behave. It may well be completely true - but a demonstration on a single device says absolutely nothing about how someone else's device will behave. Even Nvidia can't do that.
There's a lot of pretty wild stuff going on in some of the dev kernels. The data that exists as a form of positive validation for these kernels is a handful of people saying "my device didn't crash". That's pretty far removed from the rigorous testing performed by Nvidia (98+% fault path coverage on statistically significant samples of devices over temperature, voltage, and frequency on multi-million dollar test equipment.)
good luck!
PS My phone has it's Fmax OC'ed by 40% from the factory value for more than 2 years. That's not a proof of anything really - just to point out that I'm not anti-OC'ing. Just trying to say - nobody can provide you any assurances that things will go swimmingly on your device at a given operating point. It's up to you to decide whether you should regard it as "risky".
Wow thanks for your educational response, I learned something. Great post! I will see if I will over clock it or not since I can play with no problems at all, it is just that it hics up when there is too much stuff around. Thanks again!
Sent from my Nexus 7 using Tapatalk HD
With the proper kernel its really not needed. Havent really seen any difference,aside from benchmark scores(which can be achieved without oc'ing)
Sent from my Nexus 7 using XDA Premium HD app
Yes, I run mine at 1.6 peak.
I've come to the Android world from the iOS world - the world of the iPhone, the iPad, etc.
One thing they're all brilliant at is responsive UI. The UI, when you tap it, responds. Android, prior to 4.1, didn't.
Android, with 4.1 and 4.2, does. Mostly.
You can still do better. I'm running an undervolted, overclocked M-Kernel, with TouchDemand governor, pushing to 2 G-cores on touch events.
It's nice and buttery, and renders complex PDF files far faster than stock when the cores peak at 1.6.
I can't run sustained at 1.6 under full load - it thermal throttles with 4 cores at 100% load. But I can get the peak performance for burst demands like page rendering, and I'm still quite efficient on battery.
There's no downside to running at higher frequencies as long as you're below stock voltages. Less heat, more performance.
If you start pushing the voltages past spec, yeah, you're likely into "shortening the lifespan." But if you can clock it up, and keep the voltages less than the stock kernel, there's really not much downside. And the upside is improved page rendering, improved PDF rendering, etc.
Gaming performance isn't boosted that much as most games aren't CPU bound. That said, I don't game. So... *shrug*.
Bitweasil said:
I can't run sustained at 1.6 under full load - it thermal throttles with 4 cores at 100% load.
Click to expand...
Click to collapse
@Bitweasil
Kinda curious about something (OP, allow me a slight thread-jack!).
in an adb shell, run this loop:
# cd /sys/kernel/debug/tegra_thermal
# while [ 1 ] ; do
> sleep 1
> cat temp_tj
> done
and then run your "full load".
What temperature rise and peak temperature do you see? Are you really hitting the 95C throttle, or are you using a kernel where that is altered?
I can generate (w/ a mutli-threaded native proggy, 6 threads running tight integer loops) only about a 25C rise, and since the "TJ" in mine idles around 40C, I get nowhere near the default throttle temp. But I am using a stock kernel, so it immediately backs off to 1.2 Ghz when multicore comes on line.
Same sort of thing with Antutu or OpenGL benchmark suites (the latter of which runs for 12 minutes) - I barely crack 60C with the stock kernel.
?
bftb0
The kernel I'm using throttles around 70C.
I can't hit that at 1200 or 1300 - just above that I can exceed the temps.
I certainly haven't seen 95C.
M-Kernel throttles down to 1400 above 70C, which will occasionally get above 70C at 1400, but not by much.
Bitweasil said:
The kernel I'm using throttles around 70C.
I can't hit that at 1200 or 1300 - just above that I can exceed the temps.
I certainly haven't seen 95C.
M-Kernel throttles down to 1400 above 70C, which will occasionally get above 70C at 1400, but not by much.
Click to expand...
Click to collapse
Thanks. Any particular workload that does this, or is the throttle pretty easy to hit with arbitrary long-running loads?
Odp: Do you overclock your N7?
I'll never OC a quadcore phone/tablet, I'm not stupid. This is enough for me.
Sent from my BMW E32 using XDA App
I've over clocked my phone, but not my N7. I've got a Galaxy Ace with a single core 800MHz processor OC'd to 900+. The N7 with its quad core 1.3GHz is more than enough for doing what I need it to do. Using franco.Kernel and everything is smooth and lag-free. No need for me to overclock
Sent From My Awesome AOSPA3.+/franco.Kernel Powered Nexus 7 With XDA Premium
Impossible to do so can't even get root but did manage to unlock the bootloader
Sent from my Nexus 7 using xda app-developers app
CuttyCZ said:
I don't think it's needed. I've heard that OC won't help much with gaming, but you can definitely try
Click to expand...
Click to collapse
I'm not a big OC'er, but I do see a difference in some games when I OC the GPU. It really depends on the game and what is the performance bottleneck. If the app is not Kernel bound than an OC won't make much difference. Must games are I/O and GPU bound.
Sent from my N7 using XDA Premium
Dirty AOKP 3.5 <&> m-kernel+ a34(t.10)
I've overclocked all of my devices since my first HTC hero. I really don't see a big deal with hardware life.
I know that this n7 runs games better at 1.6ghz than at 1.3ghz.
First thing I do when I get a new device is swap recovery and install aokp with the latest and greatest development kernel. Isn't that why all this great development exists? For us to make our devices better and faster? I think so. I'd recommend aokp and m-kernel to every nexus 7 owner. I wish more people would try non-stock.
scottx . said:
I've overclocked all of my devices since my first HTC hero. I really don't see a big deal with hardware life.
I know that this n7 runs games better at 1.6ghz than at 1.3ghz.
First thing I do when I get a new device is swap recovery and install aokp with the latest and greatest development kernel. Isn't that why all this great development exists? For us to make our devices better and faster? I think so. I'd recommend aokp and m-kernel to every nexus 7 owner. I wish more people would try non-stock.
Click to expand...
Click to collapse
Do you mean the pub builds of AOKP? Or Dirty AOKP
Ty
bftb0 said:
Thanks. Any particular workload that does this, or is the throttle pretty easy to hit with arbitrary long-running loads?
Click to expand...
Click to collapse
Stability Test will do it reliably. Other workloads don't tend to run long enough to trigger it that I've seen.
And why is a quadcore magically "not to be overclocked"? Single threaded performance is still a major bottleneck.
Bitweasil said:
Stability Test will do it reliably. Other workloads don't tend to run long enough to trigger it that I've seen.
And why is a quadcore magically "not to be overclocked"? Single threaded performance is still a major bottleneck.
Click to expand...
Click to collapse
Hi Bitweasil,
I fooled around a little more with my horrid little threaded cpu-blaster code. Combined simultaneously with something gpu-intensive such as the OpenGL ES benchmark (which runs for 10-12 minutes), I observed peak temps (Tj) of about 83C with the stock kernel. That's a ridiculous load, though. I can go back and repeat the test, but from 40C it probably takes several minutes to get there. No complaints about anything in the kernel logs other than the EDP down-clocking, but that happens just as soon as the second cpu comes on line, irrespective of temperature. With either of the CPU-only or GPU-only stressors, the highest I saw was a little over 70C. (But, I don't live in the tropics!)
To your question - I don't think there is much risk of immediate hardware damage, so long as bugs don't creep into throttling code, or kernel bugs don't cause a flaw that prevents the throttling or down-clocking code from being serviced while the device is running in a "performance" condition. And long-term reliability problems will be no worse if the cumulative temperature excursions of the device are not higher than what than what they would be using stock configurations.
The reason that core voltages are stepped up at higher clock rates (& more cores online) is to preserve both logic and timing closure margins across *all possible paths* in the processor. More cores running means that the power rails inside the SoC package are noisier - so logic levels are a bit more uncertain, and faster clocking means there is less time available per clock for logic levels to stabilize before data gets latched.
Well, Nvidia has reasons for setting their envelope the way they do - not because of device damage considerations, but because they expect to have a pretty small fraction of devices that will experience timing faults *anywhere along millions of logic paths* under all reasonable operating conditions. Reducing the margin, whether by undervolting at high frequencies, or increasing max frequencies, or allowing more cores to run at peak frequencies will certainly increase the fraction of devices that experience logic failures along at least one path (out of millions!). Whether or not OC'ing will work correctly on an individual device can not be predicted in advance; the only thing that Nvidia can estimate is a statistical quantity - about what percent of devices will experience logic faults under a given operating conditon.
Different users will have different tolerance for faults. A gamer might have very high tolerance for random reboots, lockups, file system corruption, et cetera. Different story if you are composing a long email to your boss under deadline and your unit suddenly turns upside down.
No doubt there (theoretically) exists an overclocking implementation where 50% of all devices would have a logic failure within (say) 1 day of operation. That kind of situation would be readily detected in a small number of forum reports. But what about if it were a 95%/5% situation? One out of twenty dudes report a problem, and it is dismissed with some crazy recommendation such as "have you tried re-flashing your ROM?". And fault probability accumulates with time, especially when the testing loads have very poor path coverage. 5% failure over one day will be higher over a 30 day period - potentially much higher.
That's the crux of the matter. Processor companies spend as much as 50% of their per-device engineering budgets on test development. In some cases they actually design & build a second companion processor (that rivals the complexity of the first!) whose only function is to act as a test engine for the processor that will be shipped. Achieving decent test coverage is a non-trivial problem, and it is generally attacked with extremely disciplined testing over temperature/voltage/frequency with statistically significant numbers of devices - using test-vector sets (& internal test generators) that are known to provide a high level of path coverage. The data that comes from random ad-hoc reports on forums from dudes running random applications in an undisciplined way on their OC'ed units is simply not comparable. (Even "stressor" apps have very poor path coverage).
But, as I said, different folks have different tolerance for risk. Random data corruption is acceptable if the unit in question has nothing on it of value.
I poked my head in the M-kernel thread the other day; I thought I saw a reference to "two units fried" (possibly even one belonging to the dev?). I assume you are following that thread ... did I misinterpret that?
cheers
I don't disagree.
But, I'd argue that the stock speeds/voltages/etc are designed for the 120% case - they're supposed to work for about 120% of shipped chips. In other words, regardless of conditions, the stock clocks/voltages need to be reliable, with a nice margin on top.
Statistically, most of the chips will be much better than this, and that's the headroom overclocking plays in.
I totally agree that you eventually will get some logic errors, somewhere, at some point. But there's a lot of headroom in most devices/chips before you get to that point.
My use cases are heavily bursty. I'll do complex PDF rendering on the CPU for a second or two, then it goes back to sleep while I read the page. For this type of use, I'm quite comfortable with having pushed clocks hard. For sustained gaming, I'd run it lower, though I don't really game.

CPU Throttling - warranty?

Hello !
After long weeks of searching the answer and solution to my problem, I am exhausted. So I would like to ask the biggest Android community for help
Well, I know it's not new, but I have problem with my S7 Edge (Exynos) performance
I experience FPS drops in almost every game I play. As for games it's not that irritating, but recently I have bought Gear VR and while having this thing so close to your eyes, you see every frame skipping.
Apps for checking the CPU throttling shows that after 5-10 minutes the 4 bigger cores slow down to about 50% of their full speed. It leads to ~30% performance slow down.
I tried every solution that doesn't require root access and warranty void. For example: disabling certain packages and services (Game Launcher, Game optimization service); different settings in Game Tuner; performance mode; factory reset etc. Nothing works.
Does this kind of problems can be repaired on warranty? I know that in order to fix this you can change kernel setting, cpu governor etc but ofc they don't do that in Samsung Service Center. Is it possible for them to replace the main board and cpu with Snapdragon one?
I would not like to root my device because I didn't want to lose my 3 years warranty and I am using a lot of applications that may not work with a root.
Thank you in advance for all your replies
Did you try the game performance mode? As the "performance mode" is just screen resolution and brightness. The game mode is the real performance mode where the temps throttling is relaxed and higher clock speeds allowed(you can also edit the profile to set the resolution manually to wqhd). You can also try to set the resolution to full hd and see how it goes (tho for VR it won't be cool, but for the test it won't hurt). Also if the phone is new, it will need atleast 10 days to settle and become faster, smoother, better. Apply updates if they are pending too.
Otherwise you can't do much without root, but even then you are limited to what you can achieve so be careful + samsung have a fuse into the chip that burns out when you root the phone, it's not possible to hide the intervention and they can deny warranty for that reason (and often do so).
high_voltage said:
Did you try the game performance mode? As the "performance mode" is just screen resolution and brightness. The game mode is the real performance mode where the temps throttling is relaxed and higher clock speeds allowed(you can also edit the profile to set the resolution manually to wqhd). You can also try to set the resolution to full hd and see how it goes (tho for VR it won't be cool, but for the test it won't hurt). Also if the phone is new, it will need atleast 10 days to settle and become faster, smoother, better. Apply updates if they are pending too.
Otherwise you can't do much without root, but even then you are limited to what you can achieve so be careful + samsung have a fuse into the chip that burns out when you root the phone, it's not possible to hide the intervention and they can deny warranty for that reason (and often do so).
Click to expand...
Click to collapse
Thank you for your reply
Yes, I've tried "game mode" but there is no difference. Changing resolution to Full HD helps for a while, but the Gear VR software doesn't work properly on anything other than WQHD. It just doesn't scale properly and you are unable to see whole content.
I'm just wondering whether every S7 Edge has problems like mine. I understand throttling after 20-30 minutes of intensive gameplay, but ~40% slow down after 3-5 minutes seems strange, especially because phone doesn't even get warm.
emsitek said:
Thank you for your reply
Yes, I've tried "game mode" but there is no difference. Changing resolution to Full HD helps for a while, but the Gear VR software doesn't work properly on anything other than WQHD. It just doesn't scale properly and you are unable to see whole content.
I'm just wondering whether every S7 Edge has problems like mine. I understand throttling after 20-30 minutes of intensive gameplay, but ~40% slow down after 3-5 minutes seems strange, especially because phone doesn't even get warm.
Click to expand...
Click to collapse
Hard to tell, got the phone, but no vr... :/
Otherwise I don't have problems with gaming, the game mode smooths a little the already fluid gaming(but then again, the game I play mostly is vainglory and that game runs great on htc m8 that is almost 4 years old). You are talking about some more massive performance drop. Many phones start to throttle early and throttle hard, samsung is one of them for sure (they want the phone cold).
@hamdir can you lend a hand on that one? You are tons more experience with VR than me.
high_voltage said:
Hard to tell, got the phone, but no vr... :/
Otherwise I don't have problems with gaming, the game mode smooths a little the already fluid gaming(but then again, the game I play mostly is vainglory and that game runs great on htc m8 that is almost 4 years old). You are talking about some more massive performance drop. Many phones start to throttle early and throttle hard, samsung is one of them for sure (they want the phone cold).
@hamdir can you lend a hand on that one? You are tons more experience with VR than me.
Click to expand...
Click to collapse
Well, there is an app called CPU Throttling Test on Google Play. I would be really thankful if you give me information how your phone behave in this app. Mine throttles hard after 3-8 minutes. Clock speed of the better cores goes down to about 1.6GHz each. Sometimes even below 1.5GHz.
emsitek said:
Well, there is an app called CPU Throttling Test on Google Play. I would be really thankful if you give me information how your phone behave in this app. Mine throttles hard after 3-8 minutes. Clock speed of the better cores goes down to about 1.6GHz each. Sometimes even below 1.5GHz.
Click to expand...
Click to collapse
From a cold phone, 1.9GHz almost right away(I guess the highest freq is only for burst load, like app launching) and kept for 8 minutes then drop to 1.57GHz on the big cores. So I think it's in line with your result.
high_voltage said:
From a cold phone, 1.9GHz almost right away(I guess the highest freq is only for burst load, like app launching) and kept for 8 minutes then drop to 1.57GHz on the big cores. So I think it's in line with your result.
Click to expand...
Click to collapse
Yeah, that would be it. Thank you for your time. So it seems to be normal, I hope I'll get used to it somehow
I also wrote an email to Oculus, maybe they heard sth about this issue and know a fix for frames skipping.
The notorious feature known as DVFS is the likely culprit. Some forum members suggest it throttles the GPU and CPU to improve benchmark results or otherwise to protect the device. I've noticed it can lock-up and end up overheating the device but that's just an anecdote.
You can try forcing the app to run at a lower resolution which Samsung's Game Tuner does for some games, or find other solutions for unrooted devices like capping CPU frequency for a smoother experience.
nexidus said:
The notorious feature known as DVFS is the likely culprit. Some forum members suggest it throttles the GPU and CPU to improve benchmark results or otherwise to protect the device. I've noticed it can lock-up and end up overheating the device but that's just an anecdote.
You can try forcing the app to run at a lower resolution which Samsung's Game Tuner does for some games, or find other solutions for unrooted devices like capping CPU frequency for a smoother experience.
Click to expand...
Click to collapse
Almost all the phones are tweaked to use max freq only on single core load and app startup (burst). If their power management detect heavy load on all cores, it will automatically scale down to lower freq state to prevent heat building up fast. In reality in our case this is 1.87GHz for all big cores + the small ones (higher if only the big cluster is used, leaving the small cores off). The first actual thermal throttling level is 1.56-1.57GHz at around 8 minutes mark. Games would take a lot longer and in my observation as the phone is big and none will use 8 cores at the same time - there will be no throttling, just power management and stable fps. His case is different tho, VR is really a heavy one on the CPU.
As for DVFS (and extended to samsung power management, every manufacturer has it's own management) - it's there for a reason, to use your phone without major slowdowns due to heat and to be cold in touch, i.e. better for use. You can always change the behaviour via custom kernel, but you can't get more performance without heating the phone to the point of hardware throttling or uncomfortable to hold. Actually as you said - the right way if modify is to cap to lower freq and try to command the phone to keep them. This would still lead to a lot of heat, but will take some time to build up (and it will look smoother, tho with lower fps). OC is pointless for speed gains, will work only for burst loads. UV is not effective too as nowdays the SOC's are heavily binned for optimal settings from the factory.
Disable throttlinf dvfs exynos
Check how disable it . My youtube channel URLGAMEPLAY

Categories

Resources