Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-06 Thread Keller, Jacob E
> -Original Message- > From: Thomas Behn [mailto:[email protected]] > Sent: Wednesday, December 05, 2018 10:01 PM > To: Keller, Jacob E ; > [email protected] > Subject: Re: [Linuxptp-devel] PHC delay when calling clock_gettime > > Am 0

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-06 Thread Frantisek Rysanek
Dear gentlemen, I've been following your debate, and while it's a sin to comment off topic, it's difficult for me to hold back the following smirk: i82579V/LM brings back a recollection of a pretty famous bug discovered a few years ago, where PCI-e ASPM did not work properly, with the net resul

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-05 Thread Thomas Behn
Am 05.12.18 um 18:16 schrieb Keller, Jacob E: I've never heard of this symptom being reported before. My gut reaction is that this is caused by code in e1000e_read_systim, which reads the SYSTIME multiple times. I am suspicious that multiple readings is somehow impacting the clock time, which

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-05 Thread Keller, Jacob E
> -Original Message- > From: Thomas Behn [mailto:[email protected]] > Sent: Tuesday, December 04, 2018 10:04 PM > To: Keller, Jacob E ; > [email protected] > Subject: Re: [Linuxptp-devel] PHC delay when calling clock_gettime > > Am 0

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-04 Thread Thomas Behn
Am 04.12.18 um 19:54 schrieb Keller, Jacob E: -Original Message- From: Thomas Behn [mailto:[email protected]] Sent: Tuesday, December 04, 2018 12:46 AM To: Keller, Jacob E ; [email protected] Subject: Re: [Linuxptp-devel] PHC delay when calling clock_gettime Ah

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-04 Thread Keller, Jacob E
> -Original Message- > From: Thomas Behn [mailto:[email protected]] > Sent: Tuesday, December 04, 2018 12:46 AM > To: Keller, Jacob E ; > [email protected] > Subject: Re: [Linuxptp-devel] PHC delay when calling clock_gettime > > That se

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-04 Thread Thomas Behn
Am 03.12.18 um 22:41 schrieb Keller, Jacob E: -Original Message- From: Thomas Behn [mailto:[email protected]] Sent: Monday, December 03, 2018 11:31 AM To: [email protected] Subject: [Linuxptp-devel] PHC delay when calling clock_gettime Hi everyone, While

Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-03 Thread Keller, Jacob E
> -Original Message- > From: Thomas Behn [mailto:[email protected]] > Sent: Monday, December 03, 2018 11:31 AM > To: [email protected] > Subject: [Linuxptp-devel] PHC delay when calling clock_gettime > > Hi everyone, > > > While de

[Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-03 Thread Thomas Behn
Hi everyone, While developing a PTP slave using the Linux PHC, I noticed, that everytime I call clock_gettime with the PHC ID, the time on the PHC jumps or at least changes by around 200-300ns. I noticed this, because I have implemented an algorithm reading the PHC time ten times in a row to find a