[dm-devel] Re: [PATCH 3/3] dm-mpath: add service-time oriented dynamic load balancer
Alasdair G Kergon
agk at redhat.com
Mon May 18 11:46:07 UTC 2009
On Fri, May 15, 2009 at 12:09:21PM +0900, Kiyoshi Ueda wrote:
> However, if I limit the 'perf' value in smaller range (e.g. 0 to 100),
> such overflow shouldn't happen. So I should be able to use
> multiplication. Also, I don't need to use size_t for 'perf',
> because 'unsinged' should be enough for such small values.
I think a small range would be adequate - look at the number sizes and
go 0-100 or 0-1000 as appropriate.
Thinking of naming, is it 'relative_throughput' ?
However, is it also going to be possible to extend this target to measure the
the actual throughput? If we did that, would we use a special value to
indicate it or add a new table parameter and keep the 'perf' ones as a
manual adjustment factor applied on top of the calculated one?
Alasdair
More information about the dm-devel
mailing list