Computer has been getting slower and slower...
Computer has been getting slower and slower lately, usually disk thrashing. This is not supposed to happen on a SSD, right?
After a bit of Googling:
robn@pyro:~$ sudo fstrim -v /
/: 174896635904 bytes were trimmed
160G? What?
Itss mounted with “discard”. I have found mention of auto-trimming having an adverse affect on performance in some situations, which makes sense. But this looks more like it wasn’t working at all.
In any case, until I can find more info and/or time to read the kernel source, I’m just going to set up a job to run trim semi-regularly. Probably during my daily backup, since that’s already thrashing the disk.