Memory Mapped IO Explanation and Experiment

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 5

  • @ibrahimshebl5440
    @ibrahimshebl5440 4 года назад +4

    would you please suggest some text book to follow ?

  • @parimi001
    @parimi001 6 месяцев назад

    Very nice video but how long does this take to sync to disk from memory ?

  • @directx872
    @directx872 4 года назад

    How is this different from calling a big read for the entirety of the file and then a big write?

    • @harshsharma57
      @harshsharma57 2 года назад

      You're gonna need to store your big read somewhere in the memory (buffer) and that's exactly memory mapped IO

    • @directx872
      @directx872 2 года назад

      @@DMWatchesRUclips no. it does not. Read actually reads from disk.
      When you map a file to a page in your memory you tell your system to load that page when you are going to read it, as if it was a normal memory page that has been swapped to disk