[Q] Houcha Kernel Settings Questions... - AT&T LG Optimus G

I'm looking to get my phone to have the best battery life while giving the best performance. I know everyone's battery life depends on what they do, but I'm sure there is a common denominator to help battery life.
So basically, I'm going to list what I have in FauxClock/Trickster and if you see something that could be better, let me know.
Faux123 KEP:
Code:
[B][SIZE="5"]CPU:[/SIZE][/B]
Max Clock = 1.512 GHz
Min Clock = 384 mhz
CPU Governer = intellidemand
mpdecision = off
[B][SIZE="5"]SOC[/SIZE][/B] (What is this anyway)?:
C0: WFI = On
Usage = 325002
C1 Retention = On
Usage = 0
C2 Standalone_power_collapse = off
Usage = 0
C3 Power_Collapse = off
Usage = 0
[B][SIZE="5"]Voltage Control:[/SIZE][/B]
(removing extraneous zeros for ease of typing)
384 kHz = 850 Uvolts
432 kHz = 875UVolts
486 kHz = 875 uVolts
540 kHz = 900 uVolts
594 kHz = 900 uVolts
648 kHz = 925 uVolts
702 kHz = 925 uVolts
756 kHz = 9625 uVolts
810 kHz = 9625 uVolts
864 kHz = 975 uVolts
918 kHz = 975 uVolts
972 kHz = 1000 uVolts
1026 kHz = 1000 uVolts
1080 kHz = 1050 uVolts
1134 kHz = 1050 uVolts
1188 kHz = 1075 uVolts
1242 kHz = 1075 uVolts
1296 kHz = 1100 uVolts
1350 kHz = 1100 uVolts
1404 kHz = 11125 uVolts
1458 kHz = 11125 uVolts
1512 kHz = 11125 uVolts
[B][SIZE="5"]Governor:[/SIZE][/B]
Up Threshold = 75
Boost Frequency = 0
Two Phase Frequency = 1134000
Sampling Rate = 15000
Optimal Frequency = 1296000
Sync Frequency = 702000
[B][SIZE="5"]GPU:[/SIZE][/B]
GPU Governer = ondemand
GPU Clock Control = 400mhz
[B][SIZE="5"]IOSCHED:[/SIZE][/B]
i/O Scheduler (eMMC) = fiops
Readahead = 2048
eMMC contribution = ON
i/o for sdcard = fiops
readahead for sdcard = 128
sdcard entropy contribution = on
[B][SIZE="5"]MISC:[/SIZE][/B]
Dynamic File Sync = ON
USB Fast Charge = Off
TCP Congestion Control = westwood (what is this for? Is another much better?)
Trickster
Code:
1. Why is Deep Sleep in Not Used States? I'm using AOKP w/ Houcha-fs if that matters.
Only thing listed here that is not in Faux is Temperature Throttle, which is on.
Thank you for taking the time to read this... I know it is a hell of a lot to read. LOL

Related

Good voltage settings for OTB kernel?

