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