Due to the overhead involved in context switching to a thread or process for any amount of work, systems with small-scope granularity are often inefficient and suffer from low performance.
由于任意工作量的一个线程或进程的上下文切换涉及到的开销较大,小粒度级的系统往往效率低下且遭遇低性能问题。
Modern operating systems generally do an excellent job of process scheduling, which minimizes context switching.
现代操作系统通常在进程调度方面表现得很出色,从而最大程度减少了上下文切换。
Operating systems can generally switch (context switching) faster between threads of the same process than between different process.
操作系统通常可以在相同进程中的不同线程之间更快速地切换(上下文切换),而不是在不同进程之间切换。
应用推荐