[15:28] <jelly> na #debian lik objasnio zašto je swapoff na linuxu tako grozno spor
[15:28]  * jelly lajka
[15:29] <jelly> to me nervira od... 2.4? 2.6 kernela?
[15:37] <respawn_> Lenovo Expands Its Range of Ubuntu Laptops
 jelly: lol, did you know why swapoff -a is so slow? I've still got that on my list to fix [...] We do an O(n^crazy) walk through each virtual memory area, for each page, with no caching whatsoever.  That's why swapoff is often CPU-bound
 jelly: In swap cluster order. Yuck.
 ratrace: That's simply incorrect, I'm afraid. Applications and userspace memory allocators often simply do not know how much they need ahead of time.  In some cases that slack can be absolutely humongous, and tremendously cold.  
 ratrace: These applications don't want that memory. Their malloc decided they should get it as part of the pool.  And that's often far unrelated to what the developer actually intended.
[17:58] <sillyslux> oh... https://twitter.com/ortegaalfredo/status/1308149303991566337
[17:59] <sillyslux> https://twitter.com/gnomestale/status/1307450154979524608
[18:00] <sillyslux> https://twitter.com/Velofisch/status/1307597955638202368