Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #7898

A

Andi Kleen

Personal blog · halobates.de/blogsystemsprogramminghardware

Andi Kleen's personal blog at halobates.de covers systems, programming and hardware. Since 2012, 10 different Hacker News readers have linked it 10 times, most often “Mental models for modern program tuning [pdf]”. It is still writing: the last post was on 2026-09-19, and you can follow it by feed.

Visit the blog
10mentions?
10HN people?
2012–2025first – last linked?
Links on Hacker News per year · peak 4 in 2016

Too few sampled comments (5) to say how often HN recommends it.?

Why HN links it

HN commenters link Andi Kleen's blog posts on ECC memory error patterns in access logs, batching locks in concurrency, and lock elision in Linux. The links are cited as sources, without judging the writing.

Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. Mental models for modern program tuning [pdf]
    2 people · 2 mentions · first linked 2016-06-06
  2. Literature survey for practical TSX lock elision applications
    2 people · 2 mentions · first linked 2016-05-30
  3. The weekend error anomaly
    2 people · 2 mentions · first linked 2012-04-21

What Hacker News says?

  1. I maintain a tool that reports errors on Linux systems with ECC memory, and also a website describing the tool ( http://mcelog.org ). I wrote about patterns in the access logs correlated to time some time ago in my blog: http://halobates.de/blog/p/181

    Comment linking /blog/p/181

    on “For a brief period, the Windows kernel tried to deal with gamma rays”
  2. Submitted Quitting an Intel x86 Hypervisor as a story · 121 points

    HN discussion
  3. Both static and dynamic histograms can be pretty important, actually. Dynamic ones for performance, static ones -- usually for correctness (imagine developing a tool just like QEMU, which needs to emulate each instruction type). Performance counters by themselves aren't granular enough for an exact histogram. But you can use them (especially the LBR[1] and the fancy new PT[2]) to reconstruct an approximate control-f…

    Comment linking /pt-tracing-summit15.pdf

    on “Does a compiler use all x86 instructions? (2010)”
  4. Submitted Mental models for modern program tuning [pdf] as a story · 3 points

    HN discussion
  5. >essentially no cost unless the lock is contested. Atomics are not free. And fetching a cache line can be very expensive, even without contention. However lock less algorithms are often worse because they have even more atomics and even more cache line transfers. And they're really hard to get right. (iirc there was a statistic somewhere about the average number of corrections in lock less papers -- it wasn't pretty…

    Comment linking /applicative-mental-models.pdf

    on “An Introduction to Lockless Algorithms”
  6. Submitted Literature survey for practical TSX lock elision applications as a story · 3 points

    HN discussion
  7. Intel employees added it to glibc. I think Intel wanted to show everyone "don't be scared, silly, you're already using it!" https://lwn.net/Articles/534761/ http://halobates.de/adding-lock-elision-to-linux.pdf

    Comment linking /adding-lock-elision-to-linux.pdf

    on “Intel to disable TSX by default on more CPUs with new microcode”
  8. Submitted The weekend error anomaly as a story · 2 points

    HN discussion
  9. Original quote from the author: «batch your locks. Don’t make critical sections too small. Having the smallest locks is not cool anymore.» http://halobates.de/blog/p/231 In the whitepaper: «The longer lock region has potentially longer block times, but minimizes the communication overhead of transferring the lock too frequently. This is a simple case with only two threads. With more cores in each socket, the queuein…

    Comment linking /blog/p/231

    on “Concurrency: "having the smallest locks is not cool anymore"”
  10. Submitted Literature survey for practical TSX lock elision applications as a story · 1 points

    HN discussion

Search all of HN for halobates.de

Linked by the same people?