I have a nas with nextcloud installed on linux debian, booted via a usb-stick (3.0).
I have high io wait times and found out it is because of jbd2.
When idling, no request are being made the are almost none journaling processes.
But when i make one request to nextcloud server, I get like a thousand output lines in “cat /sys/kernel/debug/tracing/trace_pipe”, when I enabled jbd2_run_stats and ext4_journal_start.
All from mysqld and apache2. I use MariaDB and I set sync_binlog=0. Still a lot of output.
Anyone ideas how to lower the jbd2 load.