[15:28] na #debian lik objasnio zašto je swapoff na linuxu tako grozno spor [15:28] * jelly lajka [15:29] to me nervira od... 2.4? 2.6 kernela? [15:37] Lenovo Expands Its Range of Ubuntu Laptops [15:55] 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 [15:56] jelly: In swap cluster order. Yuck. [15:58] 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. [15:59] 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] oh... https://twitter.com/ortegaalfredo/status/1308149303991566337 [17:59] https://twitter.com/gnomestale/status/1307450154979524608 [18:00] https://twitter.com/Velofisch/status/1307597955638202368