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

Ryo Tsuruta ryov at valinux.co.jp
Mon Apr 27 04:12:14 PDT 2009


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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list