Page 1 of 2 12 LastLast
Results 1 to 16 of 25

Thread: AMD provides update on Spectre and Meltdown patches

  1. #1
    HEXUS.admin
    Join Date
    Apr 2005
    Posts
    26,417
    Thanks
    0
    Thanked
    1,628 times in 565 posts

    AMD provides update on Spectre and Meltdown patches

    And Nvidia has patched its drivers to mitigate for host CPU (not its GPU) and OS issues.
    Read more.

  2. #2
    Senior Member
    Join Date
    Sep 2014
    Location
    Darkest Northamptonshire
    Posts
    448
    Thanks
    39
    Thanked
    73 times in 58 posts
    • spacein_vader's system
      • Motherboard:
      • Asus B85M-G
      • CPU:
      • i5 4460 3.2GHz
      • Memory:
      • 4x4GB Crucial DDR3 1600
      • Storage:
      • 128GB SSD, 256GB SSD
      • Graphics card(s):
      • Asus RX-480 Dual OC 4GB
      • PSU:
      • Corsair HX 520W modular
      • Case:
      • Antec Mini P180
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • BenQ GW2765, Dell Ultrasharp U2412
      • Internet:
      • Origin Fibre Max

    Re: AMD provides update on Spectre and Meltdown patches

    So Nvidia GPUs aren't vulnerable but they're releasing an update anyway? Eh?

  3. #3
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Manchester
    Posts
    14,368
    Thanks
    1,129
    Thanked
    2,090 times in 1,734 posts
    • scaryjim's system
      • Motherboard:
      • HP Pavilion
      • CPU:
      • A10 4600M
      • Memory:
      • 2x 4GB DDR3-1600 SODIMM
      • Storage:
      • 1TB HDD
      • Graphics card(s):
      • Radeon HD7660G (IGP)
      • PSU:
      • Battery/HP 19v brick
      • Case:
      • HP Pavilion G6
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1366x768 laptop panel

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by spacein_vader View Post
    So Nvidia GPUs aren't vulnerable but they're releasing an update anyway? Eh?
    It would appear that certain calls in the nvidia GPU driver could be an avenue of attack against vulnerable CPUs. Presumably some software contains more instructions and pathways that could be used as a channel for the attacks, and since GPU drivers will cross the user and kernel memory spaces to some degree it's plausible to me that you could tweak a GPU driver to make it less vulnerable to use as an attack vector.

    CAT-THE-FIFTH has pointed out elsewhere that nvidia moved a lot of the scheduling for their GPUs to software a few generations ago, which may be a partial explanation for why nvidia have been particularly pro-active in optimising their drivers.

  4. #4
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    7,971
    Thanks
    323
    Thanked
    755 times in 654 posts
    • DanceswithUnix's system
      • Motherboard:
      • M5A-97 EVO R2.0
      • CPU:
      • FX-8350
      • Memory:
      • 16GB ECC 1333
      • Storage:
      • 660GB Linux, 500GB Games (Win 10)
      • Graphics card(s):
      • Sapphire Nitro R9 380 4GB
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 24 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Samsung 2343BW 2048x1152
      • Internet:
      • 80Mb/20Mb VDSL

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by scaryjim View Post
    CAT-THE-FIFTH has pointed out elsewhere that nvidia moved a lot of the scheduling for their GPUs to software a few generations ago, which may be a partial explanation for why nvidia have been particularly pro-active in optimising their drivers.
    I would hope that scheduling would be in a user mode driver, so no impact.

  5. #5
    Senior Member
    Join Date
    Dec 2013
    Posts
    1,798
    Thanks
    158
    Thanked
    163 times in 118 posts

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by DanceswithUnix View Post
    I would hope that scheduling would be in a user mode driver, so no impact.
    True but doesn't it, at some point, have to do a context switch so the Kernel can dispatch the data to the GPU?

  6. #6
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    7,971
    Thanks
    323
    Thanked
    755 times in 654 posts
    • DanceswithUnix's system
      • Motherboard:
      • M5A-97 EVO R2.0
      • CPU:
      • FX-8350
      • Memory:
      • 16GB ECC 1333
      • Storage:
      • 660GB Linux, 500GB Games (Win 10)
      • Graphics card(s):
      • Sapphire Nitro R9 380 4GB
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 24 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Samsung 2343BW 2048x1152
      • Internet:
      • 80Mb/20Mb VDSL

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by Corky34 View Post
    True but doesn't it, at some point, have to do a context switch so the Kernel can dispatch the data to the GPU?
    No, the GPU is memory mapped and so during set up can be mapped such that a user mode process can write to it.

    Kernel needs to do support stuff like route interrupts and initial hardware setup, but the main fast path you would hope will be user only.

    Other hardware I have worked on functions that way, I presume Nvidia would do the same.

  7. #7
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    7,971
    Thanks
    323
    Thanked
    755 times in 654 posts
    • DanceswithUnix's system
      • Motherboard:
      • M5A-97 EVO R2.0
      • CPU:
      • FX-8350
      • Memory:
      • 16GB ECC 1333
      • Storage:
      • 660GB Linux, 500GB Games (Win 10)
      • Graphics card(s):
      • Sapphire Nitro R9 380 4GB
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 24 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Samsung 2343BW 2048x1152
      • Internet:
      • 80Mb/20Mb VDSL

    Re: AMD provides update on Spectre and Meltdown patches

    Interesting article: https://arstechnica.com/gadgets/2018...t-performance/

    an unpatched Linux system can switch about 5.2 million times a second. Dual page tables slashes that to 2.2 million a second; dual page tables with PCID gets it back up to 3 million.
    Which I think puts some context on this. If your workload is trying to push the CPU to do over a million kernel context switches per second, like some of the benchmarks do, then you could see some slowdown.

  8. Received thanks from:

    kalniel (12-01-2018)

  9. #8
    Senior Member kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    28,487
    Thanks
    1,373
    Thanked
    2,787 times in 2,266 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte X58A UD3R rev 2
      • CPU:
      • Intel i7 950
      • Memory:
      • 12gb DDR3 2000
      • Graphics card(s):
      • AMD HD7870
      • PSU:
      • XFX Pro 650W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 7 Pro x64
      • Monitor(s):
      • Dell U2311H
      • Internet:
      • O2 8mbps

    Re: AMD provides update on Spectre and Meltdown patches

    Ah, that explains why my new westmere hasn't particularly improved (meltdown specifically affected) things with PCID support (alone), need Haswell's INVPCID as well :/

  10. Received thanks from:

    Millennium (14-01-2018)

  11. #9
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    7,971
    Thanks
    323
    Thanked
    755 times in 654 posts
    • DanceswithUnix's system
      • Motherboard:
      • M5A-97 EVO R2.0
      • CPU:
      • FX-8350
      • Memory:
      • 16GB ECC 1333
      • Storage:
      • 660GB Linux, 500GB Games (Win 10)
      • Graphics card(s):
      • Sapphire Nitro R9 380 4GB
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 24 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Samsung 2343BW 2048x1152
      • Internet:
      • 80Mb/20Mb VDSL

    Re: AMD provides update on Spectre and Meltdown patches

    The big question I still want an answer to: Why is the Spectre in the logo holding a stick?
    Edit: Oh, it's a branch isn't it. *foreheadslap*

  12. #10
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Manchester
    Posts
    14,368
    Thanks
    1,129
    Thanked
    2,090 times in 1,734 posts
    • scaryjim's system
      • Motherboard:
      • HP Pavilion
      • CPU:
      • A10 4600M
      • Memory:
      • 2x 4GB DDR3-1600 SODIMM
      • Storage:
      • 1TB HDD
      • Graphics card(s):
      • Radeon HD7660G (IGP)
      • PSU:
      • Battery/HP 19v brick
      • Case:
      • HP Pavilion G6
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1366x768 laptop panel

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by DanceswithUnix View Post
    ... Edit: Oh, it's a branch isn't it. *foreheadslap*
    Although at a stretch you could argue it's a reference to (Out of) Order of the Stick (execution)...

  13. #11
    Member
    Join Date
    May 2009
    Location
    Where you are not
    Posts
    158
    Thanks
    10
    Thanked
    12 times in 8 posts
    • Iota's system
      • Motherboard:
      • GA-P67A-UD5-B3
      • CPU:
      • Intel Core i7 2600K
      • Memory:
      • 2 x BL2KIT25664FN2139
      • Storage:
      • 4 x CTFDDAC064MAG-1G1 (Raid 0)
      • Graphics card(s):
      • ASUS Radeon R9 290 DC-2
      • PSU:
      • Corsair Professional Series Gold AX750
      • Case:
      • Lian Li PC-X500B
      • Operating System:
      • Windows 10 Pro 64-bit
      • Monitor(s):
      • 2x Samsung 22" widescreen P2270 2ms DVI HD LCD TFT Ecofit
      • Internet:
      • 40Mbps SKY Fibre

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by kalniel View Post
    Ah, that explains why my new westmere hasn't particularly improved (meltdown specifically affected) things with PCID support (alone), need Haswell's INVPCID as well :/
    Yes, annoyingly earlier Sandy Bridge has PCID, but not INVPCID, which means;

    Windows will use PCID if the hardware supports INVPCID—that means Haswell or newer. If the hardware doesn't support INVPCID, then Windows won't fall back to using plain PCID; it just won't use the feature at all.
    So you end up with more overhead due to TLB flushing on older CPUs. It also probably explains why Intel has cherry picked which CPUs it shows performance impacts on, because they know the fix for older CPUs introduces more overhead in certain scenarios. It really does depend on what you are using your PC for though.

  14. Received thanks from:

    Millennium (14-01-2018)

  15. #12
    Registered User
    Join Date
    Aug 2017
    Posts
    13
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: AMD provides update on Spectre and Meltdown patches

    On the other hand....Complete silence from Intel on their mitigation scenarios with specifically, the Meltdown problem (apart form " We take customers security seriously") Reading 90% of the tech press - you would be forgiven for thinking that there is comparable culpability from InteL, AMD, and ARM.
    There is not. Intel still has the Meltdown architecture problem that affects ALL Intel products. Maybe that's why their CEO sold off all his stock in October, when the problem was going to be made public. But kept only the bare minimum that is allowed legally.

  16. Received thanks from:

    Millennium (14-01-2018)

  17. #13
    Registered User
    Join Date
    Apr 2017
    Posts
    13
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: AMD provides update on Spectre and Meltdown patches

    Maybe instead of worrying so much about viruses, protecting yourself from them and clogging up your computer with rubbish to combat it, perhaps just don't click on stupid things if you don't know what they do, don't open emails you don't know where they came from and don't visit unknown websites?

    Reminds me of people that buy into weight loss gimmicks when all you EVER need to do is make sure you're using up more caloric energy than you take in.

    It's not rocket science.

  18. #14
    Senior Member
    Join Date
    Jul 2009
    Location
    West Sussex
    Posts
    944
    Thanks
    52
    Thanked
    115 times in 109 posts
    • kompukare's system
      • Motherboard:
      • Asus P8Z77-V LX
      • CPU:
      • Intel i5-3570K
      • Memory:
      • 2 x 8GB Crucial Ballistix Elite PC3-14900
      • Storage:
      • Crucial MX200 | Sandisk Extreme 120GB SSD | WDC 1TB Green | Samsung 1Tb Spinpoint
      • Graphics card(s):
      • Sapphire R9 290 VaporX 7950
      • PSU:
      • Antec 650 Gold TruePower (Seasonic) or Seasonic SII-330
      • Case:
      • Aerocool DS 200 (silenced, 53.6 litres)l)
      • Operating System:
      • Windows 10-64
      • Monitor(s):
      • 2 x Dell P2414H

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by deadcatwalking View Post
    Maybe instead of worrying so much about viruses, protecting yourself from them and clogging up your computer with rubbish to combat it, perhaps just don't click on stupid things if you don't know what they do, don't open emails you don't know where they came from and don't visit unknown websites?
    Well, plenty of well-known website have had problems with malicious things being served with their adverts etc., so it's naïve to imagine that people only get viruses when visiting dodgy sites.

  19. #15
    Senior Member
    Join Date
    May 2014
    Posts
    484
    Thanks
    25
    Thanked
    39 times in 29 posts

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by deadcatwalking View Post
    Maybe instead of worrying so much about viruses, protecting yourself from them and clogging up your computer with rubbish to combat it, perhaps just don't click on stupid things if you don't know what they do, don't open emails you don't know where they came from and don't visit unknown websites?

    Reminds me of people that buy into weight loss gimmicks when all you EVER need to do is make sure you're using up more caloric energy than you take in.

    It's not rocket science.
    As a Security Professional i cannot begin to list how many different kinds of wrong you are.

    A large percentage of hacks are performed as a drive by while you're visiting legitimate benign sites. This is through malicious cookies or a hackvertisement backdooring through your browser via scripts.

    The internet is not safe, wherever you go

  20. #16
    Member
    Join Date
    Mar 2013
    Location
    Lancaster
    Posts
    141
    Thanks
    43
    Thanked
    5 times in 5 posts
    • Mr_Jon's system
      • Motherboard:
      • ASRock AB350M Pro4
      • CPU:
      • Ryzen 5 1600
      • Memory:
      • Ballistix Sport LT DDR4-2666, 24gb
      • Storage:
      • Samsung 840 Series SSD, 120GB
      • Graphics card(s):
      • EVGA GTX 780Ti SC
      • PSU:
      • EVGA SuperNOVA 650 G2
      • Case:
      • Fractal Design Define XL R2 Black Pearl
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Samsung 32" C32F391 Curved

    Re: AMD provides update on Spectre and Meltdown patches

    Quote Originally Posted by deadcatwalking View Post
    Maybe instead of worrying so much about viruses, protecting yourself from them and clogging up your computer with rubbish to combat it, perhaps just don't click on stupid things if you don't know what they do, don't open emails you don't know where they came from and don't visit unknown websites?

    Reminds me of people that buy into weight loss gimmicks when all you EVER need to do is make sure you're using up more caloric energy than you take in.

    It's not rocket science.
    Yes...with viruses - but the whole spectre/meltdown hoo-hah goes behind that, in that it's out of the hands of the end user.

    Couldn't agree more though when it comes to being careful what one clicks on. I've had one virus in 25 years of computing. The work computer, on the other hand, has a virus/malware/pup every other week due to its principle users clicking on crap and insisting on using an unprotected browser (which in itself will have installed even more bumph without them realising).

Page 1 of 2 12 LastLast

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
  •