Bug 62551

Summary: AMD Phenom II 955.: The system freezes for a moment when the CPU scaling is enabled
Product: Power Management Reporter: zerobertons
Component: cpufreqAssignee: cpufreq
Status: CLOSED INVALID    
Severity: normal CC: lenb, rui.zhang, tianyu.lan
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.10.14-smp Subsystem:
Regression: No Bisected commit-id:

Description zerobertons 2013-10-05 07:16:41 UTC
Doesn't matter which governor I use, the mouse, keyboard, video playback stops for a moment, then it works ok for seconds or minutes, and it happens again.
This started to happen with kernel 3.10 and only when the CPU scaling is enabled. It happens on different Linux distribution. Going back to 3.9.x solves the problem.

The CPU is AMD Phenom II 955.

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps: 3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz
  available cpufreq governors: ondemand, userspace
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 3.20 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps: 3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz
  available cpufreq governors: ondemand, userspace
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 3.20 GHz (asserted by call to hardware).
analyzing CPU 2:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps: 3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz
  available cpufreq governors: ondemand, userspace
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 3.20 GHz (asserted by call to hardware).
analyzing CPU 3:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps: 3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz
  available cpufreq governors: ondemand, userspace
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 3.20 GHz (asserted by call to hardware).
root@slack:/home/zero# uname -a
Linux slack 3.10.14-smp #2 SMP Tue Oct 1 17:17:51 CDT 2013 i686 AMD Phenom(tm) II X4 955 Processor AuthenticAMD GNU/Linux
Comment 1 Zhang Rui 2014-06-03 05:24:45 UTC
please attach the output of "grep . /sys/class/thermal/*/*"
Comment 2 Zhang Rui 2014-08-11 07:48:38 UTC
ping ...
Comment 3 zerobertons 2014-08-11 15:56:44 UTC
I think my problem wasn't related to the cpu scaling after all.
The issue was solved by changing the timer tick handling from idle dynticks system to periodic timer ticks.
But now with newer kernels I have no issue with the idle dynticks.