Re:Interesting commands for the Linux shell
by 0xfeba on Thursday September 14, 2017 @10:17AM
(#15248241)
I haven't used a swap in the past 10 years and have not noticed any problems. Is it relevant anymore?
[ Parent
| on HN ]
Re:Interesting commands for the Linux shell
by wolfgang42 on Thursday September 14, 2017 @11:23AM
(#15248943)
If you have a memory-constrained system, yes. There's a surprising amount of stuff that sits untouched in RAM for very long periods of time. I generally run fairly low-end systems, so it's not unusual for me to have a few GB in swap. (Though I just found out last week that I could buy another 4GB for $26 and free shipping, and I have to admit that was a worthwhile investment.)
Re:Interesting commands for the Linux shell
by BenjiWiebe on Thursday September 14, 2017 @11:25AM
(#15248959)
Yes, if you have 8GB of RAM which is enough for me 99% of the time, but you'd rather your computer slow down 1% of the time rather than crash and have to start over.
Re:Interesting commands for the Linux shell
by executesorder66 on Friday September 15, 2017 @02:18AM
(#15255037)
Yes. You need swap to hibernate a laptop.
Re:Interesting commands for the Linux shell
by majewsky on Friday September 15, 2017 @09:54AM
(#15257147)
But is hibernate relevant? I've found suspend to be much more reliable, and good enough in terms of energy consumption (thanks to modern low-power states in CPUs).
Re:Interesting commands for the Linux shell
by executesorder66 on Monday September 18, 2017 @04:29AM
(#15274222)
I find it relevant. I use it to store the state my work laptop is in at the end of the day, and then restore that state when I get back to work the next work day. That way I don't need to keep it switched on when I'm not using it/transporting it.
Is there a better solution to this other than hibernating?