]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r200086:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 8 Dec 2009 23:23:45 +0000 (23:23 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 8 Dec 2009 23:23:45 +0000 (23:23 +0000)
commit1bc7c07ceeba266010e5f3dbe09b64ccafa293d2
tree7dd679fbfa2f8ff2754e2770c7804f4742c6ad20
parente17ec74806bf749fe3c80475c9d52100a0f99686
MFC r200086:
Change 'load' balancing mode algorithm:
- Instead of measuring last request execution time for each drive and
choosing one with smallest time, use averaged number of requests, running
on each drive. This information is more accurate and timely. It allows to
distribute load between drives in more even and predictable way.
- For each drive track offset of the last submitted request. If new request
offset matches previous one or close for some drive, prefer that drive.
It allows to significantly speedup simultaneous sequential reads.

PR:             kern/113885

git-svn-id: svn://svn.freebsd.org/base/stable/8@200285 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/mirror/g_mirror.c
sys/geom/mirror/g_mirror.h