Lines Matching full:pstate

5 ``amd-pstate`` CPU Performance Scaling Driver
16 ``amd-pstate`` is the AMD CPU performance scaling driver that introduces a
26 ``amd-pstate`` leverages the Linux kernel governors such as ``schedutil``,
30 Volume 2: System Programming [1]_). Currently, ``amd-pstate`` supports basic
45 interpreter for performance adjustments. ``amd-pstate`` will initialize a
117 effectively conveys the most efficient performance level to ``amd-pstate``.
130 ``amd-pstate`` passes performance goals through these registers. The
136 ``amd-pstate`` specifies the minimum allowed performance level.
141 ``amd-pstate`` specifies a limit the maximum performance that is expected
147 ``amd-pstate`` specifies a desired target in the CPPC performance scale as
165 ``amd-pstate`` can be used with all the (generic) scaling governors listed
173 ``amd-pstate`` mainly supports ``schedutil`` and ``ondemand`` for dynamic
175 ``amd-pstate`` to the ``schedutil`` with CPU CFS scheduler. ``amd-pstate``
182 Then, ``amd-pstate`` updates the desired performance according to the CPU
190 The ``amd-pstate`` initialization will fail if the ``_CPC`` entry in the ACPI
193 ACPI hardware P-States function, so when ``amd-pstate`` fails initialization,
196 There are two types of hardware implementations for ``amd-pstate``: one is
201 ``amd-pstate`` is to register different ``static_call`` instances for different
204 Currently, some of the Zen2 and Zen3 processors support ``amd-pstate``. In the
212 ``amd-pstate`` can handle the MSR register to implement the fast switch
221 processor supports the shared memory solution. In this case, ``amd-pstate``
236 ``amd-pstate`` exposes several global attributes (files) in ``sysfs`` to
288 ``amd-pstate`` vs ``acpi-cpufreq``
297 instead of the legacy hardware P-states. ``amd-pstate`` is the kernel
303 AMD Pstate Driver Operation Modes
362 ``amd-pstate`` exposes several global attributes (files) in ``sysfs`` to
364 ``/sys/devices/system/cpu/amd-pstate/`` directory and affect all CPUs.
388 ``cpupower`` tool support for ``amd-pstate``
391 ``amd-pstate`` is supported by the ``cpupower`` tool, which can be used to dump
393 operations for the new ``amd-pstate`` module with this tool. ::
397 driver: amd-pstate
411 AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.68 GHz.
412 AMD PSTATE Nominal Performance: 117. Nominal Frequency: 3.30 GHz.
413 AMD PSTATE Lowest Non-linear Performance: 39. Lowest Non-linear Frequency: 1.10 GHz.
414 AMD PSTATE Lowest Performance: 15. Lowest Frequency: 400 MHz.
423 There are two static trace events that can be used for ``amd-pstate``
426 specific to ``amd-pstate``. The following sequence of shell commands can
460 ``amd_pstate_tracer.py`` can record and parse ``amd-pstate`` trace log, then
462 performance of ``amd-pstate`` driver. The tracer tool needs to import intel
463 pstate tracer.
482 Unit Tests for amd-pstate
485 ``amd-pstate-ut`` is a test module for testing the ``amd-pstate`` driver.
497 Test prerequisite and basic functions for the ``amd-pstate`` driver.
540 We create ``amd-pstate-ut`` module and tie it into kselftest.(for
563 $ sudo ./kselftest/run_kselftest.sh -c amd-pstate
567 $ cd ~/kselftest/amd-pstate
613 + amd-pstate-ondemand | 1 | | | | 2504.05 | 1563.67 | 158.5378 |
615 + amd-pstate-ondemand | 2 | | | | 2243.64 | 1430.32 | 155.2941 |
617 + amd-pstate-ondemand | 3 | | | | 2183.88 | 1401.32 | 154.2860 |
619 + amd-pstate-ondemand | Average | | | | 2310.52 | 1465.1 | 156.1268 |
621 + amd-pstate-schedutil | 1 | 165.329 | 1.62257 | 99.798 | 2136.54 | 1395.26 | 151.5971 |
623 + amd-pstate-schedutil | 2 | 166 | 1.49761 | 99.9993 | 2100.56 | 1380.5 | 150.6377 |
625 + amd-pstate-schedutil | 3 | 166 | 1.47806 | 99.9993 | 2084.12 | 1375.76 | 149.9737 |
627 + amd-pstate-schedutil | Average | 165.776 | 1.53275 | 99.9322 | 2107.07 | 1383.84 | 150.7399 |
647 + amd-pstate-ondemand VS amd-pstate-schedutil | Comprison(%) | | | | 8.8053 | -5.5463 | -3.4503 |
649 + acpi-cpufreq-ondemand VS amd-pstate-ondemand | Comprison(%) | | | | -0.4245 | -0.2029 | -0.2219 |
651 + acpi-cpufreq-schedutil VS amd-pstate-schedutil | Comprison(%) | | | | -0.1473 | 0.6963 | -0.8378 |
666 + amd-pstate-ondemand | 1 | 50.119 | 2.10509 | 23.3076 | 475.69 | 865.78 | 0.001155027 |
668 + amd-pstate-ondemand | 2 | 94.8006 | 1.98771 | 56.6533 | 467.1 | 839.67 | 0.001190944 |
670 + amd-pstate-ondemand | 3 | 76.6091 | 2.53251 | 43.7791 | 467.69 | 855.85 | 0.001168429 |
672 + amd-pstate-ondemand | Average | 73.8429 | 2.20844 | 41.2467 | 470.16 | 853.767 | 0.001171279 |
674 + amd-pstate-schedutil | 1 | 165.919 | 1.62319 | 98.3868 | 464.17 | 866.8 | 0.001153668 |
676 + amd-pstate-schedutil | 2 | 165.97 | 1.31309 | 99.5712 | 480.15 | 880.4 | 0.001135847 |
678 + amd-pstate-schedutil | 3 | 165.973 | 1.28448 | 99.9252 | 481.79 | 867.02 | 0.001153375 |
680 + amd-pstate-schedutil | Average | 165.954 | 1.40692 | 99.2944 | 475.37 | 871.407 | 0.001147569 |
700 + amd-pstate-ondemand VS amd-pstate-schedutil | Comprison(%) | 124.7392 | -36.2934 | 140.7329 | 1.1081 | 2.0661 | -2.0242 |
702 + acpi-cpufreq-ondemand VS amd-pstate-ondemand | Comprison(%) | | | | 10.4665 | 7.5968 | -7.0605 |
704 + acpi-cpufreq-schedutil VS amd-pstate-schedutil | Comprison(%) | | | | 2.1115 | 4.2873 | -4.1110 |