Disable watchdogs timers

This commit is contained in:
Aleksey Samoilov 2023-11-28 19:32:44 +04:00
parent f95faecab6
commit 4f72ab33c1
2 changed files with 22 additions and 0 deletions

View file

@ -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

View file

@ -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