<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb" -->

---
title: Adding CPU affinity in a 24-core build machine made...
description: A Mastodon thread debates whether RISC-V offers real advantages beyond undercutting Arm on cost, then veers into a technical discussion of counterintuitive CPU...
canonical: https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Adding CPU affinity in a 24-core build machine made builds take longer | daily.dev
og:description: A Mastodon thread debates whether RISC-V offers real advantages beyond undercutting Arm on cost, then veers into a technical discussion of counterintuitive CPU...
og:url: https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb
og:image: https://api.daily.dev/og/posts/X3ecwNSsb.png
og:image:alt: Adding CPU affinity in a 24-core build machine made builds take longer
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding CPU affinity in a 24-core build machine made builds take longer

**[Lobsters](https://daily.dev/sources/lobsters)** · 3 min read · 0 upvotes · 0 comments

## Summary

A Mastodon thread debates whether RISC-V offers real advantages beyond undercutting Arm on cost, then veers into a technical discussion of counterintuitive CPU thermal behavior. Participants share real-world observations: CPU affinity work on a 24-core FreeBSD build machine actually slowed builds down because pinning jobs to cores caused localized heating and earlier thermal throttling, while random job shuffling spread heat more evenly and delayed throttling. Similar effects are noted on M2 Max laptops and edge devices running noise-suppression models, where heavier compute loads sometimes reduced processing time by pushing CPUs into higher-performance thermal states.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://infosec.exchange/@david_chisnall/117156204452541109>

## Questions this post answers

### Why did adding CPU affinity make my multi-core build slower instead of faster?

Pinning build jobs to specific cores can cause localized heating that triggers thermal throttling sooner, since hot loops concentrate heat in particular parts of a core or cluster. On a 24-core FreeBSD build machine, removing rigid affinity and letting jobs migrate semi-randomly between cores spread heat more evenly, delayed throttling, and let cores idle briefly in turn, improving cooling and overall build speed.

_Anyone tuning core affinity for build performance can find real-world tradeoffs like this discussed on daily.dev._

## Similar posts on daily.dev

- [A Third World Embedded Engineer Responds to "RISC-V: They Should Have Known Better"](https://daily.dev/posts/a-third-world-embedded-engineer-responds-to-risc-v-they-should-have-known-better--1bh7jvqtz) · Lobsters · 2 upvotes · 0 comments
- [To study how chips really work, MIT researchers built their own operating system](https://daily.dev/posts/to-study-how-chips-really-work-mit-researchers-built-their-own-operating-system-pggnrpyef) · MIT News · 0 upvotes · 0 comments
- [RISC-V is sloooow – Marcin Juszkiewicz](https://daily.dev/posts/risc-v-is-sloooow-marcin-juszkiewicz-f19ouew8p) · Hacker News · 1 upvotes · 0 comments
- [Security Researchers Find Current RISC-V CPU Implementations Coming Up Short](https://daily.dev/posts/security-researchers-find-current-risc-v-cpu-implementations-coming-up-short-bwsyclpzr) · Phoronix · 0 upvotes · 0 comments
- [I've been building x86 PCs for more than a decade, but I'm not sure my next computer will be one](https://daily.dev/posts/i-ve-been-building-x86-pcs-for-more-than-a-decade-but-i-m-not-sure-my-next-computer-will-be-one-sbbttaex6) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#performance](https://daily.dev/tags/performance), [#architecture](https://daily.dev/tags/architecture)

[View this post on daily.dev](https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Adding CPU affinity in a 24-core build machine made builds take longer","url":"https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb"},"datePublished":"2026-08-25T19:31:14.798Z","dateModified":"2026-08-25T20:22:44.589Z","description":"A Mastodon thread debates whether RISC-V offers real advantages beyond undercutting Arm on cost, then veers into a technical discussion of counterintuitive CPU...","image":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","thumbnailUrl":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,performance,architecture","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Adding CPU affinity in a 24-core build machine made builds take longer"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/adding-cpu-affinity-in-a-24-core-build-machine-made-builds-take-longer-x3ecwnssb#faq","mainEntity":[{"@type":"Question","name":"Why did adding CPU affinity make my multi-core build slower instead of faster?","acceptedAnswer":{"@type":"Answer","text":"Pinning build jobs to specific cores can cause localized heating that triggers thermal throttling sooner, since hot loops concentrate heat in particular parts of a core or cluster. On a 24-core FreeBSD build machine, removing rigid affinity and letting jobs migrate semi-randomly between cores spread heat more evenly, delayed throttling, and let cores idle briefly in turn, improving cooling and overall build speed. Anyone tuning core affinity for build performance can find real-world tradeoffs like this discussed on daily.dev."}}]}
```

