this post was submitted on 25 Jul 2024
61 points (94.2% liked)

Technology

59223 readers
3383 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 3 months ago (1 children)

Super informative and well-written. I thought I was interested to learn about how multithreadinging works but I am falling asleep trying to get through this article; that's on me though! ๐Ÿ˜…

[โ€“] [email protected] 4 points 3 months ago

The way shorter, simpler version is that there are a bunch of distinct parts of the CPU, and a single thread generally isn't structured in a way that can use all of those parts at once. By having two threads "at once", you can fill in the gaps where parts aren't used more efficiently.

This is also why the value of SMT varies based on workloads. Some code just isn't structured in a way that adding the extra thread helps.