Re: [chrony-dev] SW/HW timestamping on Linux |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] SW/HW timestamping on Linux
- From: Denny Page <dennypage@xxxxxx>
- Date: Tue, 10 Jan 2017 13:26:35 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1484083597; bh=F07nKUB96/sG8aSy/+gspG1V81IthEJOHhzEF2rrKCw=; h=From:Content-type:MIME-version:Subject:Date:To:Message-id; b=lAwV0weQI2nDbUUK/5kX36luuuw2o7Jn63rzzu0tTNmkvn2wfYEg9ykALx3lefLyb FDkOH3/6E1rJ27+pzCwoKqGyjkMf8eX7mcPkdXTFy3cfERu/ntTFwrZ3GjtoyEPjQt XpkE0ym2RRc7JfOGhbiKLE4YAVu5RVTRngiQg6QrPj/+LR59E1igAR1gbNo1OBUgMk XuuH9gyc6J437Xptt82dIBmEfE6bnNsCCzC8H5DmYVgIVKDl+or4WyobsNYUTecXfF E/RVguTBzXhZX8J15JoRZvrfMWobkzfgcK4BimJxOblQPbXdh6bV247jl0wz+KTiG8 Cx/66sXK27SOA==
> On Jan 10, 2017, at 03:21, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Mon, Jan 09, 2017 at 09:02:14AM -0800, Denny Page wrote:
>> The program up if you want to have a look. I am still working on the guidelines for use.
>>
>> https://github.com/dennypage/ethtscal
>>
>> My testing has been principally focused on the i354. I will also be testing the i211, which I believe should be very close to the i210, but I need to finish the i354 first. Unfortunately it’s a long iterative process to balance the tx and rx values.
>
> This is very interesting and I'm curious to see how you balance the
> tx and rx values. If I know the expected delay is x and I measure
> delay y, how do I distribute the (x-y) difference to the tx and rx
> comp values? Is there some symmetry in the RX and TX timestamping
> error?
Well, that’s the bad part—without a scope or other interval hardware device the only way to determine the values is by trial and error. The short version is that you establish a baseline for different speeds using loopback cables, and then work the values with different speeds through a switch until all the values fit. A long and painful process. And it doesn’t help that switches change latency between 10/100Mb and 1Gb.
The tx and rx compensation values are asymmetric on the Intel chips I’ve tested. Between 1:2.1 and 1:2.6 depending upon speed.
Denny
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.