Skip to content

CPU not scaling up in battery mode & incorrect Max frequency is displayed #436

Closed

Description

@xd003

While using the laptop on battery , autocpu-freq doesn't scale the CPU's for some reason . It seems always stuck at the minimum frequency . My laptop is a low end dual core system so it causes pretty high performance drop , 1080p 60fps Youtube videos for example start having major framedrops . The CPU's don't scale up beyond the minimum frequency even when their usage reach 99%

Secondly i also noticed that the CPU max frequency info is incorrect . As you can see in the debug info below , it lists the max CPU frequency as 1.10GHz which is definitely incorrect , its 2.4Ghz as mentioned in the official page here , also while charging when performance mode is used it reaches upto that frequency frequently as clear from this stats here

I have disabled the intel_pstate & using the acpi-cpufreq driver as recommended in the troubleshooting guide . Just to cover the possibility that both of these issues could be related in any way , i have included them together here itself . Also i have installed auto-cpufreq using the official installer script just to rule out any rare possible issue exclusive to the arch package

System information:

-------------------------------------------------------------------------------

Linux distro: Arch Linux rolling n/a
Linux kernel: 5.19.7-arch1-1
Processor: Intel(R) Celeron(R) CPU N3350 @ 1.10GHz
Cores: 2
Architecture: x86_64
Driver: acpi-cpufreq

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 1101 MHz
CPU min frequency: 800 MHz

Core	Usage	Temperature	Frequency
CPU0:	 97.0%     45 °C      796 MHz
CPU1:	 95.0%     47 °C      796 MHz

CPU fan speed: 0 RPM

auto-cpufreq version: 1.9.5 (git: 1a35c3ca)

Python: 3.10.6
psutil package: 5.9.2
platform package: 1.0.8
click package: 8.1.3
distro package: 1.7.0

Computer type: Notebook
Battery is: discharging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 1.35 %

Total CPU usage: 96.0 %
Total system load: 3.58
Average temp. of all cores: 46.00 °C

Currently using: powersave governor
Currently turbo boost is: on

-------------------------------------------------------------------------------

Activity

  1. AdnanHodzic commented on Sep 10, 2022

    @AdnanHodzic
    Owner

    Do the frequencies scale to their max potential if you install auto-cpufreq daemon using --install_performance? Further reference.

    Although if it has the frequency wrong on both drivers then something else is at hand here ...

  2. xd003 commented on Sep 10, 2022

    @xd003
    ContributorAuthor

    Just tested it after installing with --install_performance but it didn't seem to scale the CPU just like with the default install

  3. xd003 commented on Sep 16, 2022

    @xd003
    ContributorAuthor

    I think if proper logging is implemented then we can see what really is happening in real time so it could be easier to debug this issue seemingly faced by quite some people

  4. AdnanHodzic commented on Sep 18, 2022

    @AdnanHodzic
    Owner

    I do agree that proper logging would be a great help (and a feature). But unfortunately I don't have time to look into this myself at this point, hence why if you (or anyone else) wants to give it a try, please do so and I'll gladly review your changes.

  5. RaptaG commented on Oct 28, 2022

    @RaptaG

    Is there any progress with this issue?

  6. AdnanHodzic commented on Nov 11, 2022

    @AdnanHodzic
    Owner

    If there are any changes that could be made please give it a try and contribute to the project and you will be credited for your work as part of future release.

    In meantime closing the issue due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions