Okay, why does `swapoff` exist on Linux? It's completely useless as far as I can tell. It's been running for 24h to swap in like 1.5GB of used swap or so, on a largely idle server with >32GB free RAM. How can it be *this* hilariously inefficient?
-
Show this thread
-
This is what it's done over the past 24h. It got rid of most of it quickly, and then the last 100MB or so are taking forever to swap in. WTF? Over the last 50 minutes it seems it hasn't managed to swap in a single page, but it's doing I/O. What is this, an O(nᴸᴼᴸ) algorithm?pic.twitter.com/RArORjswRX
8 replies 4 retweets 66 likesShow this thread -
Replying to @marcan42
Can you give it swap elsewhere? Is it swapping other things out of memory to make room to take other things out of swap? What were you doing that had ~2 GB into swap? What does free show?
1 reply 0 retweets 0 likes
I said I have 32GB of free RAM. There is zero reason for it to have trouble swapping things in. The server has never run out of RAM. It just got close enough (80% usage peak) for Linux to decide to start swapping a few things out preemptively.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.