XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bad Performance CPU? get-cpufreq-para failed

    Scheduled Pinned Locked Moved Unsolved Compute
    25 Posts 9 Posters 6.9k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Affonso @high-voltages
      last edited by Affonso

      @high-voltages so nothing there hints you to a problem with the drive SDA on the slow "host"?

      1 Reply Last reply
      Reply Quote 0
      • bleaderB
        bleader Vates 🪐 XCP-ng Team @high-voltages
        last edited by

        @high-voltages you also can try xenpm start 10 to gather info for 10s and it will print a sumarry at the end, in my case it had each core average frequency, not sure you'll get it too, but you can give it a shot.

        F 1 Reply Last reply
        Reply Quote 0
        • F
          flakpyro @bleader
          last edited by flakpyro

          @bleader I am running into the same issue on a pair of Lenovo SR630 V4s with Intel Xeon 6530P CPUs

          [08:23 xcpng-dr-2 ~]# xenpm get-cpufreq-para
          [CPU0] failed to get cpufreq parameter
          

          Playing with different workload profiles in the bios but so far the server seems to pretty aggressively clock itself down even while CPU intensive tasks like backups are running. I am of course not able to run something like xenpm set-scaling-governor performance either.

          EDIT: The solution here is to get "Power/Performance Bias:" to OS Controlled in the servers BIOS. This restores functionality.

          bleaderB P 2 Replies Last reply
          Reply Quote 2
          • bleaderB
            bleader Vates 🪐 XCP-ng Team @flakpyro
            last edited by

            @flakpyro oh, good to know, thanks for sharing this!

            @poddingue this might be worth some investigation to document, but likely would need to gather similar settings for a set of vendors to make it relevant.

            1 Reply Last reply
            Reply Quote 0
            • P
              Pilow @flakpyro
              last edited by

              @flakpyro said:

              EDIT: The solution here is to get "Power/Performance Bias:" to OS Controlled in the servers BIOS. This restores functionality.

              hey nice !
              I did the modification on a slave server and I now have all informations (previously FAILED)
              32aede5f-d4bb-44fd-acad-029715ca1bdf-image.jpeg

              it's an HPE DL380 Gen 11
              modified in the iLO web ui, but then needed to reboot host

              was previously on DYNAMIC POWER SAVINGS
              f2d02bca-04eb-4a06-8844-c073e9d9b93a-image.jpeg

              poddingueP 1 Reply Last reply
              Reply Quote 2
              • poddingueP
                poddingue Vates 🪐 @Pilow
                last edited by

                On a Lenovo SR630 V4 it took Power/Performance Bias set to OS Controlled, and on an HPE DL380 Gen 11 it was the iLO Power Regulator moved off Dynamic Power Savings to OS Control Mode, with a host reboot.
                Both then returned real values from xenpm get-cpufreq-para instead of the failure line.
                @bleader is right that two vendors is not enough to document, so if your host works, could you post the vendor, the exact setting name, where it lives, and whether you needed a reboot? Dell, Supermicro and anything AMD are the obvious gaps.
                I don't know whether the firmware is withholding p-state control outright or just not publishing the ACPI objects Xen looks for, so I would rather collect settings than write up a mechanism I can't back.

                Thanks! 🙏

                poddingueP 1 Reply Last reply
                Reply Quote 0
                • poddingueP poddingue marked this topic as a question on
                • poddingueP
                  poddingue Vates 🪐 @poddingue
                  last edited by

                  Adding the Dell answer here so all three vendors sit together, thanks to @flakpyro in another thread. On iDRAC9 it's Configuration, BIOS Settings, System Profile Settings, with System Profile set to Performance Per Watt (OS); CPU Power Management then shows OS DBPM (https://xcp-ng.org/forum/post/109888). He saw it on a PowerEdge R360, and the host needed a reboot, same as the HPE one (https://xcp-ng.org/forum/post/109898). As far as I can tell from what people reported, the pattern is the same on all three: the setting that hands control to the OS is the one that works, not the "maximum performance" one. Supermicro and AMD hosts are still missing, so if you run one, the setting name and whether it needed a reboot would help.

                  F tjkreidlT 2 Replies Last reply
                  Reply Quote 0
                  • F
                    flakpyro @poddingue
                    last edited by

                    @poddingue I have a PowerEdge R6515 which is AMD based an the settings in iDrac look the same as the Intel host i reported. This server is running Ubuntu however so i cannot confirm with results with xenpm

                    I have an ProLiant DL325 Gen10 which is also AMD based, again running Ubuntu that also has the same " iLO Power Regulator" setting as Intel hosts.

                    1 Reply Last reply
                    Reply Quote 1
                    • tjkreidlT
                      tjkreidl Ambassador @poddingue
                      last edited by tjkreidl

                      @poddingue Indeed, the host has to have control. See for example my old XS article and the two follow-ups on CPU/GPU settings. My initial performance issues were also on Dell servers. The first article is at:
                      https://github.com/tobiaskreidl/Citrix-Tobias-Kreidl-Collection/blob/XenServer-Articles/A Tale of Two Servers_ How BIOS Settings Can Affect Your Apps and GPU Performance.pdf

                      1 Reply Last reply
                      Reply Quote 1
                      • P
                        probain
                        last edited by

                        Supermicro board: H12SSL-i
                        CPU: AMD EPYC 7302P 16-Core Processor

                        So this seems to be working. However, I couldn't find a power management profile in the BIOS. So this might not be relevant

                        # xenpm get-cpufreq-para
                        cpu id               : 0
                        affected_cpus        : 0
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 1
                        affected_cpus        : 1
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 2
                        affected_cpus        : 2
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 3
                        affected_cpus        : 3
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 4
                        affected_cpus        : 4
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 5
                        affected_cpus        : 5
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 6
                        affected_cpus        : 6
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 7
                        affected_cpus        : 7
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 8
                        affected_cpus        : 8
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 9
                        affected_cpus        : 9
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 10
                        affected_cpus        : 10
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 11
                        affected_cpus        : 11
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 12
                        affected_cpus        : 12
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 13
                        affected_cpus        : 13
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 14
                        affected_cpus        : 14
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 15
                        affected_cpus        : 15
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 16
                        affected_cpus        : 16
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 17
                        affected_cpus        : 17
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 18
                        affected_cpus        : 18
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 19
                        affected_cpus        : 19
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 20
                        affected_cpus        : 20
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 21
                        affected_cpus        : 21
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 22
                        affected_cpus        : 22
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 23
                        affected_cpus        : 23
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 24
                        affected_cpus        : 24
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 25
                        affected_cpus        : 25
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 26
                        affected_cpus        : 26
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 27
                        affected_cpus        : 27
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 28
                        affected_cpus        : 28
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 29
                        affected_cpus        : 29
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 30
                        affected_cpus        : 30
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        
                        cpu id               : 31
                        affected_cpus        : 31
                        cpuinfo frequency    : max [3000000] min [1500000] cur [1500000]
                        scaling_driver       : powernow
                        scaling_avail_gov    : userspace performance powersave ondemand
                        current_governor     : ondemand
                          ondemand specific  :
                            sampling_rate    : max [10000000] min [10000] cur [20000]
                            up_threshold     : 80
                        scaling_avail_freq   : 3000000 2400000 *1500000
                        scaling frequency    : max [3000000] min [1500000] cur [1500000]
                        turbo mode           : enabled
                        

                        image.jpeg
                        image.jpeg

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post