Re: Per-file bandwidth requirements

From: Joshua Root <jmr_at_gelato.unsw.edu.au>
Date: Mon, 17 Sep 2007 19:57:17 +1000

Carl Henrik Lunde wrote:
> Hi!
>
> I would like to simulate a load with multiple files with different bandwidth
> requirements in the same process:
>
> Process 1: file A: rate=10 MB/s, file B: rate=1 MB/s, file C: rate=idle
> Process 2: file D: rate=20 MB/s, file E: rate=idle
>
> By "rate=idle" I mean that there should not be any IO unless all the other
> rates specified in the process are met.
>
> As far as I can see this is not possible with the current version of fio?
>

You can set a job's priority to idle by setting prioclass=3. This would
only work when using the CFQ I/O scheduler. I don't think there's any
way to adjust the priority on a per-file basis.

-- 
Joshua Root,  jmr AT gelato.unsw.edu.au
http://www.gelato.unsw.edu.au
Received on Mon Sep 17 2007 - 11:57:17 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 17 2007 - 12:00:01 CEST