I've been using an ODROID-U2 as a home server for a couple months. So far it's been working great, but lately there seems to be a serious performance issue with the SD card. It's slowing down to an almost unusable level. I have a feeling this is because TRIM isn't enabled.
I have just tried enabling fstrim.service, and I tired "tune2fs -o discard /dev/mmcblk0p1" (though I'm not sure if that's a permanent change). fsck didn't report any errors, so as far as I'm concerned the SD card is in good shape. I also turned off journaling, which hopefully I won't regret.
Since the SD card isn't listed in /etc/fstab, I can't add the discard flag, and I'm not sure if adding it to fstab will break anything.
I haven't yet noticed any performance difference but I'm not sure if I've tested long enough to notice. Does anybody have any other suggestions, or any thoughts on why it's running so slow? Is TRIM even the problem here? I'd like to point out that CPU usage is very low.