Miroslav Lichvar
2013-01-17 12:22:02 UTC
I've tried running phc2sys with the PPS signal generated by Intel X540
(ixgbe driver) on Linux 3.8.0-rc3 and 3.6.2, but it doesn't seem to
work very well. I've noticed two problems:
- the signal has a large and variable jitter in tens of microseconds.
Is this caused by the latency in the interrupt delivery? The system
is using MSI, are there any settings which could reduce the latency?
- the PPS events slowly drift away from the start of seconds in the
PHC time, as if the pulse generator was using a different clock.
Interesting is that setting the PHC resets the offset between PPS
and PHC.
The second pair of PHC and PPS on the card behave similarly. Is anyone
else seeing this?
The only other NIC with PPS I've tried was a Solarflare, the PPS was
very good (because it's not using interrupts?), but reading of the
clock was slow, so I'm wondering if there is any card which has PPS
and PHC reading equally good.
Thanks,
(ixgbe driver) on Linux 3.8.0-rc3 and 3.6.2, but it doesn't seem to
work very well. I've noticed two problems:
- the signal has a large and variable jitter in tens of microseconds.
Is this caused by the latency in the interrupt delivery? The system
is using MSI, are there any settings which could reduce the latency?
- the PPS events slowly drift away from the start of seconds in the
PHC time, as if the pulse generator was using a different clock.
Interesting is that setting the PHC resets the offset between PPS
and PHC.
The second pair of PHC and PPS on the card behave similarly. Is anyone
else seeing this?
The only other NIC with PPS I've tried was a Solarflare, the PPS was
very good (because it's not using interrupts?), but reading of the
clock was slow, so I'm wondering if there is any card which has PPS
and PHC reading equally good.
Thanks,
--
Miroslav Lichvar
Miroslav Lichvar