Date: Tue, 8 Dec 2009 23:23:45 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h Message-ID: <200912082324.nB8NO0rg085930@repoman.freebsd.org>
index | next in thread | raw e-mail
mav 2009-12-08 23:23:45 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/geom/mirror g_mirror.c g_mirror.h
Log:
SVN rev 200285 on 2009-12-08 23:23:45Z by mav
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
Revision Changes Path
1.96.2.2 +24 -28 src/sys/geom/mirror/g_mirror.c
1.24.10.2 +2 -2 src/sys/geom/mirror/g_mirror.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912082324.nB8NO0rg085930>
