Skip to content

Commit

Permalink
remove power configs from apply_suggested_configs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hamadmarri committed Jul 24, 2021
1 parent c7957ce commit 9407d94
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions scripts/apply_suggested_configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo ./scripts/config --disable CONFIG_EXPERT
# parameter "nohz_full=" in your grup. For example,
# in case your machine has 4 CPUS, "nohz_full=1-3"
# makes all CPUs (except CPU0) adaptive ticks. Without
# "nohz_full=1-3", no benfit of selecting
# "nohz_full=1-3", no benfit of selecting
#
# Hamad Al Marri
#
Expand Down Expand Up @@ -108,16 +108,6 @@ echo ./scripts/config --set-val CONFIG_NR_CPUS $(nproc)
# then disable CONFIG_HYPERVISOR_GUEST
#./scripts/config --disable CONFIG_HYPERVISOR_GUEST

# Power
echo ./scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
./scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE

echo ./scripts/config --enable CONFIG_CPU_FREQ_GOV_PERFORMANCE
./scripts/config --enable CONFIG_CPU_FREQ_GOV_PERFORMANCE

echo ./scripts/config --disable CONFIG_CPU_FREQ_GOV_ONDEMAND
./scripts/config --disable CONFIG_CPU_FREQ_GOV_ONDEMAND

# General architecture-dependent options
echo ./scripts/config --disable CONFIG_KPROBES
./scripts/config --disable CONFIG_KPROBES
Expand Down Expand Up @@ -254,7 +244,7 @@ Note 1:
in case your machine has 4 CPUS, \"nohz_full=1-3\"
makes all CPUs (except CPU0) adaptive ticks. Without
\"nohz_full=1-3\", no benfit of selecting CONFIG_NO_HZ_FULL
Hamad Al Marri
Notes 2:
Expand All @@ -270,7 +260,7 @@ Notes 2:
8 threads, you may use nohz_full=1-3,5-7 to enable adaptive
tickess mode on all physical cores and their sibling threads
except CPU0.
Raymond K. Zhao
Please see the discussions here:
Expand Down

0 comments on commit 9407d94

Please sign in to comment.