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?
-
-
It's managed to swapoff, er, about 100KiB since that tweet (~10h)? So it's not *stuck*, but you could ask someone trained in telegraphy to transmit the swapspace contents in morse code manually and it would be faster.
Show this thread -
Disk stats say it's *writing* 6MB/s of stuff, at 1400 IOPS or so (plausible for spinning rust on battery backed RAID card), 80% I/O usage, paging "out" 1400 pages per second. What? Why is it paging stuff *out* with >32GB of RAM free?
Show this thread
End of conversation
New conversation -
-
-
exponential slack-off
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The poor server just has ADHD. The last 1.5GB are always the hardest to complete.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
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?
-
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.
End of conversation
New conversation -
-
-
I have hit exactly the same problem recently, and it appears to be not swap off but VMA management routines which will eat lots and lots of cpu time. I'm personally wondering if it's not a regression as it used to be fast no matter what.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I suggest you open a thread on the lkml to report your issue.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It’s called O(MG)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
May I steal that big O notation from you?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.