RE: FIO 3.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> First, when we create a profile, my assumption is that if I have two jobs without using 'stonewall',
> each job will run at the same time and will have the same priority. So, if I want to do a job with a
> 50% read/write but with 25% random and 75% sequential, I would need a job that look like this:
...
> If so, outside of trying to work the numjobs required to get about 50% R/W, is there a
> better way of doing this?

The OS controls how different threads progress, and there's nothing keeping them in
lockstep.

These will make each thread implement your desired mix:

       rwmixread=int
              Percentage of a mixed workload that should be reads. Default: 50.

       rwmixwrite=int
              Percentage of a mixed workload that should be writes. If both rwmixread and
              rwmixwrite is given and the values do not add up to 100%, the latter of the two
              will be used to override the first.

       percentage_random=int[,int][,int]
              For  a  random  workload,  set how big a percentage should be random. This defaults
              to 100%, in which case the workload is fully random. It can be set from anywhere
              from 0 to 100. Setting it to 0 would make the workload fully sequential. Any setting
              in between will result in a random mix of sequential and  random  I/O,  at  the
              given percentages. Comma-separated values may be specified for reads, writes, and
              trims as described in blocksize.

Threads running sequential accesses can easily benefit from cache hits from each other, if
there is any caching or prefetching done by the involved drivers or devices.  One thread
takes the lead and suffers delays, while the others benefit from its work and stay close
behind.  They can take turns, but tend to stay clustered together. This can distort results.
Random accesses avoid that problem, provided the capacity is much larger than any caches.




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux