Tagged articles
1 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Mar 23, 2025 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Context Switching in Multithreaded Systems

This article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various context‑switching mechanisms—including preemptive and cooperative scheduling—to manage threads efficiently, and offers practical tips for reducing switching overhead and optimizing thread counts.

CPU time sliceHyper-threadingcontext switching
0 likes · 10 min read
Understanding Time Slices, Hyper‑Threading, and Context Switching in Multithreaded Systems