Re: fio zipfian random_distribution offset selection

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

 



Hi,

I did a trial run (small data set size of 400KB) with iolog enable so
to capture the offset. From what i can see, the offset is indeed
randomly selected.

occurrence | offset
     10   16384
      1    45056
     13   77824
      4   110592
      2   139264
     47   172032
      5   204800
      1   233472
      1   266240
     11  299008
      2   331776
      3   393216

Do correct me if i am wrong.

Cw

On Tue, May 30, 2017 at 2:46 PM, qingwei wei <tchengwee@xxxxxxxxx> wrote:
> Hi,
>
> I would like to validate my understanding on fio zipfian
> random_distribution. Form my understanding, a zipfian 1.2 means ~95%
> of IO access will be concentrated on 5% offset location (Do correct me
> if i am wrong). So if i have a file with 100 offsets, i cold have
> offset 1, offset 5, offset 20, offset 86, offset 99 get repeatedly
> access. So my question is, is this offset being chosen randomly? Or is
> it possible to specify based on spatial locality, where nearby offset
> tend to be accessed together? Thanks.
>
> Cw
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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