0 points
0 points

Imagine doing this on a dial-up 56K modem

permalink
report
parent
reply
0 points

Oh wow, I didn’t even know Gdrive offered a 1 petabyte option 😂

permalink
report
parent
reply
0 points
*

Once upon a time, Google offered unlimited drive storage as part of some GSuite tiers. They stopped offering it a while ago and have kicked most/all legacy users off of it in the past few months. It was glorious while it lasted 😢

permalink
report
parent
reply
0 points

And Google docs/sheets/slides used to not count in your used space.

permalink
report
parent
reply
2 points

The image doesn’t load.

permalink
report
parent
reply
3 points

I posted that 10 months ago.

That being said, it seems to still work for me.

permalink
report
parent
reply
0 points

wait, didn’t some tech youtubers like LTT try using cloud storage as swap/RAM? afaik they failed because of latency

permalink
report
parent
reply
0 points

Afaik they used it as redundant off-site backup

permalink
report
parent
reply
0 points

I wonder if there would be a speed boost by setting 2 gdrive as raid 0 for off site backups

permalink
report
parent
reply
0 points

I dunno why I didn’t realize you can add more swap to a system while running. Nice trick for a dire emergency.

permalink
report
reply
1 point

It’s Linux it’s made by people with a brain.

permalink
report
parent
reply
3 points
*

Hopefully that swap is on an SSD, otherwise that query may not ever finish lol
Once you’re deep into swap, things can get so slow that there’s no recovering from it.

permalink
report
reply
0 points
*

I’d be lying if I said I hadn’t done something similar before.

permalink
report
reply
0 points

Wrote my master thesis this way - didn’t have enough ram or knowledge, but plenty of time on the lab machine, so I let it do its thing over night.

Sorry, lab machine ssd.

permalink
report
parent
reply
0 points

Does the OOM killer actually work for anyone? In every linux system I’ve used, if I run out of memory, the system simply freezes.

permalink
report
reply
0 points

Yes. If you have swap the system will crawl to a halt before the process is killed though, SSDs are like a thousand times slower than RAM. Swapoff and allocate a ton of memory to see it in action.

permalink
report
parent
reply
0 points

Nvme PCIe 4 SSDs are quite fast now tho, you can get between DDR1 and DDR2 speeds from a modern SSDs. This is why Apple are using their SSDs as swap quite aggressively. I’m using a MacBook Pro with 16 GBs of RAM and my swap usage regularly goes past 20 GBs and I didn’t experience any slowdown during work.

permalink
report
parent
reply
0 points

Depends if the allocated memory is actively used or not. Some apps do not require a large amount of random access memory, and are totally fine with a small part of random access memory and a large part of not so random access and not so often used memory.

Alternatively I can imagine that MacOS simply has a damn good algorithm to determine what can be moved to swap and what cannot be moved to swap. They may also be using the SSD in SLC mode so that could contribute to the speedup as well.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.8K

    Monthly active users

  • 797

    Posts

  • 7.3K

    Comments

Community moderators