freebsd-dev/usr.sbin/ctladm
Alexander Motin bfbfc4a3cb Count consecutive read requests as blocking in CTL for files and ZVOLs.
Technically read requests can be executed in any order or simultaneously
since they are not changing any data.  But ZFS prefetcher goes crasy when
it receives consecutive requests from different threads.  Since prefetcher
works on level of separate blocks, instead of two consecutive 128K requests
it may receive 32 8K requests in mixed order.

This patch is more workaround then a real fix, and it does not fix all of
prefetcher problems, but it improves sequential read speed by 3-4x times
in some configurations.  On the other side it may hurt performance if
some backing store has no prefetch, that is why it is disabled by default
for raw devices.

MFC after:	2 weeks
2014-12-06 20:39:25 +00:00
..
ctladm.8 Count consecutive read requests as blocking in CTL for files and ZVOLs. 2014-12-06 20:39:25 +00:00
ctladm.c Whitespace fixes. 2014-10-22 09:17:17 +00:00
ctladm.h
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
util.c More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00