prefill for read-only tests in cbt

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

 



hi Mark,

i am working on using cbt for testing crimson. as you might known,
crimson-osd is currently using a variant of memstore as its object
store backend. so it'd be very easy for crimson-osd to run out of
memory, as the default run "time" of cbt radosbench is 300 seconds.

currently, each radosbench run is composed of 3 steps:

1. prefill // optional, enabled if "prefill_time" or "prefill_objects" is set
2. write.
3. read // optional, enabled if "write_only" is not test

the pain point is that the run times for write and read step are
specified using the same setting -- "time".

so, i am wondering if it's okay to add an option named "read_only" to
skip the "write" step to let the prefill to prepare the testbench for
the read test. so we can specify the time for prefilling and the time
for read separately?

as an alternative, we could have an option for "write_time", which
defaults to "time" if not specified, but if it takes precedence over
"time" if specified. and it's "0", the "write" step will be skipped.

what do you think?

-- 
Regards
Kefu Chai
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux