]> arthur.ath.cx Git - netdata.git/commitdiff
proper defaults for process scheduling policies rr and batch
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 3 Feb 2017 23:17:36 +0000 (01:17 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 3 Feb 2017 23:17:36 +0000 (01:17 +0200)
src/daemon.c

index dd53df979f8ee06eddffec719bafd365d3696523..0c8fc8c13deaaf13c954ced3e0d1d76c16b0f8f0 100644 (file)
@@ -215,11 +215,11 @@ struct sched_def {
 #endif
 
 #ifdef SCHED_FIFO
-        { "rr", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+        { "fifo", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
 #endif
 
 #ifdef SCHED_BATCH
-        { "rr", SCHED_BATCH, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+        { "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
 #endif
 
         // do not change the scheduling priority