some of these optimizations are specific to arch based distros do you own research before adding any of these I take no resposibiblity for what you do to your system.
DXVK-ASYNC: https://github.com/Sporif/dxvk-async
LatencyFlex: https://github.com/ishitatsuyuki/LatencyFleX
CPU Frequency: https://wiki.archlinux.org/title/CPU_frequency_scaling#Make_changes_permanent
Kernel parameters: https://wiki.archlinux.org/title/Gaming#Tweaking_kernel_parameters_for_response_time_consistency
More Kernel Parameters: https://christitus.com/speedup-linux/
Overclock amdgpu: https://github.com/sibradzic/amdgpu-clocks
Chaotic AUR: https://aur.chaotic.cx/