PINE64
Ethernet latency - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Ethernet latency (/showthread.php?tid=8019)



Ethernet latency - nethammer - 09-29-2019

Hi Everyone,

I've been using Rock64 boards for about a year now and am overall pleased with them. I'm having NO stability or reliability issues, etc.

However, there has been one issue I've not been able to overcome---Ethernet latency. This is seen directly with ping performance, where ping round-trip times to/from a neighbor on the same LAN will be 650+ uS (microseconds).  I've tried a LOT of tests and poked a lot of parameters, no solution found. For comparison, other (non-Rock64) hosts on the same LAN show round-trip latency under 150uS.

I've also tried different kernels, from recent Armbian (kernel: 4.4.182-rockchip64) to my preferred platform, archlinuxarm aarch64, including 4.18.2-1-ARCH
(my early builds from last year) up thru very recent, 5.x kernels.

I'm evaluating these boards for routing/firewall/VPN applications. I've not yet tried to evaluate what impact the network latency might have on performance. Typical routing performance I'm seeing, including VLANs and bridging, will end up with thru-put latency of over 1.6mS....That's a long time !

Any thoughts about a solution??

Thanks!


RE: Ethernet latency - nethammer - 10-17-2019

Just wanted to mention that recent (64-bit) kernels have made a huge improvement in network latency! I'm running arch linux arm.

[root@honeypot3 ~]# cat /proc/version
Linux version 5.3.6-1-ARCH (builduser@leming) (gcc version 8.3.0 (GCC)) #1 SMP Sat Oct 12 17:02:44 UTC 2019




.jpg   latency.jpg (Size: 137.77 KB / Downloads: 374)