28 lines
920 B
Django/Jinja
28 lines
920 B
Django/Jinja
[main]
|
|
include={{ item.1 }}
|
|
summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU pp_power_profile_mode = {{ item.0.value.pwrmode }} ({{ item.0.key }})
|
|
|
|
[sysctl]
|
|
net.core.default_qdisc=fq
|
|
# '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
|
|
net.core.rmem_max=33554432
|
|
net.core.wmem_max=33554432
|
|
dev.raid.speed_limit_min=600000
|
|
dev.raid.speed_limit_max=9000000
|
|
# allow some games to run (eg: DayZ)
|
|
vm.max_map_count=1048576
|
|
|
|
# reference/execute AMDGPU control script
|
|
# used because some sysfs interfaces are transactional
|
|
# cannot be set by a single param in 'tuned'/[sysfs]
|
|
[gpuclockscript]
|
|
type=script
|
|
script=${i:PROFILE_DIR}/amdgpu-clock.sh
|
|
|
|
# for SSDs with no RPM, set no IO scheduler
|
|
[ssdnosched]
|
|
type=disk
|
|
devices_udev_regex=(ID_ATA_ROTATION_RATE_RPM=0)
|
|
elevator=none
|