Re: [dm-devel] [PATCH 1/8] dm-ioband: Introduction

From: Hirokazu Takahashi
Date: Thu Nov 13 2008 - 18:18:52 EST


Hi,

> Ryo Tsuruta wrote:
> > Create two ioband devices "ioband1" and "ioband2". "ioband1" is mapped
> > to "/dev/sda1" and has a weight of 40. "ioband2" is mapped to "/dev/sda2"
> > and has a weight of 10. "ioband1" can use 80% --- 40/(40+10)*100 ---
> > of the bandwidth of the physical disk "/dev/sda" while "ioband2" can use 20%.
>
> Just to clarify, when you say ioband1 can use 80% of the bandwidh, you
> mean that is how much it will get if both io bands are loaded right? If
> there is no activity on ioband2, then ioband1 will get the full disk
> bandwidth right?

Absolutely, you are right!

Thank you,
Hirokazu Takahashi.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/