Re: Specify range and distribution of accesses

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

 



Jens Axboe wrote on 03/03/2016 12:04 PM:
> Here's a patch that attempts to provide that. Basically it's a new
> setting for random_distribution, zoned. With zoned, you can give
> percentages like your original example. So to do the zone layout that
> you provided:
> 
> 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)
> 
> you would do:
> 
> random_distribution=zoned:50/5:30/15:20/

What is random distribution inside each zone? "Random"?

Wouldn't it be better to make zoning distribution a separate parameter and keep
random_distribution to specify random distribution inside zones?

For instance, Gauss distribution inside zones would be more realistic approximation to
real life cases, where usually there are both spacial and temporal locality.

Thanks,
Vlad

--
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