Tagged articles
9 articles
Page 1 of 1
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 24, 2024 · Fundamentals

Linux Kernel Preemption Mechanism: Principles, Implementation, and Performance Analysis

The article examines Linux 6.1’s preemption mechanism, explaining latency sources, the three preemption configurations (none, voluntary, full), the TIF_NEED_RESCHED flag and preempt_count tracking, and how preempt_enable/disable affect real‑time responsiveness, illustrated by a case where RT threads cannot preempt CFS due to disabled preemption in critical driver code.

Linux kernelOperating SystemsPerformance Optimization
0 likes · 21 min read
Linux Kernel Preemption Mechanism: Principles, Implementation, and Performance Analysis
Liangxu Linux
Liangxu Linux
Oct 6, 2023 · Cloud Native

Why Are Kubernetes Pods Evicted? Preemption, Node Pressure & QoS Explained

This article explains why Kubernetes pods get evicted, covering preemptive eviction, node‑pressure eviction, pod scheduling, priority classes, QoS tiers, alternative eviction methods, and how to monitor evictions with Prometheus, providing concrete commands and examples.

PrometheusQoSnode pressure
0 likes · 11 min read
Why Are Kubernetes Pods Evicted? Preemption, Node Pressure & QoS Explained
Network Intelligence Research Center (NIRC)
Network Intelligence Research Center (NIRC)
Jun 27, 2023 · Artificial Intelligence

Microsecond-Scale GPU Preemption Enables Concurrent Real-Time DNN Inference

REEF introduces a reset‑based preemption mechanism and dynamic kernel padding to achieve microsecond‑scale GPU kernel preemption, enabling concurrent real‑time and best‑effort DNN inference with only 2 % added latency for real‑time tasks while boosting overall throughput by up to 7.7×, as demonstrated on the DISB benchmark.

DNN inferenceGPU schedulingREEF
0 likes · 9 min read
Microsecond-Scale GPU Preemption Enables Concurrent Real-Time DNN Inference
Liangxu Linux
Liangxu Linux
Nov 18, 2021 · Fundamentals

Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics

This article explains the technical details of Linux kernel preemption, covering the difference between preemptible and non‑preemptible kernels, the role of the reschedule flag and preempt count, scheduling checkpoints and preempt points, low‑latency handling in non‑preemptible kernels, and the voluntary preemption model.

ARM64CFSKernel
0 likes · 20 min read
Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics
Alibaba Cloud Native
Alibaba Cloud Native
Dec 23, 2019 · Cloud Native

How Kubernetes Schedules Pods: Deep Dive into Scheduling, QoS, and Resources

This article walks through the complete Kubernetes pod scheduling workflow, explains how resource requests, limits, and QoS classes influence placement, covers advanced features such as affinity, taints, resource quotas, and priority‑based preemption, and shows how to configure each mechanism for optimal cluster utilization.

AffinityKubernetesQoS
0 likes · 25 min read
How Kubernetes Schedules Pods: Deep Dive into Scheduling, QoS, and Resources