Can anyone post their Voltage settings for Nemesis2all OTB OC kernal? Like posting ALL of them? Thankss.
You could skim through the thread starting at page 20 or so and look for lists of voltages and/or thumbnails.
I've been using this kernel recently. Here's my settings so far, although the overclocked settings have only been in place for a few hours, and I'm cautious about overvolting right now (this is my second fascinate ).
For reference, I had used comavolt before with no issues, but apparently barely (these settings aren't much of an improvement, other than overclocking of course).
I/O scheduler is set to cfq (sio gave me lockups in the market with comavolt settings). Enabled steps are 200, 400, 800, 1000, 1120, and 1200 MHz. I'm not bothering with 600 or 900 steps as I couldn't get any better voltage than with the 800 and 1000 steps. 1300 (and maybe even 1400) should be doable with overvolting, but doesn't stand a chance without it.
100-200 MHz: 850 mV
400 MHz: 975 mV
600-800 MHz: 1125 mV
900-1000 MHz: 1225 mV
1120 MHz: 1275 mV
1200 MHz: 1300 mV
I'm using the following 4 steps. You can swap in the last step for a 1500/~1400mV but I personally have yet to get that 1500 stable. At 1.4ghz I'm seeing 2000 in Quadrant, 20 mflops in Linpack. I'm also getting insanely efficient battery usage. Thank you Nemesis.
200 - 875mV
600 - 1150mV
1000 - 1250mV
1400 - 1350mV
*CFQ scheduler has kept 1400 crash free.

[Q] Set CPU Settings?

what are good setcpu settings? currently i have my main profile at 200-1000 ondemand, and i have 2 profiles: 200-200 conservative screen off, and 200-200 conservative temp>50c
as for the voltages i followed this
1600 MHz - 1425 mV
1400 MHz - 1250 mV
1200 MHz - 1150 mV
1000 MHz - 1050 mV
800 MHz - 950 mV
500 MHz - 850 mV
200 MHz - 800 mV
is there anything i should change for my profiles etc? my aim is to have the battery last as long as possible.
Not another thread for the same thing,
http://forum.xda-developers.com/showthread.php?t=1158102
Regards.
seems like you got a good CPU, cause mine cannot even set 200MHz voltage to 825mV
Kernel: Siyah Kernel v6 beta 4
Rom: Omega Rom v18
Highest Quadrant score: 5177 (Omega Rom v16.2)
Power Saving:
300 MHz - 400 MHz (both 925 mV)
powersave
Normal Use:
300 MHz - 1400 MHz (default voltages)
ondemand
Benchmarking:
1500 MHz (default voltage) - 1600 MHz (1600 mV or it your phone will crash)
lulzactiveq
WARNING:
Setting 1500 MHz to 1600 MHz may cause your phone to crash.
Do not tick "set on boot" option just to be safe.
You have been warned.

Undervolting crazyness

Today I was sick and I decided the spend the day testing the phone. This configuration is great for battery life and stable
For cpu
1200000 1175
1100000 1125
1000000 1075
900000 1025
800000 975
700000 950
600000 950
500000 950
400000 900
300000 850
200000 825
100000 800
According to the tests I've done 86% of the time, cpu is below 600MHz state. Also I've decided to insert the 100mhz. It works great without any problems and we can save up a bunch of juice, near - 150mv.
Would recommend you guys leave the 500mhz till 800MHz as is. Or it'll freeze the phone.
Any thoughts? Wanna know your opinion.
The Gpu cannot be undervolted the limit is 1000mv for 200mhz and 267mhz.
160mhz I would love to test with 925mv
100MHz is 900mv
64mhz us 850mv
The only thing we can do to make sure it'll conserve battery is to raise the percentage before he raises frequency. I've decided to make near 85% to raise and 75% to decrease with 5 steps. Seems to be A OK.
Wanna know opinions. Phone is working great for hours with gaming etc. Please let me know your opinion
Sent from my GT-I9100 using Tapatalk 2

[Script]Live monitor for temperature measurement

LIVE THERMAL MONITOR​
I just created this easy script for monitoring the temperature of the S4, It's mainly intended to monitor the temperature while benchmarking (at least this is what I use it for), it monitors thermal_zone0 and (optionally) get's freq of cpu0, change if desired.
Github Repository:
https://github.com/broodplank/LiveThermalMonitor
I have made 5 variables.
- INTERVAL [0-5] = interval in seconds of recording the temperature (I recommend 1 for the most accurate reading)
- TIMESTAMP [0-1] = Whether to print the timestamp of the temperature taken or not
- CPUFREQ [0-1] = Whether to print the current cpu frequency or not
- TEMPOUT [/path/to/logfile] = The path where the reading will be stored temporarily.
- METRIC [0-1] = Whether to use the Metric (Celcius) or Imperial system (Fahrenheit) for temperature measurement.
The main script that goes on your phone: (to be placed on any ext4 partition (chmod 755))
Code:
#!/system/bin/sh
#Live temperature monitor v1.1
#by broodplank
export INTERVAL="1"; #Set interval between temperature measurement, default is 1 second
export TIMESTAMP="1"; #Enable or disable timestamp print at every temperature measured
export CPUFREQ="1"; #Enable or disable printing current CPU frequency at every temperature measured
export TEMPOUT="/sdcard/tempdata"; #Set output file
export METRIC="1"; #Use metric system (celcius) or imperial system (fahrenheit)
while true
do
#Check for timestamp usage
if [[ ${TIMESTAMP} = 1 ]]; then
#Print hh:mm:ss
echo -e "Timestamp: "`date +"%T"` >> $TEMPOUT
fi;
#Check for cpufreq usage
if [[ ${CPUFREQ} = 1 ]]; then
#Print current cpufreq of cpu0
echo -e "Current CPU Freq: "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` >> $TEMPOUT
fi;
#Check for measurement system (metric / imperial)
if [[ ${METRIC} = 1 ]]; then
#Print value of thermal_zone0, this is expressed in celcius
echo -e "Degrees Celcius: "`cat /sys/class/thermal/thermal_zone0/temp | grep "\n*"`"\n" >> $TEMPOUT
else
#Print value of thermal_zone0, this is expressed in fahrenheit
export CELCIUSREADING=`cat /sys/class/thermal/thermal_zone0/temp | grep "\n*"`;
export FAHRENHEITMULTIPLIER=`echo "${CELCIUSREADING} 1.8 * p" |dc`;
export FAHRENHEIT=`echo "${FAHRENHEITMULTIPLIER} 32 + p" |dc`;
echo -e "Degrees Fahrenheit: $FAHRENHEIT\n" >> $TEMPOUT
fi;
#Execute interval
busybox sleep ${INTERVAL}s
done
Getting live output on device, while running script:
Code:
tail -f /path/to/logfile
Getting live output on PC, while running script:
Code:
adb shell tail -f /path/to/file
When you keep the variables on the default value you will get an output similar to this:
Example output:​
Quadrant Readings:
Timestamp: 09:37:11
Current CPU Freq: 594000
Degrees Celcius: 35
Timestamp: 09:37:12
Current CPU Freq: 1026000
Degrees Celcius: 36
Timestamp: 09:37:13
Current CPU Freq: 1134000
Degrees Celcius: 42
Timestamp: 09:37:14
Current CPU Freq: 1890000
Degrees Celcius: 46
Timestamp: 09:37:15
Current CPU Freq: 1890000
Degrees Celcius: 46
Timestamp: 09:37:16
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 09:37:17
Current CPU Freq: 1890000
Degrees Celcius: 50
Timestamp: 09:37:19
Current CPU Freq: 1026000
Degrees Celcius: 49
Timestamp: 09:37:20
Current CPU Freq: 1890000
Degrees Celcius: 44
Timestamp: 09:37:21
Current CPU Freq: 1782000
Degrees Celcius: 42
Timestamp: 09:37:22
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:23
Current CPU Freq: 1026000
Degrees Celcius: 43
Timestamp: 09:37:24
Current CPU Freq: 1566000
Degrees Celcius: 42
Timestamp: 09:37:25
Current CPU Freq: 1026000
Degrees Celcius: 41
Timestamp: 09:37:26
Current CPU Freq: 1350000
Degrees Celcius: 42
Timestamp: 09:37:27
Current CPU Freq: 1026000
Degrees Celcius: 43
Timestamp: 09:37:28
Current CPU Freq: 1350000
Degrees Celcius: 44
Timestamp: 09:37:29
Current CPU Freq: 1890000
Degrees Celcius: 44
Timestamp: 09:37:30
Current CPU Freq: 1026000
Degrees Celcius: 44
Timestamp: 09:37:31
Current CPU Freq: 1890000
Degrees Celcius: 44
Timestamp: 09:37:32
Current CPU Freq: 1566000
Degrees Celcius: 44
Timestamp: 09:37:33
Current CPU Freq: 702000
Degrees Celcius: 43
Timestamp: 09:37:34
Current CPU Freq: 1890000
Degrees Celcius: 43
Timestamp: 09:37:35
Current CPU Freq: 1890000
Degrees Celcius: 43
Timestamp: 09:37:36
Current CPU Freq: 1026000
Degrees Celcius: 43
Timestamp: 09:37:37
Current CPU Freq: 1890000
Degrees Celcius: 44
Timestamp: 09:37:38
Current CPU Freq: 1134000
Degrees Celcius: 44
Timestamp: 09:37:39
Current CPU Freq: 1674000
Degrees Celcius: 44
Timestamp: 09:37:40
Current CPU Freq: 1890000
Degrees Celcius: 43
Timestamp: 09:37:41
Current CPU Freq: 1134000
Degrees Celcius: 42
Timestamp: 09:37:42
Current CPU Freq: 1242000
Degrees Celcius: 43
Timestamp: 09:37:43
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:44
Current CPU Freq: 1242000
Degrees Celcius: 42
Timestamp: 09:37:45
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:46
Current CPU Freq: 1134000
Degrees Celcius: 43
Timestamp: 09:37:47
Current CPU Freq: 384000
Degrees Celcius: 42
Timestamp: 09:37:48
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:49
Current CPU Freq: 1350000
Degrees Celcius: 42
Timestamp: 09:37:50
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:51
Current CPU Freq: 1026000
Degrees Celcius: 41
Timestamp: 09:37:52
Current CPU Freq: 1890000
Degrees Celcius: 42
Timestamp: 09:37:54
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 09:37:55
Current CPU Freq: 1890000
Degrees Celcius: 42
Timestamp: 09:37:56
Current CPU Freq: 486000
Degrees Celcius: 42
Timestamp: 09:37:57
Current CPU Freq: 1890000
Degrees Celcius: 41
Timestamp: 09:37:58
Current CPU Freq: 384000
Degrees Celcius: 43
Timestamp: 09:37:59
Current CPU Freq: 1350000
Degrees Celcius: 39
Timestamp: 09:38:00
Current CPU Freq: 384000
Degrees Celcius: 41
Click to expand...
Click to collapse
Antutu Readings:
Timestamp: 10:02:40
Current CPU Freq: 1134000
Degrees Celcius: 30
Timestamp: 10:02:41
Current CPU Freq: 1134000
Degrees Celcius: 32
Timestamp: 10:02:42
Current CPU Freq: 384000
Degrees Celcius: 32
Timestamp: 10:02:43
Current CPU Freq: 1890000
Degrees Celcius: 34
Timestamp: 10:02:44
Current CPU Freq: 1026000
Degrees Celcius: 41
Timestamp: 10:02:45
Current CPU Freq: 1890000
Degrees Celcius: 37
Timestamp: 10:02:46
Current CPU Freq: 1026000
Degrees Celcius: 39
Timestamp: 10:02:47
Current CPU Freq: 1026000
Degrees Celcius: 42
Timestamp: 10:02:48
Current CPU Freq: 1026000
Degrees Celcius: 41
Timestamp: 10:02:49
Current CPU Freq: 1026000
Degrees Celcius: 43
Timestamp: 10:02:50
Current CPU Freq: 1026000
Degrees Celcius: 43
Timestamp: 10:02:51
Current CPU Freq: 1890000
Degrees Celcius: 44
Timestamp: 10:02:52
Current CPU Freq: 1890000
Degrees Celcius: 49
Timestamp: 10:02:53
Current CPU Freq: 1890000
Degrees Celcius: 51
Timestamp: 10:02:54
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:02:55
Current CPU Freq: 1890000
Degrees Celcius: 55
Timestamp: 10:02:57
Current CPU Freq: 1890000
Degrees Celcius: 55
Timestamp: 10:02:58
Current CPU Freq: 1890000
Degrees Celcius: 56
Timestamp: 10:02:59
Current CPU Freq: 1890000
Degrees Celcius: 57
Timestamp: 10:03:00
Current CPU Freq: 1890000
Degrees Celcius: 58
Timestamp: 10:03:01
Current CPU Freq: 1890000
Degrees Celcius: 58
Timestamp: 10:03:02
Current CPU Freq: 1890000
Degrees Celcius: 61
Timestamp: 10:03:03
Current CPU Freq: 1890000
Degrees Celcius: 61
Timestamp: 10:03:04
Current CPU Freq: 1890000
Degrees Celcius: 62
Timestamp: 10:03:05
Current CPU Freq: 1890000
Degrees Celcius: 63
Timestamp: 10:03:06
Current CPU Freq: 1890000
Degrees Celcius: 63
Timestamp: 10:03:07
Current CPU Freq: 1890000
Degrees Celcius: 64
Timestamp: 10:03:08
Current CPU Freq: 1890000
Degrees Celcius: 64
Timestamp: 10:03:09
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:03:10
Current CPU Freq: 1890000
Degrees Celcius: 64
Timestamp: 10:03:11
Current CPU Freq: 1026000
Degrees Celcius: 70
Timestamp: 10:03:12
Current CPU Freq: 1350000
Degrees Celcius: 61
Timestamp: 10:03:13
Current CPU Freq: 1674000
Degrees Celcius: 61
Timestamp: 10:03:14
Current CPU Freq: 1674000
Degrees Celcius: 64
Timestamp: 10:03:15
Current CPU Freq: 1674000
Degrees Celcius: 66
Timestamp: 10:03:16
Current CPU Freq: 1674000
Degrees Celcius: 66
Timestamp: 10:03:17
Current CPU Freq: 1674000
Degrees Celcius: 68
Timestamp: 10:03:18
Current CPU Freq: 1674000
Degrees Celcius: 69
Timestamp: 10:03:20
Current CPU Freq: 1890000
Degrees Celcius: 66
Timestamp: 10:03:21
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:22
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:23
Current CPU Freq: 1674000
Degrees Celcius: 65
Timestamp: 10:03:24
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:03:25
Current CPU Freq: 1890000
Degrees Celcius: 66
Timestamp: 10:03:26
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:27
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:28
Current CPU Freq: 1890000
Degrees Celcius: 69
Timestamp: 10:03:29
Current CPU Freq: 1674000
Degrees Celcius: 64
Timestamp: 10:03:30
Current CPU Freq: 1890000
Degrees Celcius: 66
Timestamp: 10:03:31
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:32
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:33
Current CPU Freq: 1890000
Degrees Celcius: 69
Timestamp: 10:03:34
Current CPU Freq: 1674000
Degrees Celcius: 66
Timestamp: 10:03:35
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:03:36
Current CPU Freq: 1674000
Degrees Celcius: 69
Timestamp: 10:03:37
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:03:38
Current CPU Freq: 1026000
Degrees Celcius: 61
Timestamp: 10:03:39
Current CPU Freq: 1026000
Degrees Celcius: 57
Timestamp: 10:03:40
Current CPU Freq: 1026000
Degrees Celcius: 54
Timestamp: 10:03:41
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:03:42
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:03:43
Current CPU Freq: 1026000
Degrees Celcius: 50
Timestamp: 10:03:44
Current CPU Freq: 1890000
Degrees Celcius: 50
Timestamp: 10:03:45
Current CPU Freq: 1890000
Degrees Celcius: 49
Timestamp: 10:03:46
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 10:03:48
Current CPU Freq: 1026000
Degrees Celcius: 48
Timestamp: 10:03:49
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 10:03:50
Current CPU Freq: 1026000
Degrees Celcius: 48
Timestamp: 10:03:51
Current CPU Freq: 1026000
Degrees Celcius: 46
Timestamp: 10:03:52
Current CPU Freq: 1026000
Degrees Celcius: 46
Timestamp: 10:03:53
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 10:03:54
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:03:55
Current CPU Freq: 1026000
Degrees Celcius: 55
Timestamp: 10:03:56
Current CPU Freq: 1890000
Degrees Celcius: 56
Timestamp: 10:03:57
Current CPU Freq: 1026000
Degrees Celcius: 58
Timestamp: 10:03:58
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:03:59
Current CPU Freq: 1026000
Degrees Celcius: 52
Timestamp: 10:04:00
Current CPU Freq: 1890000
Degrees Celcius: 50
Timestamp: 10:04:01
Current CPU Freq: 384000
Degrees Celcius: 49
Timestamp: 10:04:02
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 10:04:03
Current CPU Freq: 1890000
Degrees Celcius: 49
Timestamp: 10:04:04
Current CPU Freq: 1890000
Degrees Celcius: 49
Timestamp: 10:04:05
Current CPU Freq: 1026000
Degrees Celcius: 48
Timestamp: 10:04:06
Current CPU Freq: 1026000
Degrees Celcius: 54
Timestamp: 10:04:07
Current CPU Freq: 1890000
Degrees Celcius: 57
Timestamp: 10:04:08
Current CPU Freq: 1890000
Degrees Celcius: 63
Timestamp: 10:04:09
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:04:10
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:04:11
Current CPU Freq: 1350000
Degrees Celcius: 70
Timestamp: 10:04:12
Current CPU Freq: 1674000
Degrees Celcius: 63
Timestamp: 10:04:13
Current CPU Freq: 1026000
Degrees Celcius: 63
Timestamp: 10:04:14
Current CPU Freq: 1890000
Degrees Celcius: 63
Timestamp: 10:04:15
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:04:16
Current CPU Freq: 1026000
Degrees Celcius: 65
Timestamp: 10:04:18
Current CPU Freq: 1890000
Degrees Celcius: 64
Timestamp: 10:04:19
Current CPU Freq: 1890000
Degrees Celcius: 59
Timestamp: 10:04:20
Current CPU Freq: 1026000
Degrees Celcius: 58
Timestamp: 10:04:21
Current CPU Freq: 1890000
Degrees Celcius: 62
Timestamp: 10:04:22
Current CPU Freq: 1890000
Degrees Celcius: 65
Timestamp: 10:04:23
Current CPU Freq: 1890000
Degrees Celcius: 66
Timestamp: 10:04:24
Current CPU Freq: 1890000
Degrees Celcius: 68
Timestamp: 10:04:25
Current CPU Freq: 1026000
Degrees Celcius: 59
Timestamp: 10:04:26
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:27
Current CPU Freq: 1026000
Degrees Celcius: 55
Timestamp: 10:04:28
Current CPU Freq: 1134000
Degrees Celcius: 54
Timestamp: 10:04:29
Current CPU Freq: 1890000
Degrees Celcius: 51
Timestamp: 10:04:30
Current CPU Freq: 1890000
Degrees Celcius: 51
Timestamp: 10:04:31
Current CPU Freq: 1890000
Degrees Celcius: 50
Timestamp: 10:04:32
Current CPU Freq: 1890000
Degrees Celcius: 51
Timestamp: 10:04:33
Current CPU Freq: 1026000
Degrees Celcius: 50
Timestamp: 10:04:34
Current CPU Freq: 384000
Degrees Celcius: 52
Timestamp: 10:04:35
Current CPU Freq: 1134000
Degrees Celcius: 50
Timestamp: 10:04:36
Current CPU Freq: 1134000
Degrees Celcius: 50
Timestamp: 10:04:37
Current CPU Freq: 1134000
Degrees Celcius: 50
Timestamp: 10:04:38
Current CPU Freq: 1134000
Degrees Celcius: 50
Timestamp: 10:04:39
Current CPU Freq: 486000
Degrees Celcius: 49
Timestamp: 10:04:40
Current CPU Freq: 594000
Degrees Celcius: 48
Timestamp: 10:04:41
Current CPU Freq: 702000
Degrees Celcius: 49
Timestamp: 10:04:43
Current CPU Freq: 486000
Degrees Celcius: 48
Timestamp: 10:04:44
Current CPU Freq: 1134000
Degrees Celcius: 48
Timestamp: 10:04:45
Current CPU Freq: 1026000
Degrees Celcius: 50
Timestamp: 10:04:46
Current CPU Freq: 1026000
Degrees Celcius: 51
Timestamp: 10:04:47
Current CPU Freq: 1026000
Degrees Celcius: 54
Timestamp: 10:04:48
Current CPU Freq: 1026000
Degrees Celcius: 55
Timestamp: 10:04:49
Current CPU Freq: 1026000
Degrees Celcius: 55
Timestamp: 10:04:50
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:51
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:52
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:53
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:54
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:55
Current CPU Freq: 1026000
Degrees Celcius: 57
Timestamp: 10:04:56
Current CPU Freq: 1026000
Degrees Celcius: 57
Timestamp: 10:04:57
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:04:58
Current CPU Freq: 1026000
Degrees Celcius: 57
Timestamp: 10:04:59
Current CPU Freq: 1350000
Degrees Celcius: 55
Timestamp: 10:05:00
Current CPU Freq: 384000
Degrees Celcius: 49
Timestamp: 10:05:01
Current CPU Freq: 1134000
Degrees Celcius: 48
Timestamp: 10:05:02
Current CPU Freq: 1890000
Degrees Celcius: 48
Timestamp: 10:05:03
Current CPU Freq: 1026000
Degrees Celcius: 48
Timestamp: 10:05:04
Current CPU Freq: 1026000
Degrees Celcius: 51
Timestamp: 10:05:05
Current CPU Freq: 1134000
Degrees Celcius: 51
Timestamp: 10:05:06
Current CPU Freq: 1026000
Degrees Celcius: 52
Timestamp: 10:05:07
Current CPU Freq: 384000
Degrees Celcius: 52
Timestamp: 10:05:08
Current CPU Freq: 1566000
Degrees Celcius: 51
Timestamp: 10:05:09
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:05:10
Current CPU Freq: 1782000
Degrees Celcius: 52
Timestamp: 10:05:11
Current CPU Freq: 1890000
Degrees Celcius: 52
Timestamp: 10:05:12
Current CPU Freq: 1026000
Degrees Celcius: 52
Timestamp: 10:05:13
Current CPU Freq: 1026000
Degrees Celcius: 54
Timestamp: 10:05:14
Current CPU Freq: 1566000
Degrees Celcius: 54
Timestamp: 10:05:15
Current CPU Freq: 1566000
Degrees Celcius: 52
Timestamp: 10:05:16
Current CPU Freq: 1026000
Degrees Celcius: 55
Timestamp: 10:05:18
Current CPU Freq: 1242000
Degrees Celcius: 54
Timestamp: 10:05:19
Current CPU Freq: 1890000
Degrees Celcius: 54
Timestamp: 10:05:20
Current CPU Freq: 1566000
Degrees Celcius: 55
Timestamp: 10:05:21
Current CPU Freq: 1026000
Degrees Celcius: 57
Timestamp: 10:05:22
Current CPU Freq: 1890000
Degrees Celcius: 58
Timestamp: 10:05:23
Current CPU Freq: 1350000
Degrees Celcius: 58
Timestamp: 10:05:24
Current CPU Freq: 1890000
Degrees Celcius: 59
Timestamp: 10:05:25
Current CPU Freq: 1890000
Degrees Celcius: 59
Timestamp: 10:05:26
Current CPU Freq: 1890000
Degrees Celcius: 59
Timestamp: 10:05:27
Current CPU Freq: 1566000
Degrees Celcius: 61
Timestamp: 10:05:28
Current CPU Freq: 1026000
Degrees Celcius: 59
Timestamp: 10:05:29
Current CPU Freq: 1566000
Degrees Celcius: 57
Timestamp: 10:05:30
Current CPU Freq: 1134000
Degrees Celcius: 56
Timestamp: 10:05:31
Current CPU Freq: 1134000
Degrees Celcius: 56
Timestamp: 10:05:32
Current CPU Freq: 1890000
Degrees Celcius: 56
Timestamp: 10:05:33
Current CPU Freq: 1026000
Degrees Celcius: 56
Timestamp: 10:05:34
Current CPU Freq: 1134000
Degrees Celcius: 52
Timestamp: 10:05:35
Current CPU Freq: 1026000
Degrees Celcius: 50
Click to expand...
Click to collapse

[Q] Thermal CPU Throttling

Hi,
I ran some basic tests with some benchmarks and also use ROM Toolbox to look at CPU min/max frequency.
I can confirm that running things like AnTuTU and Vellamo cause the device to heat up and cap CPU speed at about 1.5 GHz.
This means that unless your device is sitting in a freezer it will throttle when running all out.
There are some files that look to control this behavior in /system/etc/
thermal-engine.conf
thermal-engine-8974.conf
thermal-engine-8974-default.conf
and finally thermald.conf which is a brokent sym link.
Anyone ever play with these?
I'm sure a great kernel Dev will fix us up soon
tech_head said:
Hi,
I ran some basic tests with some benchmarks and also use ROM Toolbox to look at CPU min/max frequency.
I can confirm that running things like AnTuTU and Vellamo cause the device to heat up and cap CPU speed at about 1.5 GHz.
This means that unless your device is sitting in a freezer it will throttle when running all out.
There are some files that look to control this behavior in /system/etc/
thermal-engine.conf
thermal-engine-8974.conf
thermal-engine-8974-default.conf
and finally thermald.conf which is a brokent sym link.
Anyone ever play with these?
Click to expand...
Click to collapse
The only one you need to play with is thermal-engine-8974.conf. Two of the others are sym links (one broken) and the other seems to hold values for shutting the phone down due to high cpu temps (115 Celsius), although these values are also in thermal-engine-8974.conf with slightly different values. It seems there is a lot of different types of throttling involved on this phone by looking at this file.
Although I don't know all the details, it seems threshold is the temp in Celsius (multiplied by 10000 under batt_therm_monitor, multiplied by 1000 in all other places) that the throttling takes place. Thresholds_clr seems to be where that throttling stops when the temp cools. Some categories have multiple levels of throttling. CPU_LCD_management has 6.
Changing these two values does work. You have to reboot after any changes you make for them to take effect. I have increased the memory speed throttle and the individual cpu throttle temps by 5 degrees (5000) on both the thresholds and thresholds_clr. I have increased all other thresholds and thresholds_clr by 10 degrees. I did not mess with the shutdown temps.
I should also note that I did try disabling thermal throttling entirely via the hidden menu and the phone would shutdown due to overheat during any benchmarks (thank goodness!). So this is why I decided to tweak these settings, since disabling it entirely seems to be a bad idea. Benchmarks are slightly higher and no shutdowns. Phone does get noticeably hotter.
This is what my thermal-engine-8974.conf looks like after modifying:
sampling 5000
c_mode 3
[CPU_LCD_management]
algo_type monitor
sensor xo_therm_pu2
sampling 10000
thresholds 55000 57000 59000 61000 63000 65000
thresholds_clr 54000 55500 57500 59500 61500 63500
actions cpu+lcd cpu+lcd cpu+lcd cpu+lcd cpu+lcd cpu+lcd
action_info FFFFFFF+255 1958400+255 1574400+245 1497600+235 1497600+225 1267200+225
action_type 25000
[GPU_management]
algo_type monitor
sensor xo_therm_pu2
sampling 10000
thresholds 59000
thresholds_clr 53000
actions gpu
action_info 330000000
action_type 25000
[battery_monitor]
algo_type monitor
sensor xo_batt
sampling 10000
thresholds 57000 58000 59000 60000 61000
thresholds_clr 56000 57000 58000 59000 60000
actions battery battery battery battery battery
action_info 1024 768 512 410 307
[iusb_monitor]
algo_type monitor
sensor xo_batt
sampling 10000
thresholds 57000 60000
thresholds_clr 55000 57500
actions iusb iusb
action_info 1500 1000
[wlchg_monitor]
algo_type monitor
sensor xo_therm_pu2
sampling 10000
thresholds 62000
thresholds_clr 60000
actions wlchg
action_info 512
[batt_therm_monitor]
algo_type monitor
sensor batt_therm
sampling 10000
thresholds 660000
thresholds_clr 620000
actions lcd
action_info 93
[CPU0_MONITOR]
algo_type monitor
sensor cpu0
sampling 65
thresholds 120000
thresholds_clr 115000
actions shutdown
action_info 0
[CPU1_MONITOR]
algo_type monitor
sensor cpu1
sampling 65
thresholds 120000
thresholds_clr 115000
actions shutdown
action_info 0
[CPU2_MONITOR]
algo_type monitor
sensor cpu2
sampling 65
thresholds 120000
thresholds_clr 115000
actions shutdown
action_info 0
[CPU3_MONITOR]
algo_type monitor
sensor cpu3
sampling 65
thresholds 120000
thresholds_clr 115000
actions shutdown
action_info 0
[SS-CPU0]
algo_type ss
sampling 65
sensor cpu0
device cpu
set_point 90000
set_point_clr 60000
action_type 10000
[SS-CPU1]
algo_type ss
sampling 65
sensor cpu1
device cpu
set_point 90000
set_point_clr 60000
action_type 10000
[SS-CPU2]
algo_type ss
sampling 65
sensor cpu2
device cpu
set_point 90000
set_point_clr 60000
action_type 10000
[SS-CPU3]
algo_type ss
sampling 65
sensor cpu3
device cpu
set_point 90000
set_point_clr 60000
action_type 10000
[SS-POPMEM]
algo_type ss
sampling 65
sensor pop_mem
device cpu
set_point 85000
set_point_clr 60000
time_constant 16
action_type 20000
I figured it out, but thanks.
I tweaked mine a bit different but it still works like yours does.
No throttling during benchmarks.
tech_head said:
I figured it out, but thanks.
I tweaked mine a bit different but it still works like yours does.
No throttling during benchmarks.
Click to expand...
Click to collapse
I've made a mod that tweaks the throttling you can check it out here
http://forum.xda-developers.com/lg-g3/development/thermal-mod-t2907363

Categories

Resources