Power Management 스크립트
- Mactopia
- 432
- 0
Mactopia님의 기기정보
CPU : XEON 1230 V2
MAINBOARD : ZOTAC Z77 ITX WIFI
GRAPHIC : AMD RX 570 4096 MB
MEM : 16GB XMP
HDD : SAMUNG SSD 830 256GB
PSU : SliverStone SX600-G
https://github.com/tctien342/smart-cpu
사용방법
- Changing your cpu's value at
config.sh
file - Testing it by using command
bash try.sh
- Hard work for about 30min for checking stable state
- When it stable run
bash install.sh
to make it run at boot - Install
Bitbar
at https://github.com/matryer/bitbar - Select
plugin
as Bitbar's plugin folder or copy all file in plugin to bitbar's plugin folder - To remove, use
bash uninstall.sh
.
참고 : 빗바 사용 방법
Example config.sh
for my 9300H Dell Ins 7590
######### BEGIN OF YOUR CONFIG ######### # All power value should be below your CPU TPD, you can not overclock cpu with this value # Find your value in intel page like this # 9300H: https://www.intel.vn/content/www/vn/vi/products/processors/core/i5-processors/i5-9300h.html
# EXTRA BATTERY PROFILE 0 <EXTRA LOW BATTERY USAGE> EX_BATTERY_LONG="0" # Long period power usage of cpu W EX_BATTERY_SHORT="0" # Short period power usage of cpu W EX_BATTERY_TURBO="1" # Intel turbo on/off <Off> # BATTERY USAGE PROFILE 1 <LOW BATTARY USAGE AND COOL> BATTERY_LONG="0" # Long period power usage of cpu W BATTERY_SHORT="0" # Short period power usage of cpu W BATTERY_TURBO="1" # Intel turbo on/off <Off> # NORMAL USAGE PROFILE 2 <SMOOTHEST AND COOL> NORMAL_LONG="0" NORMAL_SHORT="0" NORMAL_TURBO="1" # PERFORMANCE USAGE PROFILE 3 <PERFORMANCE COOL> PERFORMANCE_LONG="0" PERFORMANCE_SHORT="0" PERFORMANCE_TURBO="1" # EXTRA PERFORMANCE USAGE PROFILE 4 <PERFORMANCE MAX> EX_PERFORMANCE_LONG="0" EX_PERFORMANCE_SHORT="0" EX_PERFORMANCE_TURBO="1" # SETTING AUTO PROFILE ON BATTERY LOW BATTERY_LOW_PERCENT=20 # Setting percent when battery is low BATTERY_LOW_PROFILES=0 # When battery low will setting this profile # SETTING INIT PROFILE BATTERY_PROFILE=1 # On battery will select this profile PLUGIN_PROFILE=3 # On plugin adapter will select this profile # UNDERVOLT # Setting to undervolt CPU -> Colddown (mha) # Config this must carefully, can damage your cpu ( set to 0 if you want to bypass ) CPU_VOLT="0" GPU_VOLT="0" CPU_CACHE_VOLT="0" ######### END OF CONFIG #########