2015年9月13日 星期日

To change job scheduling policy in Linux.

To change job scheduling policy (job scheduler) in Linux, we can use "chrt" to achieve our goal.

Scheduling policies: 
-b | --batch set policy to SCHED_BATCH
-f | --fifo set policy to SCHED_FIFO
-i | --idle set policy to SCHED_IDLE
-o | --other set policy to SCHED_OTHER
-r | --rr set policy to SCHED_RR (default)

沒有留言:

張貼留言