Linux Time Slice
首先,.config中查看kernel configure中CONFIG_HZ值,比如100
然后,查看include/linux/sched/rt.h或者include/linux/sched.h根据版本不同,文件不同,其中有#define RR_TIMESLICE (100*HZ/1000), 也就是timeslice=10ms
Linux Time Slice
首先,.config中查看kernel configure中CONFIG_HZ值,比如100
然后,查看include/linux/sched/rt.h或者include/linux/sched.h根据版本不同,文件不同,其中有#define RR_TIMESLICE (100*HZ/1000), 也就是timeslice=10ms
转载于:https://www.cnblogs.com/aaronLinux/p/9034850.html