Tagged articles

Linux scheduling

8 articles · Page 1 of 1

How CPU Affinity Boosts Low‑Latency in High‑Frequency Trading

The article explains why the Linux scheduler’s thread migration hurts deterministic low‑latency trading, outlines three reasons to bind threads to specific cores, demonstrates how to use taskset and Rust’s core_affinity crate for binding, and shows how to verify the binding with htop and command‑line tools.

CPU affinityLinux schedulingRust
0 likes · 13 min read
How CPU Affinity Boosts Low‑Latency in High‑Frequency Trading
Ops Community
Ops Community
Feb 13, 2026 · Operations

Mastering Crontab: From Basics to Production‑Ready Scheduling

This comprehensive guide walks you through crontab fundamentals, common pitfalls, advanced configurations like systemd timers and flock locks, performance tuning, security hardening, troubleshooting, monitoring, backup strategies, and best‑practice recommendations for reliable Linux scheduled tasks in production environments.

Linux schedulingcron best practicescrontab
0 likes · 53 min read
Mastering Crontab: From Basics to Production‑Ready Scheduling
Deepin Linux
Deepin Linux
Oct 17, 2025 · Fundamentals

How Linux Kernel Preemption Keeps Your System Responsive – A Deep Dive

This article explains why Linux’s kernel preemption mechanism is essential for allocating CPU resources efficiently, compares kernel and user preemption, details the TIF_NEED_RESCHED flag and preempt_count counter, and shows practical C code and real‑world case studies that illustrate how high‑priority tasks can pre‑empt low‑priority work without causing priority inversion.

Linux schedulingPriority InversionTIF_NEED_RESCHED
0 likes · 41 min read
How Linux Kernel Preemption Keeps Your System Responsive – A Deep Dive
Deepin Linux
Deepin Linux
Mar 5, 2025 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded systems positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA concepts, synchronization primitives, priority inversion solutions, debugging techniques, and software design considerations.

DMALinux schedulingSPI
0 likes · 21 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging
Open Source Linux
Open Source Linux
Jun 26, 2024 · Fundamentals

Mastering Linux Process Management: From Viewing to Scheduling

This guide explains Linux process fundamentals, how to view and trace process hierarchies with ps and pstree, terminate processes using kill, and schedule one-time or recurring tasks via at and crontab, providing command syntax, options, and practical examples.

Linux schedulingProcess Managementat
0 likes · 5 min read
Mastering Linux Process Management: From Viewing to Scheduling
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Operations

Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations

This article explains Linux's sophisticated scheduling system for multi‑core, SMP, and NUMA architectures, describes global, clustered, partitioned, and arbitrary schedulers, details scheduling domains and load‑balancing mechanisms, and provides practical performance‑tuning techniques using tools like perf, flame graphs, and various kernel optimizations.

BFSCFSCPU Optimization
0 likes · 31 min read
Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations
Liangxu Linux
Liangxu Linux
Dec 24, 2020 · Fundamentals

Why CPU Cache Matters: From Memory Access to False Sharing and Linux Scheduling

This article explains CPU architecture, cache hierarchy, the concept of cache lines, how false sharing degrades performance, mitigation techniques like cache‑line alignment, and the Linux scheduler's task prioritisation, virtual runtime, and run‑queue mechanisms for fair and real‑time execution.

CFSCPULinux scheduling
0 likes · 19 min read
Why CPU Cache Matters: From Memory Access to False Sharing and Linux Scheduling
Tencent Cloud Developer
Tencent Cloud Developer
Oct 8, 2019 · Cloud Native

TLinux Team's Mixed Deployment Scheme for Improving Whole-Machine CPU Utilization

Tencent’s TLinux team introduced a kernel‑level mixed‑deployment framework that adds an offline scheduling class and load‑balancing algorithm, enabling online tasks to instantly pre‑empt offline work and boosting whole‑machine CPU utilization to as high as 90% while preserving latency‑sensitive service performance.

Linux schedulingcgroupcpu-utilization
0 likes · 13 min read
TLinux Team's Mixed Deployment Scheme for Improving Whole-Machine CPU Utilization