diff --git a/etc/modprobe.d/blacklist..conf b/etc/modprobe.d/blacklist..conf new file mode 100644 index 0000000..3704059 --- /dev/null +++ b/etc/modprobe.d/blacklist..conf @@ -0,0 +1,5 @@ +# Blacklist the Intel TCO Watchdog/Timer module +blacklist iTCO_wdt + +# Blacklist the AMD SP5100 TCO Watchdog/Timer module (Required for Ryzen cpus) +blacklist sp5100_tco diff --git a/etc/sysctl.d/tileos.conf b/etc/sysctl.d/tileos.conf index d28f5dc..7c720eb 100644 --- a/etc/sysctl.d/tileos.conf +++ b/etc/sysctl.d/tileos.conf @@ -1,3 +1,20 @@ +# 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