]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r280004: Give block I/O interface multiple (8) execution threads.
authormav <mav@FreeBSD.org>
Fri, 27 Mar 2015 08:51:20 +0000 (08:51 +0000)
committermav <mav@FreeBSD.org>
Fri, 27 Mar 2015 08:51:20 +0000 (08:51 +0000)
commit3cab0e383150be183450000ede57f24643d45155
tree4d989a87e215ddd0c7ba3c924f5777905a1ee6f8
parent3505e1d0e9980423dc7836c92f38eecb292942b5
MFC r280004: Give block I/O interface multiple (8) execution threads.

On parallel random I/O this allows better utilize wide storage pools.
To not confuse prefetcher on linear I/O, consecutive requests are executed
sequentially, following the same logic as was earlier implemented in CTL.

Benchmarks of virtual AHCI disk, backed by ZVOL on RAID10 pool of 4 HDDs,
show ~3.5 times random read performance improvements, while no degradation
on linear I/O.
usr.sbin/bhyve/block_if.c