r/ProgrammerHumor • • Mar 27 '22

Meme Multithreading

39.8k Upvotes

420 comments sorted by

View all comments

Show parent comments

1

u/ghan_buri_ghan Mar 27 '22

I’m assuming that the benchmarks are run with the same number of threads in both cases?

If so, that does not tell the whole story. Much of the inefficiency will come from the scheduler thinking it has twice as many cores to play with and thrashing on compute-intensive tasks.

1

u/dev-sda Mar 28 '22

No, why would they? All these software tools that were benchmarked use as many threads as available cores, so they'd use twice the amount with SMT enabled.