...择进程的依据主要有进程的调度策略(policy)、静态优先级(priority)、动态优先级(counter)、以及实时优先级(rt-priority)四个部分。首先,Linux从整体上区分为实时进程和普通进程,二者调度算法不同,实时进程优先于普通进程运行。
基于6个网页-相关网页
max rt priority 指定最大的运行优先级
The main method's logic is moved to a "main" RT thread that has the 8th RT priority.
main方法的逻辑被移到了一个具有第8 RT优先级的“main”RT线程中。
Also, programs that monitor system state or provide system login should run at high RT priority so that the program is allowed to preempt the problematic threads.
另外,监控系统状态或提供系统登录的程序应该以高rt优先级运行,以便程序可以抢占问题线程。
It makes the compilation thread operate at a lower priority than RT tasks and is tuned to avoid generating code with severely nondeterministic performance effects.
使编译线程以低于RT任务的优先级操作,并且作出了调整以避免生成带有严重的不确定性性能影响的代码。
应用推荐