• @[email protected]
    link
    fedilink
    426 days ago

    I find it funny when people around me think I am a computer expert and I just tried to read this and couldn’t comprehend sh*t.

    • TimeSquirrel
      link
      fedilink
      246 days ago

      It’s alright, I program C++ and barely understand this shit either. Kernel/OS devs are a different breed.

    • @[email protected]
      link
      fedilink
      146 days ago

      Unless you are at the edge of the firmware and software, this isn’t something you work with a lot.

      When you transfer files or data to a memory space, you can’t drop the whole file/data to memory directly because the resources are limited on the cpu/mcu. It wouldn’t make sense to have a page as big as your biggest theorical data size.

      Page size determine how much data at a time can be transferred into memory.

      In term of performance, writing the page to memory is usually the bottle neck. So 4k vs 64k means you need to write to memory 16 times more and thus making the performance better on 64k page size.

      • @[email protected]
        link
        fedilink
        76 days ago

        That’s more of a storage thing, RAM does a lot smaller transfers - for example a DDR5 memory has two independent 32bit (4 byte) channels with a minimum of 16 transfers in a single “operation”, so it does 64 bytes at once (or more). And CPUs don’t waste memory bandwidth than transferring more than absolutely necessary, as memory is often the bottleneck even without writing full pages.

        The page size is relevant for memory protection (where the CPU will stop the program execution and give control back to the operating system if said program tries to do something it’s not allowed to do with the memory) and virtual memory (which is part of the same thing, but they are two theoretically independent concepts). The operating system needs to make a table describing what memory the program has what kind of access to, and with bigger pages the table can be much smaller (at the cost of wasting space if the program needs only a little bit of memory of a given kind).

    • @[email protected]
      link
      fedilink
      126 days ago

      Don’t worry, it’s quite esoteric to begin with. The only reason I can comprehend this is the years-long following news like this, on top of my computer science degree.

      Also, this wouldn’t matter (yet) to your daily life.

  • @MTK
    link
    34 days ago

    My stupid brain reading that Linux can now use AK47

    Me: the fuck does that mean?

    • @scholar
      link
      23 days ago

      The time has come Brother, obviously