I believe that something strange is going on with my swap / hardware / drivers.
I'm trying to increase the swap size by
When I did
swapoff /dev/swapdev, the command took 8mins 19seconds to move about 3.5GB of swapped pages into memory.
I ensured that my free RAM was greater than the swap usage before running
swapoff, and this stayed true while it was running.
I have a Intel Core i5 laptop with SSD HDD. The processor was at less than 10% before
swapoff, and when I checked in,
swapoff was using 70%+ CPU.
There was nothing interesting in the journal the whole time.
Here's approximately how long I'd expect it to take to shunt 3.5G from disk to memory:
$ time dd if=/dev/urandom of=/tmp/del bs=1M count=3500 3500+0 records in 3500+0 records out 3670016000 bytes (3.7 GB, 3.4 GiB) copied, 23.7288 s, 155 MB/s real 0m24.789s user 0m0.000s sys 0m22.743s
Linux svelte 4.9.53-1-MANJARO #1 SMP PREEMPT Thu Oct 5 15:11:15 UTC 2017 x86_64 GNU/Linux
Any reason that the command would take so long? This could be part of a larger issue, but this is the first thing that I can definitively point at which looks strange.