Skip to contentSkip to conversation

New: CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

Bug 218022 [email protected] 1 participant 9 messages Oct 17, 2023 – Oct 20, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218022

Bug ID: 218022
Summary: CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced
performance in lower priority processes on ADL Intel processors.
Product: Power Management
Version: 2.5
Hardware: Intel
OS: Linux
Status: NEW
Severity: high
Priority: P3
Component: cpufreq
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Hi,

I have noticed for some days, working on an Intel ADL system, that certain processes are not processed correctly at certain low frequencies, and the return in frequency causes the applications to go under glitches.

How could I test to see if there are problems from the scheduler, C-state or intel_pstate?

CPU: 12th Gen Intel(R) Core(TM) i7-1260P

5.15.0-1042-intel-iotg (5.15.122) Ubuntu OS

From what I see on ADL the performances are relatively good, but with C-state disabled they are improved quite a lot.

- processor.max_cstate=0 intel.max_cstate=0 processor_idle.max_cstate=0 intel_idle.max_cstate=0

cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.15.0-1042-intel-iotg root=UUID=d52175e7-4bd5-4a56-891f-f5961006330f ro processor.max_cstate=0 intel.max_cstate=0 processor_idle.max_cstate=0 intel_idle.max_cstate=0 quiet splash vt.handoff=7

With all parameters in cmdline, the system becomes stable.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

https://bugzilla.kernel.org/show_bug.cgi?id=218022

sander44 ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |5.15.122

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #1 from Artem S. Tashkinov ([email protected]) ---

Quoted 1 line

"reduced performance"

Compared to what?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #2 from sander44 ([email protected]) --- I compared with Intel TGL.

Do you know some tools with which I could check this performance problem in more detail?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #3 from Artem S. Tashkinov ([email protected]) --- You cannot compare different CPU families.

Speaking of:

Quoted 2 lines

certain processes are not processed correctly at certain low frequencies, and the return in frequency causes the applications to go under glitches

Could you please elaborate on that?

Please describe in details what's going on, why it's not working the way it should and how it should work. And which tools you've used to figure it all out.

And lastly it would be great if you tested kernel 6.5.7 or 6.6-rc6.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #4 from sander44 ([email protected]) ---

I have this:

https://community.frame.work/t/tracking-hard-freezing-on-fedora-36-with-the-new-12th-gen-system/20675?page=18

6.1.7-200.fc37.x86_64 / 12th Gen Intel(R) Core™ i7-1260P

No i915 tunnings! But with intel_idle.max_cstate=2 while booting

With this Since 6.1.17 – I have started getting hangs – but w/o the garbled screens and trash and garbage on my screens. Garble screen hangs will, seemingly, eliminated with intel_idle.max_cstate=2.

With 6.1.17, I started to just getting freezes/hangs; no garbled screens.

So maybe in my situation I did have some problems related the sleep states; but now perhaps I am now also bumping into the intel GPU issues many have noted here:

booting now with: intel_idle.max_cstate=2 i915.enable_psr=0

I seem to have some stability back.

NOTE: There is maybe some correlation between this (new to me) hang and Zoom with web cam active. Too early to tell at this point.

HTH

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #5 from Artem S. Tashkinov ([email protected]) ---
Your bug reports was about the diminished performance (which you're still yet to reveal how you measured) now you're talking about freezes. I've kinda lost the plot.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

--- Comment #6 from Artem S. Tashkinov ([email protected]) --- If you have issues with graphics, here's the proper bug tracker:
https://gitlab.freedesktop.org/drm/intel/-/issues

In a _new_ bug report it would be nice if you specified which kernels worked for you and which now don't.

You'll be asked to test vanilla kernel, that's without Ubuntu/Fedora patches.

Distro kernels normally are not supported here.

Fedora 38 (after updates) is now rocking Linux 6.5.7, would be nice if you gave it a try.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 218022] CONFIG_CPU_FREQ_GOV_SCHEDUTIL - 10%-12% reduced performance in lower priority processes on ADL Intel processors.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218022

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.