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: Thu, 10 Nov 2016 13:35:22 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1478813726; bh=9CYNd4fDoInnDBIxfnsNZctwMIh/ijEXRRYZvUEVNgk=; h=From:Content-type:MIME-version:Subject:Date:To:Message-id; b=WLRUo7FoQKRKBokX0ESVr2m/GtVMXdMxsRtuR/Jv15sqFIeZb7BUp1knodn6CSJ+x PN4ftAlSbIRY6W139P/aHj3MwLlYQzQyIkjrMGjx46ANPEZGP6InYWHedP5qYMwR2I nuHU10GuADJmOzirR3jbB+sJQISsOn9+DblhzkV/7uwcEls46vOnLq/pf/OdQN+ftr d2iSJyhXJKGvVTRQDO4r5th9I3rQbYqXsjhzBZYv9UEWD0qqzvi9/XKGSDixS97a27 V2y2ZreuwSfKN26fY1RU6DOYJBwODwn/eCAcpVf5euil3E/lSAiPfV44GfUBemF8aA 9PQZVe9saJ+yg==
Miroslav,
The kernel is 4.4.26. The problem appears to be hardware timestamping and multiple interfaces.
Here is the test setup: 3 identical hardware NTP units. Two accessible via switch on igb0. One accessible vi igb3 as a directly connected IP point to point. Here are test results:
test 1
- hw stamps off for all interfaces
- all ntp servers enabled
- result: K K for all servers (as expected)
test 2
- hw stamps on for igb0
- all ntp servers enabled
- result: H H for servers attached via igb0, D K for server attached via igb3
test 3
- hw stamps on for igb3
- all ntp servers enabled
- result: D K for servers attached via igb0, mixed D H and H H for server attached via igb3
test 4
- hw stamps on for both igb0 and igb3
- all ntp servers enabled
- result: H H for one server attached via igb0, mixed H H and D H for other server attached via igb0, mixed H H and D H for server attached via igb3
test 5
- hw stamps on for igb0
- ntp servers attached via igb0 enabled, server attached via igb3 disabled
- result: H H for both servers (as expected)
test 6
- hw stamps on for igb3
- ntp servers attached via igb0 enabled, server attached via igb3 disabled
- result: D K for both servers
test 7
- hw stamps on for igb0
- ntp servers attached via igb0 disabled, server attached via igb3 enabled
- result: D K
test 8
- hw stamps on for igb3
- ntp servers attached via igb0 disabled, server attached via igb3 enabled
- result: mixed D H and H H
Denny
> On Nov 10, 2016, at 11:45, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Thu, Nov 10, 2016 at 11:25:31AM -0800, Denny Page wrote:
>> Miroslav,
>>
>> And D H?
>
> D means daemon, i.e. no SW or HW timestamp. The first one is for
> transmit timestampt, the other one for receive timestamp. If only the
> first entry in the log is like that, then it's ok. If not, something
> is wrong. What kernel version do you have? It might help if we could
> see the debug output from chronyd -d -d when compiled with the
> --enable-debug option.
>
> --
> Miroslav Lichvar
>
> --
> 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.
>
--
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.