2021-10-13 02:03:21 +00:00
|
|
|
[main]
|
|
|
|
include={{ item.1 }}
|
2023-04-08 17:28:51 +00:00
|
|
|
summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU {{ item.0 }}
|
2021-10-13 02:03:21 +00:00
|
|
|
|
2022-01-30 05:07:22 +00:00
|
|
|
[sysctl]
|
2023-04-08 17:28:51 +00:00
|
|
|
# allow regular users to see the kernel ring buffer
|
|
|
|
kernel.dmesg_restrict=0
|
2022-01-30 05:07:22 +00:00
|
|
|
net.core.default_qdisc=fq
|
2022-05-30 06:50:56 +00:00
|
|
|
# 'bbr2' requires a [modified] supporting kernel - stock Fedora kernels do *not* support it (currently)
|
|
|
|
# eg: 'kernel-xanmode-edge' from COPR 'rmnscnce/kernel-xanmod'
|
|
|
|
net.ipv4.tcp_congestion_control=bbr2
|
2022-01-30 05:07:22 +00:00
|
|
|
net.core.rmem_max=33554432
|
|
|
|
net.core.wmem_max=33554432
|
2023-06-03 22:40:20 +00:00
|
|
|
dev.raid.speed_limit_min=1000000
|
|
|
|
dev.raid.speed_limit_max=6000000
|
|
|
|
# improve THP allocation latency, compact in background
|
|
|
|
vm.compaction_proactiveness=30
|
|
|
|
# make page lock theft slightly more fair
|
|
|
|
vm.page_lock_unfairness=1
|
2022-01-30 05:07:22 +00:00
|
|
|
# allow some games to run (eg: DayZ)
|
|
|
|
vm.max_map_count=1048576
|
2022-06-04 16:38:40 +00:00
|
|
|
|
2022-06-13 02:20:10 +00:00
|
|
|
# reference/execute AMDGPU control script
|
|
|
|
# used because some sysfs interfaces are transactional
|
|
|
|
# cannot be set by a single param in 'tuned'/[sysfs]
|
2022-06-04 16:38:40 +00:00
|
|
|
[gpuclockscript]
|
|
|
|
type=script
|
|
|
|
script=${i:PROFILE_DIR}/amdgpu-clock.sh
|
2023-01-29 04:03:03 +00:00
|
|
|
|
|
|
|
# for SSDs with no RPM, set no IO scheduler
|
|
|
|
[ssdnosched]
|
|
|
|
type=disk
|
|
|
|
devices_udev_regex=(ID_ATA_ROTATION_RATE_RPM=0)
|
2023-04-08 17:28:51 +00:00
|
|
|
# elevator=none
|
|
|
|
elevator=kyber
|
|
|
|
# elevator=mq-deadline
|