Thank you changpeng, Get your way to limit the speed. But that seems to be NVMe only, not
a common infrastruct for speed limit.
Very good question, but currently SPDK does
not have such feature.
One crude implementation: you can modify function
bdev_nvme_poll: spdk_nvme_qpair_process_completions(qpair, 0),
replace 0 with a different number such as
8. This means batch of I/O at a time instead of wrap around.
SPDK [mailto:email@example.com] On Behalf Of
Sent: Sunday, May 7, 2017 3:17 PM
To: spdk <spdk(a)lists.01.org>
Subject: [SPDK] Any idea for SPDK to limit the data transfer speed
nvme device, if i
config SPDK with two partitions, is there any way to limit the transfer speed to a fix
speed? I know the kernel has
cgroup limit and buffered io limit, if
i want to implement this in SPDK, is there a way to archive this?
SPDK mailing list