Posts: 27
Joined: Fri Mar 07, 2014 10:04 pm

Reducing Pi network latency and jitter

Fri Dec 05, 2014 4:50 pm

Hi all,

I'm using a Pi as a stratum-1 NTP server and am looking for ways to reduce network latency and jitter. I'm aware the ethernet port is on the USB bus so will never be quite as good as dedicated ethernet port, but for a relatively low traffic service such as NTP the Pi does very well.

Things I've tried so far to improve latency, jitter and general network speed:
  • Added smsc95xx.turbo_mode=0 to /boot/cmdline.txt to reduce latency
  • Used setserial /dev/ttyAMA0 low_latency, also to reduce latency
  • Built a custom kernel with dynamic ticks disabled
  • Disabled ipv6
  • Increased memory to udp in /etc/sysctl.conf
I may very well be bumping up against the hardware limitations of the Pi at this point, but if anyone else has any tips or tricks to further improve matters, I'd love to hear them.

Return to “Networking and servers”