Tag

hyper-threading

0 views collected around this technical thread.

macrozheng
macrozheng
May 16, 2025 · Fundamentals

Why More Threads Can Slow Down Your Java App—and How to Optimize Context Switching

This article explains how CPU time slices, hyper‑threading, and context‑switching affect multithreaded performance, outlines the costs of thread switches, and offers practical strategies such as lock‑free programming, CAS, reducing thread count, and using coroutines to improve efficiency.

CPU schedulingJava Concurrencycontext switching
0 likes · 11 min read
Why More Threads Can Slow Down Your Java App—and How to Optimize Context Switching
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 27, 2025 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Thread Context Switching

The article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various types of context switches to manage multithreaded workloads, discusses the performance costs of switching, and offers practical optimization strategies such as lock‑free programming, appropriate thread counts, and coroutine usage.

CPU schedulingJavaPerformance Optimization
0 likes · 9 min read
Understanding Time Slices, Hyper‑Threading, and Thread Context Switching
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 sliceThread Schedulingcontext switching
0 likes · 10 min read
Understanding Time Slices, Hyper‑Threading, and Context Switching in Multithreaded Systems
Architecture Digest
Architecture Digest
Nov 27, 2024 · Fundamentals

Understanding Thread Context Switching, Time Slices, and Scheduling in Modern CPUs

The article explains how multi‑core CPUs use time slices and hyper‑threading to run multiple threads, describes the mechanics and costs of thread context switching, compares preemptive and cooperative scheduling, and offers practical tips for reducing switching overhead and optimizing thread counts.

CPU schedulingConcurrencyPerformance
0 likes · 10 min read
Understanding Thread Context Switching, Time Slices, and Scheduling in Modern CPUs
Java Architect Essentials
Java Architect Essentials
Apr 14, 2023 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Thread Context Switching

This article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various types of context switching to achieve concurrency, discusses the performance overhead of frequent switches, and offers practical guidelines for optimizing thread count and reducing switching costs.

Thread Schedulingconcurrency optimizationcontext switching
0 likes · 11 min read
Understanding Time Slices, Hyper‑Threading, and Thread Context Switching
Java Architect Essentials
Java Architect Essentials
Nov 4, 2022 · Fundamentals

Understanding CPU Time Slices, Hyper‑Threading, and Thread Context Switching

This article explains CPU time slicing, hyper‑threading, and thread context switching, describing how operating systems schedule multiple tasks, the costs of switches, ways to view them on Linux, and practical techniques to reduce overhead and choose optimal thread counts for different workloads.

CPU schedulingPerformance Optimizationhyper-threading
0 likes · 10 min read
Understanding CPU Time Slices, Hyper‑Threading, and Thread Context Switching
Selected Java Interview Questions
Selected Java Interview Questions
Mar 27, 2022 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Thread Context Switching

The article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various thread scheduling strategies, describes the overhead of context switches, and offers practical optimization techniques to balance thread count and improve concurrency performance.

CPU schedulingConcurrencycontext switching
0 likes · 11 min read
Understanding Time Slices, Hyper‑Threading, and Thread Context Switching
Ops Development Stories
Ops Development Stories
Jul 15, 2021 · Operations

Mastering NUMA and Hyper-Threading: Boost CPU Cache Hits and Reduce Latency

This article explains NUMA architecture with hyper‑threading, details CPU cache hierarchies and access latencies, and provides Linux tools and practical optimization techniques to improve cache‑hit rates and minimize cross‑NUMA memory delays.

CPU cacheNUMAPerformance Tuning
0 likes · 9 min read
Mastering NUMA and Hyper-Threading: Boost CPU Cache Hits and Reduce Latency
Architects' Tech Alliance
Architects' Tech Alliance
Sep 3, 2019 · Fundamentals

Fundamentals of CPU Architecture and Performance

This article explains the fundamentals of CPUs, covering their core functions, internal components, operation stages, key performance metrics such as clock speed, multiplier and external frequency, as well as modern technologies like Turbo Boost, multi‑core, hyper‑threading, and the evolution of CISC and RISC architectures.

CPUMulti-corecomputer fundamentals
0 likes · 11 min read
Fundamentals of CPU Architecture and Performance