全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Real-time scheduling policy, memory locking?

又称: real-time scheduling policy · memory locking

Definition 13.6 Low-Latency Software · 第 13 章 — Linux Tuning

A real-time scheduling policy (SCHED_FIFO or SCHED_RR in Linux) gives a thread a static priority above every ordinary thread: a runnable real-time thread preempts any ordinary one and, under SCHED_FIFO, runs without time slicing until it blocks, yields or is preempted by a higher priority. Memory locking (mlock, mlockall) keeps a process’s pages in physical memory: they are never paged out, and with MCL_FUTURE every page of every later mapping is made present when the mapping is created.

在原文中阅读 →