HackerTube.dev

A Crash Course in Modern Hardware by Cliff Click

Devoxx · 20.7K views · 2016-11-11 · 59:21

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Cliff Click walks through a small performance example on a modern out-of-order CPU. He covers pipelining, ILP, CISC vs RISC, multicore, and why cache misses and the memory subsystem dominate performance.

On Hacker News

Recommended as an accessible refresher on how modern hardware and caches affect software performance.

Recommended by 3 HN people across 3 months · HN mentions 2017–2025

Topics

Search by tags

What people said

NovaX · 2025-03 · Recommendation

This was a good attempt but flawed. 1. You should use JMH to handle warmup, jit, timings, averaging of runs, etc. You might enjoy the following talks on the subject, though I am sure there are other gems out there. - Performance Anxiety: [LINK] - Benchmarking for Good: [LINK] - (The Art of) (Java) Benchmarking: [LINK] - A Crash Course in Modern Hardware: [VIDEO] - How NOT to Write a Microbenchmark [LINK] - Anatomy of a flawed microbenchmark [LINK] 2. An uncontended lock is basically free, as you noticed. 3. Guava does implement the Map interface via asMap(). It also have a concurrencyLevel to adjust its performance. It is based on Java 5's CHM. 4. Caffeine is a Guava Cache rewrite based on Java 8's CHM rewrite, plus many learnings. You might look at its benchmarks for ideas: [LINK] 5. Data structures are surprisingly tricky. For example see this analysis showing an accidental misunderstanding degrading an LRU to O(n) eviction. [LINK] 6. It is important to remember that the goal of a benchmark is never which is faster or by how much. It is to ask (a) is it fast enough? (b) might I reach a point where it will not be? and (c) does it degrade unexpectedly? == This is to say the winner is of little interest, once all the choices are good enough then it is about usability, features, documentation, friendliness, and so on.

Read the original HN comment ↗
tjalfi · 2021-06 · Recommendation

I'm also a fan of Cliff and other Rice alumni; here are a few of his videos that I like. [0] The Sea of Nodes and the HotSpot JIT [1] A JVM Does That? [2] A Crash Course in Modern Hardware [3] Bits of Advice for the VM Writer [0] [LINK] [1] [LINK] [2] [VIDEO] [3] [LINK]

Read the original HN comment ↗
zellyn · 2017-03 · Recommendation

Coincidentally, I just watched this last night: it's a really accessible refresher if you're a bit outdated on how all these caches work and interact: [VIDEO]

Read the original HN comment ↗

Sources

Video by Devoxx, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources