this post was submitted on 06 Oct 2023
760 points (100.0% liked)

196

16098 readers
2295 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 85 points 10 months ago (42 children)

Can someone explain how this works?

[–] [email protected] 173 points 10 months ago (15 children)

In a nutshell (eli5) swap is sorta "very slow ram" which is actually just a section of your hard drive /SSD/some other bizarre medium. It is generally used to temporarily store information that might be needed later but would waste valuable "fast ram" which is your actual ram sticks.

What's going on here is this user mounted Google drive in a way that the operating system can interact more directly with it, and it appears to have a set amount of space. Because we've mounted Google Drive we can tell our operating system to use it as swap....very very slow silly swap, but swap nonetheless.

So that's exactly what they did, they told the operating system to set aside X amount of Google Drive for swap, and when looking at the resource monitor we can see the "swap" appears as "more ram".

Hope that helps, please ask if I confused you :)

[–] stratoscaster 9 points 10 months ago (2 children)

Time to use my floppy as a swap space 😎

[–] [email protected] 8 points 10 months ago (1 children)

I've used my floppy in a few swap spaces myself if ya know what I mean....

[–] [email protected] 1 points 10 months ago

Did it play the Imperial March?

[–] [email protected] 2 points 10 months ago
load more comments (12 replies)
load more comments (38 replies)