[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] full cstate/cpufreq/cpupower support withOUT Xen 4.13 on kernel 5.4.14; WITH xen, none at all. bug or config?



running linux kernel

        uname -rm
                5.4.14-24.gfc4ea7a-default x86_64

        lsb_release -rd
                Description:    openSUSE Leap 15.1
                Release:        15.1

        dmesg | grep DMI:
                [    0.000000] DMI: Supermicro X10SAT/X10SAT, BIOS 3.0 
05/26/2015

        cat /proc/cpuinfo | grep "model name" | head -n 1
                model name      : Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz

BIOS *is* setup for max cstate support.
Xeon E3-1220 does support intel_pstate driver.

Testing first,

(1) boot, NO XEN

pstate driver's init'd

        dmesg | egrep -i "intel_pstate"
                [    6.132964] intel_pstate: Intel P-state driver initializing

pstate/cstate info

        cat /sys/module/intel_idle/parameters/max_cstate
                9

        cd /sys/devices/system/cpu/cpu0/cpuidle
        for state in state{0..9}
         do echo c-$state `cat $state/name` `cat $state/latency`
        done
                c-state0 POLL 0
                c-state1 C1 2
                c-state2 C1E 10
                c-state3 C3 33
                c-state4 C6 133
                c-state5 C7s 166
                cat: state6/name: No such file or directory
                cat: state6/latency: No such file or directory
                c-state6
                cat: state7/name: No such file or directory
                cat: state7/latency: No such file or directory
                c-state7
                cat: state8/name: No such file or directory
                cat: state8/latency: No such file or directory
                c-state8
                cat: state9/name: No such file or directory
                cat: state9/latency: No such file or directory
                c-state9

cpufreq scaling info's available,

        cpupower frequency-info
                analyzing CPU 0:
                  driver: intel_pstate
                  CPUs which run at the same hardware frequency: 0
                  CPUs which need to have their frequency coordinated by 
software: 0
                  maximum transition latency:  Cannot determine or is not 
supported.
                  hardware limits: 800 MHz - 3.50 GHz
                  available cpufreq governors: performance powersave
                  current policy: frequency should be within 800 MHz and 3.50 
GHz.
                                  The governor "powersave" may decide which 
speed to use
                                  within this range.
                  current CPU frequency: Unable to call hardware
                  current CPU frequency: 799 MHz (asserted by call to kernel)
                  boost state support:
                    Supported: yes
                    Active: yes

& scaling is in effect,

        cat /proc/cpuinfo | grep MHz
                cpu MHz         : 798.106
                cpu MHz         : 798.129
                cpu MHz         : 798.964
                cpu MHz         : 798.154

(2) boot, WITH Xen 4.13

        rpm -qa | grep -i xen | sort
                grub2-x86_64-xen-2.04-lp151.6.5.noarch
                xen-4.13.0_04-lp151.688.2.x86_64
                xen-libs-4.13.0_04-lp151.688.2.x86_64
                xen-tools-4.13.0_04-lp151.688.2.x86_64

Xen cmd line includes,

        grep options= /boot/grub2/xen-4.13.0_04-lp151.688.cfg
                [config.1]
                options=dom0=pvh dom0-iommu=map-reserved 
dom0_mem=4016M,max:4096M dom0_max_vcpus=4 cpufreq=xen cpuidle ucode=scan ...

intel_pstate support is now DISABLED for this cpu

        xl dmesg | grep pstate
                [    6.851121] intel_pstate: CPU model not supported

NO cpupower frequency-info is available

        cpupower frequency-info 
                analyzing CPU 0:
                  no or unknown cpufreq driver is active on this CPU
                  CPUs which run at the same hardware frequency: Not Available
                  CPUs which need to have their frequency coordinated by 
software: Not Available
                  maximum transition latency:  Cannot determine or is not 
supported.
                Not Available
                  available cpufreq governors: Not Available
                  Unable to determine current policy
                  current CPU frequency: Unable to call hardware
                  current CPU frequency:  Unable to call to kernel
                  boost state support:
                    Supported: no
                    Active: no

and scaling is NOT in effect

        cat /proc/cpuinfo | grep MHz
                cpu MHz         : 3092.828
                cpu MHz         : 3092.828
                cpu MHz         : 3092.828
                cpu MHz         : 3092.828

attempt to add acpi-cpufreq module fails

        lsmod | grep acpi-cpufreq
                (empty)
        find /lib/modules/ | grep acpi-cpu
                
/lib/modules/5.4.14-24.gfc4ea7a-default/kernel/drivers/cpufreq/acpi-cpufreq.ko
        modprobe acpi-cpufreq
                modprobe: ERROR: could not insert 'acpi_cpufreq': No such device
        insmod 
/lib/modules/5.4.14-24.gfc4ea7a-default/kernel/drivers/cpufreq/acpi-cpufreq.ko
                insmod: ERROR: could not insert module 
/lib/modules/5.4.14-24.gfc4ea7a-default/kernel/drivers/cpufreq/acpi-cpufreq.ko: 
No such device

Is this bug, or config?


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.