this post was submitted on 04 Jul 2023
379 points (97.0% liked)
linuxmemes
20880 readers
5 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Will kind-of-work for users with gigabit+ links, actually.
It really doesn't ...the latency is sooo bad
That's why "kind-of-work".
Like speaking third most Italian.
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.
I vaguely recall that Linux has support for multiple tiers of paging space, with you able to assign priority.
googles
Yeah,
swapon
has a-p
parameter`.https://linux.die.net/man/8/swapon
So you shovel the priority below your local paging space, might be okay for some workloads.
I dunno if there's any system to predictively migrate data between tiers of paging space, though. If it only pulls into main memory from low-priority paging space and does so a page at a time, that's gonna be painful.
Also, this definitely increases the security risks associated with having sensitive material being paged out beyond the usual "someone might get your laptop and look at the paging space when it's off if the paging space isn't encrypted and you're using software that doesn't lock security-critical data in memory" stuff.
Not at all, it's way too slow.