Question Latency through an ethernet switch

think2

Senior member
Dec 29, 2009
223
2
81
Does anyone have an idea of how much delay / latency there is in getting a 1500 byte message through a "typical" ethernet switch on 100 Mb/s cable or on fibre. We want to send a "synch clock" message from one device to another through ethernet switches and we need it to arrive as quickly as possible so that the two devices have a synch clock time that is "almost" the same.. We don't want to use NTP. We will have QOS enabled and set the DSCP field set to EF (expedited forwarding) for the synch clock packet so it will be the highest priority packet on the network. I would like to get an idea of how long it would take a packet to traverse, say, 10 ethernet switches.
 

Hi-Fi Man

Senior member
Oct 19, 2013
601
120
106

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,101
126
Googled.

https://stackoverflow.com/questions/8682702/how-to-calculate-packet-time-from-latency-and-bandwidth
https://serverfault.com/questions/276651/network-latency-100mbit-vs-1gbit

BTW, I think a time sync does not require a 1500 bytes data frame.

==

https://www.oreilly.com/library/view/ethernet-switches/9781449367299/ch01.html

Forwarding
Store-and-forward
Refers to standard 802.1D bridging, in which a packet is completely received on a port and into the port buffer (“store”) before being forwarded.​
128 KB on-chip packet buffering
The total amount of packet buffering available to all ports. The buffering is shared between the ports on an on-demand basis. This is a typical level of buffering for a small, light-duty, five-port switch intended to support client connections in a home office.​
Forwarding rate
10 Mbps port: 14,800 packets/sec
100 Mbps port: 148,800 packets/sec
1000 Mbps port: 1,480,000 packets/sec

Latency (using 1500-byte packets)
10 Mbps: 30 microseconds (max)
100 Mbps: 6 microseconds (max)
1000 Mbps: 4 microseconds (max)
 
Last edited:
Reactions: think2

think2

Senior member
Dec 29, 2009
223
2
81
Thanks, that's useful information. I don't understand the latency data though. If the latency is the "internal switching delay imposed by the switch electronics", why does it vary with the connection speed? Also does "switch electronics" include any software processing delay?

You're correct, a synch clock packet will be less than 100 bytes but I mentioned 1500 in case there is a 1500 byte packet just in front of the synch clock packet and it stays in front indefinitely because a switch will probably start sending it just before the synch clock packet has arrived. At a 100 MB/s, 1500 bytes takes 120 microseconds to transmit.

If 30 microseconds of latency is typical for a low cost switch then I will be happy.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,101
126
I'm not expert.

It seems to me the latency defined in OReilly book is the store and forward delay. Yet it's defined somewhere else as the time it takes for data to go round trip on the network.

Fond some info on the net that you probably will be interested in:
https://www.trincoll.edu/Academics/MajorsAndMinors/Engineering/Documents/IEEE Standard for Ethernet.pdf
(P.41 & P.42 might be interesting)

There is a RFC 2544 standard to test latency: https://www.google.com/search?q=RFC2544+Latency+Test
https://www.marvell.com/documents/rjx203ukari4r93gntem/
https://tools.ietf.org/html/rfc2544
https://www.juniper.net/documentati...ics/concept/oam-rfc2544-testing-overview.html

==

Hope someone in the forum can explain it better.
 
Last edited:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |