mav 2009-12-03 21:47:51 UTC
FreeBSD src repository
sys/geom/mirror g_mirror.c g_mirror.h
SVN rev 200086 on 2009-12-03 21:47:51Z by mav
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.
Reviewed by: sobomax
Revision Changes Path
1.97 +24 -28 src/sys/geom/mirror/g_mirror.c
1.25 +2 -2 src/sys/geom/mirror/g_mirror.h