summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_sparc64.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-18 08:46:53 +0000
committermav <mav@FreeBSD.org>2014-12-18 08:46:53 +0000
commita0e66849d77b7eb8f8b9c7eb8654072770265a26 (patch)
tree5705cdc2dc3c9a3bbee29415657db6632ea342da /lib/libkvm/kvm_sparc64.c
parentfe777840ded187e47a984e175b6996cd6a910bf7 (diff)
downloadFreeBSD-src-a0e66849d77b7eb8f8b9c7eb8654072770265a26.zip
FreeBSD-src-a0e66849d77b7eb8f8b9c7eb8654072770265a26.tar.gz
MFC r275568:
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.
Diffstat (limited to 'lib/libkvm/kvm_sparc64.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud