Slashdot Mirror


Linus Torvalds Says Intel Needs To Admit It Has Issues With CPUs (itwire.com)

troublemaker_23 shares an article from ITWire: Linux creator Linus Torvalds has had some harsh words for Intel in the course of a discussion about patches for two bugs that were found to affect most of the company's processors... Torvalds was clearly unimpressed by Intel's bid to play down the crisis through its media statements, saying: "I think somebody inside of Intel needs to really take a long hard look at their CPUs, and actually admit that they have issues instead of writing PR blurbs that say that everything works as designed... Or is Intel basically saying 'we are committed to selling you shit forever and ever, and never fixing anything'?" he asked. "Because if that's the case, maybe we should start looking towards the ARM64 people more."
Elsewhere Linus told ZDNet that "there's no one number" for the performance drop users will experience after patches. "It will depend on your hardware and on your load. I think 5 percent for a load with a noticeable kernel component (e.g. a database) is roughly in the right ballpark. But if you do micro-benchmarks that really try to stress it, you might see double-digit performance degradation. A number of loads will spend almost all their time in user space, and not see much of an impact at all."

25 of 271 comments (clear)

  1. Red Hat screws up their implementaition of the fix by whoever57 · · Score: 3, Interesting
    --
    The real "Libtards" are the Libertarians!
  2. Re:Zhaoxin by Anonymous Coward · · Score: 4, Insightful

    We clearly don't trust Intel ... why would we trust Chinese CPUs??

  3. Re:Look to arm64 by Gaygirlie · · Score: 5, Informative

    His point is more likely the fact that ARM didn't do any sort of PR-bullshit and instead produced a very, very in-depth whitepaper, example-code and whatnot on the whole thing. Their behaviour here is pretty much everything one would hope for in a case like this.

  4. I actually do think the issue is minor by BlueCoder · · Score: 4, Insightful

    The kernel memory read issue was 90% a design decision to improve performance. I would argue that it should actually be an option in the BIOS. The fact the AMD didn't do this with zen to match Intel is what is really interesting. Intel did a little cheat to improve performance but AMD didn't and chose caution.

    To me it's not a clear cut case if you brought a class action into court. The engineers cheated a bit but didn't think it would turn into such a security hole. I can just imagine the closing arguments... point is computers are complicated and not necessarily a guaranteed thing except that they can compute.

    1. Re:I actually do think the issue is minor by Anonymous Coward · · Score: 3, Insightful

      the Intel bug does not look like an intentional design decision to me, more like an oversight. the performance win speculating over security domain page boundaries can not be that large, I would guess it should be 1% loss.
      IMHO someone just did not really think all the details and consequences of this boundary case thru, ...

  5. the many forks of speculation by epine · · Score: 4, Informative

    So you decide to speculate a future instruction.

    It happens to be a load.

    The address is [ebp+eax]. A recent instruction had the same address field, so you speculate that it remained the same.

    Now you need to translate the address. The translate might be in the TLB, but you check, and for some reason it isn't.

    So you decide to speculatively trigger TLB load.

    Finally, you get a physical address back. A previous write instruction is not yet translated, but it seems unlikely it will translate to the same address, so you decide to speculate the load and you make a cache line request from L1.

    It might be in L1, but it isn't. So you decide to speculate again, and request it from L2. Not in L3, either, so finally you speculate the load all the way to external memory. When the cache line returns, you speculatively cache this at all levels. Then you speculatively store the value into the target register. The final step was the least dangerous, because you can dump this later, no harm to the abstract state. But the concrete side effects on the TLB and the three layers of cache are not so easily reversed. In theory, the concrete state doesn't leak into the abstract state. Because we simply don't like to think about time (time, above all things, being never simple; hint: functional programming has no time, only progress).

    Not all speculative architectures are created equal. There are many opportunities for an architecture to Just Say No.

    With cache coherence, you have the MESI protocol (and its bewildering shoe full of second cousins).

    One could apply the same concept of "exclusive" to the page tables, an exclusively mapped page being one mapped only onto into the current process and security context. If TLB speculation hits a different kind of beast, abandon speculation. Same thing with cache fill. Concrete side effects thereby only accrue from speculation to exclusive resources. Share-nothing usually solves most problems in computer science (except performance, which is mainly defined in the time domain).

    I'm gong to abandon the back of my envelope here, One has to think really damn hard to take this to the next logical level, and frankly, I don't have a damn to spare right this very minute.

    But please, advance the conversation beyond:

    [_] has speculation
    [_] does not have speculation

    Because that is Intel's diabolical trap, for as long as their PR department can continue to get away with tugging their wool in broad daylight.

  6. Re:Zhaoxin by belg4mit · · Score: 4, Informative

    It's not a pure monopoly, but it has a lot of monopoly power. Monopoly is not a binary state, as most lay pedants assume.

    --
    Were that I say, pancakes?
  7. Don't like Linus; Agree with Linus; CEO s/b fired. by CraigCruden · · Score: 5, Insightful

    ARM (and AMD) may be susceptible to the lesser of the two [evil] exploits... but the impact for that second one is considerably less than Meltdown (which is specific to Intel only). ARM has been very open and detailed with regards to the impact -- and gives every indication it is taking the issue seriously.

    Intel on the other hand issued a totally bizarre PR spin. Trying to spin it as works as designed (which might be the case, but the design was flawed), trying to distract the public by using 'Look over there...' deflection technique. Then indicating that the earliest architectural change will be later this year (which by the way coincides with the beginning of the next generation release). Processors for one generation of chips tends to be phased in over a two year period - does this mean that they plan to continue selling defective CPUs for the next 2 and a half years?

    On top of that the news that the [probably legal] sale share (after the news of the defect, but before it was made public) -- is at least optically horrible. An ethical CEO would have delayed the planned share sale until after the defect was public - and accepted the risk of holding onto the shares during that time. Not to mention selling 889,700 shares and keeping only the absolute minimum to remain CEO ... 250,000 all at one time.... is also optically bad. I understand the need to diversify your investments, but he should only be selling at most 25% of his shares on an annual basis.

    This all put together indicates to me that the current CEO should be fired.

  8. Re:Zhaoxin by Hal_Porter · · Score: 5, Informative

    Chinese companies just put in backdoors for the Chinese government, organised crime, your Chinese competitors and so on.

    https://thehackernews.com/2015...

    http://www.zdnet.com/article/f...

    http://www.securityweek.com/ap...

    http://www.businessinsider.com...

    https://tvnewswatch.blogspot.c...

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  9. Re:Zhaoxin by Hal_Porter · · Score: 3, Insightful

    The patents on the original MIPS architecture have run out by now. And MIPS was both very similar to Alpha and very elegant.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  10. BS - It is serious. by CraigCruden · · Score: 4, Informative

    BS. There are already proof of concepts that can be run and are in the hands of a select few for testing purposes. We have no idea if these exploits have been used - only that we have no visibility on it. The only real visibility we have is when a whitehat reports it, or when someone is caught. While personal computers are less impacted, the fact that the browsers will all also have to be patched since it can also be exploited through javascript... problematic.

    The issue is that through using the exploits you can have access to things like passwords used in kernel code, certificates, etc. -- and that can get this through pilfering the cache -- which breaks the isolation between user applications and the operating system.... While already bad on a personal computer, it is horribly bad for shared hosting environments -- where some actor can get access to a common computing environment and attack from the inside.

    1. Re:BS - It is serious. by swillden · · Score: 3, Interesting

      No known exploits in the wild yet.

      How many unknown exploits in the wild?

      Oh, right, we don't know. If we did, they wouldn't be unknown.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  11. Re:Zhaoxin by davecb · · Score: 4, Informative

    Actually, 83% is often used as a cutoff in both the US and Canada, derived from (US) judge Learned Hand's opinion that a market share of ninety percent 'is enough to constitute a monopoly; it is doubtful whether sixty . . . percent would be enough; and certainly thirty-three percent is not.' [ United States v. Aluminum Co. of Am., 148 F.2d 416, 424 (2d Cir. 1945)]

    --
    davecb@spamcop.net
  12. No issue with Intel and design. by CraigCruden · · Score: 3, Insightful

    And to be quite honest, that was not how I read Linus thing... Linus can be a wrap the contents of a valid issue in a bit of what some have termed a 'Hissy fit'/'tantrum'. The issue that he seems to have is not that there is a defect, not that it has to be patched in the kernel -- but that Intel's PR is on overdrive and gives no indication of taking responsibility... and not being open and transparent with regards to fixing it and timeline for those actions.

    It is not the design / defect that I have lost respect for Intel, nor the technical competence of it's employees... My issue resides with the C-level's response to this defect that I have tot take issue with - and that is how I really read the email. ARM is not defect free, but the difference is that their response to it has been much more professional and transparent.

    Being a software developer by trade, I am all to familiar that nothing is defect free... and defects are a part of the process.... the response and how these defects are handled is where you win or lose respect (assuming you are not totally incompetent and the software is not unusable).

  13. ARM has a lot less to lose by AcidPenguin9873 · · Score: 4, Insightful

    While ARM CPUs are relatively ubiquitous in smartphones and tablets, those devices aren't nearly as high-value of a target as servers, where Intel CPUs dominate (well over 90% of the market).

    Linus is in a unique position - he is an engineer, almost 100% focused on technical solutions, yet he is also a public facing figure and is able to make public comments. He also (to the best of my knowledge) doesn't have to worry about customers, profits, shareholders, etc., things that a for-profit, publicly-traded company does. Most of the time, the engineers aren't the ones making public comments. I haven't heard from any Intel engineers yet, only their PR department, but I would guess the Intel engineers are just as interested in fixing this as he is, but we aren't hearing about it.

    1. Re:ARM has a lot less to lose by phantomfive · · Score: 4, Insightful

      Linus is in a unique position - he is an engineer, almost 100% focused on technical solutions, yet he is also a public facing figure and is able to make public comments. He also (to the best of my knowledge) doesn't have to worry about customers, profits, shareholders, etc., things that a for-profit, publicly-traded company does

      You've succinctly explained why Intel is in the troubles they are.

      --
      "First they came for the slanderers and i said nothing."
  14. Re:Zhaoxin by DontBeAMoran · · Score: 3, Funny

    Most likely to put backdoors into PLA are ColorFabb, Faberdashery or Proto-Pasta. But you'll have to download a 3D model of a backdoor first.

    --
    #DeleteFacebook
  15. Re:Zhaoxin by Hal_Porter · · Score: 4, Informative

    MIPS was bought by Imagination Technologies who also own PowerVR (and, oddly enough Pure, a wonderfully geeky DAB radio company)

    https://en.wikipedia.org/wiki/...

    MIPS/Imagination is heading resolutely for embedded platforms and probably the plughole.

    Still the original MIPS architecture is probably patent free. And Loongson make MIPS compatible chips. Unlicensed as far as I know. Not that there is much to licence in the original MIPS architecture

    https://en.wikipedia.org/wiki/...

    So it's possible for third parties to build MIPS compatible chips. Not MIPS32/MIPS64 but the original 64 bit MIPS III architecture.

    https://en.wikipedia.org/wiki/...

    Hell skip the patented bits and make them NOPs. Lexra got in trouble not for implementing them but for making them illegal instructions. MIPS's lawyers argued successfully that a system integrator could write an illegal instruction trap handler that implemented the missing instructions in software, in perhaps the most amazing abuse of the patent system ever.

    https://en.wikipedia.org/wiki/...

    In 1999 MIPS Technologies sued Lexra again, but this time for infringing its patents on unaligned loads and stores. Though Lexra's processor designs did not implement unaligned loads and stores, it was possible to emulate the functionality of unaligned loads and stores through a long series of other instructions. In the opinion of Lexra, the ability to emulate the function of unaligned loads and stores in software predated the grant of the patent in question and could not be viewed as an infringement of the hardware patent by any reasonable interpretation. Also, much earlier than any MIPS Technologies processor, IBM mainframes supported unaligned memory operations. In these earlier IBM processors, unaligned memory operations and partial access to registers were available through microcode and the instruction set architecture. These aspects of earlier IBM processors posed the much greater threat of patent invalidation to MIPS Technologies, compared to the seemingly vacuous MIPS Technologies infringement claim against Lexra.

    http://probell.com/Lexra/

    If a Lexra processor encountered an unaligned load or store instruction in a program then it did the same thing that it would do for any other invalid opcode, it took a reserved instruction exception. In the second lawsuit between MIPS Technologies and Lexra, filed November 1999, MIPS Technologies claimed that because exception handler software could be written to emulate the function of unaligned load and store hardware, using many other instructions, Lexra's processors infringed the patent. Upon learning of this broad interpretation of the patent, Lexra requested that the US Patent and Trademark office (USPTO) reexamine whether the patent was novel when granted. Almost every microprocessor ever designed can emulate the functionality of unaligned loads and stores in software. MIPS Technologies did not invent that. By any reasonable interpretation of the MIPS Technologies' patent, Lexra did not infringe. In mid-2001 Lexra received a preliminary ruling from the USPTO that key claims in the unaligned load and store patent were invalid because of prior art in an IBM CISC patent. However, MIPS Technologies appealed the USPTO ruling and, in the mean time, won a favorably broad interpretation of the language of the patent from a judge. That forced Lexra into a settlement that included dropping the reexamination request before MIPS Technologies might have lost its appeal.

    It was never determined that processors that execute the MIPS-I instruction set, but treat unaligned loads and stores as reserved instructions, infringed the '976 patent. The patent exp

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  16. Ryzen my friends by Tough+Love · · Score: 3, Informative

    Meanwhile, enjoying my Ryzen, largely unaffected by Meltdown or Spectre in spite of some well meaning or self-serving FUD to the the contrary. Yes, I got an early part with the segfault bug, but AMD RMAed without fuss when presented with appropriate https://github.com/suaefar/ryz...>test data to eliminate the possibility of bad motherboard, memory or overclocking. Quite different attitude compared to Intel! And the Ryzen is sweet - 16 high performing CPU threads, tiny power consumption at idle and respectable under full load. Integer performance, iow, compiling is stellar and floating point is not shabby. Basically, Ryzen out-cores Intel's competing i7 parts by a wide margin, acquits itself well in single-core too and draws so little power that the CPU fan is off or barely turning for most normal desktop usage. And when all 16 threads are going full blast, iow doing real work, total system power is around 120 watts, the system still runs nearly silent. Can't say enough good things about it.

    If you do step up to Ryzen, be aware of two things: 1) Check the production week stamped on the CPU, it has the form 17xx where xx is the week... make sure this is higher than week 25, otherwise run kill-ryzen.sh to verify the segfault bug and get an RMA promptly from AMD's only support site, if you see it. Windows users need to boot Linux to do this, get a live iso on a usb stick to do this in maximum comfort, and preferably, just overwrite Windows when done :-) Most of that early production is sold out already, so the chance of getting a bad part is slim, but be aware. Windows users for the most part don't seem to see any issue even with the early parts. Good for them, but it goes along with significantly lower performance without the upgrade to LInux :-) 2) Be aware that Ryzen has no on-board GPU, in spite of the fact that your Ryzen motherboard has video connectors... these are for AMD's APUs, which use the same socket. Respectable chips in their own right especially in terms of value for money, but when you run Ryzen you need to run a discrete GPU too. This is what you want anyway, because what is the point of crippling your high end desktop processor with a mickey mouse embedded GPU? To be specific: AMD's fattest APU has eight compute units (512 stream processors) vs 64 in the current Vega part, plus uses processor memory instead of higher bandwidth dedicated graphics memory.

    Of course, what I really want is a threadripper... that's next.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  17. Re: Zhaoxin by Jesus+H+Rolle · · Score: 4, Funny

    Judge Learned Hand

    He won the name game.

  18. Re:Zhaoxin by Tough+Love · · Score: 4, Informative

    It's not a pure monopoly, but it has a lot of monopoly power. Monopoly is not a binary state, as most lay pedants assume.

    There is no such legal concept as "pure monopoly". There is only anti-competitive behavior as defined in America by the Sherman, Clayton and FTC acts which includes such concepts as market power. There is endless confusion about this simple fact: a monopolist need not control 100% of a market to violate anti-trust laws. Usually much less than that, less than 50% is not at all uncommon. What matters is breaking the law or not.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  19. Re:Economics by swillden · · Score: 3, Interesting

    Ask anyone involved - even whitehats - and you are likely to be told that the demand and renumeration for exploits on the open market is higher than it is for submitting it and expecting a bounty.

    I work with a lot of such people, and their response is that remuneration on the dark side is iffy and dangerous, and there's the constant threat of getting caught and prosecuted. Their opinion is that -- excluding spook operations -- the black hat side is small and relatively untalented.

    I guess maybe it depends how you classify the government-funded stuff. Personally, I don't consider it either white or black, but somewhere in between. And I don't think it attracts the best, though perhaps quantity counts as much as quality. There was a time when the NSA attracted the best, but that was before Snowden.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  20. Re:That'll show 'em by Tough+Love · · Score: 4, Insightful

    Or is Intel basically saying 'we are committed to selling you shit forever and ever, and never fixing anything'?" he asked. "Because if that's the case, maybe we should start looking towards the ARM64 people more."

    Not sure how much Intel really cares about threats from the free Linux community - vs Microsoft, etc...

    Out of touch much? Intel now derives a large and expanding portion of its revenue from Linux servers, versus the shrinking Wintel market. Intel cares every much about its image in the Linux community, it is very easy to drive devs away to ARM and AMD. Intel has done a respectable job of keeping that brain drain under control and anything else would just be suicidal.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  21. Re:Zhaoxin by microbox · · Score: 3, Funny

    Backdoor for domestic police state? That would be China. At least the USA has structural separation between businesses (like Intel), and the government. And is a country of laws.

    --

    Like all pain, suffering is a signal that something isn't right
  22. Re:kinda naive by PlusFiveTroll · · Score: 4, Informative

    >you heard me. he may be a great programmer, but he doesn't know DICK about how hard it is to make a CPU

    Did you forget that Linus worked at Transmeta?