Skip to main content

Posts

Featured

An Experiment: Java Multi-Threading on Heavy CPU Bound workload

Java Multithreading — A Field Study Java Multithreading A Field Study: Thread Pools, Cache Hierarchies, and Memory Bottlenecks What textbooks describe but systems make you feel 1. Introduction Sometimes you revisit something you thought you understood — and discover you only understood it academically. This document is a record of one such weekend: matrix chain multiplication as a CPU-heavy workload, a fixed-size thread pool, and a series of experiments that produced results far more interesting than expected. The intention was simple: compare sequential execution to a parallel thread pool, observe the speedup, and confirm the textbook. What actually happened was a journey through deadlocks, memory bus saturation, cache eviction cascades, and a lesson about the gap between the spec sheet and the real machine. ...

Latest Posts