After upgrading to ZFS 2.0.0, the prefetch behavior broke again during all sequential reads:
cat $BENCHDIR/result.mov | pv > /dev/null
Results in:
a 4 seconds of prefetch misses followed by several seconds of prefetch hits, followed by 0 prefetch hits afterward for the duration of the file read.
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
Using zfs 0.8.4 on Ubuntu 18, had low read performance on big sequential reads - turned out to be a prefetch issue.
Fixed it by doing:
After upgrading to ZFS 2.0.0, the prefetch behavior broke again during all sequential reads:
cat $BENCHDIR/result.mov | pv > /dev/null
Results in: a 4 seconds of prefetch misses followed by several seconds of prefetch hits, followed by 0 prefetch hits afterward for the duration of the file read.
iostat
is showing at around 50%:Is there any new way to trouble-shoot what prefetch is doing and why it is not working?