Announcement

Collapse
No announcement yet.

What's Been Going On With CPUFreq & The Scheduler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by halo9en View Post

    Sounds interesting. Is there a way to switch to schedutil from the kernel boot parameters instead of recompiling with CPU_FREQ_DEFAULT_GOV_SCHEDUTIL enabled?
    You have a 4.7 kernel and it has the sched available?
    Code:
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
    Then
    Code:
    echo schedutil | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

    Comment


    • #12
      Thanks PuckPoltergeist & Licaon. I do have a 4.7 kernel with CONFIG_CPU_FREQ_GOV_SCHEDUTIL=m but echoing schedutil in scaling_governor returns "Invalid argument". Perhaps because it can't be built as a module, so I'll have to recompile anyway https://lkml.org/lkml/2016/8/19/427

      Comment


      • #13
        Doesn't modprobing cpufreq_schedutil do the trick? Anyway, it worked out of the box on my Arch install.

        Comment


        • #14
          Originally posted by VikingGe View Post
          Doesn't modprobing cpufreq_schedutil do the trick? Anyway, it worked out of the box on my Arch install.
          Loaded and verified with lsmod, but still unavailable... since I'm also on Arch I'm perplexed, but I'm probably doing something wrong...

          Comment


          • #15
            Originally posted by halo9en View Post

            Loaded and verified with lsmod, but still unavailable... since I'm also on Arch I'm perplexed, but I'm probably doing something wrong...
            No messages in dmesg/journald?

            Comment


            • #16
              halo9en if you have Intel you need disable Intel_pstate first
              Intel_pstate=disable (or disabled) in boot opts should work.

              Comment


              • #17
                Originally posted by VikingGe View Post
                Doesn't modprobing cpufreq_schedutil do the trick? Anyway, it worked out of the box on my Arch install.
                Loading the module is also enough to make it work here. And I like it

                Comment


                • #18
                  Originally posted by frosth View Post
                  Guest if you have Intel you need disable Intel_pstate first
                  Intel_pstate=disable (or disabled) in boot opts should work.
                  Ah, thanks for saving me a headache!

                  Comment


                  • #19
                    I modprobed the module and switched the scheduler with cpupower and it immediately froze my computer :/

                    Comment


                    • #20
                      Originally posted by geearf View Post
                      I modprobed the module and switched the scheduler with cpupower and it immediately froze my computer :/
                      And you are nor using Con's BFS?

                      Comment

                      Working...
                      X