I know loopback will go through the kernel network stack until reach IP layer, including syscall overhead and some memory copy overhead. DPDK and RDMA use different technology to avoid these.
So let's say I have two machine connected by dpdk/rdma, then I do net latency test, will that be faster than loopback on just one machine?
I do a quick test of ping localhost
on CPU E5-2630 v4 @ 2.20GHz, which on average is 0.010ms.
I come up with this question when I was testing my ceph cluster using vstart.sh, I want to minize network latency in order to carefully analyze how osd-related code affect latency.
Does DPDK/RDMA between 2 machines gives lower latency than local host ping
orhow do I minimize latency for packets
?Does DPDK/RDMA between 2 machines gives lower latency than local host ping
, I am just curious that is localhost ping faster than any network connection between remote machines, no matter what technology it use.time=0.03003 ms
. But flip side it never tell you rate at which PING is send. On DPDK/XDP with 14Mpps send as ICMP request, I do not think you will attaintime=0.025 ms or less than