Slashdot Mirror


Microsoft Details Performance Impact of Spectre and Meltdown Mitigations on Windows Systems (microsoft.com)

Microsoft's Windows chief Terry Myerson on Tuesday outlined how Spectre and Meltdown firmware updates may affect PC performance. From a blog post: With Windows 10 on newer silicon (2016-era PCs with Skylake, Kabylake or newer CPU), benchmarks show single-digit slowdowns, but we don't expect most users to notice a change because these percentages are reflected in milliseconds.

With Windows 10 on older silicon (2015-era PCs with Haswell or older CPU), some benchmarks show more significant slowdowns, and we expect that some users will notice a decrease in system performance. With Windows 8 and Windows 7 on older silicon (2015-era PCs with Haswell or older CPU), we expect most users to notice a decrease in system performance.

Windows Server on any silicon, especially in any IO-intensive application, shows a more significant performance impact when you enable the mitigations to isolate untrusted code within a Windows Server instance. This is why you want to be careful to evaluate the risk of untrusted code for each Windows Server instance, and balance the security versus performance tradeoff for your environment.

For context, on newer CPUs such as on Skylake and beyond, Intel has refined the instructions used to disable branch speculation to be more specific to indirect branches, reducing the overall performance penalty of the Spectre mitigation. Older versions of Windows have a larger performance impact because Windows 7 and Windows 8 have more user-kernel transitions because of legacy design decisions, such as all font rendering taking place in the kernel.

