Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup options (part 1) #388

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions linux-cachyos-bmq/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -350,24 +338,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -488,15 +458,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
36 changes: 0 additions & 36 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -350,24 +338,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -488,15 +458,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
36 changes: 0 additions & 36 deletions linux-cachyos-deckify/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -351,24 +339,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -489,15 +459,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
36 changes: 0 additions & 36 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -350,24 +338,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -488,15 +458,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
36 changes: 0 additions & 36 deletions linux-cachyos-hardened/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -345,24 +333,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -482,15 +452,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
36 changes: 0 additions & 36 deletions linux-cachyos-lts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
# It seems that in 2023 this is not really a huge regression anymore
: "${_NUMAdisable:=no}"

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
Expand Down Expand Up @@ -343,24 +331,6 @@ prepare() {

echo "Setting tick rate to ${_HZ_ticks}Hz..."

### Disable NUMA
if [ "$_NUMAdisable" = "yes" ]; then
echo "Disabling NUMA from kernel config..."
scripts/config -d NUMA \
-d AMD_NUMA \
-d X86_64_ACPI_NUMA \
-d NODES_SPAN_OTHER_NODES \
-d NUMA_EMU \
-d USE_PERCPU_NUMA_NODE_ID \
-d ACPI_NUMA \
-d ARCH_SUPPORTS_NUMA_BALANCING \
-d NODES_SHIFT \
-u NODES_SHIFT \
-d NEED_MULTIPLE_NODES \
-d NUMA_BALANCING \
-d NUMA_BALANCING_DEFAULT_ENABLED
fi

### Select performance governor
if [ "$_per_gov" = "yes" ]; then
echo "Setting performance governor..."
Expand Down Expand Up @@ -480,15 +450,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
Loading
Loading