
私はI / Oシステムを限界まで押し込むことなく、一定の目標スループット(3Mb / sなど)でデータを読み書きできるツールを探しています。その後、かなり安定したI / Oアクティビティが発生している間にさまざまな指標を監視する予定です。stress
のようなツールを見てみましたが、fio
スループットを最大化するのに適しているようです。これを行うことができるツールの提案をいただきありがとうございます。ありがとうございます。
答え1
pv -L
覆う必要があります。
答え2
私が望むことをするように見えるオプションを見つけました--rate
。fio
rate=int[,int][,int]
Cap the bandwidth used by this job. The number is in bytes/sec, the normal suffix
rules apply. Comma-separated values may be specified for reads, writes, and trims
as described in blocksize.
For example, using rate=1m,500k would limit reads to 1MiB/sec and writes to
500KiB/sec. Capping only reads or writes can be done with rate=,500k or
rate=500k, where the former will only limit writes (to 500KiB/sec) and the latter
will only limit reads.
https://fio.readthedocs.io/en/latest/fio_man.html#cmdoption-arg-rate