* [Bug 71841] New: ignore_nice_load ignores real load
@ 2014-03-11 0:59 bugzilla-daemon
2014-08-04 2:04 ` [Bug 71841] AMD64:ignore_nice_load " bugzilla-daemon
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2014-03-11 0:59 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Bug ID: 71841
Summary: ignore_nice_load ignores real load
Product: Power Management
Version: 2.5
Kernel Version: 3.13.5
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
Assignee: cpufreq@vger.kernel.org
Reporter: higuita@gmx.net
Regression: No
I have a AMD64 cpu (opteron 175) and it use the powernow_k8 cpufreq drive. I'm
using the ondemand governor and have enables the "ignore_nice_load". Yet, i'm
right now compiling the kernel 3.15.6 and notice that the cpufreq is stick on
the 1GHz instead of working on the expected 2.2GHz. The kernel compile is
running on the default nice level (ie: 0 )
If i disable the "ignore_nice_load", the cpufreq jumps to the 2.2GHz.
00:23:17 /sys/devices/system/cpu/cpufreq/ondemand/$ for i in *; do echo $i;
cat $i ; done
ignore_nice_load
1
io_is_busy
0
powersave_bias
0
sampling_down_factor
1
sampling_rate
107000
sampling_rate_min
10000
up_threshold
50
00:23:46 /sys/devices/system/cpu/cpufreq/ondemand/$ vmstat 5
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
4 0 0 377948 157812 2752820 0 0 535 140 1191 768 73 8 15 3
3 0 0 336640 157824 2753364 0 0 82 18 2718 1616 91 9 0 0
3 0 0 347520 157832 2753688 0 0 18 2 2718 1601 92 8 0 0
3 0 0 363204 157848 2754132 0 0 41 457 2823 1641 91 9 0 0
3 0 0 396960 157856 2754488 0 0 44 2 2789 1681 90 10 0 0
^C
00:24:43 /sys/devices/system/cpu/cpufreq/ondemand/$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: powernow-k8
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 107 us.
hardware limits: 1000 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.00 GHz, 1.80 GHz, 1000 MHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 1000 MHz and 2.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz (asserted by call to hardware).
analyzing CPU 1:
driver: powernow-k8
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 107 us.
hardware limits: 1000 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.00 GHz, 1.80 GHz, 1000 MHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 1000 MHz and 2.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz (asserted by call to hardware).
00:30:15 ~/$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 35
model name : Dual Core AMD Opteron(tm) Processor 175
stepping : 2
microcode : 0x4d
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext
3dnow rep_good nopl extd_apicid pni lahf_lm cmp_legacy
bogomips : 2002.43
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 35
model name : Dual Core AMD Opteron(tm) Processor 175
stepping : 2
microcode : 0x4d
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext
3dnow rep_good nopl extd_apicid pni lahf_lm cmp_legacy
bogomips : 2002.43
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] AMD64:ignore_nice_load ignores real load
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
@ 2014-08-04 2:04 ` bugzilla-daemon
2014-09-09 14:59 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2014-08-04 2:04 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Lan Tianyu <tianyu.lan@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tianyu.lan@intel.com
Summary|ignore_nice_load ignores |AMD64:ignore_nice_load
|real load |ignores real load
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] AMD64:ignore_nice_load ignores real load
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
2014-08-04 2:04 ` [Bug 71841] AMD64:ignore_nice_load " bugzilla-daemon
@ 2014-09-09 14:59 ` bugzilla-daemon
2014-10-28 4:12 ` [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2014-09-09 14:59 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Zhang Rui <rui.zhang@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rui.zhang@intel.com
Hardware|All |x86-64
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
2014-08-04 2:04 ` [Bug 71841] AMD64:ignore_nice_load " bugzilla-daemon
2014-09-09 14:59 ` bugzilla-daemon
@ 2014-10-28 4:12 ` bugzilla-daemon
2015-12-17 5:26 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2014-10-28 4:12 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Len Brown <lenb@kernel.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lenb@kernel.org
Hardware|x86-64 |All
Summary|AMD64:ignore_nice_load |cpufreq ondemand
|ignores real load |ignore_nice_load doesn't
| |work
--- Comment #1 from Len Brown <lenb@kernel.org> ---
/sys/devices/system/cpufreq/ondemand/ignore_nice_load
doesn't work on my Intel box either -- marking this bug as HW = "all".
For me, it fails in the opposite way.
When set, my system goes up to 3.8 GHz no matter
if a cycle soaker is invoked normally, or via nice(1).
I happen to be running Linux 3.13, as shipped by Ubuntu 14.04.1
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
` (2 preceding siblings ...)
2014-10-28 4:12 ` [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work bugzilla-daemon
@ 2015-12-17 5:26 ` bugzilla-daemon
2015-12-17 5:32 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-17 5:26 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
--- Comment #2 from Chen Yu <yu.c.chen@intel.com> ---
The ignore_nice_load works on my side on 4.4-rc5, here's my testing step:
with ignore_nice_load enabled
1.root@Surface-Pro-3:/sys/devices/system/cpu/cpufreq/ondemand# echo 1 >
ignore_nice_load
2.spin a nice(1) task on CPU2:
root@Surface-Pro-3:/sys/devices/system/cpu/cpufreq/ondemand# taskset -c 2 nice
-n1 stress -c 1 -t 200
3.top result for CPU2 load:
top - 03:10:58 up 25 min, 4 users, load average: 0.85, 0.44, 0.21
Tasks: 237 total, 2 running, 235 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa
%Cpu1 : 0.4 us, 0.4 sy, 0.0 ni, 99.2 id, 0.0 wa
%Cpu2 : 0.0 us, 0.0 sy,100.0 ni, 0.0 id, 0.0 wa
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa
4. turbostat -i 10
CPU Avg_MHz %Busy Bzy_MHz TSC_MHz
- 325 25.03 1300 2494
0 1 0.05 1300 2494
2 1297 100.00 1300 2494
1 1 0.05 1300 2494
3 0 0.03 1301 2494
5. wait for step 4 to finish, then spin a nice(0) task on CPU 2:
root@Surface-Pro-3:/sys/devices/system/cpu/cpufreq/ondemand# taskset -c 2
stress -c 1 -t 200
6. top
top - 03:14:27 up 28 min, 4 users, load average: 0.86, 0.61, 0.33
Tasks: 233 total, 2 running, 231 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa
%Cpu2 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa
%Cpu3 : 0.0 us, 0.3 sy, 0.0 ni, 99.7 id, 0.0 wa
7. turbostat -i 10
CPU Avg_MHz %Busy Bzy_MHz TSC_MHz
- 724 25.01 2900 2494
0 1 0.02 2842 2494
2 2892 99.98 2900 2494
1 0 0.02 2600 2494
3 1 0.02 2601 2494
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
` (3 preceding siblings ...)
2015-12-17 5:26 ` bugzilla-daemon
@ 2015-12-17 5:32 ` bugzilla-daemon
2015-12-28 4:58 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-17 5:32 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
--- Comment #3 from Chen Yu <yu.c.chen@intel.com> ---
(In reply to higuita from comment #0)
> I have a AMD64 cpu (opteron 175) and it use the powernow_k8 cpufreq drive.
> I'm using the ondemand governor and have enables the "ignore_nice_load".
> Yet, i'm right now compiling the kernel 3.15.6 and notice that the cpufreq
> is stick on the 1GHz instead of working on the expected 2.2GHz. The kernel
> compile is running on the default nice level (ie: 0 )
>
> If i disable the "ignore_nice_load", the cpufreq jumps to the 2.2GHz.
>
Could you please use 'top' to show the cpu load?(press '1' once top is running,
then we can see how much percentage of nice on a specific CPU).
thanks
yu
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
` (4 preceding siblings ...)
2015-12-17 5:32 ` bugzilla-daemon
@ 2015-12-28 4:58 ` bugzilla-daemon
2015-12-30 17:49 ` bugzilla-daemon
2015-12-31 0:50 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-28 4:58 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Zhang Rui <rui.zhang@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #4 from Zhang Rui <rui.zhang@intel.com> ---
ping...
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
` (5 preceding siblings ...)
2015-12-28 4:58 ` bugzilla-daemon
@ 2015-12-30 17:49 ` bugzilla-daemon
2015-12-31 0:50 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-30 17:49 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
--- Comment #5 from higuita <higuita@gmx.net> ---
hi
i'm now using a different cpu, a AMD A10-7850K Radeon R7, 12 Compute Cores
4C+8G
that uses acpi-cpufreq...
testing in this with this cpu and a kernel 4.3.3 it works fine.
maybe this was fixed of just happen in certain HW configs?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
` (6 preceding siblings ...)
2015-12-30 17:49 ` bugzilla-daemon
@ 2015-12-31 0:50 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-31 0:50 UTC (permalink / raw)
To: cpufreq
https://bugzilla.kernel.org/show_bug.cgi?id=71841
Zhang Rui <rui.zhang@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |CLOSED
Resolution|--- |UNREPRODUCIBLE
--- Comment #6 from Zhang Rui <rui.zhang@intel.com> ---
Well, it should relate to the HW config...
As it can not be reproduced now, I will close this bug.
Please feel free to re-open it if you can reproduce again with the same HW
config in comment #0, or you can file a new bug report if it is reproduced with
a different HW config.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-12-31 0:50 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 0:59 [Bug 71841] New: ignore_nice_load ignores real load bugzilla-daemon
2014-08-04 2:04 ` [Bug 71841] AMD64:ignore_nice_load " bugzilla-daemon
2014-09-09 14:59 ` bugzilla-daemon
2014-10-28 4:12 ` [Bug 71841] cpufreq ondemand ignore_nice_load doesn't work bugzilla-daemon
2015-12-17 5:26 ` bugzilla-daemon
2015-12-17 5:32 ` bugzilla-daemon
2015-12-28 4:58 ` bugzilla-daemon
2015-12-30 17:49 ` bugzilla-daemon
2015-12-31 0:50 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).