You are not logged in.

#1 2017-05-12 16:39:13

tedbell
Member
Registered: 2012-08-04
Posts: 167

[SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Hi,

I am having an issue with power management on my Acer V3-772G laptop. I would like to get my temps near or on par with Windows.

In windows, my temps go as low as 35 degrees and average between 40 and 50 degrees. In Arch my temps do not go below 60 degrees often. In fact, my temps sometimes are as low as I'd like them to be when coming out of sleep mode.

My specs are:

Acer V3-772G-9634
Ram: 8GB DDR3 1600Mhz
CPU: Intel i7-4702MQ 2.2ghz (3.2 turbo), overclocked in bios "extreme edition" to 34 (core 1), 33 (core 2), 31 (cores 3 and 4).
2 1TB HDDS
Nvidia Optimus technology, GTX 760M & intell 4600

I have thermald and cpupower both installed and enabled via systemd.

Thermald doesnt give me any errors on boot but cpupower does when I choose a governor other than "powersave" or "performance".

Looking at htop on boot my CPU usage is between 20 and 30 percent.

I should also mention that the only thermal module I detected with lm_sensors is "coretemp"

Here's some relevant config info:

/etc/default/cpupower:

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='powersave'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="800Mhz"
max_freq="3400MHz"

# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=

# Utilizes cores in one processor package/socket first before processes are 
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=

#  Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the  processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=

# vim:set ts=2 sw=2 ft=sh et:

Thanks all

Last edited by tedbell (2017-05-14 16:24:55)

Offline

#2 2017-05-12 17:49:03

exadrid
Member
From: Ottawa, Ontario, Canada
Registered: 2010-01-27
Posts: 29

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Could you please post the output of top?

 top -n 1 -b > top-output.txt 

Offline

#3 2017-05-12 17:59:34

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

tedbell wrote:

Thermald doesnt give me any errors on boot but cpupower does when I choose a governor other than "powersave" or "performance".

If the system shows the following

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver 
intel_pstate

See CPU_frequency_scaling#CPU_frequency_driver particularly the first and third notes.

Offline

#4 2017-05-12 21:01:13

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

exadrid wrote:

Could you please post the output of top?

 top -n 1 -b > top-output.txt 
top - 17:00:01 up  3:37,  1 user,  load average: 1.23, 1.01, 1.00
Tasks: 230 total,   1 running, 229 sleeping,   0 stopped,   0 zombie
%Cpu0  :  15.9/10.1   26[|||||||||||||||||||||                                                            ]
%Cpu1  :  22.7/8.8    31[|||||||||||||||||||||||||                                                        ]
%Cpu2  :  12.9/7.0    20[||||||||||||||||                                                                 ]
%Cpu3  :  16.8/5.4    22[||||||||||||||||||                                                               ]
%Cpu4  :   7.3/2.2     9[||||||||                                                                         ]
%Cpu5  :  11.1/2.1    13[|||||||||||                                                                      ]
%Cpu6  :  10.6/4.7    15[|||||||||||||                                                                    ]
%Cpu7  :  17.0/6.4    23[|||||||||||||||||||                                                              ]
GiB Mem : 10.7/7.672    [                                                                                 ]
GiB Swap:  0.0/0.000    [                                                                                 ]

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND
    1 root       1   0  196.0m   6.8m   0.0  0.1   0:03.34 S systemd
  251 root       1   0   75.5m  19.9m   0.0  0.3   0:00.34 S  `- systemd-journal
  287 root       1   0   43.9m   4.9m   0.0  0.1   0:00.96 S  `- systemd-udevd
  406 root       1   0   14.9m   2.4m   0.0  0.0   0:00.07 S  `- mount.ntfs-3g
  407 root       1   0   15.1m   2.3m   0.0  0.0   0:00.25 S  `- mount.ntfs-3g
  416 root      41   0   33.5m   3.3m   0.0  0.0   0:00.00 S  `- bumblebeed
  420 root       1   0  170.3m   8.7m   0.0  0.1   0:01.89 S  `- thermald
  421 root       1   0   43.9m   4.8m   0.0  0.1   0:00.15 S  `- systemd-logind
  422 dbus       1   0   39.2m   4.3m   0.0  0.1   0:01.54 S  `- dbus-daemon
  471 root       1   0   50.9m   3.2m   0.0  0.0   0:00.60 S  `- wpa_supplicant
 3693 root       1   0    6.4m   0.3m   0.0  0.0   0:00.62 S  `- dhcpcd
 3702 ntp        1   0  100.4m   4.5m   0.0  0.1   0:03.40 S  `- ntpd
 3704 root       1   0   92.8m   4.6m   0.0  0.1   0:00.21 S  `- login
 6571 jamie      1   0   46.4m   5.7m   0.0  0.1   0:00.24 S      `- zsh
 8032 jamie      1   0   13.4m   3.3m   0.0  0.0   0:00.02 S          `- startx
 8065 jamie      1   0   15.6m   1.0m   0.0  0.0   0:00.00 S              `- xinit
 8068 jamie      1   0  538.7m  84.5m   0.0  1.1   7:15.47 S                  `- Xorg
 8145 root       1   0    4.1m   0.6m   0.0  0.0   0:00.00 S                      `- xf86-video-inte
 8233 jamie      1   0   25.7m   1.3m   0.0  0.0   0:07.90 S                  `- bspwm
 8272 jamie      1   0   32.5m   7.2m   0.0  0.1   0:38.61 S                      `- xcompmgr
 8274 jamie      1   0  131.3m  13.3m   0.0  0.2   0:00.30 S                      `- trayer
 8275 jamie      1   0   12.5m   2.0m   0.0  0.0   0:00.84 S                      `- sxhkd
 6022 jamie      1   0   59.9m   6.7m   0.0  0.1   0:00.03 S  `- systemd
 6025 jamie      1   0  101.2m   1.6m   0.0  0.0   0:00.00 S      `- (sd-pam)
 6033 jamie      1   0  629.4m  39.1m   0.0  0.5   0:00.85 S      `- mpd
 8249 jamie      1   0   39.0m   4.1m   0.0  0.1   0:00.17 S      `- dbus-daemon
10114 jamie      1   0  336.3m   5.7m   0.0  0.1   0:00.01 S      `- at-spi-bus-laun
10144 jamie      1   0   38.8m   3.5m   0.0  0.0   0:01.63 S          `- dbus-daemon
10146 jamie      1   0  216.1m   7.4m   0.0  0.1   0:13.59 S      `- at-spi2-registr
10151 jamie      1   0  274.3m   6.6m   0.0  0.1   0:00.03 S      `- gvfsd
10156 jamie      1   0  403.7m   7.6m   0.0  0.1   0:00.01 S      `- gvfsd-fuse
19395 jamie      1   0  347.7m  12.3m   0.0  0.2   0:00.25 S      `- gvfs-udisks2-vo
19412 jamie      1   0  261.9m   5.2m   0.0  0.1   0:00.01 S      `- gvfs-mtp-volume
19417 jamie      1   0  348.5m   8.5m   0.0  0.1   0:00.04 S      `- gvfsd-trash
19456 jamie      1   0  422.6m   9.0m   0.0  0.1   0:00.03 S      `- gvfsd-network
19462 jamie      1   0  364.6m   9.1m   0.0  0.1   0:00.37 S      `- gvfsd-dnssd
19577 jamie      1   0  180.7m   4.5m   0.0  0.1   0:00.01 S      `- dconf-service
26307 jamie      1 -11  258.7m   7.6m   0.0  0.1   0:02.42 S      `- pulseaudio
27591 jamie      1   0   70.3m   5.8m   0.0  0.1   0:00.09 S      `- gconfd-2
11942 jamie      1   0  189.8m   5.7m   0.0  0.1   0:00.02 S      `- gvfsd-metadata
 8259 jamie      1   0   32.9m   2.4m   0.0  0.0   0:36.97 S  `- autocutsel
 8260 jamie      1   0   32.9m   2.4m   6.2  0.0   0:32.44 S  `- autocutsel
 8281 jamie      1   0  463.0m  13.4m   0.0  0.2   0:34.00 S  `- conky
 8402 jamie      1   0   12.5m   2.0m   0.0  0.0   0:00.14 S  `- sxhkd
17600 jamie      1   0    5.7m   0.1m   0.0  0.0   0:00.00 S  `- hddtemp
 1498 jamie      1   0  490.4m  27.6m   0.0  0.4   0:01.05 S  `- termite
 1503 jamie      1   0   33.2m   5.9m   0.0  0.1   0:00.07 S      `- fish
 1516 jamie      1   0  490.4m  27.4m   0.0  0.3   0:01.21 S  `- termite
 1521 jamie      1   0   33.2m   5.9m   0.0  0.1   0:00.07 S      `- fish
 1534 jamie      1   0  492.1m  29.4m   0.0  0.4   0:03.19 S  `- termite
 1539 jamie      1   0  169.2m   6.3m   0.0  0.1   0:00.38 S      `- fish
14916 jamie      1   0  970.4m  46.2m   0.0  0.6   1:30.95 S  `- deadbeef-gtkui
14958 jamie      1   0  134.9m  17.3m   0.0  0.2   0:26.50 S  `- ossxmix
19398 root       1   0  370.0m  10.2m   0.0  0.1   0:02.19 S  `- udisksd
19402 polkitd    1   0  516.3m  16.1m   0.0  0.2   0:01.00 S  `- polkitd
15874 jamie      1   0  463.0m  13.4m   0.0  0.2   0:05.22 S  `- conky
26560 jamie      1   0  463.0m  13.7m   0.0  0.2   0:01.12 S  `- conky
28347 jamie      1   0  463.0m  13.5m   0.0  0.2   0:15.21 S  `- conky
25307 jamie      1   0  607.0m  19.5m   0.0  0.2   0:39.46 S  `- conky
25308 jamie      1   0   67.2m  12.3m   0.0  0.2   1:33.31 S  `- dzen2
25309 jamie      1   0  463.0m  15.6m   0.0  0.2   2:03.01 S  `- conky
25310 jamie      1   0   65.3m  10.4m   0.0  0.1   1:10.00 S  `- dzen2
26308 rtkit      1   1  179.9m   2.9m   0.0  0.0   0:01.66 S  `- rtkit-daemon
 4103 jamie      1   0  811.0m  60.9m   0.0  0.8   0:34.25 S  `- spacefm
26673 jamie      1   0  891.4m  40.8m   0.0  0.5   0:04.53 S  `- gvim
13918 root       1   0  305.1m   8.8m   0.0  0.1   0:00.10 S  `- upowerd
18631 jamie      1   0 3640.0m 251.6m   0.0  3.2   0:14.54 S  `- qutebrowser
27710 jamie      1   0  490.4m  27.1m   0.0  0.3   0:00.10 S  `- termite
27715 jamie      1   0  169.2m   6.1m   0.0  0.1   0:00.03 S      `- fish
27813 jamie      7   0   42.5m   4.0m  12.5  0.1   0:00.02 R          `- top
    2 root       1   0    0.0m   0.0m   0.0  0.0   0:00.05 S kthreadd
    5 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/0:0H
    7 root       1   0    0.0m   0.0m   6.2  0.0   0:42.51 S  `- ksoftirqd/0
    8 root       1   0    0.0m   0.0m   0.0  0.0   2:26.03 S  `- rcu_preempt
    9 root       1   0    0.0m   0.0m   0.0  0.0   0:00.13 S  `- rcu_sched
   10 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- rcu_bh
   11 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/0
   12 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- lru-add-drain
   13 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.04 S  `- watchdog/0
   14 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/0
   15 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/1
   16 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.06 S  `- watchdog/1
   17 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/1
   18 root       1   0    0.0m   0.0m   0.0  0.0   0:30.33 S  `- ksoftirqd/1
   20 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/1:0H
   21 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/2
   22 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.05 S  `- watchdog/2
   23 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/2
   24 root       1   0    0.0m   0.0m   0.0  0.0   0:32.65 S  `- ksoftirqd/2
   26 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/2:0H
   27 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/3
   28 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.06 S  `- watchdog/3
   29 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/3
   30 root       1   0    0.0m   0.0m   0.0  0.0   0:24.96 S  `- ksoftirqd/3
   32 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/3:0H
   33 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/4
   34 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.02 S  `- watchdog/4
   35 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/4
   36 root       1   0    0.0m   0.0m   0.0  0.0   0:22.83 S  `- ksoftirqd/4
   37 root       1   0    0.0m   0.0m   0.0  0.0   0:02.45 S  `- kworker/4:0
   38 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/4:0H
   39 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/5
   40 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.06 S  `- watchdog/5
   41 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/5
   42 root       1   0    0.0m   0.0m   0.0  0.0   0:21.54 S  `- ksoftirqd/5
   44 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/5:0H
   45 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/6
   46 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.07 S  `- watchdog/6
   47 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/6
   48 root       1   0    0.0m   0.0m   0.0  0.0   0:20.54 S  `- ksoftirqd/6
   49 root       1   0    0.0m   0.0m   0.0  0.0   0:00.33 S  `- kworker/6:0
   50 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/6:0H
   51 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cpuhp/7
   52 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- watchdog/7
   53 root      rt   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- migration/7
   54 root       1   0    0.0m   0.0m   0.0  0.0   0:19.80 S  `- ksoftirqd/7
   56 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/7:0H
   57 root       1   0    0.0m   0.0m   0.0  0.0   0:00.03 S  `- kdevtmpfs
   58 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- netns
   60 root       1   0    0.0m   0.0m   0.0  0.0   0:00.23 S  `- khungtaskd
   61 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- oom_reaper
   62 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- writeback
   63 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kcompactd0
   64 root       1   5    0.0m   0.0m   0.0  0.0   0:00.00 S  `- ksmd
   65 root       1  19    0.0m   0.0m   0.0  0.0   0:01.82 S  `- khugepaged
   66 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- crypto
   67 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kintegrityd
   68 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
   69 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kblockd
   70 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/9-acpi
   71 root       1   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- kworker/2:1
   72 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- devfreq_wq
   73 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- watchdogd
   78 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kswapd0
   79 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- vmstat
   80 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
   93 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kthrotld
   94 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/24-PCIe PME
   95 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/25-PCIe PME
   96 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/26-PCIe PME
   97 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/27-PCIe PME
   98 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/25-pciehp
  100 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/8-rtc0
  101 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- ipv6_addrconf
  128 root       1   0    0.0m   0.0m   0.0  0.0   0:00.01 S  `- kworker/3:1
  139 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.15 S  `- irq/12-i8042
  141 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/1-i8042
  142 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/28-rtsx_pci
  145 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- ata_sff
  148 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/16-ehci_hcd
  149 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/5:2
  150 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/23-ehci_hcd
  151 root     -51   0    0.0m   0.0m   0.0  0.0   0:08.44 S  `- irq/29-ahci[000
  152 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_eh_0
  153 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_0
  154 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_eh_1
  155 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_1
  156 root       1   0    0.0m   0.0m   0.0  0.0   0:00.02 S  `- scsi_eh_2
  157 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_2
  158 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_eh_3
  159 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_3
  160 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_eh_4
  161 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_4
  162 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_eh_5
  163 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- scsi_tmf_5
  169 root     -51   0    0.0m   0.0m   0.0  0.0   0:28.28 S  `- irq/30-xhci_hcd
  174 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
  175 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
  176 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
  191 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.08 S  `- kworker/5:1H
  195 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.04 S  `- kworker/1:1H
  196 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.03 S  `- kworker/2:1H
  197 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.02 S  `- kworker/3:1H
  199 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- bioset
  205 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-worker
  208 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-worker-hi
  209 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-delalloc
  210 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-flush_del
  211 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-cache
  212 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-submit
  213 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-fixup
  214 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio
  215 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio-met
  216 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio-met
  217 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio-rai
  218 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio-rep
  219 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-rmw
  220 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-endio-wri
  221 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-freespace
  222 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-delayed-m
  223 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-readahead
  224 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-qgroup-re
  225 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- btrfs-extent-re
  226 root       1   0    0.0m   0.0m   0.0  0.0   0:00.48 S  `- btrfs-cleaner
  227 root       1   0    0.0m   0.0m   0.0  0.0   0:04.56 S  `- btrfs-transacti
  233 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.04 S  `- kworker/0:1H
  234 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.03 S  `- kworker/6:1H
  235 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.05 S  `- kworker/7:1H
  245 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.02 S  `- kworker/4:1H
  284 root       1   0    0.0m   0.0m   0.0  0.0   0:04.72 S  `- kworker/2:2
  285 root       1   0    0.0m   0.0m   0.0  0.0   0:03.06 S  `- kworker/3:2
  312 root     -51   0    0.0m   0.0m   0.0  0.0   0:37.77 S  `- irq/18-i801_smb
  313 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- edac-poller
  314 root     -51   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- irq/31-mei_me
  320 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- acpi_thermal_pm
  323 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kmemstick
  329 root     -51   0    0.0m   0.0m   0.0  0.0   0:17.42 S  `- irq/32-i915
  331 root      -2   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- i915/signal:0
  332 root      -2   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- i915/signal:1
  333 root      -2   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- i915/signal:2
  334 root      -2   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- i915/signal:4
  335 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- cfg80211
  345 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- hci0
  346 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.00 S  `- hci0
  372 root     -51   0    0.0m   0.0m   0.0  0.0   0:54.50 S  `- irq/18-ath9k
 8366 root     -51   0    0.0m   0.0m  43.8  0.0 118:14.95 S  `- irq/22-oss_hdau
21883 root       1   0    0.0m   0.0m   0.0  0.0   0:01.49 S  `- kworker/5:0
21985 root       1   0    0.0m   0.0m   0.0  0.0   0:06.09 S  `- kworker/0:0
14551 root       1   0    0.0m   0.0m   0.0  0.0   0:01.55 S  `- kworker/6:2
 6305 root       1   0    0.0m   0.0m   0.0  0.0   0:00.71 S  `- kworker/7:0
21031 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/1:1
29858 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/7:2
22242 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/4:2
16306 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.08 S  `- kworker/u17:3
29399 root       1   0    0.0m   0.0m   0.0  0.0   0:03.42 S  `- kworker/u16:2
 4697 root       1   0    0.0m   0.0m   0.0  0.0   0:00.47 S  `- kworker/1:0
 5375 root       1   0    0.0m   0.0m   0.0  0.0   0:00.00 S  `- kworker/0:1
 9337 root       1   0    0.0m   0.0m   6.2  0.0   0:01.30 S  `- kworker/u16:0
 9340 root       1   0    0.0m   0.0m   0.0  0.0   0:00.98 S  `- kworker/u16:8
15536 root       1 -20    0.0m   0.0m   0.0  0.0   0:00.04 S  `- kworker/u17:2

thanks

Offline

#5 2017-05-12 21:12:16

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

loqs wrote:
tedbell wrote:

Thermald doesnt give me any errors on boot but cpupower does when I choose a governor other than "powersave" or "performance".

If the system shows the following

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver 
intel_pstate

See CPU_frequency_scaling#CPU_frequency_driver particularly the first and third notes.

Thanks for this. I decided to do away intel_pstate and now my temps are in the 50s. A little better than before.

Offline

#6 2017-05-12 22:10:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Wait, you overclock your CPUs in BIOS to get more performance, then you want to use userspace tools to hinder their performance so they stay cooler even though they're already well within their safe range?  This make no sense at all.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2017-05-13 04:35:52

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Trilby wrote:

Wait, you overclock your CPUs in BIOS to get more performance, then you want to use userspace tools to hinder their performance so they stay cooler even though they're already well within their safe range?  This make no sense at all.

I dual boot with Windows. I only use Window for gaming so I overclock for that.

Offline

#8 2017-05-13 07:22:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,888

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

tedbell wrote:

I decided to do away intel_pstate and now my temps are in the 50s. A little better than before.

Did you understand that you can control the pstate behavior? Are you now just running w/o any governor??

Offline

#9 2017-05-13 10:01:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

tedbell wrote:

I dual boot with Windows. I only use Window for gaming so I overclock for that.

Ah, that makes a little more sense.  However, I still really don't see why you want your cpu cooler.  You aren't having any problems relating to the heat are you?  The CPUs warm up when working - you can prevent them from working (or reduce how well they work) to reduce heat, but unless/until the heat is a problem I don't see why you would want to do this.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2017-05-13 10:30:53

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

seth wrote:
tedbell wrote:

I decided to do away intel_pstate and now my temps are in the 50s. A little better than before.

Did you understand that you can control the pstate behavior? Are you now just running w/o any governor??

The acpi_cpufreq module takes over when you disable intel_pstate.

I wonder what's up with this here in the 'top' listing earlier:

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND
    2 root       1   0    0.0m   0.0m   0.0  0.0   0:00.05 S kthreadd
 8366 root     -51   0    0.0m   0.0m  43.8  0.0 118:14.95 S  `- irq/22-oss_hdau

Isn't this crazy high? This is audio done through OSS and music playing in the background? I see around 2% here with alsa+pulseaudio, but my desktop CPU is set to run at full frequency at all times, and when I try to translate that to what percentage would be like with 800MHz, it still only ends up 12% or so, not 40%.

Offline

#11 2017-05-13 11:53:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,888

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

top is taking 12% in that (not cpu load sorted...) output - could be peak, could be downscaled CPU, could be bad representation.
It's though actually weird enough that oss_hdaudio is loaded...

@tedbell, what's the output of "uname -a" and "lsmod"?

Offline

#12 2017-05-13 19:49:23

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

seth wrote:
tedbell wrote:

I decided to do away intel_pstate and now my temps are in the 50s. A little better than before.

Did you understand that you can control the pstate behavior? Are you now just running w/o any governor??

I have thermald running and cpupower set to performance according to the notes on the wiki page. I don't know how to control the pstate behaviour outside of bios.

Offline

#13 2017-05-13 19:55:01

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Trilby wrote:
tedbell wrote:

I dual boot with Windows. I only use Window for gaming so I overclock for that.

Ah, that makes a little more sense.  However, I still really don't see why you want your cpu cooler.  You aren't having any problems relating to the heat are you?  The CPUs warm up when working - you can prevent them from working (or reduce how well they work) to reduce heat, but unless/until the heat is a problem I don't see why you would want to do this.

It's a bit worrying since WIndows temps are about 20 degrees cooler. I've lost a laptop before due to heat under linux.

Offline

#14 2017-05-13 20:00:25

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Ropid wrote:
seth wrote:
tedbell wrote:

I decided to do away intel_pstate and now my temps are in the 50s. A little better than before.

Did you understand that you can control the pstate behavior? Are you now just running w/o any governor??

The acpi_cpufreq module takes over when you disable intel_pstate.

I wonder what's up with this here in the 'top' listing earlier:

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND
    2 root       1   0    0.0m   0.0m   0.0  0.0   0:00.05 S kthreadd
 8366 root     -51   0    0.0m   0.0m  43.8  0.0 118:14.95 S  `- irq/22-oss_hdau

Isn't this crazy high? This is audio done through OSS and music playing in the background? I see around 2% here with alsa+pulseaudio, but my desktop CPU is set to run at full frequency at all times, and when I try to translate that to what percentage would be like with 800MHz, it still only ends up 12% or so, not 40%.

I use OSS and I have my .asound.conf and also pulseaudio routed to OSS. However, if deadbeef isn't running then I wasn't listening to music.

Offline

#15 2017-05-13 20:03:53

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

seth wrote:

top is taking 12% in that (not cpu load sorted...) output - could be peak, could be downscaled CPU, could be bad representation.
It's though actually weird enough that oss_hdaudio is loaded...

@tedbell, what's the output of "uname -a" and "lsmod"?

uname -a

4.10.15-1-ck-haswell #1 SMP PREEMPT Mon May 8 16:04:01 EDT 2017 x86_64 GNU/Linux

lsmod

oss_usb               139264  1
oss_hdaudio           163840  3
osscore               598016  2 oss_usb,oss_hdaudio
wl                   6377472  0
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    65536  1 vfat
arc4                   16384  2
ath9k                 126976  0
ath9k_common           32768  1 ath9k
ath9k_hw              438272  2 ath9k,ath9k_common
ath                    28672  3 ath9k_hw,ath9k,ath9k_common
mac80211              688128  1 ath9k
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
kvm_intel             192512  0
joydev                 20480  0
kvm                   524288  1 kvm_intel
cfg80211              520192  5 wl,mac80211,ath9k,ath,ath9k_common
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
broadcom               20480  1
bcm_phy_lib            16384  1 broadcom
tg3                   163840  0
ptp                    20480  1 tg3
pps_core               20480  1 ptp
glue_helper            16384  1 aesni_intel
fuse                   98304  7
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
uvcvideo               86016  0
cryptd                 20480  3 crypto_simd,ghash_clmulni_intel,aesni_intel
libphy                 40960  3 bcm_phy_lib,tg3,broadcom
acer_wmi               20480  0
sparse_keymap          16384  1 acer_wmi
intel_cstate           16384  0
evdev                  24576  18
mousedev               20480  0
input_leds             16384  0
psmouse               131072  0
i915                 1396736  4
ath3k                  20480  0
btusb                  40960  0
intel_rapl_perf        16384  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
btrtl                  16384  1 btusb
videodev              151552  3 uvcvideo,videobuf2_core,videobuf2_v4l2
pcspkr                 16384  0
mac_hid                16384  0
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             499712  6 btrtl,btintel,btbcm,ath3k,btusb
media                  32768  2 uvcvideo,videodev
led_class              16384  3 input_leds,acer_wmi,ath9k
i2c_i801               24576  0
drm_kms_helper        126976  1 i915
tpm_tis                16384  0
drm                   299008  5 i915,drm_kms_helper
intel_gtt              20480  1 i915
lpc_ich                24576  0
rtsx_pci_ms            20480  0
memstick               16384  1 rtsx_pci_ms
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
mei_me                 36864  0
mei                    86016  1 mei_me
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
fjes                   65536  0
rfkill                 20480  5 bluetooth,acer_wmi,cfg80211
crc16                  16384  1 bluetooth
shpchp                 32768  0
tpm_tis_core           20480  1 tpm_tis
ie31200_edac           16384  0
edac_core              45056  1 ie31200_edac
ac                     16384  0
battery                20480  0
video                  36864  2 acer_wmi,i915
button                 16384  1 i915
thermal                20480  0
tpm                    36864  2 tpm_tis,tpm_tis_core
wmi                    16384  1 acer_wmi
sch_fq_codel           20480  1
coretemp               16384  0
msr                    16384  0
sg                     36864  0
ip_tables              24576  0
x_tables               28672  1 ip_tables
btrfs                1036288  1
xor                    24576  1 btrfs
raid6_pq              110592  1 btrfs
hid_generic            16384  0
usbhid                 49152  0
hid                   110592  2 hid_generic,usbhid
sr_mod                 24576  0
cdrom                  53248  1 sr_mod
sd_mod                 49152  6
rtsx_pci_sdmmc         24576  0
mmc_core              122880  1 rtsx_pci_sdmmc
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  4
libahci                28672  1 ahci
crc32c_intel           24576  1
libata                212992  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
scsi_mod              159744  4 sd_mod,libata,sr_mod,sg
xhci_hcd              172032  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
rtsx_pci               49152  2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore               208896  9 uvcvideo,usbhid,ehci_hcd,oss_usb,xhci_pci,ath3k,btusb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  24576  1 acer_wmi
serio                  20480  9 serio_raw,atkbd,psmouse,i8042

WHy is it strange that oss_hdaudio is loaded. That's the driver for OSS I use. I have disabled vmix, cooking and bumped up the interrupts though.

Thanks you for all the help guys

Offline

#16 2017-05-13 20:09:40

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Please use a single post to respond to all questions etc.  If you post is the last in the thread please use the edit feature.

Offline

#17 2017-05-13 20:12:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,888

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

Did you see the link to https://www.reddit.com/r/linux/comments … l_pstates/ - with a little luck, setting max_pref_pct shadows your overclocking in BIOS

OSS isn't "default" and the main CPU load and you're also using the ck kernel.
=> I'd at least try the behavior w/ the mainline kernel and ALSA.

No offense, but running an overclocked system with an out of tree CPU scheduler and increased interrupts on an out of tree sound driver and then you wonder about CPU temperatures?

Offline

#18 2017-05-13 20:29:32

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

seth wrote:

Did you see the link to https://www.reddit.com/r/linux/comments … l_pstates/ - with a little luck, setting max_pref_pct shadows your overclocking in BIOS

OSS isn't "default" and the main CPU load and you're also using the ck kernel.
=> I'd at least try the behavior w/ the mainline kernel and ALSA.

No offense, but running an overclocked system with an out of tree CPU scheduler and increased interrupts on an out of tree sound driver and then you wonder about CPU temperatures?

OK I'll give those a try. Thanks.
I use OSS for sound quality so ALSA is not happening.
Also, I figured the ck-kernel would be more optimized for my Haswell CPU.

Last edited by tedbell (2017-05-13 20:31:24)

Offline

#19 2017-05-14 06:58:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,888

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

The idea is to *TEST* the behavior with the more common setup to *UNDERSTAND* the root of your temperature problems.
If that's "not happening" you'll just remain in the dark.

Offline

#20 2017-05-14 16:24:37

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: [SOLVED] Thermal issues. CPU running hot with thermald and cpupower

seth wrote:

The idea is to *TEST* the behavior with the more common setup to *UNDERSTAND* the root of your temperature problems.
If that's "not happening" you'll just remain in the dark.

My temps are a bit more reasonable now. I've disabled the high interrupts in OSS, uninstalled cpupower and now use pstate-frequency to configure. Idle temps are in the low 50s sometimes high 40s. I'm using the performance governor with turbo off.

Offline

Board footer

Powered by FluxBB