@cryptotaxi247 / netdata-1 / commits / b0eef69b6

proper defaults for process scheduling policies rr and batch

Costa Tsaousis (ktsaou) committed Feb 4, 2017 at 01:17 UTC b0eef69b6349b768876f53ca0a507df16767a7e6
1 file changed +2 -2
src/daemon.c
+2 -2
@@ -215,11 +215,11 @@ struct sched_def {
215 #endif
216
217 #ifdef SCHED_FIFO
218 - { "rr", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
218 + { "fifo", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
219 #endif
220
221 #ifdef SCHED_BATCH
222 - { "rr", SCHED_BATCH, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
222 + { "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
223 #endif
224
225 // do not change the scheduling priority