I'm currently running into an issue where writing files is causing insanely high pressure on the I/O side:
It goes so far that the system even stalls for a few seconds then writes a bit, stalls again, then write, and so on until it finishes finally. Looks like if a file is within 1GB it writes ok (seems like there is a cache) but once it goes above that the stalling begins.
System is a Mini-PC with: Intel N100 NVME SSD 512GB (fully encrypted) 16GB RAM Ubuntu 22.04.2 LTS
Nothing really fancy but it shouldn't be doing that in my opinion.
Tried the following:
- Already found out that the SSD (or controller) manufacturer is MAXIO, low-end stuff probably.
- dd if=/dev/zero of=diskbench bs=1M count=1024 conv=fdatasync -> Ended up with 30-40mbit (quite bad for an SSD) and some stalls
I'm kinda lost here as I don't really know how to troubleshoot this any further.
Any hint is appreciated. Thank you!