Slashdot Mirror


Linus Torvalds Calls Intel Patches 'Complete and Utter Garbage' (lkml.org)

An anonymous reader writes: On the Linux Kernel Mailing List, Linus Torvalds ended up responding to a long-time kernel developer (and former Intel engineer) who'd been describing a new microcode feature addressing Indirect Branch Restricted Speculation "where a future CPU will advertise 'I am able to be not broken' and then you have to set the IBRS bit once at boot time to *ask* it not to be broken."

Linus calls it "very much part of the whole 'this is complete garbage' issue. The whole IBRS_ALL feature to me very clearly says 'Intel is not serious about this, we'll have a ugly hack that will be so expensive that we don't want to enable it by default, because that would look bad in benchmarks'. So instead they try to push the garbage down to us. And they are doing it entirely wrong, even from a technical standpoint. I'm sure there is some lawyer there who says 'we'll have to go through motions to protect against a lawsuit'. But legal reasons do not make for good technology, or good patches that I should apply."

Later Linus says forcefully that these "complete and utter garbage" patches are being pushed by someone "for unclear reasons" -- and adds another criticism. The whole point of having cpuid and flags from the microarchitecture is that we can use those to make decisions. But since we already know that the IBRS overhead is huge on existing hardware, all those hardware capability bits are just complete and utter garbage. Nobody sane will use them, since the cost is too damn high. So you end up having to look at "which CPU stepping is this" anyway. I think we need something better than this garbage.

