Thank you changpeng, Get your way to limit the speed. But that seems to be NVMe only, not
a common infrastruct for speed limit.
Thanks,
Xun
---------------
Hi Xun,
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.
From:
SPDK [mailto:spdk-bounces@lists.01.org] On Behalf Of
nixun_992(a)sina.com
Sent: Sunday, May 7, 2017 3:17 PM
To: spdk <spdk(a)lists.01.org&gt;
Subject: [SPDK] Any idea for SPDK to limit the data transfer speed
Hi, Community:
For one
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?
Thanks,
Xun
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk