The implication seems to be that other architectures are also soon to have SMT disabled by default. That would definitely hurt POWER, for example.
OpenBSD disables Intel's hyperthreading due to security concerns
71–80 of 158 posts
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#72They should make it easier to find the diff behind all openbsd emails. I can’t find this one.
https://cvsweb.openbsd.org/cgi-bin/cvsweb/
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/amd64...
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#73Earlier quoted context omitted.
I don't think the plan is to ever enable this in the comming few years. The current approach with a few tabs is much more memory efficient, which is why they've chosen it.
And it's a mistake. Just recently I noticed that when Firefox loads multiple tabs of the same wordpress site, it starts hanging not unlike Firefox always used to hang. That's likely because it groups all of those same site pages under one process. I've never experienced that with Chrome. This is why I hope Firefox eventually (ASAP) switches to one process per tab, too. I can handle the browser using an extra GB of RA…
http://dev.chromium.org/developers/design-documents/process-...
FWIW I do not have the problem you describe and I don't want Firefox wasting any more of my scarce memory, or for that matter, CPU.
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#74Earlier quoted context omitted.
The contention would actually not be on a per-EU level, but one level higher up. The reservation station has a bunch (~5-8) of ports and typically multiple EUs are connected to one port. Can't use one port for two different things at the same time. Here's a simplified block diagram of a Skylake core: https://en.wikichip.org/wiki/intel/microarchitectures/skylak...
Thanks! Yeah figured I'd be wrong somewhere in there!
Hyperthreading can be a real mixed bag for performance, though generally good and a lot of engineering effort has gone in to making it shine. As ever it's strongly advisable that people benchmark real world conditions on a server, and it's worth giving a shot with hyperthreading turned on and off.
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#75Re: OpenBSD disables Intel's hyperthreading due to security concerns
#76Earlier quoted context omitted.
> The reason is that two threads of the same program will often end up executing similar instruction streams Why is that bad?
Your processor has a certain number of execution units which can actually execute individual instructions, maybe like 4 floating point units, maybe 8 arithmetic ones, and maybe 1 that can do vector processing (these numbers are not real, but are like, good enough for sake of message). So the idea with SMT is that most of the time, lots of the execution units are unused because the thread a) isn't using them at all (e…
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#77Earlier quoted context omitted.
So, you're saying because you think you've discovered one case where there might be a problem, Firefox should completely change their architecture? And you're saying this in a discussion which frequently mentions how extremely varied workloads are?
No, man. He said Firefox should change their architecture, and he gave some kind of example. After the way you seized on the word "typical", I kind of expected you to take words at face value. I didn't see any text to the effect that he thinks his say so is good enough. Also, you're the one frequently mentioning how varied workloads are, and you don't constitute the discussion. I'm going to go drink some cocoa to was…
It just so happens that people complaining about Firefox doing it wrong is a pretty common thing in Firefox threads on HN. And they usually have an example where it's really unclear if it's a problem for more than them or not. But, usually, they have a lot of advice about what the Firefox team should do. Whereas the Firefox team has telemetry data from most of their users.
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#78Earlier quoted context omitted.
In practice it sometimes is the case, though. SMT/hyperthreading is complicated. If you have a workload dominated by non-local DRAM fetches, it's a huge win because when the CPU pipeline is stalled on one thread it can still issue instructions from the other. If you have a workload dominated by L1 cache bandwidth, the opposite is true because the threads compete for the same resource. On balance, on typical workloads…
> workload dominated by non-local DRAM fetches, How often is that a polite way of saying "software that is inefficient"?
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#79Earlier quoted context omitted.
If you won't stop posting snarky one-liners we'll ban the account. https://news.ycombinator.com/newsguidelines.html
This comment finally put the puzzle pieces for why so many people seem to hate this website.
I can't see this flagged post, but the user in question has such quality comments as "hahahaha", "ouch", and "duhhh" -- most users here actually contribute to discussion, where as a few think this is reddit...
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#80Earlier quoted context omitted.
In practice it sometimes is the case, though. SMT/hyperthreading is complicated. If you have a workload dominated by non-local DRAM fetches, it's a huge win because when the CPU pipeline is stalled on one thread it can still issue instructions from the other. If you have a workload dominated by L1 cache bandwidth, the opposite is true because the threads compete for the same resource. On balance, on typical workloads…
> workload dominated by non-local DRAM fetches, How often is that a polite way of saying "software that is inefficient"?
Trees or hashmaps which use non-local DRAM fetches can be more efficient than a brute force linear search through a continguous array given a sufficiently high enough number of elements.
At the same time continguous arrays can be significantly more efficient than linked lists which use non-local DRAM fetches.