Set CPU an MEM thresholds to 1000ms

This commit is contained in:
Trey Blancher 2023-08-12 16:17:45 -04:00
parent a702bed037
commit 1e02fc7640

View File

@ -9,9 +9,9 @@
#define CPU_TRACKING_WINDOW_SECS 1 #define CPU_TRACKING_WINDOW_SECS 1
#define IO_TRACKING_WINDOW_SECS 1 #define IO_TRACKING_WINDOW_SECS 1
#define MEM_TRACKING_WINDOW_SECS 1 #define MEM_TRACKING_WINDOW_SECS 1
#define CPU_TRIGGER_THRESHOLD_MS 100 #define CPU_TRIGGER_THRESHOLD_MS 1000
#define IO_TRIGGER_THRESHOLD_MS 1000 #define IO_TRIGGER_THRESHOLD_MS 1000
#define MEM_TRIGGER_THRESHOLD_MS 100 #define MEM_TRIGGER_THRESHOLD_MS 1000
#define CPU_PRESSURE_FILE "/proc/pressure/cpu" #define CPU_PRESSURE_FILE "/proc/pressure/cpu"
#define IO_PRESSURE_FILE "/proc/pressure/io" #define IO_PRESSURE_FILE "/proc/pressure/io"
#define MEM_PRESSURE_FILE "/proc/pressure/memory" #define MEM_PRESSURE_FILE "/proc/pressure/memory"