cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h

[ Available lists | Index of cvs-src-old | Month of Dec 2009 | Week of 3 Dec 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Alexander Motin <mav@FreeBSD.org>
Date
3 Dec 2009 21:48:03
Subject
cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h
Message-ID
200912032148.nB3Lm3pY000873@repoman.freebsd.org


[ Hide this part ]
mav         2009-12-03 21:47:51 UTC

FreeBSD src repository

Modified files:
sys/geom/mirror g_mirror.c g_mirror.h
Log:
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.

PR: kern/113885
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

Elapsed time: 0.118 seconds