• The_Decryptor@aussie.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 hours ago

    The RA in RAM stands for random access; there is no seeking necessary.

    Well there is, CPUs need to map virtual addresses to physical ones. And the more RAM you have the more management of that memory you need to do (e.g. modern Intel and AMD CPUs have 5 levels of indirection between a virtual and physical address)

    But it also caches those address mappings, as long as your TLB is happy, you’re happy. An alternative is to use larger page sizes (A page being the smallest amount of RAM you can address), the larger the page the less you need recurse into the page tables to actually find said page, but you also can end up wasting RAM if you’re not careful.

    • IHawkMike@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      You clearly know more than me, but wouldn’t everything from 4GB to 1TB have the same number of walks? And one more walk gets you up to 256TB?