View previous topic :: View next topic |
Author |
Message |
KWhat l33t
Joined: 04 Sep 2005 Posts: 647 Location: Los Angeles
|
Posted: Sun Sep 15, 2013 6:09 pm Post subject: Overclocking Patches |
|
|
The linux kernel really doesn't like overclocking and seems to panic if there is a cpu thermal event. Does anyone know if there is a patch set to prevent halts due to thermal events? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Sun Sep 15, 2013 7:49 pm Post subject: |
|
|
My i5 gets thermal events frequently but does not panic.
What CPU and exactly what events show up? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Sep 16, 2013 12:41 am Post subject: |
|
|
Undervolt, to help keep the CPU cool. Here's how:
For an Intel CPU, get phc-intel-pack-rev11.tar.bz2, Then in the "inc" dir, go to dir for your kernel, and get a single patch.
Edit: Bah, URL above is a dead link, so here's PHC releases thread.
Apply the patch (to drivers/cpufreq/acpi-cpufreq.c), just before compiling a kernel, like this:
Code: | patch -d drivers/cpufreq -Np0 -i $PATCH_DIR/linux-phc-0.4.0.patch |
A little undervolt startup script I've just started using:
Code: | DEFAULTS="41 35 23 19"
VIDS="27 27 14 10"
if [[ `cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids` != $DEFAULTS ]] ; then
echo "Unexpected defaults - will not undervolt!"
exit 1
fi
# Have to apply to all cores
for cpu in /sys/devices/system/cpu/cpu*/cpufreq/phc_vids ; do
echo $VIDS > $cpu
done |
You have to experiment, to find the low-but-still-stable values. The first number in $VIDS, which applies to the highest performance state, is the most important to make low, because that produces the most heat.
My laptop runs hot, and this tweak helps with (but does not completely fix) the CPU's thermal throttling
Last edited by PaulBredbury on Wed Feb 26, 2014 8:48 pm; edited 4 times in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|