|
From: Wojciech O. <woj...@ow...> - 2013-05-26 23:02:09
|
George, All, I just submitted some minor fixes to the PCAP code - tested on Linux: RHEL6 and Ubuntu. Hybrid and unicast modes should be working OK with PCAP now [ only slave mode tested! ] Naturally PCAP works fine on Linux. I don't think there is a more portable solution in userspace. Observations so far: - accuracy improved by approx 5us straight away, precision improved as well due to lower jitter - unfortunately servo output will be a little jittery (short-term jitter in smaller scale - "thicker" plots basically), reason being that pcap we're back to microsecond timestamp resolution - not much can be done about it it seems, even with the latest libpcap - need to double check socket initialisation and handling when using pcap: ptpd is currently bounding back ICMP unreachables in reaction to unicast delay responses. Doesn't break anything on the slave side but shouldn't be happening. Regards Wojciech On 23 May 2013 19:43, George Neville-Neil <gn...@ne...> wrote: > Howdy, > > As of revision 324 of the trunk of the PTPd tree I have added support for > reading packets > over pcap/bpf (this works on BSD based systems and is being testing on > FreeBSD) which > also allows us to work in 802.3 mode. I have tested this mode with both a > Symmetricom (S350) > and a Meinberg m600. Testing will continue before the release but this is > the first > cut of this code. Please update your trees and test in your own > evnironments and report > bugs. If someone could look at replicating the pcap/bpf work on top of > whatever similar > feature Linux provides that would be most welcome. > > Best, > George > > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > _______________________________________________ > Ptpd-devel mailing list > Ptp...@li... > https://lists.sourceforge.net/lists/listinfo/ptpd-devel > -- - Wojciech Owczarek |