CPU Cache Effects - Sergey Slotin - Meeting C++ 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • CPU Cache Effects - Sergey Slotin - Meeting C++ 2022
    Slides: slides.meeting...
    Survey: survey.meeting...
    Modern computer architectures have many properties that can impact software performance. While the compiler is generally good enough at "in-core" optimizations such as instruction selection and various loop optimizations, most memory acceleration techniques cannot work optimally without some help from the programmer. This talk draws a picture of what every C++ developer needs to know about modern memory systems to perform these kinds of optimizations by presenting a series of small code examples and benchmarking their performance - often producing surprising results - experimentally deriving key memory characteristics and highlighting different CPU cache effects.

ความคิดเห็น • 7

  • @zenjasolaja9527
    @zenjasolaja9527 ปีที่แล้ว +5

    Exceptional presentation, well done Sergey.

  • @chocolate_maned_wolf
    @chocolate_maned_wolf 2 หลายเดือนก่อน

    lovely; thank you!!

  • @dementedchicken1
    @dementedchicken1 ปีที่แล้ว

    Thanks for the fantastic presentation!

  • @edubmf
    @edubmf ปีที่แล้ว +4

    26:48 - six bytes is the sizeof int? surely 4

    • @jeremywmurphy
      @jeremywmurphy ปีที่แล้ว +1

      I just had the same question...

    • @robrick9361
      @robrick9361 ปีที่แล้ว +1

      Yeah its 4. He's pronunciation of numbers in english is off. Like he says 226 instead of 256 or 2^12 instead of 2^20.

  • @MaksimVolkau
    @MaksimVolkau ปีที่แล้ว

    amazing talk