Slashdot Mirror


OpenBSD Disables Intel CPU Hyper-Threading Due To Security Concerns (bleepingcomputer.com)

The OpenBSD project announced today plans to disable support for Intel CPU hyper-threading due to security concerns regarding the theoretical threat of more "Spectre-class bugs." Bleeping Computer reports: Hyper-threading (HT) is Intel's proprietary implementation of Simultaneous Multithreading (SMT), a technology that allows processors to run parallel operations on different cores of the same multi-core CPU. The feature has been added to all Intel CPUs released since 2002 and has come enabled by default, with Intel citing its performance boost as the main reason for its inclusion.

But today, Mark Kettenis of the OpenBSD project, said the OpenBSD team was removing support for Intel HT because, by design, this technology just opens the door for more timing attacks. Timing attacks are a class of cryptographic attacks through which a third-party observer can deduce the content of encrypted data by recording and analyzing the time taken to execute cryptographic algorithms. The OpenBSD team is now stepping in to provide a new setting to disable HT support because "many modern machines no longer provide the ability to disable hyper-threading in the BIOS setup."

234 comments

  1. Opt-In? by thegarbz · · Score: 4, Insightful

    Given the class of Spectre and Meltdown attacks rely on someone else having the freedom to execute code on your hardware, shouldn't something like this be opt-in? There's a whole world of servers out that where Spectre is ultimately completely irrelevant in terms of a security threat, but hyperthreading is definitely not irrelevant in terms of performance.

    1. Re:Opt-In? by Anonymous Coward · · Score: 5, Insightful

      No, it shouldn't because security should have higher priority over speed. If people want to run their computer in a less secure mode they can do so themselves after making an informed decision and accepting the risks it includes. The default state should be the more secure mode so that it covers everyone.

      +1 to the OpenBSD project for putting security above speed.
      -1 to intel for putting speed above security.

      When you turn off hyperthreading Intel and AMD are much more closer to each other. This is why my next major computer build will be AMD. I will have speed and security.

    2. Re:Opt-In? by Humbubba · · Score: 5, Insightful
      thegarbz says

      Given the class of Spectre and Meltdown attacks rely on someone else having the freedom to execute code on your hardware, shouldn't something like this be opt-in? There's a whole world of servers out that where Spectre is ultimately completely irrelevant in terms of a security threat, but hyperthreading is definitely not irrelevant in terms of performance.

      I can't do any better than quote OpenBSD on this:

      OpenBSD believes in strong security. Our aspiration is to be NUMBER ONE in the industry for security (if we are not already there). Our open software development model permits us to take a more uncompromising view towards increased security than most vendors are able to. We can make changes the vendors would not make.

      https://www.openbsd.org/security.html

    3. Re:Opt-In? by Anonymous Coward · · Score: 2, Insightful

      Read reviews of hyperthreaded performance gain. It's somewhere like 0% or 10%, depending on what you're doing. Not a whole lot. Hyper threading is more like a "silicon trick gone wrong".

    4. Re:Opt-In? by Erik+Hensema · · Score: 5, Funny

      As you can read in their statement, they want to be secure. Being usable is not one of their priorities.

      --

      This is your sig. There are thousands more, but this one is yours.

    5. Re: Opt-In? by Anonymous Coward · · Score: 3, Informative

      They have the best documentation in the NIX world, and arguably the most consistent userland.

      I'm not even a regular user, as OpenBSD doesn't fit my use case, but you're waaaaay off base in claiming they don't put usability as a priority.

      After all, having consistent and clear usability is one of if not the single most important aspect of software security.

    6. Re:Opt-In? by K.+S.+Kyosuke · · Score: 5, Informative

      For AMD's SMT implementation, it's around 30% in heavy workloads. Hell, a Cinebench test by a Czech web site reported a 40% speed boost in Cinebench R15 for an 1800X. On Reddit, a 45% difference was reported for a 1600X.

      --
      Ezekiel 23:20
    7. Re:Opt-In? by K.+S.+Kyosuke · · Score: 1

      However, I forgot to add, for OpenBSD, it may not make that much of a difference - they've never been particularly fast, especially on SMP machines, so perhaps the impact on OpenBSD is disproportionately lower and therefore acceptable? Someone should measure this.

      --
      Ezekiel 23:20
    8. Re: Opt-In? by phantomfive · · Score: 5, Informative

      It's an option, you can change the setting with a syscall. That's not clear from the summary, you have to click through to the actual announcement.

      --
      "First they came for the slanderers and i said nothing."
    9. Re:Opt-In? by Anonymous Coward · · Score: 0

      Or a 30% drop depending on what you are doing.

    10. Re:Opt-In? by arglebargle_xiv · · Score: 5, Funny

      However, I forgot to add, for OpenBSD, it may not make that much of a difference - they've never been particularly fast, especially on SMP machines, so perhaps the impact on OpenBSD is disproportionately lower and therefore acceptable? Someone should measure this.

      Measure? Measure?!!?! MEASURE???!?! Are you fucking nuts? Why would anyone want to actually measure this when we can have a 2,752-message thread based purely on random anecdotes and opinions arguing over whether there's a difference or not.

      (Wanders off muttering "Measure. He wants to measure").

    11. Re:Opt-In? by Tsolias · · Score: 5, Insightful

      My mode points expired yesterday, so you'll have a comment instead.

      Why the fuck would you need an opt-in for a security feature?
      "Your data are set to be stolen by default. To change the settings please refer to the respective manual"
      Why the fuck isn't data mining, spying, advertising(in windows and ubuntu) opt-in, instead everything bad is opt-out
      and now we see people asking for security features to be opt-in.
      If you are concerned about that administrator that has to flip a value to enable the security holes in his system, it's his job, you don't have to think about him.
      You'll have to think about your average joe, who wants to use *BSD or Linux and isn't specializing in infosec or isn't yet familiar with those terms and practices.
      (yes, there are people who aren't programmers, who know how to use bsd and linux)

    12. Re:Opt-In? by Anonymous Coward · · Score: 0

      It depends on a workload. Well optimised code will not benefit because it doesn't induce pipeline stalls. Memory access is also affecting the gain because HT doesn't benefit here, at least not on Intel - AFAIK (not sure if threads can independently access all cache levels either).

      If AMD gains 30-40% as they claim, they must be doing something better architecturally, because Intel's advantage is typically 15-20% (from my experience this is what you get from Xeons with costly algorithms with moderate memory access).

    13. Re:Opt-In? by Anonymous Coward · · Score: 3, Insightful

      Lolz. Yes.

    14. Re:Opt-In? by K.+S.+Kyosuke · · Score: 2

      AMD doesn't "claim" 30-40%, these are Cinebench results by Ryzen users (Cinema 4D core with a preset scene, ergo some FP SSE/AVX code, vector/scalar ratio unknown, spatial tree traversal presumably frequent).

      --
      Ezekiel 23:20
    15. Re:Opt-In? by Anonymous Coward · · Score: 0

      That's it, you're banned from posting on this site due to inclusion
      of a rational metric associated discombobulated with reality. Really,
      we don't measure things on /. and base our facts on pure emotion.

      CAP === 'protean'

    16. Re:Opt-In? by Anonymous Coward · · Score: 1

      In spite of the title of the /. article suggesting the opposite, it is opt in:

      "The OpenBSD team is now stepping in to *provide a new setting to disable* HT support.."

    17. Re: Opt-In? by jd · · Score: 3, Insightful

      Lolz? I can has cheezburger?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    18. Re:Opt-In? by allcoolnameswheretak · · Score: 2

      Why the fuck would you need an opt-in for a security feature?

      Security is always a trade-off. There is no perfect security. You always trade convenience and practicality for a reasonably high degree of security. That's why we have things like passwords instead of everyone requiring to take a blood-sample, have the sample sent to a lab and your DNA analyzed for your identity before letting you access your emails. The blood-sample approach would be more secure than the password, so why not make it default?

      To use a less contrived example: your computer connects to the Internet by default when it starts up, right? Connecting to the internet is a security risk, so by your logic not connecting should be the default and you should always connect manually.

    19. Re:Opt-In? by EETech1 · · Score: 1, Insightful

      Without data, all you have is an opinion.

      I don't care about your opinion.

    20. Re:Opt-In? by BusterB · · Score: 5, Informative

      It's true. OpenBSD does not benefit from hyper-threading, at least on all Intel platforms I have tried. Having it off happens to be a small net-win for performance as well (a few percent on compile tests). This isn't just true for OpenBSD or for every workload either. Your mileage obviously may vary and should be tested.

    21. Re:Opt-In? by Anonymous Coward · · Score: 1, Insightful

      No, it shouldn't because security should have higher priority over speed.

      The highest priority is control. Running OpenBSD with or without hyper-threading should be up to the individual user. An OS that takes away control isn't much of an OS.

    22. Re:Opt-In? by thegarbz · · Score: 0

      No, it shouldn't because security should have higher priority over speed.

      Do you have a gun safe in your house if you don't own a gun? That is your arguement here.

    23. Re:Opt-In? by thegarbz · · Score: 1

      It's somewhere like 0% or 10%, depending on what you're doing. Not a whole lot.

      So what you're saying is that basically all the hype over Spectre is completely overblown and everyone should just run KPTI and stop complaining about 10%?

      Evidentally 10% performance is only important if you can blame Intel, not if you have to blame OpenBSD.

    24. Re: Opt-In? by thegarbz · · Score: 1

      Sigh, I should have known better than to read a Slashdot headline.

    25. Re: Opt-In? by Anonymous Coward · · Score: 1

      Your gun analogy sucks.

      Do you have criminals outside your house or anything valuable inside?

      If not, why are you locking your doors?

    26. Re: Opt-In? by fuzzyfuzzyfungus · · Score: 1

      In a sense it is opt-in: people who are primarily concerned about performance (at least outside of packet filtering) tend not to run OpenBSD.

      I don't know(and would be curious to) how large or small the effort required to make this a toggleable on/off, so it's hard to say if it would even be feasible for the project to maintain both versions(given that scheduler fiddling is involved in getting good HT results, since hyperthreaded cores can't just naively be treated as real additional cores, I'd imagine that dropping support reduces the required effort; but would welcome more detail).
      In general, though, OpenBSD is very much one of those things where the people who go there know what they are getting in to, which is OpenBSD being aggressively willing to err on the side of greater caution or correctness while exhibiting a distaste for binary blobs that differs from Stallman's only in that they are willing to let you use their software in your blob-riddled product; but they certainly aren't going to touch your blobs if it can be avoided.

    27. Re: Opt-In? by Anonymous Coward · · Score: 0

      If you want security at the expense of everything else, then why does your computer have any networking code in it?

    28. Re: Opt-In? by fuzzyfuzzyfungus · · Score: 3, Interesting

      They don't do 'usable' as in 'hand holding'; but, while that imposes a nontrivial learning curve, it has the very refreshing effect of meaning that there is relatively little 'automagic' doing cryptic stuff when you aren't looking in order to try to make things Just Work. If you want something somewhere you will probably have to put it there; but if you put something somewhere it probably won't get moved unexpectedly.

      Atuomagic has its place(the old OpenBSD installer's enthusiasm for not hiding details of disk partitioning was always sort of irksome without obvious benefit; and it has been dropped in newer versions); but (outside of substantially smaller embedded and educational OSes) OpenBSD does atypically well in giving you the ability to know what is going on, not just have a rough mental sketch of where the black boxes and here-be-dragons zones are. Makes it nice to work with after some time beating your head against automagic that isn't working for some reason and is brutally opaque about why.

    29. Re: Opt-In? by Anonymous Coward · · Score: 0

      Just use a NES.

    30. Re: Opt-In? by Anonymous Coward · · Score: 0

      I'm been using a linux kernel compiled with disabled hyperthreading option on a Intel Atom N570 desktop machine. There is no noticeable performance degradation.

    31. Re:Opt-In? by Anonymous Coward · · Score: 0

      It is manual.

    32. Re: Opt-In? by Anonymous Coward · · Score: 0

      AOL! AOL! AOL!

    33. Re: Opt-In? by DrXym · · Score: 4, Insightful

      If we're going to go down this reductionist security-trumps-all argument then OpenBSD should disable networking too. And keyboard and monitor support. In fact it should shut down when it starts, but not before throwing away the disk encryption key and bricking the device. Now it's secure. The point is that security is a trade-off between what the device allows and what the threats actually are. Crippling a computers performance to mitigate a threat that doesn't exist for a user is wrong. At the very least it should be an option that might disabled by default but can be enabled if the users wants it to be.

    34. Re: Opt-In? by Anonymous Coward · · Score: 0

      It doesn't because guns protect.

    35. Re:Opt-In? by AmiMoJo · · Score: 1

      Back in the day we used to manually optimize code by "pipelining" it. We knew how many cycles were available between memory access slots, how many cycles the FPU took to complete it's work, and fit all the logic code in-between those critical points.

      Nowadays SMT just executes two parallel threads so that CPU resources can be as fully utilized as possible without the programmer or compiler having to carefully optimize for one specific model.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    36. Re:Opt-In? by RatPh!nk · · Score: 1

      Would like to see a performance test with feature off and on to quantify, on modern hardware, the speed benefits.

      --
      Argh. The laws of science be a harsh mistress.
    37. Re:Opt-In? by jellomizer · · Score: 2

      You can opt in by using a different OS.

      OpenBSD is the Secure OS, not fast, easy to use, or available to many different types of hardware. It is secure and reliable (as reliability is considered a prerequisite of being secure)

      OpenBSD is the OS that your run your servers which are connected to the internet. It is the Armored truck of the OS world.

      If you need speed, ease of use, flexibility, hardware support, They are other OS's out there Free and Commercial that will do the trick.

      The biggest treat to OpenBSD isn't its limitations, but the silly thought by executives who think having a unified solution will actually make work better. All on the same OS, and platform. On paper seems like it will be easier to support. But still on the same platform, a Developer, a Systems Admin, Network Engineer, Support rep, have very different jobs that are not so much transferable.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    38. Re: Opt-In? by Anonymous Coward · · Score: 0

      Because communication is a human right. Taking a copy of someone else's messages isn't.

    39. Re: Opt-In? by Anonymous Coward · · Score: 0

      In fact it should shut down when it starts

      You're talking about Slashdot now, right? Hook me up.

    40. Re:Opt-In? by jellomizer · · Score: 2

      The real question is what needs to be done.

      The history of computing is a series of insecure systems working to get faster. Why? Because the benefits of speed outweigh the cost of security.
      During this time reasonable security enhancements are put in, to put aside higher cost security risks.

      The 1980s a secure system needed a login and password to login, unneeded ports were closed. Open ports needed a password or didn't do a vital function. And trust your floppies.
      The 1990s a secure system needed protection against buffer overflows, firewalls to prevent outside sources from reaching internal systems.
      The 2000s a secure system needed protection from internal problems, where people would actively download malware, then spread across internal networks.
      The 2010s a secure system needs to be safe from internal attacks where hacks can effect what is going on internally. CPU level, memory viability...

      As the bad guys who try to get in get more advanced, systems in general will need to get more secure, because the cost of getting broke into rises.
      The 1980's system, normally turning off the system, and rebuilding from backups was an appropriate fix, and changing the password. As the people who were given access was trusted to use the computer correctly.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    41. Re:Opt-In? by Anonymous Coward · · Score: 0

      Then why are you on slashdot? This is a festering hole of dog snot, what we used to call tech news and opinion.. ;)

    42. Re: Opt-In? by Anonymous Coward · · Score: 0

      Try really hard this time, and read the entire post.

    43. Re:Opt-In? by jellomizer · · Score: 1, Troll

      I don't get your argument.
      Some gun safes are a work of art, where some people may want them as part of their own home furniture.
      or just having a tall safe where you can keep your other valuables safe.
      My parents are not smokers, but they have antique cigar boxes, which they store sewing supplies.

      We actually use a lot of things outside their normal intended purposes.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    44. Re:Opt-In? by Dog-Cow · · Score: 1

      Without a sense of humor, you're a bore and a horrible person to interact with.

    45. Re:Opt-In? by Anonymous Coward · · Score: 4, Insightful

      Yep, I would like to buy a car with no fender or airbags. You simply can't do that, but you can remove them afterwards.

      OpenBSD is secure by default. This is a step to keeping it that way and it totally correct that HT is off to begin with. They already said it will be a switch you can twiddle yourself, but the default will be HT disabled.

      You can leave your car doors unlocked if you want after you finish the default install and start playing.

    46. Re:Opt-In? by Smidge204 · · Score: 2

      Your argument seems to be based on the premise that, since nobody else will be executing code on your hardware, you don't need the extra security.

      The problem is malware doesn't always run with your permission, or knowledge.

      So your analogy would really be more like; Do you have a password on your system? It would be so much faster to access your server if you didn't have to type in a password every time, and you're the only one with access to it anyway, right? Right?
      =Smidge=

    47. Re: Opt-In? by Anonymous Coward · · Score: 0

      Atuomagic has its place(the old OpenBSD installer's enthusiasm for not hiding details of disk partitioning was always sort of irksome without obvious benefit; and it has been dropped in newer versions)

      Augh. automagic during partitioning is one of the most annoying features of modern OSes. Especially RedHat's "hey, let's rearrange the partition order you specified in the manual partitioning step" and Ubuntu's "GPT partition structure is not a thing you can create, but if it's there, we can use it". It's been so bad for so long that I always use a live CD/USB to partition disks before installing the OS.

    48. Re: Opt-In? by jaa101 · · Score: 4, Insightful

      If we're going to go down this reductionist security-trumps-all argument then OpenBSD should disable networking too.

      There's a fundamental difference between I/O and hyperthreading. Without I/O the computer can do nothing. Without hyperthreading it might be a little slower.

    49. Re: Opt-In? by Anonymous Coward · · Score: 2, Informative

      You should read about OpenBSD's purposes and intentions. They've always been about security, security, security, and anyone going into it should know that.

      I mean, just from the Wikipedia article:

      " As of February 2018, only two remote vulnerabilities have ever been found in the default install, in a period of almost 22 years - a fact prominently displayed on the OpenBSD website."

      "Many of its security features are optional or absent in other operating systems."

      "Its developers frequently audit the source tree for software bugs and security holes. According to OpenBSD expert Michael W. Lucas, OpenBSD "is widely regarded as the most secure operating system available anywhere, under any licensing terms.""

      So, yeah, it makes sense.

    50. Re:Opt-In? by Larry_Dillon · · Score: 1

      A long time ago I read that it's mostly Windows that benefits from hyper threading because it doesn't save states when it does a context switch, making switching tasks much more expensive than on Linux or *BSD.

      --
      Competition Good, Monopoly Bad.
    51. Re: Opt-In? by mSparks43 · · Score: 1

      on slashdot? rtfa? you having a laugh. but this isnt putting speed above security or anything else. its just not supporting a hardware feature. the feature is what it is, and can be disabled whatever they support. -100 openBSD.

    52. Re:Opt-In? by Chrisq · · Score: 1
      By using OpenBSD you have already opted in to using the most secure code possible, even at a performance cost. They say:

      OpenBSD believes in strong security. Our aspiration is to be NUMBER ONE in the industry for security (if we are not already there). Our open software development model permits us to take a more uncompromising view towards increased security than most vendors are able to. We can make changes the vendors would not make. Also, since OpenBSD is exported with cryptography, we are able to take cryptographic approaches towards fixing security problems.

    53. Re: Opt-In? by Anonymous Coward · · Score: 0

      Maybe you should log in to make comments here. I bet your SSN is not taken and you can use it for the name on your new account.

    54. Re: Opt-In? by Bongo · · Score: 2

      If we're going to go down this reductionist security-trumps-all argument then OpenBSD should disable networking too. And keyboard and monitor support. In fact it should shut down when it starts, but not before throwing away the disk encryption key and bricking the device. Now it's secure.

      The point is that security is a trade-off between what the device allows and what the threats actually are. Crippling a computers performance to mitigate a threat that doesn't exist for a user is wrong. At the very least it should be an option that might disabled by default but can be enabled if the users wants it to be.

      I read it as, security trumps speed.

      Whether security trumps everything, is a different matter.

    55. Re: Opt-In? by DontBeAMoran · · Score: 1

      Up, up, down, down, left, right, left, right, B, A, start.

      --
      #DeleteFacebook
    56. Re:Opt-In? by QuietLagoon · · Score: 1
      Worth repeating, with emphasis...

      .
      +1 to the OpenBSD project for putting security above speed.

      -1 to intel for putting speed above security.

    57. Re: Opt-In? by Anonymous Coward · · Score: 0

      Your gun analogy sucks.

      Do you have criminals outside your house or anything valuable inside?

      If not, why are you locking your doors?

      I think you severely misunderstand the Spectre class of vulnerabilities.

      The analogy would be "Do you have criminals inside your house you don't trust?". Because all those vulnerabilities require being able to run malicious code on demand with a high degree of knowledge of what goes on in the computer in the meanwhile. They're very difficult to exploit by outsiders, they apply to multi-user systems where users don't trust each other.

      Granted, the web is close to that. But there's a whole class of computers that aren't multi-user, or where all users trust each other for whatever reason. On those systems, and there are many, any kind of spectre/whatever mitigation is needlessly crippling the system to plug an attack vector that doesn't exist. In many of those systems, performance is a very important, almost key aspect.

      Security is a complex thing that can't trump all, because it doesn't apply equally to all circumstances.

    58. Re: Opt-In? by DrXym · · Score: 1

      "remote" and "default" being the operative terms. Hyperthreading requires local execution and I have no objection to them defaulting to disable HT, providing there is a simple way to enable it. My beef was the GP saying security trumps speed, or that somehow security is a one-size-fits-all that should be applied even when it doesn't fit the threat model.

    59. Re: Opt-In? by MobyDisk · · Score: 1

      He didn't say "security-trumps-all" he said "security above speed." You just pretended he said something, then attacked the thing he didn't say. You have a bright future as a politician!

    60. Re: Opt-In? by pr0fessor · · Score: 1

      The problem isn't that they are disabling something used by all software in fact many applications just aren't designed in a manner that can take full advantage of hyper threading. The reason is that most desktop applications require input you tell it what to do then it does it and waits for your next instruction these thing can't happen in parallel. Server software that supports multiple users on the other hand is very much capable of benefiting from hyper threading on the server.

      Saying that they are crippling a computers performance by allowing you to turn off or on a feature that may or may not be relevant and is off by default because of possible security concerns is insincere.

    61. Re:Opt-In? by gman003 · · Score: 3, Informative

      There are still programmers who optimize at that level - and then go one further, by pipelining in such a way that the core can execute both threads at as close to full speed as possible. Usually this ends when you're processing data as fast as the L1 cache can prefetch it - with SIMD instructions, you can hit 32 bytes/clock/thread (two 16-byte operations in one clock), while the L1 cache on the current-gen processors can read 64 bytes/clock/core.

      This isn't done on every program, or even most programs, and nobody's optimizing their entire codebase to this level, but for stuff like compressors/decompressors, or codecs, yeah, there's still programmers who will optimize all the way down to the metal.

    62. Re:Opt-In? by Anonymous Coward · · Score: 0

      By using OpenBSD you have already opted in to using the most secure code possible, even at a performance cost. They say:

      OpenBSD believes in strong security. Our aspiration is to be NUMBER ONE in the industry for security (if we are not already there). Our open software development model permits us to take a more uncompromising view towards increased security than most vendors are able to. We can make changes the vendors would not make. Also, since OpenBSD is exported with cryptography, we are able to take cryptographic approaches towards fixing security problems.

      where does it say what you said it says?

    63. Re: Opt-In? by Anonymous Coward · · Score: 0

      The last MSI motherboard I had did exactly this. Apologies to the vendor for some words I may have said - I didn't know it was a security feature.

    64. Re:Opt-In? by Anonymous Coward · · Score: 0

      "Security should have higher priority over speed"

      Geezus. Spoken like a true IT dweeb. If you fuckers had your way, we wouldn't be allowed to even use computers, they'd just sit around in unopened boxes inside cages.

    65. Re:Opt-In? by jddimarco · · Score: 5, Insightful

      OpenBSD is adding a control to turn off hyper-threading (because some BIOSes these days don't have such a control), and is turning it off by default on Intel CPUs. But it can be turned on again. So OpenBSD is providing control, not taking it away. Read for yourself. https://undeadly.org/cgi?actio...

    66. Re:Opt-In? by Anonymous Coward · · Score: 0

      When you turn off hyperthreading Intel and AMD are much more closer to each other.

      That's because Intel took security shortcuts in their speculative execution.

    67. Re: Opt-In? by jddimarco · · Score: 1

      It's an option disabled by default that can be enabled if you want it to be enabled. https://undeadly.org/cgi?actio...

    68. Re: Opt-In? by jddimarco · · Score: 1

      HT can't be disabled in all BIOSes apparently. OpenBSD isn't dropping HT support, it's merely turning it off by default on Intel CPUs. https://undeadly.org/cgi?actio...

    69. Re: Opt-In? by chill · · Score: 4, Insightful

      JavaScript in a browser is the ability to run malicious code on demand. If you run a web browser, you use a multi-user computer. Short of something with an air-gap, there aren't any true single-user systems anymore.

      OpenBSD is adding a control to let the system owner mitigate if they decide the risk is not acceptable. You are correct in that security can't trump all and that likelihood is part of the risk equation.

      --
      Learning HOW to think is more important than learning WHAT to think.
    70. Re: Opt-In? by Sloppy · · Score: 2

      The highest value is correctness. The computer should correctly perform the desired operation without side effects.

      Security is always required for correctness (because if a stranger can alter the operation of the computer, they're not likely to be trying to help you).

      Networking will usually be required for correctness. This approaches always-needed when you get ot the kinds of tasks that OpenBSD is used for.

      And a ~20% increase in speed may possibly be required for correctness, but usually isn't.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    71. Re: Opt-In? by Anonymous Coward · · Score: 1

      I want a safe for a safe gun. So a safe gun safe. I want the safe to be safe. Thus I need a safe safe gun safe.

    72. Re:Opt-In? by Anonymous Coward · · Score: 0

      I don't have a password on my phone :)

    73. Re: Opt-In? by Anonymous Coward · · Score: 0

      Don't be daft. Or take this to extremes.
      Especially, when "to mitigate a threat that doesn't exist for a user..." remains to be seen at this point. Think it will stay that way?!?
      I'm guessing you're of the 'wait and see', 'wait until it happens' camp when it comes to security, or possibly their data backups?!?

      I own my hardware, just as you do.
      Or maybe you don't, and it's your employers...OK. Sorry. That was a cheap shot, sideways from topic...

      Either way, OpenBSD is a choice to use.
      No one is forcing your hand. And as the OpenBSD team pointed out, a lot of BIOS MFR's, don't allow Intel HT, togglable anymore. THAT, is a fact.
      I see no issue if they move this to the OS side, disabled by default. As long as I can turn it back on if I choose, what is the actual problem you have here?

      Sacrificing 'speed' for security, should entirely be within the users hands. Much the same is whether I use PGP, or don't encrypt at all.
      Why the rebuttal argument about platitudes, disable networking, kb/mouse... (REALLY???), when a project is taking significant strides to improve OS level security, when so many in fact, don't? Even if OpenBSD is a far less likely used OS....

      I'm guessing you'll call this hamstringing on unfounded fears. I'll call it, their leading the way. Feel free not to use OpenBSD, as you likely don't or won't.

    74. Re: Opt-In? by Anonymous Coward · · Score: 0

      Tested cinebench on dual xeon setup, difference was around 20%. No idea how anyone could claim 40%. That said, 20% is still a lot.

    75. Re:Opt-In? by Anonymous Coward · · Score: 0

      Oh, definitely. The keys to any security should be held by the owner not the oem or os maker. This includes the abililty to switch off secure boot and the management engine.

    76. Re:Opt-In? by Anonymous Coward · · Score: 0

      From kettenis@cvs.openbsd.org:

      And since we suspect there are
      serious risks, we disable them by default. This can be controlled
      through a new hw.smt sysctl. For now this only works on Intel CPUs
      when running OpenBSD/amd64. But we're planning to extend this feature
      to CPUs from other vendors and other hardware architectures.

      Note that SMT doesn't necessarily have a posive effect on performance;
      it highly depends on the workload. In all likelyhood it will actually
      slow down most workloads if you have a CPU with more than two cores.

    77. Re:Opt-In? by Anonymous Coward · · Score: 0

      AMD's implementation does work better, but Cinebench isn't an average benchmark. It's the favorite choice among new CPU benchmarks as it tends to scale very well with high core counts and even thread counts.

      Check out the difference between an intel 6600k vs the 6700 (nonk) from this benchmark of cinebench multithreaded r15 in 2017:
      https://www.anandtech.com/bench/CPU/1603

      6600k 4c/4t at 3.5ghz - 592
      6700 4c/8t at 3.4ghz - 813

      This is a 27% increase with a 100mhz disadvantage to the non-k processor (it's hard to make more direct comparisons as intel doesn't clock the i5's and i7s the same)

    78. Re:Opt-In? by Tsolias · · Score: 1

      nothing is perfect, man, but you can't let chaos rule the world.

      Theo is doing the most obvious move. When you ship something you don't ship it with known security holes open. you don't opt-in security, security must be ON by default.
      If some administrator wants his server or bsd boxes prone to such attacks, then they should enable it, not the other way around.

      Internet is not dangerous. Internet users are stupid, that's why there are people out there opening .exe files and expect to see a picture.

      security holes come from mistakes. For every mistake there's a trade-off. knowingly building CPUs without securing you cache, your ROB, or something else in your Arch, that's a crime.

      Most people don't know what's good for them, a kernel dev does, so let's let him take the decisions for us who are not kernel devs.

      On another note: I am using debian testing the last 12 years. I've seen packages going in and out of the repos within hours, last one happened when Vbox or VMware(don't remember which) team didn't want to push certain security patches to some version that ended up on debian 9.0. So, the week before debian 9.0 became stable, those repos disappeared. The same people would argue "Hey, let those unsupported versions in there and people will decide whether it's stable or secure enough to install", but that's not what happened. Debian kicked those packages from the repos, debian 9.0 released without those packages, and the next testing release accepted those packages as testing a few weeks later.
      The debian team is fucking great, but I wish there was one "Theo" in there, as vocal as Theo is, to steer up the feathers and wake up some people and companies.
      Theo is a leader, not a Cuck.

    79. Re: Opt-In? by Anonymous Coward · · Score: 0

      its just not supporting a hardware feature.

      No it’s not. A good piece of advice: never go full retard.

    80. Re: Opt-In? by Anonymous Coward · · Score: 1

      next: âoeOpenBSD Disables all Network Interfaces Due To Security Concernsâ

    81. Re:Opt-In? by Anonymous Coward · · Score: 0

      If malware is running on your server, you are already compromised and the timing attacks are irrelevant.

    82. Re:Opt-In? by tlhIngan · · Score: 2

      Given the class of Spectre and Meltdown attacks rely on someone else having the freedom to execute code on your hardware, shouldn't something like this be opt-in? There's a whole world of servers out that where Spectre is ultimately completely irrelevant in terms of a security threat, but hyperthreading is definitely not irrelevant in terms of performance.

      I've wondered - would it be possible for the scheduler to schedule related threads together on a core? I mean, if you query the number of processors, it's easy to tell how many sockets you have (physical CPUs), how many cores each physical CPU has, and how many threads each core has. Most schedulers don't differentiate between threads/cores/sockets but it's possible to tell.

      So instead of disabling it completely, or enabling it completely, you only schedule same-process threads on each core? After all, Spectre/Meltdown doesn't really apply at the thread level (why go through all that effort to exfiltrate information from the same process, when you already have full access to the address space?). So a scheduler would schedule same process threads on cores or threads, and different processes on different cores only. After all, it's hyper threading, so you're supposed to do that to begin with, not run disparate process threads on each thread unit.

    83. Re: Opt-In? by Anonymous Coward · · Score: 0

      Sure, but then keep your machine off the net. Security comes first as is ALWAYS the case in ANY shared medium.

    84. Re: Opt-In? by Anonymous Coward · · Score: 0

      The user can enable it, dopey.

    85. Re: Opt-In? by Anonymous Coward · · Score: 0

      If we're going to go down this reductionist security-trumps-all argument then OpenBSD should disable networking too. And keyboard and monitor support

      And what do you know, it's totally possible to disable those things too. Your argument is a non-sequitur.

    86. Re:Opt-In? by Anonymous Coward · · Score: 0

      Some of us work with confidential, and even classified information. We don't care what you do with Candy Crush on your iShit.

    87. Re:Opt-In? by naris · · Score: 1

      Just use an Intel 8086 chip and your system will be secure!

    88. Re: Opt-In? by Anonymous Coward · · Score: 0

      Why use the internet then, vector of most exploits, if security has more priority than speed?

    89. Re:Opt-In? by jwhyche · · Score: 2

      If its something you can turn on and off I don't see the problem with it.

      --
      I read at +2. If your post doesn't reach that level I will not see or respond to it.
    90. Re: Opt-In? by Anonymous Coward · · Score: 0

      I'm been using a linux kernel compiled with disabled hyperthreading option on a Intel Atom N570 desktop machine. There is no noticeable performance degradation.

      ...for your particular use case, which you don't even bother to list. Cool anecdote, bro.

    91. Re: Opt-In? by Anonymous Coward · · Score: 0

      Sigh, I should have known better than to read a Slashdot headline.

      Yeah, heaven forbid that you actually have to deign to RTFA.

    92. Re:Opt-In? by Anonymous Coward · · Score: 0

      Elegy For *BSD

      I am a *BSD user
      and I try hard to be brave
      That is a tall order
      *BSD's foot is in the grave.

      I tap at my toy keyboard
      and whistle a happy tune
      but keeping happy's so hard
      *BSD died so soon.

      Each day I wake and softly sob
      Nightfall finds me crying
      Not only am I a zit faced slob
      but *BSD is dying.

    93. Re:Opt-In? by EETech1 · · Score: 1

      I totally agree with you there!

      It's just a sign that was hanging up where I used to work.

      Measure!

    94. Re: Opt-In? by Anonymous Coward · · Score: 0

      It's an option; you can change the setting with a syscall. That's not clear from the summary; you have to click through to the actual announcement.

      FTFY

    95. Re:Opt-In? by Anonymous Coward · · Score: 0

      Most people don't know what's good for them. A kernel dev does, so let's let him take the decisions for us who are not kernel devs.

      FTFY

    96. Re: Opt-In? by Anonymous Coward · · Score: 0

      Hyperbole much?

    97. Re:Opt-In? by Anonymous Coward · · Score: 0

      If you're using OpenBSD it's not a lot. OpenBSD has had piss-poor SMP performance forever and if 10% performance is important you would not be using OpenBSD.

    98. Re: Opt-In? by Anonymous Coward · · Score: 0

      The whole thing.

      It's a security OS and will put security first. Don't like it? Use windows.

      "Our open software development model permits us to take a more uncompromising view towards increased security than most vendors are able to. We can make changes the vendors would not make. Also, since OpenBSD is exported with cryptography, we are able to take cryptographic approaches towards fixing security problems."

    99. Re: Opt-In? by Anonymous Coward · · Score: 0

      really? the article says in openbsd ht makes no difference, but i get about 60% less compute in centos with ht disabled.

    100. Re: Opt-In? by Anonymous Coward · · Score: 0

      Like you need either. For watching movies?

    101. Re:Opt-In? by sjames · · Score: 1

      The beepingcomputer article was a little unclear. Apparently this will be controllable via a sysctl call.

    102. Re: Opt-In? by Anonymous Coward · · Score: 0

      Thatâ(TM)s probably false.

      The reality is all state of the art tech is all at the same level. Thatâ(TM)s what state of the art implies.

      Linux vs windows
      Oracle vs ms sql server
      MySQL versus everything
      Amd versus intel - before ryzen, amd was out dated (not state of the art)
      Benz versus bmw

      Bla bla.

      People design stuff. People ultimately come to similar conclusions. Same with algorithms. They can be optimized to the state of knowledge- then it takes real genius. And after that, itâ(TM)s kniwn and everyone copies so the tech is similar again.

      Now an average joe on anything doesnâ(TM)t optimize so thatâ(TM)s known and not expected.

    103. Re:Opt-In? by sjames · · Score: 1

      In the case of heavy floating point computation, hyperthreading is often a net loss. I haven't seen any tests on the AMD version (SMT) yet.

    104. Re:Opt-In? by Anonymous Coward · · Score: 0

      If security takes the highest precedence then the sensible choice is to have the OpenBSD installer overwrite the system BIOS and leave the machine bricked. That's the best security you'll get, but with things like AMT even this wouldn't be enough to disable the system.

      We can hardly blame Intel for this - we're entering a new age of processing capability and all the worlds' hackers are currently banging on the next link in the chain. For now the weakest link is the hardware itself. That's actually a very good sign for software, but it's a terrible problem for old hardware. AMD isn't going to save us from this either since a comprehensive security audit of hardware is still impossible without open hardware designs. There aren't enough eyeballs looking at the hardware until it reaches the market, and by then it's going to be another year before they tape out another design.

    105. Re:Opt-In? by Anonymous Coward · · Score: 0

      That's the ass backwards way to do it though. If a feature has been enabled by default in the past or there was no option to turn it off, you keep it enabled by default in future versions.

    106. Re: Opt-In? by Anonymous Coward · · Score: 0

      If you had it your way, Slashdot wouldn't allow people to create accounts, post or exist because "security".

    107. Re:Opt-In? by Anonymous Coward · · Score: 0

      Data are? Jesus, you're one of those morons... Data is a singular noun

    108. Re: Opt-In? by Anonymous Coward · · Score: 0

      JavaScript in a browser is the ability to run malicious code on demand.

      Every time I see someone post something so ridiculous about Spectre or Meltdown, I ask them to link me to a live demonstration. They never can because it's bullshit.

    109. Re: Opt-In? by Anonymous Coward · · Score: 0

      No one owes you anything. Why would anyone spoon-feed you, you're an adult. My point is, if you care so much about something then do your own work first.

    110. Re:Opt-In? by Anonymous Coward · · Score: 0

      Because at this point there is no proof that this is actually a security hole. This is a "let's harden the system against a threat which may or may not be real, at a very real impact to performance".

    111. Re: Opt-In? by Anonymous Coward · · Score: 0

      Grow up you entitled little millennial shit. If you posit a belief, then it is YOUR burden of proof. Nobody else has to do your work for you.

      Your choices are to a) make a statement and back it up with evidence, b) make a baseless statement and get called out or c) shut the fuck up.

    112. Re:Opt-In? by bingoUV · · Score: 1

      The blood-sample approach would be more secure than the password

      No it won't be until lots of additional safeguards that you haven't put in your blood sample story. Yours is a fallacy very popular among people who don't really understand authentication. E.g. whole of the country of India.

      1. The sample could be intercepted on its way to the lab. VS passwords are encrypted on its way, as well as hashed in storage.

      2. The lab could clone / keep a small part of blood sample. VS sending passwords in plain text to a third party authenticator service is insecure.

      3. A mosquito that sucks the blood of the user can be captured to get into a system. If blood spills due to an accident, attack, disease, menstruation etc. it can be used likewise. Yet it doesn't protect against the torture attack that works so reliably against the password regime. VS Passwords don't spill out of people's bodies due to routine reasons. Yet passwords are slightly safer against the torture attack than blood sample regime.

      Yes security is a trade-off. But for most reasonable security systems - it is possible to decrease security while at the same time also decreasing usability. Your blood sample example illustrates it nicely.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    113. Re: Opt-In? by thegarbz · · Score: 1

      Short of something with an air-gap, there aren't any true single-user systems anymore.

      Yes on a Windows machine and someone's tablet you'd be right. But this is OpenBSD we're talking about, staple in the server environment. Many such servers are special purpose, they do not have the ability to run unaudited code, and sure as hell aren't sitting there firing off random javascript from the intertubes.

      Also while we're at it, let's discuss your Javascript example. The ability to perform a speculative execution attack relies on some deep understanding of the system and the current operating environment. Is your javascript going to speculatively dump the entire memory contents and hope for the best? If not then you've basically got a better chance of being killed by a meteorite than you do successfully initiating a reasonably untargetted user initiated attack using speculative execution.

      Send me your javascript. I'll run it. I pretty much guarantee you'll get nothing out of it. Short of a system where a user has the ability to sit down and carefully craft their attack the risk posed here is non-existent.

    114. Re: Opt-In? by Bengie · · Score: 1

      Copying is a fundamental requirement to all implementations of communicating, even the brain has to do it.

    115. Re:Opt-In? by K.+S.+Kyosuke · · Score: 1

      There are still programmers who optimize at that level

      Usually using compilers capable of handling data dependencies, though.

      --
      Ezekiel 23:20
    116. Re:Opt-In? by Anonymous Coward · · Score: 0

      it is opt in. you opt to use openbsd. openbsd is a security focused bsd. if you want the what's the big deal attitude i'm sure there are otherr BSDs for you.

    117. Re:Opt-In? by Anonymous Coward · · Score: 0

      Not really. A better analogy would be "If gun safes were free, should all homes come with one by default, at the cost of some floor space?"

    118. Re: Opt-In? by edwdig · · Score: 1

      If we're going to go down this reductionist security-trumps-all argument then OpenBSD should disable networking too.

      There's a fundamental difference between I/O and hyperthreading. Without I/O the computer can do nothing. Without hyperthreading it might be a little slower.

      By that logic you should just disable the CPU cache instead. Remove the cache and you 100% prevent Spectre, Meltdown, and anything related. You can still do everything you could do before. It's just slower. Orders of magnitude slower, but everything still works.

    119. Re: Opt-In? by Anonymous Coward · · Score: 0

      There is already .js that can dump non process memory of the host on Intel with HT, and ARM A15 for that matter. It doesn't work on AMD/yet. The fact that you don't know about it means you aren't getting security news from primary sources. You are getting second and third hand info from sites like Slashdot or theregister that report on reports of reports.

    120. Re: Opt-In? by Anonymous Coward · · Score: 0

      Guns protect? Nope. A highly trained user of a gun may be protected, but Joe Average most likely isn't. Besides, to own a gun is a thing, to be proficient in its usage is another, and to have the nerve and the balls to shoot and potentially kill another person is yet another thing.

      This would be a way safer society if civilians were NOT allowed to own guns, or explosives for that matter. Just think on all those civilians killed or maimed with those "items of protection", only this year.

      Why would a civilian, for Christ's sake, need an ak47 or a shotgun??

  2. A SpectreNG-variant that uses Hyperthreading? by spth · · Score: 1

    I wonder if there is another Spectre-variant, that the OpenBSD developers know about, but we don't yet, where Hyperthreading really matters. WE know there are a few more SpectreNG variants out there, where details are not yet publicly known.

    1. Re: A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 1

      âoeKnow aboutâ. No. Intel has been freezing the OpenBSD team out because one of their guys pushed the Spectre and Meltdown foxes before an embargo ended but after a miscommunication from Intel that seemed like a green light. But they sure are speculating about Intel Architecture bugs. Theo deRaadt speculated about last weekâ(TM)s FP bug and three days later Intel discloses the bug.

    2. Re:A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 0

      It's more that HT is very helpful in making all the current attacks workable. Without HT they'd be a lot slower and possibly ineffective.

    3. Re: A SpectreNG-variant that uses Hyperthreading? by spth · · Score: 1

      But Intel are not the only ones who have knowledge on Spectre-like bugs.

      There are competent security researchers among the OpenBSD developers that might have found another vulnerability; third parties finding vulnerabilities might also decide to disclose them to OS vendors, including the OpenBSD developers, instead of just to Intel.

    4. Re:A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 1

      Also HT has been demonstrated years ago to enable stealing the private key from OpenSSL.
      It was fixed by changing the OpenSSL code, but it's essentially known since then that unless it's carefully hand-written assembler code, if you run on the same core as some other thread you can extract most of the data it handles. Even without the Spectre flaws, running different processes on the same core has been rather irresponsible the whole time.
      A lot of spectre has been "all these security principles and practices we've been ignoring for years? Well, now they actually start to hurt".

    5. Re: A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 5, Informative

      iPhone users:

      Settings > General > Keyboard ... set "Smart Punctuation" to Off.

      You're killing us with this shit, it's unreadable.

    6. Re: A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 0

      SMT is not irresponsible IF you do it correctly. Intel appears to have built many parts of the CPU purely for IPC even at the cost of security.

      It will be interesting to see if they can hold the IPC lead once they patch their buggy hardware and add the necessary tags and checks to their CPU logic. My guess is when the cores come out that fix the issue Intel is going to give back enough performance to be tied with Zen in terms of IPC or perhaps even trail as Zen 2 should be around by then.

    7. Re:A SpectreNG-variant that uses Hyperthreading? by mikael · · Score: 1

      One version is with memory read and write functions which are timed. Another is with floating point registers. This one involves hyperthreading. Just look through the Intel instruction manual and look for categories of instructions which haven't been covered yet.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    8. Re:A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 0

      One version is with memory read and write functions which are timed. Another is with floating point registers. This one involves hyperthreading. Just look through the Intel instruction manual and look for categories of instructions which haven't been covered yet.

      what do you mean by this? seriously.

    9. Re: A SpectreNG-variant that uses Hyperthreading? by Desler · · Score: 1

      Or Slashdort web monkeys could just fix their shitty code?

    10. Re: A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 0

      Can't you read? Just look thru the intel instruction manual for instructions that haven't been instructed yet. Duhhhhhhh!! /s

    11. Re: A SpectreNG-variant that uses Hyperthreading? by Anonymous Coward · · Score: 0

      iPhone users:

      Put down the toy.
      Buy a real computer*.

      *Not a Mac

    12. Re:A SpectreNG-variant that uses Hyperthreading? by spth · · Score: 1

      Today we know it's called TLBleed.

  3. Other options considered by DrTJ · · Score: 5, Funny

    In an interview, Theo de Raadt stated that other measures were considered by OpenBSD to fight the threats posed by Spectre, Meltdown and the new line of harmful code. "There will for sure be a trade-off between cutting edge performance and real security", de Raadt said.

    One of the poweful options considered - that would permanently repel all current threats but didn't make it into final release, was making the power supply option off by default.

    1. Re:Other options considered by AmiMoJo · · Score: 1

      The best fix is to make Intel buy you an AMD system to replace your broken Intel one.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:Other options considered by Narcocide · · Score: 1

      Yes, it's a dig at OpenBSD.

    3. Re:Other options considered by Anonymous Coward · · Score: 0

      All five of the world's OpenBSD servers quivered in terror at the prospect.

    4. Re:Other options considered by Anonymous Coward · · Score: 0

      Here I was thinking his name was Theo the Rant...

    5. Re:Other options considered by c · · Score: 1

      One of the poweful options considered - that would permanently repel all current threats but didn't make it into final release, was making the power supply option off by default.

      Well, they did try it, but they discovered a vulnerability with Intel processors...

      --
      Log in or piss off.
  4. More cores less price by Anonymous Coward · · Score: 2, Informative

    Its 2018, entry level phones and $50 TV boxes come with 8x 64 bit cores. Not 2 cores split into 4 threads, or 4 cores split into 8.

    5 years ago, mainstream laptop was Core i3, 3217U with a cpu benchmark of 2300.
    5 years later and the mainstream is Core i3-7100T with a cpu benchmark of 5080

    5 years to only double performance, and then the increase comes from upping the clock speed (1.8Ghz vs 3.4 Ghz).

    Meanwhile ARM sells tens of billions of processors, and Intel sells 15% of that number and dropping. Intel tries to protect its profit on ever lower and lower numbers of sales.

    I'm reminded of IBM and its slow processors that cost $millions each, sold to customers who are the final lockins to their mainframes. That is Intel's future unless it starts to take competition seriously.

    1. Re:More cores less price by AHuxley · · Score: 1

      Has someone created a GPU for an ARM OS that can do advanced 4K gaming at 60 fps and better?
      5K support? 8K support?
      Thats really where Intel is winning.
      Intel is out in front with Windows 10 games and the CPU needed to support the most advanced GPUs.

      The who, how when and why of the Spectre problem would be the question to fix next gen.
      Someone at Intel would have found that early. Not in the wild.

      --
      Domestic spying is now "Benign Information Gathering"
    2. Re:More cores less price by Gaygirlie · · Score: 1

      Has someone created a GPU for an ARM OS that can do advanced 4K gaming at 60 fps and better?

      There is no single ARM OS. Also, a GPU isn't dependent on the CPU-architecture, it's dependent on software; you could slap an NVIDIA- or AMD-card in an ARM-based device just fine, if it had a compatible BIOS-/UEFI-implementation and drivers. ARM-based desktops and laptops haven't yet caught on, but ARM is working hard and such a thing does have a slim but real possibility of happening sooner or later.

    3. Re:More cores less price by EETech1 · · Score: 1

      There's got to be people at Intel that could attack Intel processors in ways no one else could ever dream of!

    4. Re:More cores less price by Misagon · · Score: 1

      No, the phones are usually running ARM cores in big.LITTLE configuration where only half of the cores are actually powered at the same time.
      Half of the cores are slow but don't draw too much battery. The other half are high-performance cores (wider issue, out-of order and/or higher clock speed) that draw more power.
      The mobile phone industry is leading the development, and other applications such as TV boxes are picking up the leftovers that are no longer relevant for the most performing flagship phones -- and that is why you see these "eight core" SoC:s in TV boxes, where as low-performance power-saving cores would not be a requirement for them.

      ARM's successor to "big.LITTLE" called "DynamIQ" has more options for configurations, no longer limited to cutting the cores in half. There are eight-core SoC:s in development where only one or two are high-performance cores and the rest are low-performance cores. On the plus side though, more cores may be available to run at once.

      --
      "We mustn't be caught by surprise by our own advancing technology" -- Aldous Huxley
    5. Re:More cores less price by Anonymous Coward · · Score: 0

      Yes. Intel boxes running Solaris = vendor climax.

  5. Ambiguous summary by Anonymous Coward · · Score: 1

    In a couple of places, the summary says support is being removed for hyperthreading. Elsewhere, it says an option is being added to OpenBSD to disable hyperthreading. These are very different things. I think it's prudent to allow the user the option to disable hyperthreading and perhaps to turn it off by default. The premise of OpenBSD is to be secure by default, so it's logical to disable hyperthreading unless the user turns it on. However, hyperthreading provides a substantial performance boost, so I don't agree with altogether removing support for it. That seems unnecessary and would give the user the options of either switching to another OS or taking a significant performance hit. It's more logical to allow the feature to be disabled by the OS, which is what I think OpenBSD is actually doing. It may even be logical and in line with the OpenBSD philosophy to disable hyperthreading by default.

    1. Re:Ambiguous summary by Anonymous Coward · · Score: 0

      +30% to -50% isn't a "substantial performance increase" (supposedly it works even worse on OpenBSD due to non-optimal SMP support in general). It is "a bit better on some use-cases, if you can be bothered to make sure it works for your use-case".
      Note that this is ignoring the case of CPUs with too few cores to handle the workload and HT being a band-aid to supply some extra cores so they don't trample on each other quite as much. It's more valuable there.

    2. Re:Ambiguous summary by jddimarco · · Score: 1

      The summary is a bit misleading, which is probably why there's so much confusion on this thread. No, support for hyperthreading is not being removed. Rather, an option is being added to OpenBSD to disable hyperthreading. That option will be set to disabled by default on Intel CPUs. https://undeadly.org/cgi?actio...

  6. HT in all CPUs? by Anonymous Coward · · Score: 0

    The feature has been added to all Intel CPUs released since 2002

    No it hasn't. HT is a differentiating feature between many of their product lineups.

  7. Re:Given the number of Intel PCs in Theo's house.. by Anonymous Coward · · Score: 0

    ..obviously the answer is YES.

  8. Author has reading comprehension issues by Anonymous Coward · · Score: 1

    Hyper-threading (HT) is Intel's proprietary implementation of Simultaneous Multithreading (SMT), a technology that allows processors to run parallel operations on different cores of the same multi-core CPU.

    Um nope.

    If you bothered to follow the link to Hyper-threading (HT) it says:

    Intel® Hyper-Threading Technology (Intel® HT Technology) uses processor resources more efficiently, enabling multiple threads to run on each core

    That's parallel operations per-core not parallel operations on different cores. One is HT, the other is SMT.
    Different things.

    1. Re:Author has reading comprehension issues by tepples · · Score: 1

      What is the difference between "threads" and "parallel operations"? The lead section of the SMT article doesn't appear to be referring to single instruction multiple data (SIMD). Or what other difference did I miss?

  9. About hyperthreading by Erik+Hensema · · Score: 5, Informative

    "a technology that allows processors to run parallel operations on different cores of the same multi-core CPU"

    Not it's not. It's a technology that allows processors to present a single physical core as two logical cores. Two threads of software can run simultaneously on a single physical core.

    It's mostly an optimization of the execution pipeline. When execution in one thread stalls, it can pick up processing in the other thread. It typically boosts performance by about 10-20%. And yes, I can see this could cause problems regarding timing if you can cause a pipeline stall based on a condition you want to test in the other thread on the same core. It'll be hard though. Maybe too hard to justify disabling HT altogether. Providing a switch to turn it off in case an exploit is discovered would be more wise I think.

    --

    This is your sig. There are thousands more, but this one is yours.

    1. Re:About hyperthreading by Anonymous Coward · · Score: 0

      er, just disable HT in bios, like you always could for, er, I dunno, a decade?

    2. Re:About hyperthreading by spth · · Score: 5, Informative

      As can be read in the post (referenced in the summary) on the OpenBSD mailing list, this new option was motivated by BIOSes no longer offering the option to disable hyperthreading.

    3. Re:About hyperthreading by Anonymous Coward · · Score: 0

      And yes, I can see this could cause problems regarding timing if you can cause a pipeline stall based on a condition you want to test in the other thread on the same core

      I don't think this is about deadlocks but about how the state is visible between the two threads through these timing based attacks.

    4. Re:About hyperthreading by Anonymous Coward · · Score: 0

      And yes, I can see this could cause problems regarding timing if you can cause a pipeline stall based on a condition you want to test in the other thread on the same core. It'll be hard though. Maybe too hard to justify disabling HT altogether. Providing a switch to turn it off in case an exploit is discovered would be more wise I think.

      The same mindset was what brought us Spectre in the first place. And I imagine it'd be very easy to pin your malicious thread to a specific core to do timing attacks against especially since pipeline stalls would make a very good test pattern to match against potential keys (as different keys create different sbox shuffles which create different patterns of memory accesses). Hell, there were hyper-threading attacks back in 2005.

      Waiting for exploits to occur and leaving it to users to guard against them retroactively is precisely the opposite of the mindset of OpenBSD. So, no, the 10-20% gain is not worth the risk. If you think differently, run a different OS without the meltdown patch while you're at it.

    5. Re:About hyperthreading by Anonymous Coward · · Score: 0

      You've just said the same thing but in a more convoluted manner and with fancier words.

    6. Re:About hyperthreading by Spinlock_1977 · · Score: 1

      Agreed. The OP incorrectly defined SMT.

      --
      - The Kessel run is for nerf herders. I can circumnavigate the entire Central Finite Curve in a lot less than 12 parse
    7. Re:About hyperthreading by Waccoon · · Score: 1

      I remember when Hyper Threading was first introduced, and I noted that a large number of my games (Viper Racing and Dungeon Keeper being notable examples), would run at half speed. I don't mean the framerates were halved, I mean the actual games themselves ran at half speed. It was like a built-in slo-mo feature.

      Some applications, like Media Player also suffered timing issues. Disabling Hyper Threading always fixed everything. This went on for years. When the ability to disable HT in the BIOS was removed, I solved the problem by getting Media Player to play a blank media file in the background while playing my games. Somehow, this fixed the HT timing issues.

      Needless to say, I never held HT with high regard. Oh, and AMD's SMT implementation didn't have this issue, which surprised me greatly when I switched to AMD down the line.

  10. Re:Given the number of Intel PCs in Theo's house.. by spth · · Score: 3, Insightful

    For some of the recent vulnerabilities, the OpenBSD team, unlike other OS vendors was not informed in advance. So even when one assumes that there is a SpectreNG-variant that uses Hyperthreading, it is not so obvious that it is known to the OpenBSD developers.

    On the other hand, knowing that there are more SpectreNG-variants, and not having been informed about the details might make the OpenBSD devlopers even more cautious about any hardware feature that looks suspicious.

  11. general idea by thePsychologist · · Score: 4, Interesting

    The general idea behind these flaws is that one process can flush the cache that another process is using, and testing whether the flushed area is free. By measuring the amount of time these flush/reload operations take, one can determine most or all of the bits of the secret signing exponent or private key when it's being used in the square-and-multiply algorithm, for example.

    The attacker needs to be on the same machine. However, the main point is that any attacker program doesn't need elevated priveleges to carry out the timing attack since the attacking process will have access to the same cache that a sensitive program is using. Therefore, any seemingly legitimate program that is currently running could have this attack embedded inside it.

    An attack on GnuPG can be mitigated by modifying the square and multiply algorithm, for example, so that it always multiplies. However, cryptographic attacks aren't the only problem - potentially, timing attacks can be carried out on all kinds of software as they slowly leak data.

    --
    "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
    1. Re:general idea by Anonymous Coward · · Score: 0

      The general idea behind these flaws is that one process can flush the cache that another process is using, and testing whether the flushed area is free. By measuring the amount of time these flush/reload operations take, one can determine most or all of the bits of the secret signing exponent or private key when it's being used in the square-and-multiply algorithm, for example.

      The attacker needs to be on the same machine. However, the main point is that any attacker program doesn't need elevated priveleges to carry out the timing attack since the attacking process will have access to the same cache that a sensitive program is using. Therefore, any seemingly legitimate program that is currently running could have this attack embedded inside it.

      An attack on GnuPG can be mitigated by modifying the square and multiply algorithm, for example, so that it always multiplies. However, cryptographic attacks aren't the only problem - potentially, timing attacks can be carried out on all kinds of software as they slowly leak data.

      what about adding a random timing delay?

    2. Re:general idea by thePsychologist · · Score: 1

      Thread is a little old, but that's an interesting idea. Adding random noise is usually not the best idea, because it is usually distinguishable from patterns in timing. Think of adding white noise to a conversation - random noise is there but you can still pick out the voices.

      --
      "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
  12. Nintendo Switch is mainstream, Intel is niche by Anonymous Coward · · Score: 1

    1. You define a super high spec above the actual real world market for PC games, e.g. Fortnite's actual recommended spec (not minimum) is this:

    Fortnite: Recommended requirement Core i5 2.8 Ghz 4GB Intel HD 4000 Nvidia GTX 660 or AMD Radeon HD 7870 equivalent DX11 GP.

    2. You ignore the mainstream market for games which is Android phones on mobile, and Nintendo Switch on consoles, both of which are ARM based.

    3. My original comment pointed out Intel's shortcomings on processor speed and core count, and you answered with a "well GPU's are faster" and "Well Windows 10". i.e. you didn't address Intel's piss poor chips, preferring instead to cite faster gaming GPUs and Windows 10 compatibility.

    1. Re:Nintendo Switch is mainstream, Intel is niche by AHuxley · · Score: 1

      AC a 4K display in 2018 is not super high spec.
      AC "poor chips" would not be able to support 4K, 5K games as they are now.
      AC 'faster gaming GPUs and Windows 10 compatibility." is what is needed for the more fun games at 4K and beyond. Something Intel and Windows can support.

      The only problem is who allowed the security problems to not be found.

      --
      Domestic spying is now "Benign Information Gathering"
    2. Re:Nintendo Switch is mainstream, Intel is niche by Anonymous Coward · · Score: 2

      "AC a 4K display in 2018 is not super high spec. "
      Agreed, hence $50 Android TV boxes support 4k.

      "AC "poor chips" would not be able to support 4K"
      Agreed, hence $50 Android TV boxes are not running 'poor' chips.

      "AC 'faster gaming GPUs and Windows 10 compatibility." is what is needed for the more fun games at 4K and beyond. Something Intel and Windows can support."

      I note your use of getout words like "Advanced", "more fun" and so on. Good luck with that.

      To me it looks like you're a) trying to limit discussion to gaming, b) defining gaming in terms of PC specs, and c) defining 'fun' as those specs.

      When in the real world, Intel's current crop of chips are not fast enough across the board, offer too few cores, are over priced and run over hot. They represent 15% and declining market share.

      They're being left behind.

    3. Re:Nintendo Switch is mainstream, Intel is niche by Narcocide · · Score: 1

      But but... what about all that WRXSVGOMGHD 120FPS content that I absolutely need to not miss out on that will definitely be coming out any day now?

    4. Re:Nintendo Switch is mainstream, Intel is niche by Anonymous Coward · · Score: 0

      Yeah, because we know that the mainstream is 4k 144 Hz monitors! Steam survery totally proves it! Because 1.22% is totally mainstream (well, for 4k, probably almost none can actually do 144 Hz)!
      Sorry, but 4k HALF as relevant as 1280x1024. Which means, it's utterly irrelevant.

    5. Re:Nintendo Switch is mainstream, Intel is niche by Gojira+Shipi-Taro · · Score: 1

      But but... what about all that WRXSVGOMGHD 120FPS content that I absolutely need to not miss out on that will definitely be coming out any day now?

      That's all I use my Windows 10 box for. Gaming. Performance is the only consideration there. I do my real work on Linux. What information am I meant to be leaking exactly?

      --
      "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
  13. The sad death and legacy of *BSD by Anonymous Coward · · Score: 0

    I went out to *BSD's grave on Decoration Day. The old forgotten cemetery is by the dark woods beyond the edge of town. There within olfactory distance of the municipal treatment plant you will find *BSD's final resting place.

    *BSD's tombstone was shrouded by thick mosses and knots of noxious ivy. I gently pulled aside the tangled twists of thorns, and cleaned the decaying marker the best I could. My melancholy thoughts pondered that this indeed was *BSD's figurative charnel house of which so many have plaintively spoken.

    Nothing is so pitiful as an untended grave, a loved one now forgotten. The short sad life of this doomed and fated OS makes us realize that there but for the grace of God go all of us.

    I planted some wilting marigolds which I had found discarded behind Bud's Garden Center. By some miracle perhaps they will take root and bring a modicum of cheer to BSD's God forsaken plot. My fervent hope is that the torpid colored boy who carelessly mows the cemetery doesn't slice them down, inadvertently mirroring *BSD's own doomed encounter with death's irresistible scythe.

    Funny how things work out. Linux, that brilliant novam stellam, now runs the Internet and the world's fastest computers, while *BSD lies moldering within its forgotten crypt. Let the barren silence of *BSD's tomb be a mute reminder that hubris and braggadocio were no defense on that woeful day when the Angel of Death's bleak umbra was cast upon *BSD.

    1. Re: The sad death and legacy of *BSD by Anonymous Coward · · Score: 0

      Netcraft confirms it, *BSD is dead. Again.

  14. Only Intel SMT? by viperidaenz · · Score: 1

    What about AMD's SMT implementation in their new CPU's?

    1. Re:Only Intel SMT? by Anonymous Coward · · Score: 0

      From original commit message (https://www.mail-archive.com/source-changes@openbsd.org/msg99141.html):
      " For now this only works on Intel CPUs when running OpenBSD/amd64. But we're planning to extend this feature to CPUs from other vendors and other hardware architectures."

    2. Re:Only Intel SMT? by DontBeAMoran · · Score: 1

      Fuck yeah! Via C3 support!

      --
      #DeleteFacebook
  15. Dunno by Artem+S.+Tashkinov · · Score: 5, Informative

    Note that SMT doesn't necessarily have a posive effect on performance; it highly depends on the workload. In all likelyhood it will actually slow down

    First of all, it surely looks like OpenBSD developers don't even have a working spellchecker and perhaps they are correct, saying that it doesn't necessarily have a "posive" effect.

    However, in all seriousness, I've seen at least two dozens tests of HT and in the worst case scenario it slows down your performance by less than a few percents, however, when we're talking servers, which nowadays run highly parallelized workloads where a single process may span several cores (nginx, mariadb, redis, mongodb, etc. etc. etc.) the performance gain from using HT may reach up to 30%, i.e. you're getting a third of your cores for free, which allows you to greatly cut expenditures and save on cooling.

    Yes, HT poses security challenges in a multiuser environment (say, for a hosting provider) where people might run any code they want, however a typical application server almost always runs a tightly controlled software stack, which means your server processes cannot run any foreign code, which means Meltdown/Spectre class attacks might be safely disregarded.

    1. Re:Dunno by phantomfive · · Score: 1

      (nginx, mariadb, redis, mongodb, etc. etc. etc.) the performance gain from using HT may reach up to 30%, i.e. you're getting a third of your cores for free, which allows you to greatly cut expenditures and save on cooling.

      That's interesting, I figured databases would be largely I/O bound, not processor bound.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Dunno by swb · · Score: 1

      I've always been kind of skeptical about it on VMware. I've never seriously tested it beyond screwing around on pre-production systems, enabling and disabling it in BIOS and then doing pretty much the same setup operations with VMs. But it sure seemed like performance was generally more even and predictable with it disabled.

      But to this day I'm kind of convinced that I need to double up on vCPUs with it enabled vs. disabled, mostly because it seems like VMware schedules workloads as if HT were real cores.

      I leave it enabled, though, because I'm mostly convinced on production systems with large workloads it might actually be beneficial and I think that the code is biased towards it being an enabled and expected CPU feature.

    3. Re:Dunno by Artem+S.+Tashkinov · · Score: 1

      That's interesting, I figured databases would be largely I/O bound, not processor bound.

      Depends on your type of work. On our servers (~4K connections per second) we're 100% CPU bound. If you have enough RAM to keep your DB in RAM (we do), only writes might be IO bound.

    4. Re:Dunno by TranceThrust · · Score: 2

      They are latency-bound so HT just causes two requests to be outstanding simultaneously, effectively hiding the latency of one request behind another request. UltraSparc T2 was an architecture based around exactly this principle with eight threads per core.

      In my experience, if software is well-written (e.g., you make sure you're bandwidth or compute bound), hyperthreads will definitely slow things down. How badly will depend on the exact workload. In all cases enabling hyperthreads will cause your system to behave a lot more variably, which is another thing one may care about.

      For the above reasons HT off has been my default setting since it came out-- though ideally it's controlled from software: if you know you're gonna be latency-bound, then use hyperthreads-- otherwise only pin one thread to any single core. But that's without considering Spectre et al...

    5. Re:Dunno by Artem+S.+Tashkinov · · Score: 1

      Hyperthreading v. hypervisors is a really difficult and long topic to talk about. There's a lot of information and performance comparisons on the net and in the end it boils down to the type of work that you're doing.

      https://medium.com/data-design...
      https://medium.com/data-design...
      https://medium.com/data-design...
      https://www.phoronix.com/scan....
      https://blogs.vmware.com/apps/...
      https://blog.heroix.com/blog/s...

      Also, last time I checked OpenBSD is not widely used as a virtualization platform.

    6. Re:Dunno by ElizabethGreene · · Score: 1

      > I figured databases would be largely I/O bound, not processor bound.

      It depends massively on the skill of the person that designed the databases, the indexes, the hardware, and the skill of the query author.

      In one of my gigs I was able to take an hour-long reporting job to under a minute on the same hardware just by making it more efficient. (Adding indexes, eliminating temp tables, and unrolling cursor operations.)

      I didn't have to buy my own lunch for a week after that. :)

    7. Re:Dunno by Anonymous Coward · · Score: 0

      PSsst, you'd be right.

  16. HT in all CPUs from 2002 - not true by Anonymous Coward · · Score: 1

    i5, for example, don't have hyperthreading.

    1. Re:HT in all CPUs from 2002 - not true by Anonymous Coward · · Score: 0

      Yep, none of the "core2" processors had HT either even though the late-generation P4's did. Also notable, the first generation i5 had 2 cores and 4 threads, many laptop-class i5's are still configured this way.

      I suppose we could forgive most of these inconsistencies as in highly secured deployments you're almost always going to see i7's or more likely xeons from Intel which won't have the inconsistencies of the i5's although even xeons didn't have HT during the core2 era.

  17. Re:OpenBSD will never be fully secure by Anonymous Coward · · Score: 0

    Oh, man... Just say it! Windows is the most secure software out there as a consequence.

  18. Poor research - Hyperthreading by Anonymous Coward · · Score: 0

    Per Wikipedia:

    " It first appeared in February 2002 on Xeon server processors and in November 2002 on Pentium 4 desktop CPUs"

    None of the Pentium M(2003), Core(2005), or Core2s(2006) had it. It was reintroduced in the i7 around 2008, and most Celeron, Pentium, & Desktop i5s don't have it. And the Sivermont Atoms removed it as well.

    Where is the story here?

  19. Old news. by Anonymous Coward · · Score: 0

    OpenBSD has said hyperthreading was a security risk even back in the Pentium 4 days when Intel first released hyperthreading. They have always distrusted it.

    1. Re:Old news. by Anonymous Coward · · Score: 0

      http://www.daemonology.net/papers/htt.pdf from 2005.

      This was effectively Spectre/Meltdown even back then.

  20. Obligatory... by Anonymous Coward · · Score: 0

    Suck it, Intel.

  21. Not true since 2013 by Anonymous Coward · · Score: 0

    Not true, Big Little was replaced by Big Little *MP* back in 2013. All 8 cores run.
    https://www.youtube.com/watch?v=fLrSTJECVaU

    1. Re:Not true since 2013 by Anonymous Coward · · Score: 0

      We're talking low end, so if there are 8 cores it's more of a "LITTLE.little" configuration (MP or not I don't know). You get eight Cortex-A53 cores, four are optimized for high clocks (e.g. up to 1.8GHz), four are optimized for the low clocks, the difference is how the cores are physically/electrically implemented.
      Anyway the power budget limits what you're doing i.e. you likely won't be able to run the whole cores and GPU at full throttle simultaneously.
      This is one reason Nintendo Switch is usable for games, its CPU/GPU is somewhat mediocre but there's a bit higher power budget and it's configured so the clocks stay the same (if a bit low) and everything can be used.

  22. Newbie question about timing attacks by Anonymous Coward · · Score: 0

    I can see that with 2 processes running on a CPU, process A could indirectly get information about process B (e.g. crypto key) via timing attack.
    But if a CPU has 10 processes, I fail to understand how a timing attack could ever work.
    How could process A use timing attack, when the cpu time could have been allocated to process B, C, D or E etc?

    So to me, it seems these timing attacks are a storm in a tea-cup. Is it a hyped up problem that really is unusable in the real world (most computers don't have exactly 2 processes running)?

    1. Re:Newbie question about timing attacks by omnichad · · Score: 1

      It's about priority. If there's only one intensive task running, the rest could be dormant long enough for the attack to work. The number of processes isn't so important as how many of them are actively working.

      On the other hand, all you have to do is try longer. Eventually, you'll get the timing right.

    2. Re:Newbie question about timing attacks by Anonymous Coward · · Score: 0

      I can see that with 2 processes running on a CPU, process A could indirectly get information about process B (e.g. crypto key) via timing attack.
      But if a CPU has 10 processes, I fail to understand how a timing attack could ever work.
      How could process A use timing attack, when the cpu time could have been allocated to process B, C, D or E etc?

      So to me, it seems these timing attacks are a storm in a tea-cup. Is it a hyped up problem that really is unusable in the real world (most computers don't have exactly 2 processes running)?

      If a CPU has ten processes it's switching out, one is the crypto program, and eight are timing attacks, one of the timing attacks might succeed.

  23. Re: A SpectreNG-variant that uses Hyperthreading by Anonymous Coward · · Score: 0

    Unicode has been readable for almost 30 years. Perhaps you can make a cheat sheet for the admins to enable UTF-8 or something, which is even the default on the Raspberry Pi I just setup.

  24. Process level cache? by Anonymous Coward · · Score: 0

    Would it be feasible to give processes pages of cache? Use a heuristic to determine how many pages a process should be allowed, and isolate them from each other? Thus a process can only evict data from its own portion of the cache, and cannot access/influence/determine via timing attack what other processes on the system are doing?

  25. NES has networking too by tepples · · Score: 1
  26. Intel took the approach of speed trumping security by QuietLagoon · · Score: 1

    Look where it got us...

  27. Incorrect about HT by Anonymous Coward · · Score: 0

    "Hyper-threading (HT) is Intel's proprietary implementation of Simultaneous Multithreading (SMT), a technology that allows processors to run parallel operations on different cores of the same multi-core CPU." . This is an incorrect statement.

    HT is not SMT. HT is one core running two threads in parallel by providing a perception of multiple logical cores to the OS.

    1. Re:Incorrect about HT by Anonymous Coward · · Score: 0

      "HT is one core running two threads in parallel by providing a perception of multiple logical cores to the OS."

      That's exactly what SMT is, too. Seen on AMD Ryzen, Xbox 360, IBM POWER9 (4-way on those you can buy) for examples on non Intel hardware.

      to run parallel operations on different cores of the same multi-core CPU

      Oh, this statement is bunk!
      The underlying story is interesting or relevant, but we need to shoot the messenger. More accurate but simplified enough would be "to run parallel operations on different execution resources of the same core".

  28. Re: ...security should have higher priority... by snikulin · · Score: 1

    Another proponent of the USA PATRIOT Act? (https://en.wikipedia.org/wiki/Patriot_Act)

  29. Crap, what about all my OpenBSD games? by rsilvergun · · Score: 1

    This is absolutely going to kill my 1% lows in Tuxracer.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
  30. 4K? Try 4096K by tepples · · Score: 1

    4K? 8K? Those are Atari 2600 numbers. Activision's River Raid was 4K.

    By the time ARM gaming devices became mainstream (Game Boy Advance, 2001), games' data sizes had ballooned in size to 4096K or bigger. Even the "multiboot" games, which you could download to the system's RAM through the serial link without needing a cartridge, were up to 256K.

  31. Dated and Defeatist by Anonymous Coward · · Score: 0

    The days of hyperthreading only achieving 0-10% gains are long gone. That was true of Intel's first HT implementation, which they withdrew from the marketplace. I forget the initial, widely panned release but it was a LONG time ago. Like more than 10 years ago, and could be close to 20 years ago.

    When Intel brought back HT they consistently hit 10-30%, with an average of about 20% performance gains.

    You might want to update both your information and your attitude.

  32. Track records matter. by emil · · Score: 5, Insightful

    The current release of OpenBSD, version 6.3, has issued a total of 10 patches against base since release on April 15th. Four of these are security-related, and six are reliability bug fixes.

    Oracle / Red Hat Linux in that time has issued 50 security-related patches, and hundreds more that are classed as bug fixes or enhancements.

    Linux is strong because it scales up and down very well, it exploits CPU features for speed to make applications run very fast, it is friendly to new features, and it has the most market share in the POSIX realm. Linux is weak because it has sacrificed security for speed in many cases, and we have Dirty Cow, Towelroot, and many similar problems in userspace - this makes Linux a bad choice for systems that will not receive patches (i.e. phones, IoT devices, embedded systems, etc.).

    OpenBSD prioritizes security over speed and flexibility. It does not implement fine-grained SMP due to security concerns, and has a "big kernel lock" that Linux left behind in 2.2. It ignores many well-known standards (i.e. NFSv4). There are many things that you cannot do on OpenBSD, but what you can do is magnitudes safer than Linux.

    Android politely stole OpenBSD's entire libc implementation (and then ignored it for several years), and IIRC the OpenBSD code is the largest contribution outside of the kernel itself.

    OpenBSD is also the home of OpenSSH, which itself is quite secure.

    I trust the opinions of the OpenBSD kernel architects, and I will look forward to their patch.

    1. Re:Track records matter. by DrXym · · Score: 2
      You're comparing apples to oranges. I expect the usage patterns of of Red Hat Linux compared to OpenBSD are vastly different.

      I'm sure OpenBSD is very secure and probably worth considering for some very specific roles. It's not a general purpose operating system nor capable of running the kinds of software or loads that a commercial Linux dist is.

    2. Re: Track records matter. by Anonymous Coward · · Score: 0

      Why do you keep making up arguments and then attacking them? The poster you are replying to said no such things.

    3. Re:Track records matter. by Anonymous Coward · · Score: 0

      The current release of OpenBSD, version 6.3, has issued a total of 10 patches against base since release on April 15th.

      I'll note that these are all core OS related fixes, not optional packages.

      Oracle / Red Hat Linux in that time has issued 50 security-related patches,

      Many of these are for non-essential packages, that are not part of the core OS. That list includes patches for things like Thunderbird and Firefox, java etc. OpenBSD would ALSO need to have those patches applied. It's not as simple as just counting the patches.

      I'm not saying that OpenBSD isn't more secure, but security patch counts isn't a way good way to determine that.

    4. Re:Track records matter. by emil · · Score: 2

      I do agree that it's not quite comparable, but I don't know any minimal Linux distribution that implements the equivalent of the OpenBSD base.

      Perhaps to be fair, it appears that Oracle's RHCK has been reissued 7 times since April 15th, which is not quite as bad.

      I have had several rounds of users who want one of the Red Hat clones for some app, then realize after deployment that avalanches of patches are required for these platforms and balked - easily thousands over a six-month period for a typical system. That is aggravating.

    5. Re:Track records matter. by Anonymous Coward · · Score: 0

      I have had several rounds of users who want one of the Red Hat clones for some app, then realize after deployment that avalanches of patches are required for these platforms and balked - easily thousands over a six-month period for a typical system. That is aggravating.

      Oh absolutely that is a mess when you get into the tangle of packages that depend on other packages. It doesn't help that most people install things like RH clones with everything and the kitchen sink installed and don't ever think about that part afterwards.

      Though if you were doing configuring the same stack of software on OpenBSD, you would still have the same pile of non-core OS dependent packages that needed updated as well.

      It sounds like the real lesson here is, don't depend on more software packages than you absolutely need to.

    6. Re: Track records matter. by DrXym · · Score: 1

      Maybe comprehend my point? Saying "well bluh this OS over here has only had X problems while this general purpose OS over there has had Y problems" is not comparing like with like. There are secured dists of Linux where the comparison makes sense. It does not make sense to compare OpenBSD to RHEL. Different use patterns, different requirements, different tradeoffs.

    7. Re:Track records matter. by Anonymous Coward · · Score: 0

      What is it you think RedHat does? Servers? Maybe?
      How about OpenBSD? oh yeah, same thing.

  33. Poor reporting by Anonymous Coward · · Score: 0

    Thanks, I was reading the comments and had forgotten about this nugget of lazy falsehood.
    It's more than segmentation, there also were entire architectures that don't support it altogether. Core 2 Duo and Core 2 Quad to start with (and Pentium M, Core Duo)
    The first few gens of Atom had Hyperthreading, but everything modern since Bay Trail (22nm) are quad core without Hyperthreading (or dual core : two cores are disabled). This includes every Celeron/Pentium branded Atom. Plus the 8-core Atom servers (R.I.P. - these sadly have a defect that kills them in a few years ; I think there's new 16-core server Atom in the pipes)

  34. Useless security precaution. by Khyber · · Score: 1

    Disabling hyperthreading does EXACTLY JACK SHIT. The same flaw applied to multiple logical cores very easily applies to multiple physical cores and multi-socket systems.

    Every intel CPU appears to still be vulnerable as shit. Tested on my i3-7320 system and my multi-socket E5-2650 system under Windows. If OpenBSD wants to be 'secure' they need to only allow one logical core, period, and ignore all the rest. That's the only way to mitigate this problem.

    The OpenBSD devs just showed a huge lack of logical thinking and knowledge of hardware configurations.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    1. Re:Useless security precaution. by Anonymous Coward · · Score: 0

      you just showed your huge lack of knowledge on the topic, dumbass

    2. Re:Useless security precaution. by Khyber · · Score: 1

      Says the person that doesn't run multiple operating systems (let alone have over 10 computer systems running at any given point and time.)

      BSD test running now. So far, I am able to get data where I should not. Not important data, but it's a step in the right direction. They do have an issue with their scheduler even with HT disabled when it comes to multiple physical cores (because your scheduler is still handling multiple threads across physical cores, not just logical cores.)

      Windows is totally owned. Disable HT in BIOS and it is still vulnerable due to having more than one physical core.

      I see you, mad BSD dev. Please try again when you can drop your ego and actually ID yourself on this site.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
  35. They will pry Hyperthreading from my dead fingers by Anonymous Coward · · Score: 0

    Not going to let them take my HT.

  36. Not going far enough. by Anonymous Coward · · Score: 0

    They should disable their own operating system too. I have heard that it has had vulnerabilities in the past and likely has others not detected yet. Better to be safe than sorry.

  37. Wish list. by emil · · Score: 2

    It would be nice if the browser could signal the scheduler that it launched a new tab as an untrusted process, causing the kernel to sanitize caches before and after its future time slices (in addition to any sandboxing the browser parent process and the OS were already doing).

    It might also make sense if only processes with the same UID could run on different SMT threads on the same core, rather than just turning them off completely.

    1. Re:Wish list. by chill · · Score: 1

      That second one sounds like a form of processor affinity, and quite possibly could be implemented without too much difficulty.

      --
      Learning HOW to think is more important than learning WHAT to think.
  38. Where's the Exploit? by xanthos · · Score: 1

    Can anybody point to a verified report of successful Meltdown and Spectre exploits in the wild?

    So far, it seems to be just a theoretical security exploit.

    I have no problem with OpenBSD locking it down, it is what they do and it is what the people who are drawn to OpenBSD expect.

    My personal belief is that useful constructs like speculative execution and hyper threading are being abandoned for questionable reasons.

    --
    Average Intelligence is a Scary Thing
  39. That's what intel gets for stealing SMT's idea... by Anonymous Coward · · Score: 0

    ... but not it's correct implementation from the DEC Alpha processor. At least the AMD implementation is closer to being correct.

  40. Simply dead wrong about Hyperthreading on all CPUs by kriston · · Score: 1

    The feature has been added to all Intel CPUs released since 2002 and has come enabled by default.

    My Intel Pentium Anniversary Edition CPUs and Intel Atom CPUs are proof that this carelessly researched statement is simply dead wrong.

    --

    Kriston