Remix.run Logo
▲ giraffe455 an hour ago

HT was always a hack and it might have had a point in early mono-core or dual-core processors, but today it is not justified as we have plenty of actual cores to spare. We have more cores than the OS or the average program can take advantage of. These hacks only add complexity and security issues now.

▲goalieca an hour ago | parent | next [-]

It was useful for not stalling the pipeline on things like a cache miss. It was more about just doing more work and keeping everything moving. This is complicated though and can slow things down when done wrong which actually leads to timing attacks and things.

▲theandrewbailey 42 minutes ago | parent | prev | next [-]

IBM and Oracle CPUs do the same thing, where it's called symmetrical multi-threading. They take security very seriously, as do their users. Instead of two threads per CPU, they do like, eight. It could be a security through obscurity thing, but I think that if running multiple threads on one CPU core was inherently a security issue, of all people, they would have noticed it by now.

▲bartwe an hour ago | parent | prev [-]

HT has its place, it is a handy way to process more work when waiting on more data for ram but more slots for queries remain on the memory controller. One of the ways that make gpu workloads less sensitive to ram latency.