How do we select the value for with_iops_counter
for Throttle
?
#1022
Answered
by
MrCroxx
debajyoti-truefoundry
asked this question in
Q&A
-
Throttle::new()
.with_read_iops(4000)
.with_write_iops(2000)
.with_write_throughput(100 * 1024 * 1024)
.with_read_throughput(800 * 1024 * 1024)
.with_iops_counter(IopsCounter::PerIoSize(NonZeroUsize::new(128 * 1024).unwrap())) I would like to understand how we select the value for |
Beta Was this translation helpful? Give feedback.
Answered by
MrCroxx
Jun 18, 2025
Replies: 1 comment 7 replies
-
Hi. The value is based on the IOPS counting model of your storage vendor. e.g.
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
debajyoti-truefoundry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
The value is based on the IOPS counting model of your storage vendor.
e.g.
PerIo
counter is all you need.PerIoSize(128 * 1024)
as the counter will give a more accurate throttle result.