Re: [dm-devel] [PATCH 1/8] dm-ioband: Introduction
From: Ryo Tsuruta
Date: Thu Nov 13 2008 - 20:38:19 EST
Hi Phillip,
> > 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!
Here is a benchmark result of sharing bandwidth between three ioband
devices. When there is no activity on ioband2, the total bandwidth of
the disk is shared only between ioband1 and ioband3 according to their
weights.
http://people.valinux.co.jp/~ryov/dm-ioband/benchmark/partition1.html
--
Ryo Tsuruta <ryov@xxxxxxxxxxxxx>
--
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/