カーネル4.18を搭載したUbuntu 18.10でThinkpad X1 Carbon 2018(第6世代)を使用している間、ACモードでもシステムが応答しないように感じました。
これは、テキスト入力、オートコンプリート、およびホバー効果がわずかに遅れるFirefoxで最も顕著です(ただしこれに限定されません)。 「パフォーマンス」ガバナーを使用すると、遅延はなくなりますが、ファンがほぼ戻ってくる対価にすぎません。
CPU周波数を切り替えるときに遅延があるようです。また、cpupower
ハードウェア呼び出しによって変換待ち時間や現在のCPU周波数を表示する方法がないことがわかりました。
$ sudo cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 400 MHz - 4.00 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 400 MHz and 4.00 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.20 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency
0
私はtlpを実行しています、基本割り当て。それにもかかわらず、出力は次のようになりますtlp-stat -p
。
--- TLP 1.1 --------------------------------------------
+++ Processor
CPU model = Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 4000000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 30 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 60 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 37
x86_energy_perf_policy.cpu0 = performance
x86_energy_perf_policy.cpu0 = HWP_REQ: min
x86_energy_perf_policy.cpu0 = HWP_CAP: low
x86_energy_perf_policy.cpu1 = performance
x86_energy_perf_policy.cpu1 = HWP_REQ: min
x86_energy_perf_policy.cpu1 = HWP_CAP: low
x86_energy_perf_policy.cpu2 = performance
x86_energy_perf_policy.cpu2 = HWP_REQ: min
x86_energy_perf_policy.cpu2 = HWP_CAP: low
x86_energy_perf_policy.cpu3 = performance
x86_energy_perf_policy.cpu3 = HWP_REQ: min
x86_energy_perf_policy.cpu3 = HWP_CAP: low
x86_energy_perf_policy.cpu4 = performance
x86_energy_perf_policy.cpu4 = HWP_REQ: min
x86_energy_perf_policy.cpu4 = HWP_CAP: low
x86_energy_perf_policy.cpu5 = performance
x86_energy_perf_policy.cpu5 = HWP_REQ: min
x86_energy_perf_policy.cpu5 = HWP_CAP: low
x86_energy_perf_policy.cpu6 = performance
x86_energy_perf_policy.cpu6 = HWP_REQ: min
x86_energy_perf_policy.cpu6 = HWP_CAP: low
x86_energy_perf_policy.cpu7 = performance
x86_energy_perf_policy.cpu7 = HWP_REQ: min
x86_energy_perf_policy.cpu7 = HWP_CAP: low
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
インストールされたファームウェアは、最新のファンと熱修正を含む最新バージョンです。
$ sudo dmidecode | less
BIOS Information
Vendor: LENOVO
Version: N23ET59W (1.34 )
Release Date: 11/08/2018
Address: 0xE0000
答え1
私はSkylake CPU、具体的にi5 6200Uを使用していますが、説明したのと同じ症状を経験しています。最先端のカーネル、GPUドライバなどを数時間触れた後に、 intel_pstate=no_hwp をカーネルパラメータとして渡すことで問題が解決することがわかりました。
私はもっと多くの人がこれを経験したのか、それとも私のユニットなのかを調べるためにあなたのスレッドを偶然見つけました。