Re: [PATCH] range-bw: Another I/O scheduling policy of dm-iobandsupporting the predicable I/O bandwidth (range bandwidth)

From: Ryo Tsuruta
Date: Mon Apr 27 2009 - 07:12:27 EST


Hi Dong-Jae,

> I wonder your test configuration and environment.
> Your result is some strange for me, because I didn't use the testing tool, fio.
> I have used xdd, bonnie++ and tiobench during the test.
>
> So, I will try to evaluate range-bw using fio, to do that, I need to
> know your configuration and basic environment in briefly
> if it don't bother you, can you give me the information?

I used fio 1.22. The below is a script which I actually ran.

#!/bin/sh
dev1=/dev/sdb4 # SATA disk
echo "0 $(sudo blockdev --getsize $dev1) ioband $dev1 share2 0 0
cgroup range-bw 0" | sudo dmsetup create ioband1

arg="--time_based --runtime=10 --ioengine=libaio --iodepth=50 \
--direct=1 --norandommap"

dmsetup message ioband1 0 attach 2
dmsetup message ioband1 0 attach 3
dmsetup message ioband1 0 min-bw 2:100
dmsetup message ioband1 0 max-bw 2:100
dmsetup message ioband1 0 min-bw 3:200
dmsetup message ioband1 0 max-bw 3:200

echo $$ > /cgroup/grp1/tasks
fio $arg --rw=randread --name=grp1 --filename=/dev/mapper/ioband1 \
--output=r2-1.log &
echo $$ > /cgroup/grp2/tasks
fio $arg --rw=randread --name=grp2 --filename=/dev/mapper/ioband1 \
--output=r2-2.log &
wait

Please feel free to ask me if you need more information.

> and I attached the result of basic evaluation of range-bw using xdd
> 6.5.(Test Result for range-bw_english.pdf)
> it was performed to evaluate the basic functionalities in one process per group.

Thanks.

> actually, more evaluation is need in specfic envinronment like as
> massive I/O by huge processes in each group.
> and it is going on now

I'm look forward to seeing the results.

Thanks,
Ryo Tsuruta
--
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/