Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 8 days ago

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

infosec.exchange

external-link
message-square
0
link
fedilink
2
external-link

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

infosec.exchange

RSS BotMB to Lobste.rsEnglish · 8 days ago
message-square
0
link
fedilink
David Chisnall (*Now with 50% more sarcasm!*) (@david_chisnall@infosec.exchange)
infosec.exchange
external-link
@halcy@icosahedron.website @whitequark@treehouse.systems @hayley@social.applied-langua.ge @casandro@f-ckendehoelle.de We also hit something like this with CPU affinity work in FreeBSD. Adding CPU affinity in a 24-core build machine made builds take longer. It turned out that, on modern systems, snopping a peer's L1 cache is *really* fast, so the cost of a process migrating between cores was very low. But each job was sitting in hot loops that heated up specific bits of the cores. Thermal throttling kicked in for the core (or core cluster) triggered by the hottest bit. Semi-random shuffling of jobs around heated the chip more evenly and made the thermal throttling kick in later. This was even more noticeable in the less parallisable parts of the workload because it also meant making each core idle in turn for a bit, which uniformly improved cooling.

Comments

alert-triangle
You must log in or # to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 95 users / week
  • 415 users / month
  • 1.67K users / 6 months
  • 2 local subscribers
  • 397 subscribers
  • 15.8K Posts
  • 1.1K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org