I’m pretty sure google drive just acts like a syncing tool in the same way as dropbox, so this would still act like a normal swap drive, presumably.
That said, I’ve only used swap partitions so I’m not sure how it works when you point it at a directory, but I guess it depends how this person set it up.
No they didn’t. They used rclone and mounted Google drive in vfs-cach mode which means it’s firstly written to the drive before it’s synced to the cloud
So, if they did use a direct storage mode connection instead of this cache method with a Gbit+ Internet connection, do you think it would be faster than swap on an HDD?
I’m pretty sure google drive just acts like a syncing tool in the same way as dropbox, so this would still act like a normal swap drive, presumably.
That said, I’ve only used swap partitions so I’m not sure how it works when you point it at a directory, but I guess it depends how this person set it up.
They’ve used google-drive-ocamlfuse to mount the drive in Linux, which if I recall correctly is direct access, rather than the way it works in Windows
No they didn’t. They used rclone and mounted Google drive in vfs-cach mode which means it’s firstly written to the drive before it’s synced to the cloud
https://blog.horner.tj/how-to-kinda-download-more-ram/
My mistake, they chose a different implementation
So, if they did use a direct storage mode connection instead of this cache method with a Gbit+ Internet connection, do you think it would be faster than swap on an HDD?
I can’t imagine a time when anyone would ever make a cloud swap drive. You want the swap to be as fast as possible
No. It also has to be written to GDrive’s storage
It makes sense that you can do this, as it’s how Chromebooks work, and they run on
Chrome OSAndroidLinuxOh cool
You’re right, this wouldn’t really work, but it’s still a funny idea.