Update: fixed

  • kekmacska@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 days ago

    you can actually connect to online ram, but it will be slow and potentionally unsecure if you don’t secure it. This is how cloud gaming works

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      12 days ago

      Not sure if serious but that is not how cloud gaming works. Cloud gaming offloads running the entire game to another machine, so CPU, RAM, GPU, storage, and network stuff. Then it just sends a stream with the video output and audio to your device while your device streams your input back to the remote machine.

      Sorry if it was meant as a joke, but hard to tell because what you’re saying is technically possible, though it would be beyond slow. Hopefully, even if it was a joke, the technical details are as interesting to others as they were to me when I wondered what it would look like if your RAM was stored on another PC on the internet.

      CPU to RAM latency is generally around 0.05 - 0.1 us while network latency is likely going to be around 10,000 - 50,000 us, assuming it’s not far geographically with good network conditions, maybe going as low as 5000 - 10,000 us (5 - 10 ms). And it doesn’t just need to do that once per frame, but millions to billions of times per frame.

      Cloud gaming can achieve whatever framerate your bandwidth can handle at the resolution and compression used (and I’m guessing generally isn’t bandwidth limited if your connection can handle Netflix at decent quality). There’s input latency because it takes 5 - 50ms for any inputs to get to the machine, but everything is computed locally.

      Remote memory would generate frames so slowly that it would make more sense to measure them in seconds per frame than frames per second. And those seconds per frame might be better expressed in minutes or hours.

      It might function ok for a page file. It would be on the order of HDD performance, though. Anyone who played games back in the day probably remembers how long it would take to alt tab or close a game before you could use the rest of your computer because the OS had to page most of other programs’ memory back into RAM from disk.

      • kekmacska@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 days ago

        i’m just tired and generalizing things too much. Don’t need to take me as someone purposely spreading misinformation