How Cache Works In Computers to Speed Up the CPU

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2022
  • In this video, we will cover what cache is, why it is used, and how data is moved in and out of different levels of cache.
    bit-Machine: www.bit-machine.co.uk/
    How to Write Machine-Level Code in bit-Machine: • How To Write Machine-L...
    How the Fetch, Decode, Execute Cycle Works: • How Do CPUs Run Progra...
    How Do Registers Work: • How Do Special Registe...

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

  • @giornikitop5373
    @giornikitop5373 ปีที่แล้ว +9

    just one clarification. addr 30 will give a cache miss but addr 31, 32, 33 etc will have a cache hit. why? because every time the cpu moves data from/to the cahe, it does it by moving a whole cache line (usually 64 bytes). moving individual bytes one at the time will result in very slow data access and complete failure of the prediction/branching technics, as most of the operations would result in misses.

  • @gcseguy
    @gcseguy 10 หลายเดือนก่อน +1

    wow! thank you so much this video was brilliant. No other video I could find went into such detail!

  • @rashidselemani475
    @rashidselemani475 9 หลายเดือนก่อน +1

    Short video but more informative

  • @mehrunnissashaikh-ez2br
    @mehrunnissashaikh-ez2br 11 หลายเดือนก่อน +2

    😱🧠💡

  • @Jaime_arjonaa
    @Jaime_arjonaa 9 หลายเดือนก่อน

    How can I put cache on the web

    • @bit-machine
      @bit-machine  9 หลายเดือนก่อน

      I'm sorry, I'm not sure what you mean.

    • @xtradi
      @xtradi 9 หลายเดือนก่อน

      @@bit-machine probably web cache, this is different with cache for hardware