linux-pikaos-template/scripts/config.sh

54 lines
1.6 KiB
Bash
Raw Permalink Normal View History

2024-07-24 04:09:14 +02:00
#!/bin/bash
echo "Pika Kernel - Applying configuration"
2024-07-24 13:00:23 +02:00
cp ../config .config
2024-07-24 04:15:45 +02:00
scripts/config -k -d CONFIG_GENERIC_CPU
scripts/config -k -e CONFIG_GENERIC_CPU3
scripts/config -e CACHY
scripts/config -e SCHED_BORE
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -e HZ_300 --set-val HZ 750
scripts/config -d HZ_PERIODIC -d NO_HZ_IDLE -d CONTEXT_TRACKING_FORCE -e NO_HZ_FULL_NODEF -e NO_HZ_FULL -e NO_HZ -e NO_HZ_COMMON -e CONTEXT_TRACKING
scripts/config -e PREEMPT_BUILD -d PREEMPT_NONE -d PREEMPT_VOLUNTARY -e PREEMPT -e PREEMPT_COUNT -e PREEMPTION -e PREEMPT_DYNAMIC
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \
2024-07-24 04:09:14 +02:00
-e CC_OPTIMIZE_FOR_PERFORMANCE_O3
2024-07-24 04:15:45 +02:00
scripts/config -m TCP_CONG_CUBIC \
2024-07-24 04:09:14 +02:00
-d DEFAULT_CUBIC \
-e TCP_CONG_BBR \
-e DEFAULT_BBR \
--set-str DEFAULT_TCP_CONG bbr
2024-07-24 04:15:45 +02:00
scripts/config -m NET_SCH_FQ_CODEL \
2024-07-24 04:09:14 +02:00
-e NET_SCH_FQ \
-d DEFAULT_FQ_CODEL \
-e DEFAULT_FQ \
--set-str DEFAULT_NET_SCH fq
2024-09-20 23:20:06 +02:00
scripts/config -e SCHED_CLASS_EXT
2024-07-24 04:15:45 +02:00
scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -d TRANSPARENT_HUGEPAGE_MADVISE -e TRANSPARENT_HUGEPAGE_ALWAYS
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -e PER_VMA_LOCK -d PER_VMA_LOCK_STATS
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -e DAMON \
2024-07-24 04:09:14 +02:00
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
2024-07-24 04:15:45 +02:00
scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 19 -e MODULE_COMPRESS_ZSTD_ULTRA --set-val MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 --set-val ZSTD_COMP_VAL 22
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -e EFI_HANDOVER_PROTOCOL
2024-07-24 04:09:14 +02:00
2024-07-24 04:15:45 +02:00
scripts/config -e USER_NS
2024-07-24 04:09:14 +02:00
make prepare