[DISCUSSION] Meltdown and Spectre

Discussion in 'PC Hardware' started by scaramonga, Jan 3, 2018.

  1. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,431
    Likes Received:
    12,999
    Trophy Points:
    340
    #301 Yen, Jan 25, 2018
    Last edited: Jan 25, 2018
    It will always depend on one's own CPU and usage of the PC. One actually knows it when testing the final release on the own machine, not before.
    To speak generally of retpoline or any other measure just as IBRS or to compare retpoline to IBRS makes also only limited sense.
    There will be different combinations and configurations and even variants of retpoline such as:

    Code:
    SPECTRE_V2_NONE,
    +    SPECTRE_V2_RETPOLINE_MINIMAL,
    +    SPECTRE_V2_RETPOLINE_MINIMAL_AMD,
    +    SPECTRE_V2_RETPOLINE_GENERIC,
    +    SPECTRE_V2_RETPOLINE_AMD,
    +    SPECTRE_V2_IBRS,
    For me it is still unclear why retpoline should be less expensive than IBRS. I do not know when exactly there is a restriction....depends on too many factors...

    Retpoline will have an impact on structure of programms (global change).....

    Indirect branches are popular and speculation on these is responsible for performance gain.
    So now it seems we try to avoid situations where predictions are made and we are changing the code by recompiling (replace indirect callings)...

    So we are moving into a direction where we try to prevent events while leaving the cause untouched (we're waiting for new CPUs there is no other way)....

    At the same time the CPU devs actually would have to fight the cause which comes with a complete revision of speculative execution.
    The right way is to work out a concept with more resources/metadata just like the process context ID. Or bit-setting or flags / tags....to introduce more ways to differentiate.
    It must be very clear how things are related and which processes can do what...and there must be real barriers and clear privileges.

    To have the page tables together is not the reason for meltdown (see AMD, KPTI can be turned off on AMD CPUs) and speculation on indirect branches to gain performance can also be realized in a safe way....

    But for now -it seems- many people have to do lots of efforts to prevent special situations and when once the cause vanishes they can be all reverted...except Intel does not really want to go after the cause and remains at fighting events where prediction can be abused....means restricting predictions instead of to make them safe.

    I guess it will take years....
     
  2. Daz

    Daz MDL Developer / Admin Staff Member

    Joined:
    Jul 31, 2009
    Messages:
    9,551
    Likes Received:
    67,118
    Trophy Points:
    300
  3. Joe C

    Joe C MDL Guru

    Joined:
    Jan 12, 2012
    Messages:
    3,533
    Likes Received:
    2,094
    Trophy Points:
    120
  4. MMIKEE

    MMIKEE MDL Senior Member

    Joined:
    Oct 6, 2012
    Messages:
    352
    Likes Received:
    313
    Trophy Points:
    10
    #304 MMIKEE, Jan 25, 2018
    Last edited: Jan 28, 2018
    I concur, I have lost much respect for Intel... :mad: All things considered, PC's that I build will have High-End AMD CPU's... Intel can "Stick it where the sun never shines"... :throw:
     
  5. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,561
    Likes Received:
    59,622
    Trophy Points:
    450
    You liked the reliability and performance of intel, the better performance part is because of the specific design that now is found to be exploitable and now called a flaw.
     
  6. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,207
    Likes Received:
    7,533
    Trophy Points:
    210
    hmm in my side for a while I'm in peace thanks God running AMD here ;)
     
  7. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    :gun_owned_h4h:
    Intel Inside....All your data Outside.
     
  8. MMIKEE

    MMIKEE MDL Senior Member

    Joined:
    Oct 6, 2012
    Messages:
    352
    Likes Received:
    313
    Trophy Points:
    10
    #308 MMIKEE, Jan 25, 2018
    Last edited: Jan 27, 2018
    True, but IMO, High End AMD CPU's are very capable and much less $$$ than comparable Intel CPU's... :D
     
  9. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    The next one comparing apples with tomatos, nice :cool2:.
     
  10. Mikorist

    Mikorist MDL Member

    Joined:
    Dec 26, 2012
    Messages:
    205
    Likes Received:
    144
    Trophy Points:
    10
  11. Mikorist

    Mikorist MDL Member

    Joined:
    Dec 26, 2012
    Messages:
    205
    Likes Received:
    144
    Trophy Points:
    10
    Me to. It's soldered to the motherboard :roflmao:
     
  12. maddogster

    maddogster MDL Member

    Joined:
    Mar 23, 2015
    Messages:
    242
    Likes Received:
    81
    Trophy Points:
    10
    dell has suspended many firmware updates that they released in dec/jan as it is causing some rebooting issues so if you installed and working is ok otherwise they posted older versions to revert back to until newer ones posted; they mentioned stick with the microsoft OS patches for now
     
  13. MrG

    MrG MDL Expert

    Joined:
    May 31, 2010
    Messages:
    1,110
    Likes Received:
    386
    Trophy Points:
    60
  14. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,431
    Likes Received:
    12,999
    Trophy Points:
    340
  15. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Joined:
    Jul 26, 2012
    Messages:
    4,078
    Likes Received:
    4,652
    Trophy Points:
    150
    @MrG: Like Yen said. He's only providing a way to set the registry key that enables / disables Spectre2 protection.

    Steve Gibson is really smart, but I doubt he'd want to bite into this rotten apple. :D
     
  16. AeonX

    AeonX MDL Addicted

    Joined:
    May 24, 2013
    Messages:
    694
    Likes Received:
    542
    Trophy Points:
    30
    My last "high-performance" processor was a first-generation i5 750 after that I started investing in more modest PCs. I currently have a Pentium Dual Core G3240 Haswell and I'm glad I did not spend a fortune on an i5/i7 now I'm needing a quad (or more) core I will certainly go to AMD :cool:
     
  17. Yen

    Yen Admin Staff Member

    Joined:
    May 6, 2007
    Messages:
    12,431
    Likes Received:
    12,999
    Trophy Points:
    340
    #317 Yen, Feb 1, 2018
    Last edited: Feb 1, 2018
    I'd wait (if you can) for their Zen-2 architecture, though. (Ryzen 3000)
    Zen+ won't have any fixes.
     
  18. AeonX

    AeonX MDL Addicted

    Joined:
    May 24, 2013
    Messages:
    694
    Likes Received:
    542
    Trophy Points:
    30
    Thank you. I'll wait, the upgrade is not so urgent. Even if Intel fixes the bugs in the next generations I see a lot of arrogance on its part. I like the power efficiency of Intel processors but AMD's have not been bad lately.
     
  19. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    What do you mean by arrogance?
     
  20. AeonX

    AeonX MDL Addicted

    Joined:
    May 24, 2013
    Messages:
    694
    Likes Received:
    542
    Trophy Points:
    30