Never OOM again

t

391 points · 29 comments · view on lemmy.world

29 Comments

ibk@lemm.ee · 63 pts · 3y (8 replies)

In case anyone is curious if this would work, LTT tried it: https://youtu.be/minxwFqinpw

yote_zip@pawb.social · 90 pts · 3y (7 replies)

::: spoiler spoilers for how it works in the video:


Sadly it just crashes immediately because Google has measures in place to prevent this behavior, and the rest of the video is an ELI5 on swap space. :::

rikudou@lemmings.world · 41 pts · 3y (3 replies)

Thanks! I hate watching a whole video for something that could be a paragraph at most.

average650@lemmy.world · 12 pts · 3y (2 replies)

To be fair, the video covers a lot more than just that answer.

rikudou@lemmings.world · 17 pts · 3y (1 reply)

Very much possible, but I'm aware of what swap is and how does it work. That's my problem with videos in general - if it was an article, I can easily skim through the parts I know and read only parts that interest me.

average650@lemmy.world · 10 pts · 3y

I totally understand. Articles are much better at actually finding information. Videos are more entertaining though. There's nothing in that video that really couldn't have been in an article.

Flicsmo@rammy.site · 13 pts · 3y (2 replies)

Thank you! I was curious but not ten-minute-video curious. I wonder if there's a cloud provider that doesn't block this sort of usage - could it work with onedrive/dropbox/etc?

ThiccFurLizzy@lemm.ee · 9 pts · 3y (1 reply)

The video also explains why it doesn't really work; the latency is so large, the system is better off getting the files from local storage.

Flicsmo@rammy.site · 4 pts · 3y

I kind of assumed that haha, this wouldn't be something you'd do for practical purposes. Still fun though!

zosu@vlemmy.net · 40 pts · 3y (2 replies)

yeah, leak all swapped data into their cloud * shiver *

yote_zip@pawb.social · 28 pts · 3y (1 reply)

You're right, we should add an encryption step as well!

TheyCallMeHacked@discuss.tchncs.de · 6 pts · 3y

Furiously sets up a LUKS swap partition on Google Drive

Monologue@lemmy.zip · 16 pts · 3y

this hurts my brain

jrandiny@lemmy.world · 14 pts · 3y

My ISP: what a wonderful thing you have there. I will definitely not charge you an arm and a leg for the bandwidth

pztrn@bin.pztrn.online · 14 pts · 3y (7 replies)

Will kind-of-work for users with gigabit+ links, actually.

average650@lemmy.world · 23 pts · 3y (4 replies)

It really doesn't ...the latency is sooo bad

pztrn@bin.pztrn.online · 6 pts · 3y (2 replies)

That's why "kind-of-work".

JustAManOnAToilet@lemmy.world · 3 pts · 3y (1 reply)

Like speaking third most Italian.

pztrn@bin.pztrn.online · 5 pts · 3y

If it quacks, walks like a duck and looks like a duck - then it is a duck.

If it mounts like swap and you can use it as swap - then it is a swap space.

tal@kbin.social · 4 pts · 3y
[ removed ]
rikudou@lemmings.world · 4 pts · 3y

Not at all, it's way too slow.

average650@lemmy.world · 1 pts · 3y

It really doesn't ...the latency is sooo bad

cynetri@midwest.social · 11 pts · 3y

is that a whole petabyte of swap???

skomposzczet@vlemmy.net · 8 pts · 3y

That's one way of making your temp memory even slower.

mvirts@lemmy.world · 1 pts · 3y (1 reply)

could the filesystem driver get evicted to swap?

deadcream@kbin.social · 2 pts · 3y

Nope, it's always in memory (while module is loaded).

mvirts@lemmy.world · 1 pts · 3y

could the filesystem driver get evicted to swap?