zoukankan      html  css  js  c++  java
  • CPU scaling

    CPU scaling tool kits can be downloaded from
     
    To setup the packages, follow the sequence below to avoid package dependency issues

    dt > lmbench > kernel > stress > hwcert-client >

    To run the tests

    hwcert-backend run --test=cpuscaling
     
    mkdir /root/cpuscale
    mkdir /root/cpuscale/hwcert
     
    cp /usr/share/hwcert/lib/hwcert/*.py /root/cpuscale/hwcert
    cp /usr/share/hwcert//tests/cpuscaling/*.py /root/cpuscale/
     
     
    CPU power state info inquiry
    cpupower -c all frequency-info
     
    References
    Linux动态频率调节系统CPUFreq之一:概述 
     
    Linux动态频率调节系统CPUFreq之二:核心(core)架构与API 
     
    Linux动态频率调节系统CPUFreq之三:governor 
     
     Linux kernel source code for CPU freq control
    drivers/cpufreq/intel_pstate.c
     
    intel_pstate_max_pstate()
    intel_pstate_turbo_pstate()
    intel_pstate_min_pstate()
    intel_pstate_calc_busy()
    intel_pstate_sample()
     
     Intel BIOS Implementation Test Suite
     
     Ways to identify CPUID via windbg
    kd> .formats 306a9
    Evaluate expression:
      Hex:     000306a9
      Decimal: 198313
      Octal:   00000603251
      Binary:  00000000 00000011 00000110 10101001
      Chars:   ....
      Time:    Sat Jan 03 15:05:13 1970
      Float:   low 2.77896e-040 high 0
      Double:  9.79796e-319
     
    stepping ID: 1001
    model: 1010
    family ID: 0110
    processor type: 00
    extended model ID: 0011
    extended family ID: 0000 0000
     
    family 0000 0000 0110, model 0011 1010, stepping 1001
    family 6, model 58, stepping 9
  • 相关阅读:
    稀疏数组
    队列
    链表

    递归
    排序
    查找
    postman设置环境变量
    postman获取全局
    iframe页面刷新问题
  • 原文地址:https://www.cnblogs.com/wadesong/p/4977029.html
Copyright © 2011-2022 走看看