[Nexus 5 Android Development] xeraphael:
Stable working range for RACER L7.0+

Posts by [MENTION=5106530]FunkyRasta[/MENTION], reproduced here for the record:

A quick guide to MSM MPDecision and Three Phase Thermal control by show-p1984

Hotplug section „MSM MPDecsion” in Synapse:

I will not not explain stuff already explained in Synapse itself, I'd rather provide a point of reference and a few profiles for you.

Defaults values for reference:

Runqueue Threshold Hotplug CPU1 - 12

Runqueue Threshold Unplug CPU0 - 0

Runqueue Threshold Hotplug CPU2 - 20

Runqueue Threshold Unplug CPU1 - 7

Runqueue Threshold Hotplug CPU3 - 25

Runqueue Threshold Unplug CPU2 - 10

Runqueue Threshold Hotplug CPU4 - 0

Runqueue Threshold Hotplug CPU3 - 18

Time Threshold Hotplug CPU1 – 140

Time Threshold Unplug CPU0 - 0

Time Threshold Hotplug CPU2 - 140

Time Threshold Unplug CPU1 - 190

Time Threshold Hotplug CPU3 - 140

Time Threshold Unplug CPU2 - 190

Time Threshold Hotplug CPU4 - 0

Time Threshold Unplug CPU3 - 190

Slow Hotplug and Slow unplug of cores – Best battery life, great performance

Runqueue Threshold Hotplug CPU1 - 22

Runqueue Threshold Unplug CPU0 - 0

Runqueue Threshold Hotplug CPU2 - 37

Runqueue Threshold Unplug CPU1 - 18

Runqueue Threshold Hotplug CPU3 - 47

Runqueue Threshold Unplug CPU2 - 22

Runqueue Threshold Hotplug CPU4 - 0

Runqueue Threshold Hotplug CPU3 - 26

Time Threshold Hotplug CPU1 - 400

Time Threshold Unplug CPU0 - 0

Time Threshold Hotplug CPU2 - 400

Time Threshold Unplug CPU1 - 400

Time Threshold Hotplug CPU3 - 400

Time Threshold Unplug CPU2 - 400

Time Threshold Hotplug CPU4 - 0

Time Threshold Unplug CPU3 – 400

HINT: You can combine Hotplugs and Unplugs from these two profiles to get Default Hotplug/Slow unplug etc. mixes to achieve what you want. The presented profiles are delivered with Kcontrol app by show-p1984 himself, if you want to support him then buy it.

Thermal:

Here Synapse screwes up a bit when it comes to naming stuff.

Allowed Low/Mid/High Low should be Low/Mid/High Clear

Allowed Low/Mid/High High should be Low/Mid/High Limit

Firs let's talk about Limit values. If SOC reaches limit value of Low phase it throttles the freq to Allowed Low frequency value. Same goes for Mid and High. If a clear value is reached for Low phase the throttling goes off. Same goes for Mid phase if you set Mid Clear lower than Low Limit. If you set it higher the SOC will go in Low phase and analogically with Mid and High phases.

My recommended settings to keep phone cool without noticeable performance decrease. Completely different than default, which nearly doesn't throttle the phone till it is very hot to drop freq all the way down. Experiment with this values to your liking and compromise beetwen performance/temperature

Low limit – 58 low freq – 1958 MHz

Low clear – 55

Mid limit - 65 mid freq – 1728 MHz

Mid clear – 60

High limit – 70 high freq – 1574 Mhz

High clear - 63

Hope I helped !

For my nearly 40000 bench everything was stock apart and in fact I even set hotplug to slow. Stock thermal would be OK too, not my settings from guide that are supposed to keep phone cool.

With stock settings and stock thermal there's no way you could not have at least 39000 something.

For 43500 run I've raised thermal limits to 80 C, set hotplug Fast in Kcontrol, cooled my phone in the fridge and OC'ed to 2,5 Ghz. Later without cooling at 2,4 Ghz I got 42000.

And I've got to say that battery now on Racer is F***** AWESOME. Exactly two hours screen on with 50 percent battery left ! That's great considering I mostly get 3 hours something SOT from 100 percent with my use. Even greater given the fact that Lollipop drains battery with wifi on (misc battery use in battery history) and that I was playing real racing for 30 minutes.

I'm running 7.0 before it was limited to 2.8 GHz. Today factory images should be relased. Will flash one a post Antutu score with latest build and without any settings editing.

My phone has PVS 3 and undervolted by 35mV.

No cheating no per app setting. Just straight simple, four cores @2,2 GHz ,ondemand governor, deadline scheduler. Minimum freq all the way down to what Synapse allows. Hotplug as in my guide, slow hotplug (try with default) slow unplug. All free thermal phases rased above 80 C using Kcontrol (scroll down and hit apply ! That got me like two times, maybe that's why your antutu runs at 1,9 GHz)