Skip to contentSkip to conversation

New: Conservative governor is broken in 4.14.14

Bug 198601 [email protected] 1 participant 9 messages Jan 28, 2018 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 198601
           Summary: Conservative governor is broken in 4.14.14
           Product: Power Management
           Version: 2.5
    Kernel Version: 4.14.14
          Hardware: IA-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: cpufreq
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

This is happening under Intel Core i5 2500. I'm running a single instance of the flac utility (which has now been running for 10 minutes already).

Under the ondemand governor:
3986.1MHz
4058.03MHz
3847.3MHz
3929.33MHz

Under the conservative governor:
1700.09MHz
1700.09MHz
1700.15MHz
1700.1MHz

For some reasons the conservative governor refuses to increase CPU cores frequencies above 1700MHz. I'm _not_ using Intel's pstate driver:

CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=m
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_PCI_SLOT=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_ACPI_HED=y
CONFIG_ACPI_BGRT=y
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
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
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_SENSORS_ACPI_POWER=m
CONFIG_UCSI_ACPI=m

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

[Bug 198601] Conservative governor is broken in 4.14.14

In reply to [email protected]

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

Zhang Rui ([email protected]) changed:

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

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #1 from Zhang Rui ([email protected]) --- does the problem still exist in 4.15?

what's the earliest kernel version that does not have this problem? can you attach the cpu frequency with the good kernel?

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

[Bug 198601] Conservative governor is broken in 4.14.14

In reply to [email protected]

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

Viresh Kumar ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Viresh Kumar ([email protected]) --- Try this commit (already in Linus's master), we solved this problem sometime back

56026645e2b6 cpufreq: governor: Ensure sufficiently large sampling intervals

Not sure if your problem is a new one though.

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

[Bug 198601] Conservative governor is broken in 4.14.14

In reply to [email protected]

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

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

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED

--- Comment #3 from Artem S. Tashkinov ([email protected]) --- (In reply to Viresh Kumar from comment #2)

Quoted 6 lines

Try this commit (already in Linus's master), we solved this problem sometime back

56026645e2b6 cpufreq: governor: Ensure sufficiently large sampling intervals

Not sure if your problem is a new one though.

I can confirm that this patch fixes the issue.

Please submit it for 4.14.16.

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

[Bug 198601] Conservative governor is broken in 4.14

In reply to [email protected]

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

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

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

            Summary|Conservative governor is    |Conservative governor is
                   |broken in 4.14.14           |broken in 4.14
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 198601] Conservative governor is broken in 4.14

In reply to [email protected]

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

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

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

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #5 from Artem S. Tashkinov ([email protected]) --- (In reply to Viresh Kumar from comment #4)

Quoted 1 line

Great. I have already sent it for 4.14 today.

Thank you very much! Hopefully Greg KH will include it.

I'm closing this bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.