Skip to content
DevMeme
3876 of 7590
OperatingSystems Post #4220 · source on Telegram

How to Download More RAM: The Cursed Google Drive Swap Method

Description

A screenshot of a Twitter thread from user @tjhorner. The first tweet humorously suggests, 'wait you can actually download more ram if you set up google drive as swap space'. The user then replies to their own tweet with 'perfect', followed by a screenshot of a Linux terminal. The terminal displays the output of the 'df -h' command, which shows mounted filesystems. The punchline is the last line in the terminal output, which lists 'gdrive:swap' as a filesystem with a size of 1.0 Petabyte and 1.0 Petabyte available, mounted on '/home/tj/gdrive'. This meme is a highly technical joke that elevates the classic novice prank of 'downloading more RAM' into a cursed but technically feasible experiment. Experienced engineers find it hilarious because they immediately understand that using a high-latency network drive for swap space would result in catastrophically slow performance, making the system virtually unusable despite the absurdly large amount of 'virtual memory'

Comments

31
Anonymous ★ Top Pick I finally figured out how to run my IDE, a dozen Docker containers, and a Chrome tab at the same time. The trick was 16GB of RAM and a petabyte of swap on Google Drive. My computer now operates on geological time, but it hasn't crashed yet
  1. Anonymous ★ Top Pick

    I finally figured out how to run my IDE, a dozen Docker containers, and a Chrome tab at the same time. The trick was 16GB of RAM and a petabyte of swap on Google Drive. My computer now operates on geological time, but it hasn't crashed yet

  2. Anonymous

    Mounted Google Drive as swap so we can literally download more RAM - each page fault now costs 200 ms and an egress fee, but finance calls it “serverless memory” and suddenly it’s innovation

  3. Anonymous

    Finally achieved the performance metrics we promised investors: our app now has infinite memory capacity and response times measured in geological epochs

  4. Anonymous

    One petabyte of swap with API rate limits - the OOM killer would have been the merciful option

  5. Anonymous

    Ah yes, the classic solution to memory pressure: swap to a network filesystem with 100ms+ latency and rate limits. Nothing says 'production-ready' like your kernel blocking on OAuth token refresh during a page fault. At least when the OOM killer strikes, you can blame it on your internet connection instead of your architecture decisions. Bonus points for the 1PB capacity - finally enough swap space for that Electron app

  6. Anonymous

    Using Google Drive as swap is basically implementing WAN‑NUMA with OAuth on every major page fault - congrats, you turned memory pressure into latency SLOs

  7. Anonymous

    Peak cloud-native: page faults touring data centers worldwide, accruing egress fees faster than you thrash

  8. Anonymous

    Google Drive as swap: because every page fault should require OAuth and show up on your egress bill - “download more RAM” becomes “download more latency.”

  9. @dugeru42 4y

    oh god

  10. @LonelyGayTiger 4y

    Except that it immediately crashes.

  11. ẞonny 4y

    Some people deserve the hell

  12. @karumsenjoyer 4y

    You will have a very big swap

  13. @karumsenjoyer 4y

    10

  14. @dugeru42 4y

    it will be more limited by speed

    1. @dugeru42 4y

      on plus side this RAM speed limit allows for more reaction time on crit memory leaks

      1. @SamsonovAnton 4y

        Usually, when you run out of physical RAM, the whole system almost freezes during swapping out, so you can actually do nothing but watching the disaster to escalate.

        1. @dugeru42 4y

          watch me go

        2. @dugeru42 4y

          stopped it myself

          1. @SamsonovAnton 4y

            Lucky you!

            1. @dugeru42 4y

              really depends on drive speed i did memory leak myself

  15. @dugeru42 4y

    still slower than RAM, but fine i guess

    1. @dsmagikswsa 4y

      Much slower

  16. @cfyzium 4y

    Am I missing something or you still have to place the entire swap file on some physical drive? And syncing it with a cloud is kinda irrelevant?

    1. @dugeru42 4y

      doubt he have physical petabyte for gdrive

    2. @dugeru42 4y

      you are missing FUSE things like GCSF

  17. @affirvega 4y

    begone thot @yuki0iq plz delete

    1. @sylfn 4y

      done

      1. @affirvega 4y

        thanks :D

  18. @pxrxnoia 4y

    fren using m2 nvme 256gb as swap already feels like infinite ram

  19. @QutePoet 4y

    That's dirty hack!

  20. dev_meme 4y

    *sets swappiness to 100*

Use J and K for navigation