INtime SDK Help
Configure core frequency scaling using HWP and Turbo mode (hwp.exe)
INtime SDK v7.2 > INtime Utilities > Configure core frequency scaling using HWP and Turbo mode (hwp.exe)

This utility is used to help configure the platform for Frequency Scaling using the HWP and Turbo Mode features of the CPU. The configuration will be done for both Windows cores and INtime nodes. In most cases it is sufficient to keep default HWP configuration for the Windows nodes.

However, E-cores are grouped by a module of 4 E-cores that share the same HWP configuration. They can be configured individually, but the highest request wins. In case Windows cores and INtime nodes are running on the same module of E-Cores, it is required to provide HWP configuration for those Windows cores as well.

Command line

hwp [-v] [-help | -status | -show | -enable | -disable | -default | -base | -set value[/evalue] | -node NodeName | -thread [all|p|e|numeric]]

Available options

-v
enables verbose output
-help
displays this help message
-status
shows the current platform configuration
-show
shows the current HWP configuration
-enable
attempts to set the correct platform configuration
-disable
disables HWP configuration
-default 
sets a default HWP configuration,
guaranteed performance value will be set
-base
sets HWP configuration to use base frequency
-set
set a custom performance/frequency scaling
value[/evalue], where
value - is hex value for p-cores/generic
evalue - is hex value for e-cores/optional
-node
intime nodeName, where
nodeName - is NodeA | NodeB...
-thread
windows coreId, where coreId can be:
all - all windows cores
p - all windows p-cores
e - all windows e-cores
numeric - specific windows cores number

Note: use -show to get IA32_HWP_CAPABILITIES for performance

Comments

This utility is used to enable Core Frequency Scaling on the INtime platform on Intel CPUs. This uses architecture features Speed Shift Technology and Turbo Mode to fix the INtime node core frequency but at a higher frequency than the base frequency. It also allows Windows to use Turbo Mode to optimize its performance.

Examples:

  1. enable freq scaling for NodeA:
    hwp.exe -node NodeA -enable
  2. use base freq scaling:
    hwp.exe -disable
  3. set frequency scaling factor 0x12 for windows core number 5 (zero based, use -show to check):
    hwp.exe -thread 5 -set 12
  4. set frequency scaling factor 0x13 for all windows cores:
    hwp.exe -thread all -set 13
  5. set frequency scaling factor 0x14 for all windows e-cores:
    hwp.exe -thread e -set 15
  6. set frequency scaling factor 0x16 for all windows p-cores:
    hwp.exe -thread p -set 16
  7. unset frequency scaling factor and switch to base frequency for NodeB:
    hwp.exe -node NodeB -base
  8. display hwp configuration:
    hwp.exe -show