Results 1 to 15 of 15

Thread: AMD released Spectre 2 mitigations on Patch Tuesday

  1. #1
    HEXUS.admin
    Join Date
    Apr 2005
    Posts
    31,709
    Thanks
    0
    Thanked
    2,073 times in 719 posts

    AMD released Spectre 2 mitigations on Patch Tuesday

    And AMD has supplied microcode updates to partners for CPUs dating back to 2011.
    Read more.

  2. #2
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Would be nice if they had given an actual version number to look for. Mine seems to be from mid December still:

    $ rpm -q -f /usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin
    linux-firmware-20171215-82.git2451bb22.fc27.noarch
    $ cat /proc/cpuinfo | grep "microcode" | uniq
    microcode : 0x600084f

    Last BIOS from ASUS was 2015, so I won't hold my breath for them to release an update.

  3. #3
    Long member
    Join Date
    Apr 2008
    Posts
    2,427
    Thanks
    70
    Thanked
    404 times in 291 posts
    • philehidiot's system
      • Motherboard:
      • Father's bored
      • CPU:
      • Cockroach brain V0.1
      • Memory:
      • Innebriated, unwritten
      • Storage:
      • Big Yellow Self Storage
      • Graphics card(s):
      • Semi chewed Crayola Mega Pack
      • PSU:
      • 20KW single phase direct grid supply
      • Case:
      • Closed, Open, Cold
      • Operating System:
      • Cockroach
      • Monitor(s):
      • The mental health nurses
      • Internet:
      • Please.

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    One for the true nerds out there....

    ... given the performance impact of these patches (Anandtech did an analysis and the hit to NVMe drive performance is horrific) I personally think informed users should be allowed to decide on whether the patches are installed. Is there any way to prevent their installation on a Windows 10 system or to remove them and stop them coming back?

  4. #4
    Senior Member
    Join Date
    Feb 2017
    Posts
    246
    Thanks
    3
    Thanked
    17 times in 17 posts

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    One for the true nerds out there....

    ... given the performance impact of these patches (Anandtech did an analysis and the hit to NVMe drive performance is horrific) I personally think informed users should be allowed to decide on whether the patches are installed. Is there any way to prevent their installation on a Windows 10 system or to remove them and stop them coming back?
    Do you have a link we can check out those horrific performance?

  5. #5
    Member
    Join Date
    Nov 2011
    Posts
    189
    Thanks
    0
    Thanked
    11 times in 10 posts

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    One for the true nerds out there....

    ... given the performance impact of these patches (Anandtech did an analysis and the hit to NVMe drive performance is horrific) I personally think informed users should be allowed to decide on whether the patches are installed. Is there any way to prevent their installation on a Windows 10 system or to remove them and stop them coming back?
    You could try: https://www.grc.com/inspectre.htm

  6. #6
    Member
    Join Date
    Jun 2014
    Posts
    100
    Thanks
    0
    Thanked
    10 times in 9 posts

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    One for the true nerds out there....

    ... given the performance impact of these patches (Anandtech did an analysis and the hit to NVMe drive performance is horrific) I personally think informed users should be allowed to decide on whether the patches are installed. Is there any way to prevent their installation on a Windows 10 system or to remove them and stop them coming back?
    Are you sure the performance issue impacts spectre patches for AMD and not just meltdown patches for intel? The media has been pretty poor at explaining that distinction, much to intel's delight I'm sure. Everything I've seen so far indicates no performance loss for spectre patches on any platform, that could have changed of course.

  7. #7
    Long member
    Join Date
    Apr 2008
    Posts
    2,427
    Thanks
    70
    Thanked
    404 times in 291 posts
    • philehidiot's system
      • Motherboard:
      • Father's bored
      • CPU:
      • Cockroach brain V0.1
      • Memory:
      • Innebriated, unwritten
      • Storage:
      • Big Yellow Self Storage
      • Graphics card(s):
      • Semi chewed Crayola Mega Pack
      • PSU:
      • 20KW single phase direct grid supply
      • Case:
      • Closed, Open, Cold
      • Operating System:
      • Cockroach
      • Monitor(s):
      • The mental health nurses
      • Internet:
      • Please.

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by EN1R0PY View Post
    Are you sure the performance issue impacts spectre patches for AMD and not just meltdown patches for intel? The media has been pretty poor at explaining that distinction, much to intel's delight I'm sure. Everything I've seen so far indicates no performance loss for spectre patches on any platform, that could have changed of course.
    You're possibly right and I've got it all upside down and backwards. I'll have a look later on tonight and get back to you.

  8. #8
    Long member
    Join Date
    Apr 2008
    Posts
    2,427
    Thanks
    70
    Thanked
    404 times in 291 posts
    • philehidiot's system
      • Motherboard:
      • Father's bored
      • CPU:
      • Cockroach brain V0.1
      • Memory:
      • Innebriated, unwritten
      • Storage:
      • Big Yellow Self Storage
      • Graphics card(s):
      • Semi chewed Crayola Mega Pack
      • PSU:
      • 20KW single phase direct grid supply
      • Case:
      • Closed, Open, Cold
      • Operating System:
      • Cockroach
      • Monitor(s):
      • The mental health nurses
      • Internet:
      • Please.

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Okay, for those questioning my competency, well here's the evidence you need to prove you right.

    https://www.anandtech.com/show/12566...ntel-nuc7i7bnh

    The analysis was done on BOTH vulnerabilities (discriminating between no patch, OS patch and OS and uCode) and solely on an Intel platform.

    My question is still valid although perhaps in a broader domain. Given there is a hit to performance, is there any way to keep Windows up to date but choose not to install these patches?

    To the person asking about the "horrific performance" - see page two of the link above and scroll to the bottom graph. It demonstrates clearly there is a massive impact on NVMe performance whilst most other hits will be negligable and affect niche users. NVMe performance is hit by 29% - for that you might as well have saved your money and got a SATA based SSD.

  9. #9
    Senior Member
    Join Date
    Dec 2013
    Posts
    3,526
    Thanks
    504
    Thanked
    468 times in 326 posts

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    My question is still valid although perhaps in a broader domain. Given there is a hit to performance, is there any way to keep Windows up to date but choose not to install these patches?
    IIRC there's a switch in the registry that can be used to turn it on/off, that i won't link to in case i get accused of saying people should do it.

    Having said that IDK how or even if switching the protection on/off at the OS level effects performance with or without a microcode update.

  10. #10
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    One for the true nerds out there....

    ... given the performance impact of these patches (Anandtech did an analysis and the hit to NVMe drive performance is horrific) I personally think informed users should be allowed to decide on whether the patches are installed. Is there any way to prevent their installation on a Windows 10 system or to remove them and stop them coming back?
    Not installing the patches would be safe if you unplug the network cable. If the network cable is unplugged then you won't be getting the patches so you won't see a drop in performance. Problem solved.

    And people running Windows 7 should be aware that Microsoft messed up the January patch for them so getting those machines up to date is really important. This is why, like the OS or not, if you are going to run a Microsoft OS make it the latest one because the older operating systems just won't get the same level of attention: https://threatpost.com/bad-microsoft...secure/130844/

    But basically, most people only really care about Windows performance with gaming which really isn't hit. The hit to storage benchmarks isn't reflected in any Windows application benchmark I have seen. Just patch, it isn't worth avoiding it.

    FWIW one of my boxes is a Linux box that is hit quite hard by these patches. It is bang up to date and despite the benchmarks I can't feel any difference.

  11. #11
    Long member
    Join Date
    Apr 2008
    Posts
    2,427
    Thanks
    70
    Thanked
    404 times in 291 posts
    • philehidiot's system
      • Motherboard:
      • Father's bored
      • CPU:
      • Cockroach brain V0.1
      • Memory:
      • Innebriated, unwritten
      • Storage:
      • Big Yellow Self Storage
      • Graphics card(s):
      • Semi chewed Crayola Mega Pack
      • PSU:
      • 20KW single phase direct grid supply
      • Case:
      • Closed, Open, Cold
      • Operating System:
      • Cockroach
      • Monitor(s):
      • The mental health nurses
      • Internet:
      • Please.

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by Corky34 View Post
    IIRC there's a switch in the registry that can be used to turn it on/off, that i won't link to in case i get accused of saying people should do it.

    Having said that IDK how or even if switching the protection on/off at the OS level effects performance with or without a microcode update.
    Looking at the link will give you some idea but they did not test just the microcode without the OS update being active.

    Personally, I doubt it'll affect me but equally I think people should have the option to disable it as long as they are aware of the risks. Hell, I did something similar to someone's pacemaker yesterday. I just ensured she was aware of the risks and she was willing to undertake them for the perceived benefits.

  12. #12
    Long member
    Join Date
    Apr 2008
    Posts
    2,427
    Thanks
    70
    Thanked
    404 times in 291 posts
    • philehidiot's system
      • Motherboard:
      • Father's bored
      • CPU:
      • Cockroach brain V0.1
      • Memory:
      • Innebriated, unwritten
      • Storage:
      • Big Yellow Self Storage
      • Graphics card(s):
      • Semi chewed Crayola Mega Pack
      • PSU:
      • 20KW single phase direct grid supply
      • Case:
      • Closed, Open, Cold
      • Operating System:
      • Cockroach
      • Monitor(s):
      • The mental health nurses
      • Internet:
      • Please.

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by DanceswithUnix View Post
    FWIW one of my boxes is a Linux box that is hit quite hard by these patches. It is bang up to date and despite the benchmarks I can't feel any difference.
    My Apple machine has recently taken a dive in performance but equally, the update that has been applied just happens to be the last one as it was declared obsolete. Coincidence?

    Given Apple's record I'm willing to guess it's no coincidence.

    Time for that full Kali install then.

  13. #13
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by philehidiot View Post
    Looking at the link will give you some idea but they did not test just the microcode without the OS update being active.

    Personally, I doubt it'll affect me but equally I think people should have the option to disable it as long as they are aware of the risks. Hell, I did something similar to someone's pacemaker yesterday. I just ensured she was aware of the risks and she was willing to undertake them for the perceived benefits.
    The link was one snapshot of patching, one CPU, one operating system. More modern CPUs will take less of a hit, and the patches will get better over time as new tricks are pulled. Then there is the concept that related issues are going to be creeping out over the next couple of years, and really you want the patches applied before they are announced.

    Really, unless your workload is copying lots of small files around SSDs all day on Linux/Mac systems with a really old Intel CPU then you aren't going to take a hit by patching. Being more informed than that? Well that means at least detailed benchmarks of your specific machine or if you have several then knowing how results along axes of cpu age, operating system and level of patching which might get you an interesting 3D density map on a 3 axis graph but personally I think it is just too much effort to track that moving target when the correct thing to do in the face of overwhelming data is just patch.

  14. Received thanks from:

    Jonj1611 (11-04-2018)

  15. #14
    Senior Member
    Join Date
    May 2009
    Location
    Where you are not
    Posts
    1,330
    Thanks
    608
    Thanked
    103 times in 90 posts
    • Iota's system
      • Motherboard:
      • Asus Maximus Hero XI
      • CPU:
      • Intel Core i9 9900KF
      • Memory:
      • CMD32GX4M2C3200C16
      • Storage:
      • 1 x 1TB / 3 x 2TB Samsung 970 Evo Plus NVMe
      • Graphics card(s):
      • Nvidia RTX 3090 Founders Edition
      • PSU:
      • Corsair HX1200i
      • Case:
      • Corsair Obsidian 500D
      • Operating System:
      • Windows 10 Pro 64-bit
      • Monitor(s):
      • Samsung Odyssey G9
      • Internet:
      • 500Mbps BT FTTH

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by DanceswithUnix View Post
    The link was one snapshot of patching, one CPU, one operating system. More modern CPUs will take less of a hit, and the patches will get better over time as new tricks are pulled.
    Hmm, the system tested was a Kaby Lake U, interestingly though I have to question the storage benchmark as the NVMe seems rather slow already (even for a 128GB capacity). So the only real take away from that test is that anything I/O intensive is going to take a hit when patched on an Intel system.

    Not that I'm remotely concerned about getting any form of microcode update for my hardware, considering the response I got from Gigabyte was,

    Currently, we haven’t get the new MCU from Intel yet, so we still have no new BIOS for 6 series motherboard.
    Be interesting to see if there are any differences on AMD systems in terms of the I/O impact.

  16. #15
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: AMD released Spectre 2 mitigations on Patch Tuesday

    Quote Originally Posted by Iota View Post
    So the only real take away from that test is that anything I/O intensive is going to take a hit when patched on an Intel system.
    Only I/O done in small amounts, like small file copying. Windows was always pretty bad at that anyway which is why the initial scary numbers which came from the Linux community never materialised. It isn't the I/O that is the problem, it is the rapid fire operating system calls needed to set it up because the switch from user to supervisor and back just became more expensive, and on old platforms where you can't get help from the VM support a lot more expensive.

    The Linux community have also found some database applications hurt, AIUI that isn't actually the database it is the network chatter through the loopback network connection.

    Not that I'm remotely concerned about getting any form of microcode update for my hardware, considering the response I got from Gigabyte was,


    Be interesting to see if there are any differences on AMD systems in terms of the I/O impact.
    The operating system should patch the microcode for you on every boot if the BIOS didn't leave it up to date. Microsoft have suspended doing that for all AMD platforms after some trouble with the last Athlon update but I'm sure that will all get sorted out.

    The big hurt for performance here is Meltdown on *older* Intel systems, and AMD isn't effected by that so the performance hit is minimal. I believe these recent microcode updates aren't mitigations as such, but new barrier instructions that the operating system can use as tools for mitigation. So the microcode on its own will do approximately nothing, and then operating system code will change over time giving you something really hard to measure.
    Last edited by DanceswithUnix; 12-04-2018 at 08:33 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •