Offset in percentage rather than in LBA

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

 



Hi,

Can offset be specified in percentage rather than in capacity value
like gb or mb?
I have a config file which fills a drive once randomly. I got 4 jobs
running in parallel (4*64qd=256qd) with lba space divided among them.
I want to specify in percentage, so that all the jobs are equally
used, rather than hard-coding the capacity.

The following example configuration is designed for 450GB NVMe drive.


#################################################
[global]
ioengine=libaio
thread
cpus_allowed=0-7
cpus_allowed_policy=split
direct=1
size=100g
loops=6

[4k-4k_randwrite_0_rd_qd256_numjob1]
bs=4k
ba=4k
iodepth=64
offset=0
rw=randwrite
randrepeat=0
norandommap
refill_buffers
log_avg_msec=1000
unified_rw_reporting=1
write_bw_log=4k-4k_randwrite_0_rd_qd256_numjob1
write_iops_log=4k-4k_randwrite_0_rd_qd256_numjob1

[4k-4k_randwrite_0_rd_qd256_numjob2]
bs=4k
ba=4k
iodepth=64
offset=100g
rw=randwrite
randrepeat=0
norandommap
refill_buffers
log_avg_msec=1000
unified_rw_reporting=1
write_bw_log=4k-4k_randwrite_0_rd_qd256_numjob2
write_iops_log=4k-4k_randwrite_0_rd_qd256_numjob2

[4k-4k_randwrite_0_rd_qd256_numjob3]
bs=4k
ba=4k
iodepth=64
offset=200g
rw=randwrite
randrepeat=0
norandommap
refill_buffers
log_avg_msec=1000
unified_rw_reporting=1
write_bw_log=4k-4k_randwrite_0_rd_qd256_numjob3
write_iops_log=4k-4k_randwrite_0_rd_qd256_numjob3

[4k-4k_randwrite_0_rd_qd256_numjob4]
bs=4k
ba=4k
iodepth=64
offset=300g
rw=randwrite
randrepeat=0
norandommap
refill_buffers
log_avg_msec=1000
unified_rw_reporting=1
write_bw_log=4k-4k_randwrite_0_rd_qd256_numjob4
write_iops_log=4k-4k_randwrite_0_rd_qd256_numjob4
#################################################


Thanks,
Prabhu
--
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