Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Poul-Henning Kamp has proven that you can get down into the nanoseconds range, mostly just by using the right software. If you work at it hard enough.

In 2002, he got the error band down to 260 nanoseconds, see: https://phk.freebsd.dk/soekris/pps/

He has done better since then.

 help



My Time Pi setup is in the single-digit ns range, on the hardware side—the PPS from GPS goes into the NIC's PHC, and disciplines that clock on the HAT. That time is distributed with hardware timestamping over the network (PTP), and other devices can get hardware level sync sub-10ns.

The Pi still has to handle its own PPS through interrupts, and without PTM, that means "less than a microsecond" is about as good as I can currently say _in Linux_ on the Pi.

Most people who get serious about timing in the ns (and now sub-ns) range move to FPGAs now, especially considering how inexpensive they've become. I haven't made that jump but most of my actual timing-focused hardware runs on an FPGA inside (like the NetTimeLogic PPS analyzer I have all my clocks plugged into).


Yeah, I agree — hardware is the way to really get down to the nanoseconds. Meinberg has proven that. As have other hardware vendors.

But PHK has done it in just software, running on a Soekris board. And he has done better since then, again just with software.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: