Hacker News new | ask | show | jobs
by sapiogram 742 days ago
> there is hardly a reason to keep hyperthreading around.

Performance is still a reason. Anecdote: I have a pet project that involves searching for chess puzzles, and hyperthreading improves throughput 22%. Not massive, but definitely not nothing.

2 comments

You mean 4 cores 8 threads give 22% more throughput than 8 cores 8 threads or 4 cores 4 threads?
Remember core to core coordination takes longer than between threads of the same core.
4c/8t gives more throughput than 4c/4t.
There are definitely workloads where turning off SMT improves performance.

SMT is a crutch. If your frontend is advanced enough to take advantage of the majority of your execution ports, SMT adds no value. SMT only adds value when your frontend can't use your execution ports, but at that point, maybe you're better off with two more simple cores anyway.

With Intel having small e-cores, it starts to become cheaper to add a couple e-cores that guarantee improvement than to make the p-core larger.

My experience with high performance computing is that the shared execution units and smaller caches are worse than dedicated cores.
As always, the answer is “it depends”. If you are getting too many cache misses, and are memory bound, adding more threads will not help you much. If you have idling processor backends, with FP integer or memory units sitting there doing nothing, adding more threads might extract more performance from the part.