Skip to content

Commit

Permalink
Less interference with default kernel configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Jan 24, 2025
1 parent 7534827 commit fc7a123
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions include/better-lattency.conf
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
# From https://wiki.archlinux.org/title/gaming
# Path Mode UID GID Age Argument
w /proc/sys/vm/compaction_proactiveness - - - - 0
w /proc/sys/vm/swappiness - - - - 180
w /proc/sys/vm/page-cluster - - - - 0
w /proc/sys/vm/watermark_scale_factor - - - - 125
w /proc/sys/vm/watermark_boost_factor - - - - 0
w /sys/kernel/mm/lru_gen/enabled - - - - 5
w /sys/kernel/mm/lru_gen/min_ttl_ms - - - - 1000
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 /sys/kernel/mm/transparent_hugepage/khugepaged/defrag - - - - 0
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/latency_ns - - - - 1000000
w /sys/kernel/debug/sched/migration_cost_ns - - - - 500000
w /sys/kernel/debug/sched/nr_migrate - - - - 8
2 changes: 1 addition & 1 deletion include/swap-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
zswap_enabled=1
zswap_compressor=zstd # lzo lz4 zstd lzo-rle lz4hc
zswap_max_pool_percent=1 # 1-99
zswap_zpool=z3fold # zbud z3fold (note z3fold requires kernel 4.8+)
zswap_zpool=zsmalloc # zbud z3fold (note z3fold requires kernel 4.8+ and deprecated in 6.12, now use zsmalloc)

################################################################################
# ZRam
Expand Down

0 comments on commit fc7a123

Please sign in to comment.