mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-04-05 09:07:52 +02:00
etc: note Arch wiki gaming so I remember them in the future on Steam Deck
This commit is contained in:
parent
7169fbacb1
commit
0accf880d6
2
etc/sysctl.d/80-gamecompatibility.conf
Normal file
2
etc/sysctl.d/80-gamecompatibility.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# wiki.archlinux.org/title/Gaming#Increase_vm.max_map_count
|
||||
vm.max_map_count = 2147483642
|
||||
2
etc/tmpfiles.d/.gitignore
vendored
Normal file
2
etc/tmpfiles.d/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Generated by a script containing UIDs, so not useful here.
|
||||
btrfs-enable-dynamic-periodic-reclaim.conf
|
||||
20
etc/tmpfiles.d/consistent-response-time-for-gaming.conf
Normal file
20
etc/tmpfiles.d/consistent-response-time-for-gaming.conf
Normal file
@ -0,0 +1,20 @@
|
||||
# https://wiki.archlinux.org/title/Gaming#Make_the_changes_permanent
|
||||
# Path Mode UID GID Age Argument
|
||||
w /proc/sys/vm/compaction_proactiveness - - - - 0
|
||||
w /proc/sys/vm/watermark_boost_factor - - - - 1
|
||||
w /proc/sys/vm/min_free_kbytes - - - - 1048576
|
||||
w /proc/sys/vm/watermark_scale_factor - - - - 500
|
||||
w /proc/sys/vm/swappiness - - - - 10
|
||||
w /sys/kernel/mm/lru_gen/enabled - - - - 5
|
||||
w /proc/sys/vm/zone_reclaim_mode - - - - 0
|
||||
w /sys/kernel/mm/transparent_hugepage/enabled - - - - madvise
|
||||
w /sys/kernel/mm/transparent_hugepage/shmem_enabled - - - - advise
|
||||
w /sys/kernel/mm/transparent_hugepage/defrag - - - - never
|
||||
w /proc/sys/vm/page_lock_unfairness - - - - 1
|
||||
w /proc/sys/kernel/sched_child_runs_first - - - - 0
|
||||
w /proc/sys/kernel/sched_autogroup_enabled - - - - 1
|
||||
w /proc/sys/kernel/sched_cfs_bandwidth_slice_us - - - - 3000
|
||||
w /sys/kernel/debug/sched/base_slice_ns - - - - 3000000
|
||||
w /sys/kernel/debug/sched/migration_cost_ns - - - - 500000
|
||||
w /sys/kernel/debug/sched/nr_migrate - - - - 8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user