Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
power management and fan that works all the time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1626

PostPosted: Sun Jun 29, 2014 9:47 pm    Post subject: power management and fan that works all the time Reply with quote

Hi

I have some serious problem with the fan. It works all the time. Immediately after boot the fan starts to work, the laptop gets quite hot after 30 min (without doing some heavy tasks). The temperature after boot it is ~55C (average of 4 cores), after 15 min it gets around 72C (and remains stable at this temp). I would like to know if I have a software or hardware problem. On a side not, a friend of mine has the same laptop with windows installed. the fan works there on and off. Here are some of the things that I tried.

The CPU model is: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz Ivy Bridge 4cores 8 threads
My kernel settings:
1.
Code:
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_INTEL_IDLE is not set
# CONFIG_I7300_IDLE is not set
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set


2.
Code:

grep -i cpu /usr/src/linux/.config
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CPU_AUTOPROBE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_CPU_PROBE_RELEASE=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_CPUACCT=y
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_NR_CPUS=32
CONFIG_X86_CPUID=m
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CPU Frequency scaling
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
# x86 CPU frequency scaling drivers
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_SENSORS_VIA_CPUTEMP=m
# on-CPU RTC drivers
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set
CONFIG_CPU_RMAP=y


3.
Code:
grep -i demand /usr/src/linux/.config
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y


4.
Code:

CIEASPM_PERFORMANCE is not set
lucky ~ # grep -i cpu_freq /usr/src/linux/.config
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y


5.
Code:
grep -i acpi /usr/src/linux/.config
# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_EC_DEBUGFS=y
# CONFIG_ACPI_PROC_EVENT is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
# ACPI drivers
# ACPI drivers
CONFIG_SENSORS_ACPI_POWER=m
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_CMPC is not set

6.
Code:
 cat /sys/devices/system/cpu/cpuidle/current_driver
acpi_idle

7.

On userspace I have the following programs installed:
lm_sensors, htop, powertop, xfce4-sensors-plugin, laptop-mode-tools (this one I didn't configure yet, because I am not sure yet what settings should I use).

I read quite a lot, but I am totally confused. Some of the info is outdated. I followed partially to the power management wiki of gentoo. My questions are:
1. Should I use intel_idle in the kernel?
2. Do I need cpufrequtils?
3. I"ll be happy to get some recommendations how to configure laptop-mode-tools.
4. I am not sure yet, how to config powertop.
5. Do I need any of these userspace tools?

Any help will be highly appreciated.
Back to top
View user's profile Send private message
TobiSGD
n00b
n00b


Joined: 14 Apr 2014
Posts: 36

PostPosted: Sun Jun 29, 2014 11:42 pm    Post subject: Reply with quote

The ondemand governor of CPUFreqUtils is known to have problems with newer Intel CPUs. Make sure to use the pstate driver instead. I couldn't find information on that in the Gentoo wiki, but the Arch wiki has information on that: https://wiki.archlinux.org/index.php/CPU_frequency_scaling#CPU_frequency_driver
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1626

PostPosted: Mon Jun 30, 2014 8:35 am    Post subject: Reply with quote

TobiSGD wrote:
The ondemand governor of CPUFreqUtils is known to have problems with newer Intel CPUs. Make sure to use the pstate driver instead. I couldn't find information on that in the Gentoo wiki, but the Arch wiki has information on that: https://wiki.archlinux.org/index.php/CPU_frequency_scaling#CPU_frequency_driver


Thanks a lot. I didn't install cpufrequtils yet because I wasn't sure I need it.

I read again yesterday the powertop pdf and there they mention about the p-state driver is better. This is available from kernel 3.10 and up.
Exactly as you mention in the link.

May I ask, which cpu you have?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum