Announcement

Collapse
No announcement yet.

Radeon Linux Driver Adds Option To Limit Number Of Enabled CUs

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

  • Radeon Linux Driver Adds Option To Limit Number Of Enabled CUs

    Phoronix: Radeon Linux Driver Adds Option To Limit Number Of Enabled CUs

    The RadeonSI Gallium3D and RADV Vulkan drivers within Mesa 22.0 have now added an override for controlling the number of enabled compute units (CUs) for the graphics processor...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    This looks like a very cool benchmarking tool.

    Comment


    • #3
      Given rest of the article I assume the reference to AMD_CPU_MASK= environment variable is a typo

      Comment


      • #4
        Originally posted by apaulanthony View Post
        Given rest of the article I assume the reference to AMD_CPU_MASK= environment variable is a typo
        Whoops yeah fixed, thanks., Habit of typing CPU more often than CU...
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by brunosalezze View Post
          This looks like a very cool benchmarking tool.
          It looks certainly helpful for developers. For the end user though, an easy to use underclocking/undervolting tool might be more valuable.
          No offense to Marek Olšák intended of course. I understand we cannot have everything and perhaps the Mesa team needs this tool to proceed with some other issue.

          Edit:
          With a bit more time on Google, I found some articles about Patrick Schur's atitool. It might have been exactly what I was thinking about, but it seems to be no longer maintained. Any recommended alternatives?
          Last edited by Rabiator; 05 January 2022, 10:12 AM. Reason: Adding some information

          Comment


          • #6
            There are good undervolting guides for AMD cards for setting up a script and systemd service, it is not as comfortable as having a GUI but once you store the values somewhere it is a copy and paste job and done in minutes. (Sidenote: Arch and derivatives fail to launch the service automatically but it works on other distros). But I'd welcome a way to change the fan profile that doesn't cost performance, tools which I tried came at a rather large performance cost.

            Comment


            • #7
              Rabiator there is a sysfs interface for OC and UV, once you've set amdgpu.ppfeaturemask=0xfffd7fff
              I configured my system to automatically execute a bash script that loads my OC/UV when logging in. You may also use CoreCtrl, radeon-profile or TuxClocker (all three of them are Qt based), WattmanGTK or rocm_smi (CLI, comes directly from AMD).
              Refer to the ArchLinux Wiki for further information on how to set it up and which files to edit.

              Comment


              • #8
                Maybe this is something for emulating the Steam Deck on other hardware. Or a way to increase battery life in portables. Or both.

                Comment


                • #9
                  I don't think it's much more useful for anything but to test if render task performance properly scales with number of CUs. If it doesn't, the game or driver code probably does something in a non-optimal way. This then might be a hint for performance optimization potential.

                  Comment


                  • #10
                    Nice, now you can disable the CUs which generate GPU ring hangs?!

                    Comment

                    Working...
                    X