RE: [chrony-users] Ethernet hubs are great |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] Ethernet hubs are great
- From: Bryan Evenson <bevenson@xxxxxxxxxxxxxx>
- Date: Wed, 4 May 2022 15:43:06 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=melinkcorp.com; dmarc=pass action=none header.from=melinkcorp.com; dkim=pass header.d=melinkcorp.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wuOVMx2pvN/RO6FpY9qiXChbBOx1N9ENLRY3PTQ9B4Q=; b=EWq332qyoHz+u9mdf5YKKuU0/T58gN4drb5XzdBm5Wh7w0Gc8ekrDiprjN95XtCg7y4sFElk33b3C0BpH7DoYq51tYpSwcboY7XgKLfEaKQrRibVW+/IDitDsLQ3wMozdg9f0+T/PmQsM0Z/bAb0mRuKw87H+LDNUC5fgifFHmW/NG8VtlLhYY2pFpthy6JAjYFs4mE+nZuQuaLrct/NdR5mRZCIXRmQhdP7KI/B+otePzVitWrsKgnNQH6d+iu6lCsagOHWjg81m13YVkBpqzM4dDEWZ+1fdBhhxUA6PnB8v6NJ2cOtLG/+cNSrj9px48yoah0tBhf3AdEBKeWpcg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A48Fnk2fZUjMqS2oGgklrtwfnleJdJuIUjX1TzWEYi6ixsNNACJfideFd6QkX4szVgtBMDAkrOuXelsgHv/9yuNKgSju8FQ2snBt2N8newzkOqBX3Xy0pLEzJNW4Ll7D/GVqqigrPdfEf4nN0YUrrjjYAk+Po9q5IBDcJiQYNG83JXvQp0Eaz4NcdrOpgzMHKTIsGJ903eITOw2Tio1cTX5Mt0VzEAHwQFBSDmAPZFQQhK7Az/jLkkjTqfiqvZWr8uIkuhSI91S1fACe1KIbjb0hEG4U2fS6XjW2oxVORAgG7d8R4RecXCCYnoN6uuYhyUAwzznq3nx0Rlz1Z3eT0w==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=melinkcorp.com;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Melink.onmicrosoft.com; s=selector1-Melink-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wuOVMx2pvN/RO6FpY9qiXChbBOx1N9ENLRY3PTQ9B4Q=; b=OgDZam0P4NdpdDXYEbEBwry2mr+XkViLBdCMQ4eEWl30NF1ry2SA57JjUVLqBwM1Vcxd7e9KbIzZ6RWcyaElBKCOTb26psgqLVMDgMF4OPn/4ueYnmJNMGacKTAekpB7B6leaodTHafCOocM4Onxo3y9fS81GzXmx3P4pEv0rKZjiBtVy3YaiTooPWehzTjyMft6cqZfKLYg+WO4J0sL4iGZMcccvB8aXNaD0REDREj88l+TFMMee4eptb5rUM8TrDSfQ5LbTFAp4d7b8Pgoce6VQ064JGLECThxD/ewEjaWQWdBmCRSb8VtjE/9rEYesi+F/SjyZoaWJeru7tbXvQ==
- Thread-index: AQHYX479/svz+HLs2EKCSQ4JkdqSYq0O2dCA
- Thread-topic: [chrony-users] Ethernet hubs are great
Miroslav,
> -----Original Message-----
> From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Sent: Wednesday, May 4, 2022 4:14 AM
> To: chrony-users@xxxxxxxxxxxxxxxxxxxx
> Subject: [chrony-users] Ethernet hubs are great
>
> An ethernet hub is an old piece of technology from times when switches
> were too complicated and expensive. As it doesn't need to inspect frames
> and simply repeats them on all ports, it is supposed to have a much shorter
> and symmetric latency than a switch. That should be great for NTP.
>
> Switches typically have an asymmetry and jitter in their latency of tens or
> hundreds of nanoseconds. The asymmetry is different between different
> ports and it impacts accuracy of clocks synchronized over the switch. PTP
> requires hardware support in the switches in order to compensate for the
> asymmetry and reduce the jitter, but I have not seen any switches with
> hardware support for NTP yet.
>
> I was curious to see how much better would a hub work. I found an 8-port
> 3Com OfficeConnect Fast Ethernet hub for testing. It is a
> 10/100 Mbit/s dual-speed hub, which apparently means it internally works as
> two hubs connected with a two-port switch, where each external port can be
> connected to one of the hubs. I wasn't sure if that wouldn't degrade its
> performance to a switch, but it seems it doesn't.
>
> Using a computer with two I210 NICs (which support HW timestamping), I
> tested NTP synchronization through different pairs of the hub's ports.
> The latency of the hub seems to be only about 50 nanoseconds and I didn't
> see any asymmetry within the stability of the test (about 2 nanoseconds).
> That's amazing.
>
> Too bad hubs are no longer manufactured and there don't seem to be any
> for faster network speeds. Also, there is a limitation on the number of
> chained hubs, which limits the network size. But if you can find some and
> don't mind maintaining a separate network for timekeeping, this looks like a
> great option for a lab. Much cheaper than switches with PTP support and you
> can still use NTP.
>
Agreed. Hubs are great for any network protocol testing. Plug all the equipment into the hub, plug your PC into any port and just fire up Wireshark to spy on all the traffic. Daisy chain multiple hubs together to get more ports if needed. Much simpler to setup than switches with PTP support, and you don't have to worry about the hub accidentally filtering out traffic because of some buried configuration settings.
Bryan
> --
> Miroslav Lichvar
>
>
> --
> To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "unsubscribe" in the subject.
> For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "help" in the subject.
> Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.