tileos-system-adjustments/etc/sysctl.d/tileos.conf

20 lines
1.2 KiB
Text

# Set the maximum watches on files
fs.inotify.max_user_watches = 600000
For efficiency run-time is transferred between the global pool and CPU local
"silos" in a batch fashion. This greatly reduces global accounting pressure
on large systems. The amount transferred each time such an update is required
is described as the "slice".
Larger slice values will reduce transfer overheads, while smaller values allow
for more fine-grained consumption.
kernel.sched_cfs_bandwidth_slice_us = 3000
# This file contains the maximum number of memory map areas a process may have. Memory map areas are used as a side-effect of calling malloc, directly by mmap, mprotect, and madvise, and also when loading shared libraries.
# While most applications need less than a thousand maps, certain programs, particularly malloc debuggers, may consume lots of them, e.g., up to one or two maps per allocation.
# The default value is 65536
# Value is higher set to fix games like DayZ, Hogwarts Legacy, Counter Strike 2
vm.max_map_count = 2147483642
# This action will speed up your boot and shutdown, because one less module is loaded. Additionally disabling watchdog timers increases performance and lowers power consumption
# Disable NMI watchdog
kernel.nmi_watchdog = 0