Originally posted by piorunz
View Post
Announcement
Collapse
No announcement yet.
Google Continues Working On Suspend-Only Swap Spaces For Linux
Collapse
X
-
-
Battle? With who? What we are fighting for again? I don't even know what you are replying to exactly as you didn't quoted anything.Last edited by piorunz; 27 July 2021, 05:46 AM.
- Likes 1
Comment
-
Does Swap ever get used on your systems? Sure when I have a process that wants to use >100% ram, the system comes to a crawl while trying to swap. But in normal use, I have never seen any swap used at all. No matter if I had 4, 8, 16 or 32 GB of ram.
If I manage to kill the leaking process, sure the rest will stay in swap. But that means applications are unresponsible while the swap is flushed.
I'm on fedora if that matters.
Comment
-
Originally posted by piorunz View Post
Yes, that's correct. But still, with low memory systems, swap can, and maybe should be enabled at all times, no innovation required there.
Only innovation we talk about here is Google's effort to have swap for hibernation only. You can have that today, just swap on -a before hibernation and swapoff -a after wakeup. Few lines in a script. Or you can do that with custom mount and umount instead etc. I guess to spin it off in elegant, separate setting is nicer for them.
Modern systems are designed to be declarative as much as possible, on all levels. The only place left for scripts is maybe end-user customization.Last edited by intelfx; 27 July 2021, 06:16 AM.
- Likes 4
Comment
-
Originally posted by intelfx View Post
80's sysadmins coming out of woodworks with their "scripts"... Scripts are unmanageable, non-reusable, eventually unmaintainable. Few lines here, few lines there and suddenly you have an abomination on your hands.
Modern systems are designed to be declarative as much as possible, on all levels. The only place left for scripts is maybe end-user customization.
Yes you can have hibernation-only-swap today. But in a script. That's why soon Linux will have nicer solution soon. I don't argue with that. I just downplay importance of this "news".Last edited by piorunz; 27 July 2021, 06:28 AM.
- Likes 1
Comment
-
Originally posted by intelfx View Post
Comment
-
Originally posted by piorunz View Post
Battle? With who? What we are fighting for again? I don't even know what you are replying to exactly as you didn't quoted anything.
Ok bud, you do you.
- Likes 1
Comment
Comment