26 of 237 comments (clear)

  1. Re:Really? by Anonymous Coward · · Score: 5, Insightful

    What — exactly — do you expect Microsoft to do? They didn't make the hardware and they can't fix this in software. I believe the fact that they're offering the choice (on Server at least) of suffering the performance impact or not shows an extraordinary degree of pragmatism. I honestly can't imagine a better response; how would you have them change it?

  2. Re:WHAT ABOUT AMD???? by barc0001 · · Score: 2

    *Some* AMDs are bricked, older chips.

  3. Planned Obsolescence by xxxJonBoyxxx · · Score: 4, Interesting

    >> With Windows XX on older silicon (2015-era PCs with Haswell or older CPU)...we expect...a decrease in system performance. (So plan to buy a new proc from our licensed PC distributors soon.)

    1. Re:Planned Obsolescence by link-error · · Score: 2

          Except Intel changes the socket format so frequently, I've almost always been forced to by a new motherboard... and new memory.

      --
      -Unresolved symbol? Byte me!
    2. Re:Planned Obsolescence by Dog-Cow · · Score: 4, Funny

      Yes, that's older. It's how time works. Look into it when you have some.

    3. Re:Planned Obsolescence by thegarbz · · Score: 2

      What's a GHz? Is that some irrelevant performance metric from the 90s?

      In other news The Pentium 4 had more GHz than the competition. Ever wondered why it was laughed at?

  4. Time to upgrade by postmortem · · Score: 2, Interesting

    Folks, your CPUs 2015 and older are obsolete ... how convenient for Wintel.. get that fancy new CPU and another copy of Windows 10, because what you have today is OEM version, so with a new CPU you'll need a new Windows copy.

  5. Re:How is 2015 old? by dstyle5 · · Score: 5, Interesting

    If you are using one of these "old" processors you haven't bought a new one and supported their good friends at Intel recently. Come on, get with the program, consumer. Also pick up a Pro or Enterprise version of Windows while you buying your new Intel processor, chum. ;)

  6. Re:Really? by Anonymous Coward · · Score: 5, Funny

    Actually, this is a software (more precisely, a compiler) problem. The problem is that the modern compilers
    make it difficult for these modern CPUs since they don't clearly instruct the CPU on how to proceed.
    So the CPU has to speculate (a.k.a. guess) what instruction it should do next. If the compilers produced
    better code in a more organized fashion, then the CPUs wouldn't have to be guessing all of the time, amiright?

    (Hey, you know this is the next step in the blame game - watch somebody make a serious thread of this.)

    CAP === 'spells'

  7. Free speed upgrades for Appdoze 10! by PingSpike · · Score: 4, Funny

    That's the nice Windows 7 you got there. It'd be a real shame if something happened to its performance.

    1. Re:Free speed upgrades for Appdoze 10! by Anonymous Coward · · Score: 2, Insightful

      Or better yet, don't run EOL software.

      Retard alert! Win7 has more than two years before EOL.

    2. Re:Free speed upgrades for Appdoze 10! by Wrath0fb0b · · Score: 2

      Dude, they agreed with this conclusion and moved font rendering out of the kernel.

      I can't imagine being your coworker if every time someone admits they made a mistake and correct it, you harp about how wrong they were in the first place. We get that you are Very Smart and were in fact right along along, being ungracious about it is not making you seem smarter, it's making you seem just as smart but more of a jerk.

  8. Re:Sandy Bridge processors info by Hal_Porter · · Score: 5, Informative

    Your performance will be fucked six ways to Sunday if your workload does a lot of user to kernel mode switches. Unless you fancy waiting for Intel to release fixed chips and then buying a new CPU and a new motherboard to put it in.

    Ironically Intel forcing people to buy new motherboards to switch between very similar CPU generations coupled with the fact that any Intel CPU you buy now still has the bug means that its just as easy to buy an AMD CPU and motherboard than an Intel one.

    Then again a new Intel chip has Process Context ID support which means the workaround for the bug is relatively low impact.

    --
    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:security versus performance tradeoff by jwhyche · · Score: 2

    I find that statement interesting. I was playing GTA 5 on a i7-6700K last night and didn't' notice any performance impact from the game. I was running over goats just as well as I always have been. Do you have any benchmarks you can provide, before and after?

    --
    I read at +2. If your post doesn't reach that level I will not see or respond to it.
  10. Re:Complexity unfortunately means Holes. by 110010001000 · · Score: 4, Funny

    "Modern CPU's are almost like mini-computers"

    Genius!

  11. Re:Honest reasons why 'Windows 7' isn't good enoug by Hylandr · · Score: 4, Informative

    Windows 10 sucks (quantify that)

    1. Keyloggers that send your keystrokes to Microsoft to serve targets ads in the OS. *cough* I mean 'Telemetry'.
    2. Inability to control patches / updates
    3. Reduced control over a system I *own*

    There's a good start.

    --
    ~ People that think they are better than anyone else for any reason are the cause of all the strife in the world.
  12. Re:Honest reasons why 'Windows 7' isn't good enoug by TheDarkMaster · · Score: 4, Insightful

    Windows 10 is a nice kernel but with an GUI made by preschool children on top of it... Maybe I change my mind and switch to it when the interface be made by real professionals, until then I'll continue with Windows 7.

    --
    Religion: The greatest weapon of mass destruction of all time
  13. Re:Only here by 110010001000 · · Score: 4, Insightful

    You are right. You can't expect Microsoft to fix their older operating systems that are under support. They just don't have the manpower or money. Everyone should just install Windows 10 (starts at only $119). And you also shouldn't expect Intel to fix their stuff either. It isn't like they have money to fix their stuff either. Just buy a new chip when it comes out. Problem solved.

  14. Re:Sandy Bridge processors info by WaffleMonster · · Score: 2

    Not worth supporting is more like it. It may sound like this is going to spell losses for Intel, and I'll grant that they've seen a momentary dip in stock prices, but you can bet good money that this will ultimately result in a rush on new Intel hardware to replace "bad" hardware. And people will just throw piles of cash at them, because reasons.

    There is no new Intel hardware available for sale to replace "bad" hardware. There *IS* however new AMD hardware.

  15. Re:Really? by spire3661 · · Score: 2

    I expect them to give me a choice to install this patch or not.

    --
    Good-bye
  16. Re:Really? by K.+S.+Kyosuke · · Score: 2

    Hey, you know this is the next step in the blame game - watch somebody make a serious thread of this.

    Too late; Itanium engineers did this two decades ago. ;)

    --
    Ezekiel 23:20
  17. Re:Really? by EndlessNameless · · Score: 2

    It's pretty fucking obvious that MS are trying to take advantage of the situation to get more users to finally switch over to Spyware 10 by fearmongering.

    Not at all.

    Since Vista, Microsoft has been on a very deliberate path of reducing dependencies, streamlining interfaces, and stripping legacy cruft within Windows. They have been modularizing the Windows kernel and kicking more functionality into user space for over a decade. This isn't news. I'm sure they're glad that it finally paid off though.

    You are conflating the architectural improvements with the intrusive telemetry. They are two entirely different issues. In fact, I wouldn't be surprised if the people who argued in favor of the current kernel design turned around and argued against the always-on telemetry. (Everyone wants telemetry during development; it only becomes stupid when you force users to transmit it.)

    Windows 10 with ad hoc measures to suppress telemetry is a much more secure operating system than Windows 7 or 8. If you value security and require Windows, that is where you should land. This is doubly true for enterprise users, as they can acquire Windows licenses which allow them to completely disable telemetry.

    --

    ---
    According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
  18. Re:Wow amazing coincedence by ChoGGi · · Score: 2

    PCID is supported on Westmere (2010) and up.

  19. Re:Really? by TheFakeTimCook · · Score: 2

    Actually, this is a software (more precisely, a compiler) problem. The problem is that the modern compilers
    make it difficult for these modern CPUs since they don't clearly instruct the CPU on how to proceed.
    So the CPU has to speculate (a.k.a. guess) what instruction it should do next. If the compilers produced
    better code in a more organized fashion, then the CPUs wouldn't have to be guessing all of the time, amiright?

    (Hey, you know this is the next step in the blame game - watch somebody make a serious thread of this.)

    CAP === 'spells'

    Actually, no. You're NOT right.

    Speculative branch prediction happens because there is NO WAY for ANYONE to know whether a Branch based on DATA will have to be taken or not. Otherwise, there wouldn't have to be CONDITIONAL branches AT ALL!

    I see software development is NOT your forte, amirite? ;-)

  20. I haven't noticed any slowdowns by jonwil · · Score: 4, Informative

    I am running a Skylake Core i5-6500 with 8GB RAM and a 250GB Samsung SSD with Windows 7 Home Premium and I have the patch installed and haven't observed any slowdowns.

    Just kicked of a full compile (in VS 2017) of a large (~2100 files) project I have here and I saw no noticeable slowdowns compared to how fast the thing compiled before the patch. And such a thing would be highly I/O bound (reading all the input source files and things, writing out compiled obj and other files, reading toolchain binaries etc) and likely making a lot of kernel-user transitions.

    I have no games on here that are demanding enough to show any observable difference between old and new so I cant test those.

  21. Re: Really? by dryeo · · Score: 2

    WTF is any operating system doing rendering fonts in ring 0? This was one of the reasons for the MS and IBM divorce, MS wanting to run stuff (video drivers) in ring 0 for performance and IBM refusing for security.

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