So... they "strongly suspect" (but don't know and haven't shown) there may be a Spectre-class bug enabled by current HT implementations and improving their scheduler is hard, so they'll pre-emptively disable HT outright on Intel CPUs now and others in the near future? I'm not an OpenBSD user (and glad for it, if this is anything to go by), but I'm curious - is this really how they operate, or does this decision stand…
> So... they "strongly suspect" (but don't know and haven't shown) there may be a Spectre-class bug enabled by current HT implementations Spectre is about a) leaving side-effects of misspeculation in shared resources, and b) bandwidth contention (between a misspeculated instruction stream and an attacker) to shared resources. It is trivially obvious that HT exacerbates Spectre-class bugs, as the entire raison d'être…
OpenBSD disables Intel's hyperthreading due to security concerns
151–158 of 158 posts
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#152Earlier quoted context omitted.
> So... they "strongly suspect" (but don't know and haven't shown) there may be a Spectre-class bug enabled by current HT implementations Spectre is about a) leaving side-effects of misspeculation in shared resources, and b) bandwidth contention (between a misspeculated instruction stream and an attacker) to shared resources. It is trivially obvious that HT exacerbates Spectre-class bugs, as the entire raison d'être…
How about 17 seconds? https://www.blackhat.com/us-18/briefings/schedule/#tlbleed-w...
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#153Earlier quoted context omitted.
They don't set defaults for the average use case when security is involved. This is the difference between: "Secure by default", turn knobs if you need more speed "Fast by default", turn knobs if you need more security Not that the knobs will be always available for each design decision, but sometimes they are there and you can turn them at your own risk. It probably would be wise to understand the consequences. Some…
> They don't set defaults for the average use case when security is involved. They certainly set the defaults for some usecase, it just happens to be more security-biased than most. They don't ship an OS for an airgapped toaster, so it can't ever literally be "secure by default", it's just a compromise on the tradeoff scale that's more security-oriented than most. It still needs to be usable (for some set of people)…
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#154Earlier quoted context omitted.
I think the only other OpenBSD architecture that supports any SMT chips is sparc64 (like the US T1/T2). Unless an actual vulnerability is found, I don't see other OSes following this lead
An "actual vulnerability" has been found. It's amazing that even after the lazy FPU fiasco, people think OpenBSD did this on a complete whim.
https://www.blackhat.com/us-18/briefings/schedule/#tlbleed-w...
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#155Earlier quoted context omitted.
> They don't set defaults for the average use case when security is involved. They certainly set the defaults for some usecase, it just happens to be more security-biased than most. They don't ship an OS for an airgapped toaster, so it can't ever literally be "secure by default", it's just a compromise on the tradeoff scale that's more security-oriented than most. It still needs to be usable (for some set of people)…
You seem to imply that security will always result in less speed or less usability, and that is not always the case. The thing with OpenBSD is that security will always come first between the three values when they clash, but they don't always clash. And yes, it is the most secure OS out there if you are to judge by the statistics over its history. I'd say that only two remote holes in so many years pretty much grant…
Certainly not always, but often enough and more so than usual with Spectre and Meltdown.
> As an example of simplicity, I am not personally aware of any install that is so simple as theirs. Except maybe ubuntu's, but then with ubuntu you end up with a mess of interdependent packages and it will be a hell to uninstall shit you don't need.
That's an interesting point. How does it compare in terms of simplicity to the other BSDs (FreeBSD and Dragonfly) or something like Arch Linux?
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#156Earlier quoted context omitted.
You could just buy i5 based machines instead which don't have hyperthreading.
From what I have seen, I think many dual-core i5 CPUs for notebooks support hyperthreading.
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#157Earlier quoted context omitted.
You seem to imply that security will always result in less speed or less usability, and that is not always the case. The thing with OpenBSD is that security will always come first between the three values when they clash, but they don't always clash. And yes, it is the most secure OS out there if you are to judge by the statistics over its history. I'd say that only two remote holes in so many years pretty much grant…
> You seem to imply that security will always result in less speed or less usability, and that is not always the case. Certainly not always, but often enough and more so than usual with Spectre and Meltdown. > As an example of simplicity, I am not personally aware of any install that is so simple as theirs. Except maybe ubuntu's, but then with ubuntu you end up with a mess of interdependent packages and it will be a…
I'm not familiar with FreeBSD and DragonFly, but I have used NetBSD in the past and a bit of Arch Linux. The system management is way more consistent in OpenBSD, things generally work and are more reliable. The package management system is a pleasure to work with, and when you want to remove unused packages or dependencies of previously installed packages, it's simple and consistent. It actually works. When you are configuring something, most of the time there is one single way to do it, and it's well documented. And the simplicity can't really be compared to Arch Linux. Fire up a vm and install OpenBSD to it, just for the experience. It's mostly just accepting the defaults, extremely simple.
Re: OpenBSD disables Intel's hyperthreading due to security concerns
#158Earlier quoted context omitted.
> You seem to imply that security will always result in less speed or less usability, and that is not always the case. Certainly not always, but often enough and more so than usual with Spectre and Meltdown. > As an example of simplicity, I am not personally aware of any install that is so simple as theirs. Except maybe ubuntu's, but then with ubuntu you end up with a mess of interdependent packages and it will be a…
> That's an interesting point. How does it compare in terms of simplicity to the other BSDs (FreeBSD and Dragonfly) or something like Arch Linux? I'm not familiar with FreeBSD and DragonFly, but I have used NetBSD in the past and a bit of Arch Linux. The system management is way more consistent in OpenBSD, things generally work and are more reliable. The package management system is a pleasure to work with, and when…