Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Real-time scheduling policy, memory locking?

Também chamado de: real-time scheduling policy · memory locking

Definition 13.6 Low-Latency Software · Capítulo 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.

Ler no capítulo →