Announcement

Collapse
No announcement yet.

Ondemand governor dramatically slows down mesa perfomance

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

  • Ondemand governor dramatically slows down mesa perfomance

    With kernel >=3.8 and Mesa 9.2 and ondemand governor cpu frequency don't change in 3d.

    ondemand performance
    glxgears 3400 6200
    openarena 100 125
    lightsmark 240 340

    can somebody confirm this?

  • #2
    Kernel 3.7.10 and Mesa 9.1.1, but I see the same.

    glxgears pegs one core, but the frequency stays on low.


    Used this to check: watch -d -n 1 "grep MHz /proc/cpuinfo | uniq"

    Comment


    • #3
      Originally posted by curaga View Post
      Kernel 3.7.10 and Mesa 9.1.1, but I see the same.

      glxgears pegs one core, but the frequency stays on low.


      Used this to check: watch -d -n 1 "grep MHz /proc/cpuinfo | uniq"
      cpupower frequency-set -g performance

      Increases the FPS?

      Comment


      • #4
        Yes, the performance governor about doubles the fps.

        Comment


        • #5
          Originally posted by Pontostroy View Post
          With kernel >=3.8 and Mesa 9.2 and ondemand governor cpu frequency don't change in 3d.

          ondemand performance
          glxgears 3400 6200
          openarena 100 125
          lightsmark 240 340

          can somebody confirm this?

          works fine here

          just noticed that the conservative governor that I had used all the time didn't clock up all that much at all

          glxgears always stayed around 2500 - now with ondemand it goes up to 3800

          that's with a 5850

          what card is that on your side ?

          screen resolution is 1920x1080 here


          had to use R600_DEBUG=sb vblank_mode=0 glxgears to use its full potential

          Comment


          • #6
            Yes this is well known, and I always warn people for this on IRC
            when gaming always use performance governor it's +33-50% fps difference in many scenes
            (and get a fast cpu per core also 3-4+ GHz )

            ideally you would bind your game to 1 core (and mesa to another?) and only put that core into performance mode.

            Comment


            • #7
              Originally posted by pheldens View Post
              Yes this is well known, and I always warn people for this on IRC
              when gaming always use performance governor it's +33-50% fps difference in many scenes
              (and get a fast cpu per core also 3-4+ GHz )

              ideally you would bind your game to 1 core (and mesa to another?) and only put that core into performance mode.
              had the same issue occuring to me a few days ago

              so ondemand isn't working very reliably (it didn't clock the cpu up)


              you could also try conservative governor a try

              or try tweaking conservative & ondemand governor to clock up more aggressively

              Comment


              • #8
                I think it makes more sense to just use the performance governor all the time when running on a desktop, as you won't save that much power from using ondemand anyway. And on a laptop you can use laptop-mode-tools to set ondemand/conservative when on battery, and have it force to performance when AC power is supplied.

                Alternatively, you could setup up a script to force performance whenever you play a demanding game.

                Comment


                • #9
                  Well, it depends on how much is much. This desktop here has a 60W difference when running idle vs running with all cores full.

                  Comment


                  • #10
                    Originally posted by curaga View Post
                    Well, it depends on how much is much. This desktop here has a 60W difference when running idle vs running with all cores full.
                    Yeah, that's pretty substantial. I remember testing it a long time back and it was more like 10W difference or something like that. But it probably varies by CPU and the scaling implementation; they have both probably gotten a lot better.

                    I should test my current systems to check for myself.

                    Comment

                    Working...
                    X