1. 05 7月, 2013 1 次提交
  2. 28 11月, 2012 1 次提交
    • T
      cpupower: Provide -c param for cpupower monitor to schedule process on all cores · c8cfc3c6
      Thomas Renninger 提交于
      If an MSR based monitor is run in parallel this is not needed. This is the
      default case on all/most Intel machines.
      
      But when only sysfs info is read via cpupower monitor -m Idle_Stats (typically
      the case for non root users) or when other monitors are PCI based (AMD),
      Idle_Stats, read from sysfs can be totally bogus:
      
      cpupower monitor -m Idle_Stats
      PKG |CORE|CPU | POLL | C1-N | C3-N | C6-N
         0|   0|   0|  0.00|  0.00|  0.24| 99.81
         0|   0|  32|  0.00|  0.00|  0.00| 100.7
      ...
         0|  17|  20|  0.00|  0.00|  0.00| 173.1
         0|  17|  52|  0.00|  0.00|  0.07| 173.0
         0|  18|  68|  0.00|  0.00|  0.00|  0.00
         0|  18|  76|  0.00|  0.00|  0.00|  0.00
      ...
      
      With the -c option all cores are woken up and the kernel
      did update cpuidle statistics before reading out sysfs.
      This causes some overhead. Therefore avoid if possible, use
      if needed:
      
      cpupower monitor -c -m Idle_Stats
      PKG |CORE|CPU | POLL | C1-N | C3-N | C6-N
         0|   0|   0|  0.00|  0.00|  0.00| 100.2
         0|   0|  32|  0.00|  0.00|  0.00| 100.2
      ...
         0|   8|   8|  0.00|  0.00|  0.00| 99.82
         0|   8|  40|  0.00|  0.00|  0.00| 99.81
         0|   9|  24|  0.00|  0.00|  0.00| 100.3
         0|   9|  56|  0.00|  0.00|  0.00| 100.2
         0|  16|   4|  0.00|  0.00|  0.00| 99.75
         0|  16|  36|  0.00|  0.00|  0.00| 99.38
      ...
      Signed-off-by: NThomas Renninger <trenn@suse.de>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c8cfc3c6
  3. 03 3月, 2012 1 次提交
  4. 30 7月, 2011 1 次提交
    • D
      cpupowerutils - cpufrequtils extended with quite some features · 7fe2f639
      Dominik Brodowski 提交于
      CPU power consumption vs performance tuning is no longer
      limited to CPU frequency switching anymore: deep sleep states,
      traditional dynamic frequency scaling and hidden turbo/boost
      frequencies are tied close together and depend on each other.
      The first two exist on different architectures like PPC, Itanium and
      ARM, the latter (so far) only on X86. On X86 the APU (CPU+GPU) will
      only run most efficiently if CPU and GPU has proper power management
      in place.
      
      Users and Developers want to have *one* tool to get an overview what
      their system supports and to monitor and debug CPU power management
      in detail. The tool should compile and work on as many architectures
      as possible.
      
      Once this tool stabilizes a bit, it is intended to replace the
      Intel-specific tools in tools/power/x86
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      7fe2f639