Thanks kmaterka - your solution also works (both never & madvise worked for me, but madvise still had some freezes).
However, it feels like USB is getting unbearably slow then.
So for now I've gone back to setting the dirty_ratio to 1% (defrag = always), which works a little bit better.
Thanks kmaterka - your solution also works (both never & madvise worked for me, but madvise still had some freezes).
However, it feels like USB is getting unbearably slow then.
So for now I've gone back to setting the dirty_ratio to 1% (defrag = always), which works a little bit better.