Control % of compressible write workload

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

 



Hello,

I need to test a storage device adjusting the % of the write workload
that can be compressed. I've learnt how to use

buffer_compress_percentage=70
refill_buffers
buffer_pattern

When you set  buffer_compress_percentage to a job, or to global, then
100% of the write workload will be compressed (at 70% rate ,in this
example) .

What I'd like to understand is if there's a way to tune the % of the
write workload that will be compressed. Ideally FIO should send 70%
writes compressible (at 10% compress rate) and 30% not compressible
(or 0% compress rate)

I could create 7 jobs with  buffer_compress_percentage and 3 jobs
without, but I need to have the 70/30 ratio in a single job/thread.

thanks
Michele Pardini



[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