87 of 507 comments (clear)

  1. Is there any other option, Linus? by aglider · · Score: 5, Interesting

    You are right, Linus, as usual.

    But I'd prefer the Linux Kernel Development team to push a complete proposal on the table.
    Like totally ditching the support to Intels starting with the releases on next March 1st (or better April?).

    --
    Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
    1. Re:Is there any other option, Linus? by Anonymous Coward · · Score: 4, Insightful

      And how does excluding 80-90% of the installed user base help Linux exactly?

      I understand the sentiment, it's just not a professional way of handling the situation.

    2. Re:Is there any other option, Linus? by gravewax · · Score: 4, Interesting

      and how exactly does that do anything at all to improve the situation? or are you suggesting Open source hardware would somehow be magically design flaw free?

    3. Re:Is there any other option, Linus? by infolation · · Score: 2

      The existing open hardware platform (OpenPower/Power9) is also exposed to this vulnerability.

    4. Re: Is there any other option, Linus? by Anonymous Coward · · Score: 3, Insightful

      While that is completely true, saying it doesn't solve the problem.

    5. Re:Is there any other option, Linus? by mwvdlee · · Score: 5, Informative

      I went in expecting the usual Linus ranting, and although he doesn't disappoint in that department, he also has a valid point.

      As I understand it, Intel proposes to build in a switch in future CPU's which tells the CPU to stop being insecure. The switch is going to be off by default and must be switched on by the kernel during boot. Intel proposes to let all future CPU's be insecure by default.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    6. Re:Is there any other option, Linus? by tlhIngan · · Score: 5, Insightful

      and how exactly does that do anything at all to improve the situation? or are you suggesting Open source hardware would somehow be magically design flaw free?

      And fundamental problems are still fundamental problems. The reason practically every processor has the same issues is because the same optimizations we used to make processors faster had the same fundamental design error.

      I mean, either someone designed the core branch predictor block and everyone worldwide copied it for every processor, or everyone implemented it differently, yet it has the same Spectre flaw, implying that the flaw is inherent in the way branch predictors work.

      The only way you can guarantee the designs are error free are to abandon everything that makes modern processors fast - OOO, speculation, branch prediction, and plenty more, including potentially pipelining (the fundamental technology everyone is trying to speed up by avoiding pipeline stalls). Go back to the old fetch-and-execute cycle and where memory operands are fully decoded and retrieved prior to even considering fetching the next instruction.

      Everyone will hate it, because now your 4GHz processor will be as fast as a 500MHz one.

    7. Re:Is there any other option, Linus? by lucasnate1 · · Score: 4, Insightful

      The only reason why many people need that 4Ghz to begin with is because of how bloated software has become.

    8. Re:Is there any other option, Linus? by Bongo · · Score: 2

      To a lay person like me, this sounds like normal design compromises, which are common to any design problem, in everything from kettles to houses.

      So in a sense, the reason this became a blame issue, isn't that there are technical compromises, but that these did not come with clear advice about how these technical compromises could not guarantee something which the operating systems were relying upon.

      Kettles are dangerous, as they are near the limits of what is safe -- eg. do not plug two kettles into one extension lead, and do not rest your hand on the body when it is boiling. But as users we know this. And maybe they could design a kettle that did not have those problems, but we'd all complain about the slow and enormous clunk of a thing.

      But with these CPUs, they did something which everyone should have been made aware of.

      And I don't know whether the engineers knew or not -- that's beyond my understanding -- but now, certainly, world + dog needs to know how not to get burned.

    9. Re: Is there any other option, Linus? by Anonymous Coward · · Score: 5, Insightful

      While that is completely true, saying it doesn't solve the problem.

      It is no more Linus' problem to solve than it is your or mine.

      It is entirely up to Intel to do this and do it properly.

      Thank goodness Linus is saying this, because it will force Intel to solve it.

    10. Re:Is there any other option, Linus? by cas2000 · · Score: 4, Interesting

      by doing this it magically becomes the operating system's fault that the CPUs are insecure by design.

      "we documented how OS vendors could turn on the secure mode and cripple performance at the same time. they chose not to use it, so any security flaws are their fault".

    11. Re:Is there any other option, Linus? by serviscope_minor · · Score: 5, Informative

      The only reason why many people need that 4Ghz to begin with is because of how bloated software has become.

      And because sensors have got better giving us mych larger datasets. You know, sound, video and audio are the common ones.

      I challenge you to find the bloat in FFMPEG, for example. Now try transcoding a HD video on a modern 4GHz desktop versus a 1st gen Raspberry Pi.

      --
      SJW n. One who posts facts.
    12. Re:Is there any other option, Linus? by Opportunist · · Score: 2

      An open hardware platform would not solve the issue. This is not some super secret crap hidden deeply within the silicon, it's actually a documented feature of the CPU, for everyone to plainly see. And since it's hardware, there isn't much anyone could do to patch it because, well, getting so small soldering irons to manipulate the die are hard to come by.

      Even if you somehow magically managed to manipulate the hardware in such a way that it works again, how many do you think have the skill and equipment to reproduce it, because you'd have to do it again and again for every single CPU, it's not like you can press a button and the hardware changes.

      And, well, if it can be patched in microcode, then there isn't much of a difference either because as stated above, the documentation is there.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    13. Re: Is there any other option, Linus? by Opportunist · · Score: 5, Informative

      AMD has one problem in common with Intel: Spectre. Meltdown is alone Intel's problem.

      Meltdown is fairly easy to exploit and quite serious. Spectre could be as serious, but so far nobody has shown conclusively that it is actually exploitable in a real life situation. Intel spun it to make people think they're the same, so everyone thinks Intel and AMD have the same problem. They don't. Intel has a serious, potentially crippling security hole and a potentially serious but most likely not usable security hole. AMD only has the latter.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    14. Re:Is there any other option, Linus? by Anonymous Coward · · Score: 5, Insightful

      Your comment is marked Insightful, 4 -- but it is overall totally wrong. You are presenting a false dichotomy!

      The issue with Spectre is not that there is a fundamental problem with branch prediction (or BP misses, or pipelining, or speculation, or any combination of these). The issue is that some processors don't actually clean up after themselves when branch mis-prediction occurs. They roll back instruction execution in some cases (great). In others cases they may simply abandon execution (okay). But they don't ever do so much rollback work as to invalidate cache lines (bad!).

      There is such a thing as provably reversible computation and storage, and it can be done correctly. But you have to limit the length of instructions over which you will continue to speculate to something you can reverse; and you **have** to flush cached information that should have never been available in the first place.

    15. Re:Is there any other option, Linus? by serviscope_minor · · Score: 4, Insightful

      If everyone was still running with 640x480 and PC speakers the way they were supposed to

      640x480? lol n00b.

      No we should be running in 40x25 teletext mode like god intended. Or are we meant to be in 80x25 VT100 like we were supposed to? Or are we supposed to be running on electricomechanicla teletypes like we were supposed to?

      Or are we meant to be running on punched cards like we were supposed to? Or front panel switches?

      Als the PC speaker was always shite even by the standards of the day. We should all be running the Ti.SN76489 as we're supposed to.

      . The biggest issue with computers is seemingly ever-present need to build entertainment machines out of them. If we just did away with the entertainment requirements

      OK, I'll bite.

      Suppose we did as you wished, and separated off entertainment to a different enclave. How do you suppose one would make such entertainment? Them PCs are awfully convenient and it helps to have a fast one.

      we would be just fine with 500MHz CPUs.

      Yeah... no. I like having a massive, fast machine with huge screens for coding even I'm targeting an 8051 or some sort with a few k of RAM. I also want fast machines for scientific data processing. We have better languages and better optimizers than were practical two decades ago and I like it.

      If I'm runing some factory test rig or octoprint on my 3D printer, that 500MHz CPU is just fine and that's what I use (well they're faster now).

      Who the fuck really needs FFMPEG anyway?

      Anyone who deals with video. Like computer vision researchers too of which I am one.

      But they have the money to build render farms for their needs. What do the rest of us really need 4K video for?

      A news for nerds website is not really the best place t obe a luddite.

      --
      SJW n. One who posts facts.
    16. Re:Is there any other option, Linus? by thegarbz · · Score: 5, Insightful

      The only reason why many people need that 4Ghz to begin with is because of how bloated software has become.

      What an ignorant and useless comment. Software bloat is a very minor portion of what it is our computers do. Almost none of what makes up bloat in software ever even comes close to pegging the CPU and would give you a few percent speed increase at the most.

      What we do depend on CPUs now is raw computing power. I was fine with a 500MHz PC back when my digital camera had a floppy disc in the back, now that it generates a 50mpxl 14bpp file it's not going to cut it and that has nothing to do with the relative bloat of the image viewer.

      Likewise for web browsers. It's not bloat to blame for the fact I expect a browser to be able to stream a 4K movie in surround sound. It's not bloat to blame for the 40 tabs I run concurrently. It's not bloat that I have 10 office apps open along side video conferencing software along with those browser windows.

      And among all that my CPU is sitting at 30% utilisation, 25% of which is being taken up by a full system virus scan (fuck monday mornings on my work machine).

      Spare us your "we could make this less bloated and we would all be happy with 500MHz" garbage.

    17. Re:Is there any other option, Linus? by rgmoore · · Score: 2

      I went in expecting the usual Linus ranting, and although he doesn't disappoint in that department, he also has a valid point.

      Linus usually has a valid point when he goes on one of his rants. They aren't just a cranky guy slagging people at random; they're his way of calling out especially bad bullshit. That's the only reason people are willing to put up with them.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    18. Re:Is there any other option, Linus? by mwvdlee · · Score: 5, Insightful

      IMHO, Intel is basically operating in PR-nightmare-cleanup-mode right now.
      They fucked up badly and are trying to lie, cheat and manipulate their way out of it.
      They are desperately trying to make it look like this is a generic problem (It's not; the AMD and ARM variants of these bugs are much less evil) and they are trying to safe face and shift blame however they can.
      Plain and simple truth is that Intel has knowingly made malicious choices and now they've been caught.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    19. Re:Is there any other option, Linus? by hcs_$reboot · · Score: 5, Interesting

      The reason practically every processor has the same issues is because the same optimizations we used to make processors faster had the same fundamental design error.

      I mean, either someone designed the core branch predictor block and everyone worldwide copied it for every processor, or everyone implemented it differently, yet it has the same Spectre flaw, implying that the flaw is inherent in the way branch predictors work.

      No. The fix is to not read from memory into the CPU cache during the speculative execution when that block of data is not there already. Changing this in the CPUs core would solve both Spectre and Meltdown, at a reasonable cost (would not defeat much current optimizations).

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    20. Re:Is there any other option, Linus? by hcs_$reboot · · Score: 3, Informative

      (note that this fix requires to change the CPU design)

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    21. Re:Is there any other option, Linus? by hcs_$reboot · · Score: 2

      Not the only reason. People use mainly browsers, and a lot of progress has been made in this area (optimizations, JIT compile, ...). At the same time, web sites use more and more Javascript, which requires power from the client (more than on server).

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    22. Re:Is there any other option, Linus? by smallfries · · Score: 5, Informative

      Somebody with mod-points should mod up the AC parent. They are completely correct.

      The design flaw is not in using speculation or branch-predication. It is allowing the side-effects of instructions in those streams to be visible in the machine before the branches are retired. This is really basic stuff - I remember a discussion about this very issue in a processor design course back in '00 - '01.

      Intel gambled that the state of the cache was not visible to the programmer. Flush+reload showed that they were wrong.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    23. Re:Is there any other option, Linus? by hcs_$reboot · · Score: 2

      it can be fixed with a microcode update!

      The ideal and inexpensive (performance wise) fix is to *not* read from memory into the CPU cache during the speculative execution when that block of data is *not* there already. That cannot be done thanks to a microcode update.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    24. Re: Is there any other option, Linus? by LordKronos · · Score: 5, Interesting

      Even invalidating the loaded cache pages isn't necessarily sufficient. Because the act of loading one page means the flushing of another page, it may be possible to then do spectre in the opposite direction...preload the cache and if any preloaded pages become slower to access then you can determine the branch predictor caused them to be flushed. At least in theory....in practice that becomes more difficult in a multiprocess environment where other processes could be responsible for flush,but I certainly wouldnt want to predict it isn't possible.

      So the full solution may need to be more complex. Just like the CPU includes more registers than the architecture specifies so it can do scrap work in this extra registers and then roll it back without affecting the real registers,the CPU may need extra cache pages so that it can load a page and then flush it without having lost any of the previously loaded pages.

      Or alternatively, approach the problem from the opposite perspective. The problem is caused not just because of speculative execution but also because (for performance reason) the OS leaves all process memory mapped into every processes address space and the uses permission to try and make that memory unavailable. The other fix is to find a way to redesign virtual memory so that other processes memory is NOT mapped into each others memory space and is thus truely inaccessible. But that may be an even more difficult solution to implement

    25. Re:Is there any other option, Linus? by Anne+Thwacks · · Score: 5, Insightful
      The fix is to not read from memory into the CPU cache during the speculative execution when that block of data is not there already. Changing this in the CPUs core would solve both Spectre and Meltdown, at a reasonable cost (would not defeat much current optimizations).

      This is the correct answer. Proceed to Go and collect your $200.

      You may want set aside more silicon for caching and less for handling the speculation.

      You may also want more cores rather than greater complexity. This would not have been a good choice ten years ago, but now people are learning how to use the extra cores, it will probably sell well.

      Alternatively, you could set a flag to say whether your application cares about the risk (if the entire machine is dedicated to a single offline task, you probably don't).

      --
      Sent from my ASR33 using ASCII
    26. Re:Is there any other option, Linus? by AmiMoJo · · Score: 5, Insightful

      It's not a normal design compromise. AMD isn't affected by Meltdown because they did it right, Intel cut corners to get a small performance boost that they didn't need.

      Worse still, Intel's botched microcode fix can brick systems. Apparently 7 months wasn't enough to properly test it.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    27. Re:Is there any other option, Linus? by drinkypoo · · Score: 5, Informative

      And fundamental problems are still fundamental problems. The reason practically every processor has the same issues is because

      Is because it doesn't. AMD is not vulnerable to MELTDOWN and is less vulnerable to SPECTRE because they are more scrupulous and responsible than Intel, FULL STOP. There is no other reasonable way to regard the situation.

      Every speculative processor has some of the same issues, to some degree, but that is not every processor, and you are still using Intel's bullshit excuse FUD language when you say that all processors are vulnerable to these attacks. That is a lie as stated.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    28. Re:Is there any other option, Linus? by drinkypoo · · Score: 2

      To a lay person like me, this sounds like normal design compromises,

      I think a normal person could understand that it makes more sense for the security guard to check their ID before they go into a building, not after they have gone into a building and rifled through the filing cabinets. Intel chose to behave in this fashion while AMD (and literally everyone else) did it the correct way.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    29. Re:Is there any other option, Linus? by jeremyp · · Score: 4, Insightful

      Nobody is claiming Linus is being unprofessional or Intel is being professional, they are claiming that excluding Intel support from the kernel would be unprofessional, which is why it is never going to happen.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    30. Re:Is there any other option, Linus? by Antiocheian · · Score: 3, Interesting
      There's no bloat in FFMPEG but that's the exception rather than the rule per Niedermayer's words:

      Old school: Use the lowest level language in which you can solve the problem conveniently.
      New school: Use the highest level language in which the latest supercomputer can solve the problem without the user falling asleep waiting.

      I think you'll agree that the new school is the majority.

    31. Re:Is there any other option, Linus? by swb · · Score: 2

      Is because it doesn't. AMD is not vulnerable to MELTDOWN and is less vulnerable to SPECTRE because they are more scrupulous and responsible than Intel, FULL STOP. There is no other reasonable way to regard the situation.

      Are you really arguing that this was a deliberate case of malicious and cynical irresponsibility -- an actual moral failing -- by Intel, and that AMD is actually more moral than Intel?

      I'm willing to buy into the idea that near monopoly status led Intel to a set of somewhat predictable moral hazards where a series of every day management decisions regarding engineering resources vs. profits led them to choose profits over resource expenditure. Product roadmaps and model changes that minimized engineering changes to allow a longer design life cycle over more iterations vs. significant redesign and re-engineering. Basically dragging out Core i5/i7 another 5 years with changes at the margins as "advancements". I suppose the car analogy is body styling changes while keeping the same chassis and powertrain. A New Chevy for 1960!

      But I'm less willing to believe that Intel plotted to make a deliberately flawed product because it was cheaper and because they're evil. I suspect AMD, if given similar market share, would probably make the same decisions because ultimately they're the choices of a capitalist. I think it's the kind of set of moral hazards that all monopolist and near monopolists end up making -- Comcast's lack of infrastructure investment, GM's lack of quality, drug companies that gloss over side effects, etc. Without competitive pressure, there's little incentive to invest in a product people will buy anyway.

      The problem isn't really evil people or simple morality, the problem is people motivated by profit. Lacking competition, increasing profit means cutting production costs (and probably raising prices, too).

    32. Re:Is there any other option, Linus? by lucasnate1 · · Score: 3, Insightful

      And why is all that javascript needed? Usually as a hacky method of writing something that could have been implemented better (improving html/css), as a way to prevent users from controlling their app (web apps), or as malware (trackers, and now apparently miners).b

    33. Re: Is there any other option, Linus? by Anonymous Coward · · Score: 3, Insightful

      "be the OS that is still susceptible to this flaw after everyone else isn't."
      This patch does not fix the problem anyway. It is a patch to bypass the fix by default so that NEW intel processors do no loose speed (but will loose the security).

      All Linus has to do is ignore this patch and run every Intel new and old processor with the fixes. It'll run them slower, but they are atleast somewhat more secure.

      And your idiotic intel fanboy.

    34. Re:Is there any other option, Linus? by Anonymous Coward · · Score: 2, Interesting

      I also want fast machines for scientific data processing. We have better languages and better optimizers than were practical two decades ago and I like it.

      And if Fran Allen's opinion is of any weight, you actualy would have had the same languages and optimizers those two decades ago if it weren't for C ruining the compiler landscape in the 1970s.

       
      ASM programmer here.

      Modern CPU is so totally fucked up - with layers upon layers of abstraction the task of real optimization becomes more and more hopeless.

    35. Re:Is there any other option, Linus? by Ramze · · Score: 2

      I would like to see some benchmarks to see exactly what would happen if we killed branch prediction. I bet Intel has a command to turn it off for debugging.

      No doubt it'd kill performance, but I'm curious by how much.

      For instance, the Raspberry Pi 3's CPU doesn't include any branch prediction at all. It runs at 1.2 Ghz. Different architecture, obviously, but still. If it can chug along pretty good playing h.264 video, run Netflix from Chromium, and do quite a lot of things rather well with a crippled chipset and relatively slow 1.2 Ghz speed (and hobbled RAM, etc)... seems a 4 Ghz Intel chip might not be so bad off without branch prediction.

      I have a Core i7 -- quad core, L1, L2, and L3 cache, hyperthreading enabled. CPU rarely hits above 20% -- more often in the 5% to 12% range unless I'm doing video transcoding which makes it hit closer to 80% - 95%. I'd think the lost cycles from a lack of branch prediction would hit transcoding and other CPU-intensive things really hard, but maybe not so much for other random, everyday things.

      Eh, maybe, maybe not. I just think it's interesting that the Pi's CPUs (along with some other embedded CPUs) don't use branch prediction at all -- mostly to save power and keep heat down. Clearly the Pi's CPU is no speed demon, but it's "good enough" for a lot of uses. At what point might an Intel CPU without any branch prediction be "good enough?"

    36. Re:Is there any other option, Linus? by Zaiff+Urgulbunger · · Score: 5, Insightful

      I understand the sentiment, it's just not a professional way of handling the situation.

      Linus always tells it like it is, which you can either view as professional or not. But from an engineering perspective, it seems better to do that than just say something polite so you don't upset people.

      It appears to me he's directing his displeasure at Intel management/legal/marketing making decisions where really they shouldn't.

      And how does excluding 80-90% of the installed user base help Linux exactly?

      I very much doubt he's going to do anything of the sort. I would suggest the exact opposite in fact; he wants the best solution for all and is complaining that Intel's patches are constructed for their own benefit (legal/ass-covering), rather than that of their customers.

    37. Re:Is there any other option, Linus? by thegarbz · · Score: 3, Funny

      You're probably the reason pornhub is so slow lately.

      I'll take your word for it.

    38. Re:Is there any other option, Linus? by thegarbz · · Score: 3, Insightful

      to get a small performance boost that they didn't need.

      So since when does a CPU company compete on anything other than performance of that CPU? Or are you suggesting we all buy Intel CPU's because we love the IME? :-)

    39. Re:Is there any other option, Linus? by SharpFang · · Score: 2

      It's quite untrue.

      The basic problem with the Spectre is not branch predictor and speculation, but weak hashes used to identify cache entries, that allow for purposeful collision.

      A speculative execution down a branch is canceled, but the results are cached; the cache entry having a certain identifier based on the branch address and some other details. Next time the program enters that branch, the results are there, free to pick from the cache, following the identifier.

      The problem is the identifier is *not unique*. A specifically engineered branch entered from a specific address at a completely different location - say, userspace - will create a hash collision and the CPU will retrieve exactly the same results - even if it has no privileges to access them. In normal use this collision is pretty much impossible to occur accidentally, but properly engineered piece of code can mimic a privileged piece of code and get - or inject - speculative execution results.

      Had the caching been based on hashes that are sized like the entire machine word of address, instead of a special selection of bits in a weirdo self-xored shift register, the problem wouldn't exist. It was a shortcut - a simplification of the predictor and cache architecture that instead of solidly, uniquely identifying an optimized code segment, stored its weak, easy to spoof footprint to find it for reuse.

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    40. Re:Is there any other option, Linus? by zifn4b · · Score: 2, Informative

      240hz monitor and trying to get a steady 240fps. And boy do I mean steady. Even a blip between 240fps and 230fps can be perceived as microstutter, and that was with a gsync monitor. Gonna need a fast CPU to generate a frame in 1/240th of a second.

      Wrong. Your frame rate is determined primarily by your GPU. The CPU component (for graphics rendering) is the API where the data goes from the CPU to the GPU. That is why we have DX12 and Vulkan, to get much closer to the metal. With games that are less demanding visually when you turn v-sync off with for example an i4790k Devils Canyon the frame rates goes way over 240fps even without Vulkan and DX12. So you see, there is no CPU bottleneck for graphics rendering. It's all GPU bound.

      --
      We'll make great pets
    41. Re:Is there any other option, Linus? by lucasnate1 · · Score: 2

      It is very nice that you are showing links that say that CPU intensive game exists. None of the links explain why they're like that, whether it is graphics or whether it is necessary game logic. My question was, and remains, under what case a game really CAN'T DO WITHOUT a SINGLE high end CPU

    42. Re:Is there any other option, Linus? by zifn4b · · Score: 2

      That may be and you will get some benefit from switching to an asynchronous threading model with worker pools but if a game like that is bringing the computer to its knees on a single thread at high speed, the game is VERY CPU intensive in terms of the amount of calculations it's doing. Apparently, Dwarf Fortress also crashes from using several gigabytes of memory which is evidence of massive game state. It may be paging out to virtual memory at a certain point meaning that more system RAM may be beneficial because accessing virtual paged memory on disk (even SSD) is slower than accessing RAM. There are many factors to consider. Once upon a time, hardware sites like Toms, Anandtech, HardOCP, etc. used to review all hardware components and explain their impact on performance but I haven't seen that in a number of years but it's still applicable. RAM speed doesn't seem to be significant anymore now that memory controllers are on die. cas2 vs. cas3 used to make a huge difference.

      --
      We'll make great pets
    43. Re:Is there any other option, Linus? by mwvdlee · · Score: 5, Interesting

      Linus seems to (begrudingly) accept the need for a temporary fix and there is already a temporary fix that works for current CPU's.
      The problem is Intel calling it a permanent fix and implying that every future CPU will be unsecure by default unless the OS flips a switch.
      That way Intel can blame any performance issues on the OS and still pretend their CPU is fast, even though it isn't when running in the secure mode that no sane person would ever use.

      How about a car analogy:

      Imagine all cars have two bugs in the gearbox that trigger on putting it in reverse certain ways.

      But 1 makes a dashboard light blink one time.
      All car manufacturers have this bug, and they all fixed it when found.

      Bug 2 makes your car explode.
      AMD and ARM knew about this and fixed it. It made their cars a bit slower, but atleast it wouldn't explode.
      Intel knew about it too, but they choose to ignore it. Their cars are a bit faster because of this.
      Intel fixed this by sending out a widget that stops the car from exploding, this widget does make Intel cars go slower.
      The widget doesn't fix it automatically, though! The driver has to switch the widget on every time he starts the car. If the driver doesn't switch the widget on, putting the car in reverse will still make it explode.
      Intel also says that this is how all future cars will be prevented from exploding; by adding this widget to every future car and requiring the driver to switch it on; it'll always be in "explode-on-reverse" mode by default.
      Intel does get to claim their car is faster by default though. Just don't put it in reverse.

      As a bonus analogy; Intel claims both bugs are the same because they are both triggered by the same action, so therefore all car manufacturers are vulnerable to the exploding car bug.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    44. Re:Is there any other option, Linus? by mark-t · · Score: 2

      I expect that the reason Intel is calling the kludge a permanent fix is because they don't know how, for the forseeable future, to actually make a proper fix, and so cannot promise that future CPU's will not have the same problem... not necessarily because they must want the problem to continue indefinitely, but because they don't know how, or even *if* they will be able to fix it properly in any CPU they have yet started to design (even before it ever sees the light of day as silicon).

    45. Re:Is there any other option, Linus? by sjames · · Score: 3, Informative

      Why not? Somebody has to call bullshit on this.

      What would you have him do, get some PR flunky to "corporatize" the message until nobody is really sure what it's all about?

    46. Re:Is there any other option, Linus? by Lonewolf666 · · Score: 2

      As I understand it, with the proposed patch Intel CPUs would by default run in a faster (not fully patched) but unsafe mode:

      then you have to set the IBRS bit once at boot time to *ask* it not to be broken.

      In Linus' place, I'd let Linux run Intel CPUs by default in the safer mode and take the performance hit, in the interest of protecting users who are not familiar with the details and risks of Meltdown. If Intel does not like that, fuck them ;-)

      If the admin wants to, they can decide not to set the IBRS bit and thus sacrifice security for speed, but that should be opt-out and the admin's responsibility.

      --
      C - the footgun of programming languages
    47. Re:Is there any other option, Linus? by lucasnate1 · · Score: 2

      Java, Flash, and the JS interpreter, are all forms of VMs. I don't see why java/flash are inherently more insecure than JS. Hell, I suspect that modern java, with all its revisions and safety, is likely more secure than javascript.

    48. Re: Is there any other option, Linus? by rahvin112 · · Score: 2

      I read nothing in that link that says Power processors are vulnerable to Variant 3, commonly called Meltdown. The very article you link to says that Variant 3 is vulnerable on Intel processors.

      Maybe you don't understand the difference between Meltdown and Spectre.

    49. Re:Is there any other option, Linus? by zifn4b · · Score: 2

      Try feeding the data required for a GTX 1080 with a Pentium 3. Ain't fucking happening.

      Well obviously it "ain't fucking happening" because Pentium 3 motherboards didn't have PCI Express slots, they only had AGP and PCI slots. What I'm referring to are Intel/AMD motherboards that have PCI-e slots and more specifically, they need to be x16 slots for a graphics card like a GTX 1080. Otherwise, the bottleneck would be the PCI-e slot itself not being able to handle the throughput of the actual graphics card. In all of these scenarios, even your fictitious troll one, let's assume there was an AGP 8X to PCI-E adapter. The bottleneck there would be the adapter not the CPU. Seriously, if you're going to engage in a discussion where you obviously don't know the subject matter, remain silent and don't make yourself look like a complete fool to rest of us that do have the expertise even historic expertise in this subject matter domain. We will call you out on it.

      --
      We'll make great pets
    50. Re:Is there any other option, Linus? by zifn4b · · Score: 2

      My question was, and remains, under what case a game really CAN'T DO WITHOUT a SINGLE high end CPU

      You were already provided with a nearly immediate answer by someone else: Dwarf Fortress

      Look dude, I've been building PC's for over 20 years and I've been reading hardware sites and bench-marking for as long. There are bottlenecks in just about every aspect of hardware depending on the situation: CPU, GPU, hard disk, memory, front side bus, north bridge controller, south bridge controller, L1/L2/L3 cache and the list goes on and on. There's multi-core vs. single core vs. dual core vs. quad core and each of these can by hyper threaded now. Memory is not as much of a concern as it used to be because memory controllers were moved out of the north bridge and onto the CPU die to have less distance for the information to travel over the PCB. The only way to have a serious conversation about any of these topics means that you need a basic understanding of the components of a computer and how each of them relates to performance in a wide variety of different scenarios. If you don't understand that and you don't have the experience and/or knowledge, we can't have a conversation about the topic. You need to go learn and come back. :) You're essentially taking an ignorant position on a topic you are not qualified to discuss. In some circles, many would call that a troll.

      --
      We'll make great pets
    51. Re:Is there any other option, Linus? by ceoyoyo · · Score: 2

      Tell that to Challenger.

      It's unfortunate that "professional" has become a synonym for not hurting anybody's feelings, particularly when "anybody" is a corporation.

    52. Re: Is there any other option, Linus? by Yunzil · · Score: 2

      Thank goodness Linus is saying this, because it will force Intel to solve it.

      Oh you sweet summer child.

    53. Re:Is there any other option, Linus? by edwdig · · Score: 2

      The processors all start executing instructions ahead of the current one when possible. If the code branches in a different direction than expected, they discard the results of any future instructions, and make it look like the CPU never even attempted to run that future code.

      For 25 years or so, all chip designers assumed that the state of the CPU cache was sufficiently complex that software wouldn't be able to predict what memory was or wasn't in the cache. This meant that they didn't have to worry about the cache state when discarding instructions that shouldn't be executed.

      Meltdown and Spectre both showed that a) it's possible to manipulate the cache and learn what data is or isn't in it and b) you can use that knowledge to gain insight into the contents of that memory.

      It all boils down to the entire chip industry believing that the cache wasn't exploitable. It took about 25 years for anyone to put together the pieces and figure out the flaw.

    54. Re:Is there any other option, Linus? by complete+loony · · Score: 2

      That's one way of looking at spectre. Another is that the CPU should not remember branch predictions of processes in a different security context. Since the only way to exploit spectre is to train the CPU to do what you want.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  2. Linus Haiku by Moblaster · · Score: 5, Funny

    Linus proclaims thus:
    This patch is a piece of shit.
    So what else is new?

    1. Re:Linus Haiku by AmiMoJo · · Score: 4, Interesting

      So I'm gonna submit his email as evidence in my small claims court action against Intel.

      --
      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:Linus Haiku by sacrilicious · · Score: 5, Insightful

      Linus proclaims thus: This patch is a piece of shit. So what else is new?

      If you mean "useful, straight communication from Linus as usual", then I'm with ya.

      But if you're trying to imply that Linus indiscriminately calls *everything* a piece of shit, then you're so offbase that I'll wonder if you're astroturfing on behalf of Intel. When Linus criticizes stuff, he's spot on. This patch is indeed a piece of shit.

      --
      - First they ignore you, then they laugh at you, then ???, then profit.
    3. Re:Linus Haiku by gosand · · Score: 2

      Linus proclaims thus:
      This patch is a piece of shit.
      So what else is new?

      If you mean "useful, straight communication from Linus as usual", then I'm with ya.

      But if you're trying to imply that Linus indiscriminately calls *everything* a piece of shit, then you're so offbase that I'll wonder if you're astroturfing on behalf of Intel. When Linus criticizes stuff, he's spot on. This patch is indeed a piece of shit.

      Haiku yours is not
      The point missed by you it was
      It was a joke. Whoosh.

      --

      My beliefs do not require that you agree with them.

    4. Re:Linus Haiku by Bootsy+Collins · · Score: 3, Informative

      Haiku yours is not The point missed by you it was It was a joke. Whoosh.

      For what it's worth, your post isn't a haiku either. Nor was the original "Linus Haiku". A haiku need not have a 5-7-5 syllable structure; and a 5-7-5 syllable structure does not make something a haiku. Haiku require a cutting word (kireji), and carry imagery of the natural world.

      These are closer to senryu than haiku.

  3. Don't forget guys by Anonymous Coward · · Score: 5, Informative

    Don't forget guys Intel are the biggest contributor of code to the Linux kernel and it was they who wrote that code that would have crippled AMD as well as Intel cpus against their own flaw. Luckily AMD picked up on it and submitted a "elseif" statement to Intels code so AMD users wouldn't be neeedlessly affected by Intels cpu flaw.

    1. Re:Don't forget guys by PhunkySchtuff · · Score: 5, Informative

      Yep, I'm sure it was just a simple oversight that Intel's patch that hurt performance on Intel and AMD, and wasn't necessary on AMD, was applied by default to CPUs from both vendors. You know, Intel has only known about this for 6-7 months, so they were really rushed to get a working patch out in time. /sarcasm.

    2. Re:Don't forget guys by Rockoon · · Score: 5, Informative

      This is the same Intel that put cripple AMD cpus code generation in their compiler.

      Here is CPU optimization expert Agner Fog's blog on the subject: Intel's "cripple AMD" function

      --
      "His name was James Damore."
  4. Re:and your solution is? by Anonymous Coward · · Score: 5, Insightful

    I think his response to all of this was a verbal kick to the scrotum of intel in a very public way.

    I am glad of it too, had it not been for this thread I would not have known about the issues with these 'patches' which now seem more like last minute frantically cobbled together garbage.

    Because of linus' efforts I, and many other lurkers here on slashdot will be VERY wary of any 'updates' involving intel cpu's.

    Linus does not need to fix this, the community does not need to fix this, Intel needs to fix this, lets be realistic.

  5. What is going on here...? by DrTJ · · Score: 4, Interesting

    From the email correspondance; Linus says to mr Woodhouse:

    "As it is, the patches are COMPLETE AND UTTER GARBAGE.

    They do literally insane things. They do things that do not make
    sense. That makes all your arguments questionable and suspicious. The
    patches do things that are not sane.

    WHAT THE F*CK IS GOING ON?"

    In the post, Linus is not addressing much technical detail (just mentions "garbage MSR writes" whatever than means), but his bullshit detector goes off big time.

    It is clear that he thinks the patches are sub-optimal, but that in itself cannot be the first time in Linux kernel history. There seems to be something else behind, or why would he ask "WHAT THE F*CK IS GOING ON" question? Why does he play the "questionable" and "suspicious" card? Does he think that there is something shady going on from Intel, that goes beyond the technical stuff?

    Can anyone shed some light?

    1. Re:What is going on here...? by Anonymous Coward · · Score: 5, Insightful

      Linus is pointing out that the patches as submitted do things that should not be necessary. For example, the Linux kernel now uses this code technique called “retpoline” to avoid one of the Spectre bug variants. But this set of new patches also includes a performance-hurting workaround for the same Spectre variant that was already worked around. Why would that be necessary? It suggests that maybe Intel isn’t fully disclosing everything that they know, and that maybe the “retpoline” workaround is insufficient for reasons that Intel is keeping secret.

    2. Re:What is going on here...? by ledow · · Score: 5, Informative

      He's saying that you shouldn't have to "opt-in" to the security that everybody expects when you boot up your processor.

      At the moment, the processor just says "Hey, if you flip some magic bits when I boot I'll slow myself down and try to apply a fix".

      The processor should instead say "Hey, I'm one of the fixed models, don't bother trying to fix me again".

      It's a marketing / legal tactic so they can say the processor runs at such-a-speed (but insecurely) whereas anyone who actually cares about using the processor has to - every boot - flips lots of magic bits to make it secure and kill its performance. If you forget, insecure. If you do it wrong, insecure. If your OS doesn't support it, insecure.

      What Linus wants, and I can't disagree with, is a flag to this "this processor isn't vulnerable, so you don't need to do anything." which, if it's not present, they know that they have to apply as many protections as they can but can say "Hey, you have an insecure processor, we'll do our best" in the syslogs.

  6. Re:and your solution is? by m.alessandrini · · Score: 2

    Intel should fix this, but realistically they cannot come and replace the silicon on your chip, and most cpus are out of production or soldered in notebooks. So what? We're in an apollo-13-like situation, we must fix things with what is possible, no matter how ugly.

  7. Re:So, AMD for my new PC? by aliquis · · Score: 2

    Ryzen 7 1st gen vs Intel i7 8th gen is something like 15% faster in multi-core vs 15% faster in gaming work-loads. About. There's variations like AVX (where Intel HEDT is faster still relative the i7) and games where the performance impact is closer to 40%. The Ryzen 7 chip and motherboard is cheaper. ThreadRipper socket is cool.

    With Ryzen 2000-series for the "2600" engineering sample the clock was 200 MHz higher. Guess we'll see if it stop at that or not.

    The AMD chips have a bit more PCI-express lanes and are less affected by this too.

    So.. do as you want. For a specific use-case like a video program or sound-production which doesn't fully utilize additional cores and depend on more on per core performance or AVX maybe Intel is better. For multi-threaded ALU work and now maybe for virtualization and storage performance maybe AMD is better.

    We'll all be winners if you buy AMD though. I guess.

  8. Re:and your solution is? by gweihir · · Score: 5, Insightful

    My reading also. Intel did some shady things they likely did know were shady in order to have the best performance. Now that they have been caught and the shady things actually turn out to be really bad, they still do not want to fix them, because they do not want to admit how much they padded the performance of their chips and they still do not want to compete with an actually good design because everybody will see how they have been screwed over by Intel.

    Linux is just calling that out. I mean, a functionality that fixes a very critical security bug and it is _off_ by default? That is insane!

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  9. Re:ARM guys will probably do it right by gweihir · · Score: 5, Insightful

    ARM does not have to fix anything for the issue under discussion and neither has AMD. Meltdown is Intel only. They did it to get more performance while everybody else was careful and did not do it. Intel was warned by numerous research papers that this could go badly. Now they are lying about it and are trying to a) confuse the issue and b) have the fix (which exposes their real performance when running securely) not active at startup. a) is dishonorable and b) is insane. Linus is just calling them out here.

    Spectre is something else, and hits almost everybody. While fortunately, it is much, much harder to exploit (Meltdown is easy), Spectre will also be much harder to fix. It is possible that we will see an arms-race for a while with Spectre and that, in the end, it will need to be a compiler-level fix that finally fixes things. Not good, but apparently, the performance penalties for an actual hardware fix at this time would be a performance loss of 5x...20x.

    But to re-iterate: The only reason why Intel tries to lump Meltdown and Spectre together is so that they do not look as grossly incompetent and dismissive of their customers's security as they are with Meltdown.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  10. Lazy Intel? by LubosD · · Score: 2

    Is it just my impression that Intel didn't do squat during the past half year, and only started searching for fixes now that the vulnerabilities are public?

    What's also shocking to me, Intel is introducing new CPU models to the market that still don't have the flaws fixed. They really think the whole problem is overrated and no urgent action is needed.

    1. Re:Lazy Intel? by drinkypoo · · Score: 5, Informative

      But i have to say, even as i prefer AMD, AMD does not have spectre resistant CPUs either.

      Yes, they do. SPECTRE attacks are more difficult to carry out against AMD than against Intel. In fact, they are only vulnerable to one out of two of the classes of SPECTRE attack. Please don't lie.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  11. Re:How good are Intel engineers these days? by Chrisq · · Score: 2

    How good are Intel engineers these days?

    About as good as Volkswagen's. Both followed their remit perfectly (Intel: Performance above all else, VW: pass the emissions test above all else)

  12. Re:Obligatory: Intel CPU Backdoor Report (Jan 1 20 by Opportunist · · Score: 5, Funny

    Is there a tl;dr version of that tl;dr version?

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  13. Re:So, AMD for my new PC? by ELCouz · · Score: 2

    EPYC is the Opteron successor. Cannot say about disabling prefetching thought.

  14. Don't Bet On Malice When Stupidity Will Do? by ytene · · Score: 5, Interesting

    You make some really interesting points around retpoline, but I wonder if this latest from Intel fails to account for this because they are being disingenuous, or because they continue to be a bunch of idiots?

    We're seeing similar problems to this with other very-long-established technologies, such as Windows [with Windows 10]. Things that have worked for decades up until W10 are breaking, or they are breaking in new and frustrating ways.

    For example, I have a triple-screen setup and using removable SSDs via a caddy unit, I can boot my computer into 2 different W10 instances, as well as multiple Linux builds. The 2 W10 instances behave in completely different ways, despite being set up, by me, with EXACTLY the same approach [scripted]. On one of them the Task Bar keeps relocating itself around the desktop, on the other it remains static. I've been back-and-forth with Microsoft and they don't know why...

    At the root of the problem I suspect they have changed something in W10, written by someone no longer at the company, possibly poorly documented and possibly with unknown consequences.

    Maybe Intel are having similar issues... A decision was made a very long time ago to do something insecure and stupid with speculative execution, but the person who made that decision is no longer with the company, so a new Team are trying to fix it and simply don't know what they're doing...

    I honestly don't know what the source is, but I do know that I am seeing "existing" functionality break with much greater frequency on core platforms like this. It just smacks of carelessness...

  15. Re:and your solution is? by Anne+Thwacks · · Score: 2
    Intel did some shady things they likely did know were shady in order to have the best performance.

    They knew damn well it was shady. It was widely discussed at the time. And then they patented it so AMD could not do it!

    Intel are up to their neck in it.

    --
    Sent from my ASR33 using ASCII
  16. Re:and your solution is? by AmiMoJo · · Score: 2

    Intel has billions of dollars in cash on hand, let alone their yearly profits. They could spend some of that compensating people.

    But no, Intel is a corporation, and consequences are for little people.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  17. (edit) by drinkypoo · · Score: 2

    Intel chose to behave in this fashion while AMD (and literally everyone else) did it the correct way.

    Correction, everyone else but IBM, whose Power7 through Power9 processors are also vulnerable and where mitigation will be expensive. How far POWER has fallen, from the PPC601 where everything was done right... to today. (PPC601 was actually a POWER processor in a sense, in that it actually implemented the full ISA.)

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  18. Re:and your solution is? by drinkypoo · · Score: 5, Interesting

    we must fix things with what is possible, no matter how ugly.

    Intel went straight to ugly, and did not satisfactorily explore the realm of the possible. Linus perceived this, and announced it to the world. The ball is now in Intel's court. They can be responsible and competent, or the whole world can know that they are the fuckups that they are. It's their call.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  19. Re:and your solution is? by drinkypoo · · Score: 2

    Why? Intel had to recall Pentiums due to the FDIV bug and that was arguably way less serious than Meltdown.

    That was just P54Cs. This is every intel processor since the Pentium Pro. And many of the motherboards will require BIOS updates to take a newer processor, so even if Intel could make new processors which fit into the same package and solve these problems, they literally wouldn't work in a huge number of scenarios — especially OEM PCs whose BIOS is designed to carefully restrict which processors and memory you're allowed to install.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  20. Linus inventing a new chips by DrYak · · Score: 2

    Or maybe starting up a serious open source hardware spec. He's probably one of the few people with the knowledge of what chips need to have, an audience,

    He might have the knowledge of what a ship needs to have,
    but the last time he tried making a chip it didn't work that well~

    ---

    Note: I'm just playing silly. I actually admire the guy for what his done (Linux, Git, etc.) but I couldn't resis pointing out that he DID already try making a CPU.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  21. Fundamental problems : Yes, but... by DrYak · · Score: 5, Informative

    And fundamental problems are still fundamental problems. The reason practically every processor has the same issues is because the same optimizations we used to make processors faster had the same fundamental design error.
    I mean, either someone designed the core branch predictor block and everyone worldwide copied it for every processor, or everyone implemented it differently, yet it has the same Spectre flaw, implying that the flaw is inherent in the way branch predictors work.

    Well, there are different level in the whole Spectre/Meltdown debacle.
    Not all CPU are affected the same.

    (And nitpicking : only CPUs doing speculative execution are affected. Lots of RISC don't, only some recent like 64bits ARM cores do. And there are still CISC cores that don't even in modern days like older Atoms and Xeon Phi on Intel MIC boards).

    Speculative execution, from the moment it was presented (around the era of Intel Pentium Pro) as a new technology, was criticised as potentially executing past important checks if the speculation goes wrong. But it was dismissed back then.
    - because in the end, nothing is committed to memory/register, but instead is discarded. There are not (direct) permanent effect of the wrong speculation.
    - nobody paid attention much to the indirect, less significant effects, that still could be measured (like bringing memory into cache).
    - ...because back in those days (in the era of RC4 and 3DES encryption, MD4 MD5 checksums, etc.), attacking cryptography was still done by breaking imperfect algorithms and brute forcing small search spaces. Timing side channel where something of academic interests only. Known to exist, but in practice there are simple way to attack encryption.
    (so nobody in the early-to-mid 90s would have though that cache could lead to useable exploitable attack).

    "Spectre" is just some researcher figuring out a way to exploit this "known from the beginning" knowledge by putting it into the light of how crypto is attacked nowadays (side-channels, timing, etc.)

    That's the thing which every single CPU is affected by and which is still speculative execution working as it should (and normally should still be contained to data that could be accessed by the application anyway).

    But then, there are the cause of the "Spectre Variants / Meltdown" - due to "excessive" optimisations, suddenly the CPU not only access things that the application could already access anyway. It usually boils down to the CPU (and its designer) were trying to be way to smart.

    Meltdown only exclusively affects Intel CPUs. On intel CPUs, to speed things up, memory protection check are post-poned. If something happens to be already available in the cache, speculative execusion might pick it up even if it violates memory protection.
    This runs countrary of how memory location works, is undocumented (unlike the base caracteristics of speculative execution).
    (AMD CPU, as a counter example, are guaranteed by AMD to not be affected, because they do the expensive checks at the beginning of the pipeline and never let speculation through if it reads from an unauthorised memory location. There everything works according to docs).

    Spectre variants affects Intel CPUs: to speed things up, even if the destination of a jump is unknown (because it depends on a memory location that isn't even known yet: e.g. not-yet computed index of a jump table), an Intel will try to speculate where the execution would go (by keeping a list to remember where usually this poistion ends-up jumping to). Due to the specific way Intel CPUs work internally and keep this list of "possible destinations of a jump", it can get confused and jump to an impossible situation. the speculative execution will jump to an address that is not even in the jump table, it will execute at a position that could never be reach under normal circumstance.
    (AMD cannot exclude if their CPUs are affected. They definitely do not work the same wa

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  22. Intel: Years of insufficient management. by Futurepower(R) · · Score: 2

    "If there is anything we've learned from this debacle, it's that arrogance runs supreme at Intel."

    The arrogance and attempts to mislead seem to be a present-day response to problems created during years of ignorance. Intel's recent CEOs have not had the enthusiasm for technology or the social ability necessary to manage Intel, in my opinion. Intel suffered from insufficient management 11 1/2 years ago: More Intel employees should say in public what they have said in private: Intel CEO Paul Otellini is not a competent leader. He lacks social ability.

    Flaws increase sales? Intel's sales have been lower because people are happy with the computers they have, and also often use cell phones as their personal computers. If Intel begins selling new processors and chipsets with no vulnerabilities and no back doors, will that increase Intel's sales?

    An example of flaws increasing sales: Microsoft's Windows Vista OS had problems. That caused more people to buy Windows 7 when it was released.

  23. Re:ARM guys will probably do it right by anegg · · Score: 2

    It was kind of you to decode SPOD. Thank you.

    Now could you do the same for:

    Just a lump of ice for all you septics on /.

    The closest Google got me was the dangers of flushing toilets in a house using a septic system that had iced up in the winter time, and I'm not sure that is where you were going...

  24. Meme by Areyoukiddingme · · Score: 2

    Linus said some bad words about Intel's behavior to Mr. Woodhouse, an Amazon employee.

    Amazon is a major cloud provider.

    Linus is now in his late 40s.

    So.... the headline should read "OLD MAN YELLS AT CLOUD! CLOUD ANSWERS!"