On Fri, Feb 26 2016, Jeff Furlong wrote: > Hi All, > I'm looking for a method to distribute access to certain ranges of a > block device. For example, the JESD219 workload > (http://www.jedec.org/sites/default/files/docs/JESD219.pdf) specifies > > The workload shall be distributed across the SSD such that the following is achieved: > 1) 50% of accesses to first 5% of user LBA space (LBA group a) > 2) 30% of accesses to next 15% of user LBA space (LBA group b) > 3) 20% of accesses to remainder of user LBA space (LBA group c) > > I do not currently see any fio options to allow such usage. Perhaps > if --size or --iosize is updated to allow ranges/distributions, it may > be possible? > > The JESD219 workload also specifies a distribution of block sizes, > which can already be accomplished in fio with --bssplit, such as > --bssplit=4k/10:64k/50:32k/40. Perhaps extending that usage to --size > or --iosize may solve the issue? > > The above link for the JESD219 workload includes a vdbench script to > produce the desired workload, but I'm hesitant to think that vdbench > does something that fio cannot. Has anyone been able to specify > ranges and distributions of accesses in any other way? Thanks. There's no straight forward way to do that, I'm afraid. Might be possible to do with a somewhat convoluted use of the existing options. Would be a useful addition, however, to be able to do this in a logical manner. I'll think about it a bit, would require some abstraction around zoning of a fio_file. -- Jens Axboe -- 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