How a PTP slave syncs with a PTP master

  Переглядів 60,704

David Gessner

David Gessner

День тому

In this video I explain how a PTP slave synchronizes its clock with a PTP master through the exchange of four messages: the synchronization message, the follow-up message, the delay-request message, and the delay-response message.

КОМЕНТАРІ: 59
@paulparacka6766
@paulparacka6766 6 років тому
There are a lot of videos on UKposts about how the synchronization is done, but none of them actually explain exactly how its done. Yours does. Thank you for making such a nice video !!
@yuz835
@yuz835 2 роки тому
exactly!!!
@vasudeva_tulasi
@vasudeva_tulasi Рік тому
Yes exactly
@SijomonParakkal
@SijomonParakkal 8 років тому
The goodness is not only about the virtue of knowledge you possess, but also about your amazing presentation skill, well done, keep it up!
@DhanushkaLankeshwara
@DhanushkaLankeshwara 4 роки тому
The best explanation to PTP I ever found. I was struggling months to understand this and thanks for making this wonderful video.
@libor74
@libor74 8 місяців тому
Thank you. I finally understand master - slave sync procedure. Great respect to your teaching skills
@koushikshirali6427
@koushikshirali6427 Рік тому
By far one of the best PTP explanation!
@aswinsprabhu
@aswinsprabhu Місяць тому
Nicely explained. Helps a lot. Thank you.
@ganpathji
@ganpathji 10 місяців тому
Thank you so much for the superb explanation.
@junmeizhang4708
@junmeizhang4708 5 років тому
It is easy to understand how propagation delay is compensated, I wasn't able to understand how delay inside the switch is compensated previously, but you explained very well. Thanks for making this video!
@user-to9bj5xu6t
@user-to9bj5xu6t 11 місяців тому
Good presentation for PTP I've ever seen.
@thanhphung5396
@thanhphung5396 3 роки тому
Very good explaination about how PTP synchronization works I ever seen. Thank you so much!
@vinuchandran
@vinuchandran 7 років тому
Very well explained. Great presentation skills.. I couldn't any other better explanation for PTP other than this. Thanks you
@jaredking3025
@jaredking3025 3 роки тому
Great clear explanation of a complex topic. Well done!
@bhawnapradeep9972
@bhawnapradeep9972 3 роки тому
Thank you for such a comprehensive explanation.... Amazing video if anyone wants to learn the basic of Time Sync 🙏
@shaikon5617
@shaikon5617 2 роки тому
In a utopic society - the 3 people that disliked this video will be either in jail or digging a tunnel somewhere in Siberia...
@noureldinmohamed7051
@noureldinmohamed7051 6 років тому
Very briefly explanation just into the point nice work.
@a3f35522
@a3f35522 3 роки тому
Thank you for this great presentation! It helped me get a better grasp of this subject.
@Mrsashafr
@Mrsashafr Рік тому
Thanks for great visual explanation!!!
@pityjesus
@pityjesus 8 років тому
excellent explanation!!!
@siddhantsawant7064
@siddhantsawant7064 Рік тому
very good and crystal-clear explanation with diagram thank you
@vanshikashukla8197
@vanshikashukla8197 2 роки тому
BLESS YOU MAN !
@RobertoAlvarezRodriguez
@RobertoAlvarezRodriguez 3 роки тому
Excelente video/explicación, superdidáctico. Amazing presentation skills, thanks.
@brianstock2663
@brianstock2663 9 років тому
Great video! The explanation was very easy to understand and the animations are very well done. The last step, delay_request and delay_response, assumes a symmetrical network topology. How can a PTP system detect or measure asymmetry, e.g. where master to slave takes 2 seconds but slave to master takes 3 seconds?
@Dot_Neith_EesdnakAch
@Dot_Neith_EesdnakAch 2 роки тому
I love the explaination thanks
@DavidGessner
@DavidGessner 9 років тому
PTP cannot detect asymmetries. However, if the asymmetries are known, then PTP as defined in IEEE 1588 v2 can be statically configured so that clocks take them into account. This is called "asymmetry correction" in the standard.
@amirnazari6427
@amirnazari6427 2 роки тому
Concise and useful 👌
@rbellido1
@rbellido1 2 роки тому
Excellent video!!
@issamostek
@issamostek 3 роки тому
extremely good explained
@yogeshasati6210
@yogeshasati6210 7 років тому
very easy explanation...........thanks....
@DeepanPrasanth
@DeepanPrasanth 2 роки тому
Very well explained
@moncefrihani7096
@moncefrihani7096 3 роки тому
Very Nice explanation
@thioptimist
@thioptimist 8 років тому
Hey David, do you know the significance of announce messages? What happens when you have 2 clocks connected and have different announce intervals (one set to 2(4 seconds) and one set to 4(16 seconds)? Great tutorials by the way! :-)
@solomonjenkins9505
@solomonjenkins9505 4 роки тому
amazing video, please, DO GO INTO THOSE DETAILS NOW, I want the rest of the info !!!
@sonkeliebers6807
@sonkeliebers6807 5 років тому
Sehr schön erklärt, hat mir echt geholfen =)
@clementduval3917
@clementduval3917 3 роки тому
Great Video for sure ! Question: why the Master could not embed the directly its transmission timestamps inside the first Sync message ? the Slave being capable to embed the transmission timestamp directly inside the delay_request message , I'm wondering why the Master would not be able to act similarly ? ( I would suspect here that add the timestamps inside the message would be done right before being sent on the wire, by the Network Interface itself) , thanks for your response !
@ruhrrobotics606
@ruhrrobotics606 4 роки тому
Thank you
@umeshcsrinivasa
@umeshcsrinivasa 7 років тому
Nice Video..informative
@p.priyadharshini821
@p.priyadharshini821 5 років тому
thank you
@gsureshcs
@gsureshcs 7 років тому
thank you :)
@henningfriedrich4243
@henningfriedrich4243 6 років тому
good job boy!
@alonsechan8178
@alonsechan8178 3 роки тому
What is the rate of the messages (the bandwidth) between the Master and Slave ? and how does the message looks like, how long is each message ? is it possible to obtain the precision using RF link instead of fiber ? I would like to ask more questions if it is possible to contact you in someway it would be great. Thank you very much for the great videos
@anujagrawal8141
@anujagrawal8141 4 роки тому
Same question asked by George in previous comment: "I understand why there needs to be compensation for the processing/encapsulating delay in the master's first message, but why isn't there a similar one for the slave's delay request time stamp? Wouldn't there be a delay between reading its own clock and transmitting as well?"
@balamuruganjeyachandran6719
@balamuruganjeyachandran6719 4 роки тому
It is not used. It does not use absolute time He just mentioned the scenario.
@qxsnap4314
@qxsnap4314 4 роки тому
The Delay Request message does *not* contain a timestamp in the message. The slave reads the timestamp from hardware after the Delay Request message is sent.
@yuz835
@yuz835 2 роки тому
because only the slave needs this timestamp, and master doesn't need it. Slave can read it's hardware timestamp after it sends out the Delay Request message.
@krishnakanthk4283
@krishnakanthk4283 4 роки тому
what is the difference between peer to peer vs end to end delay, can i assume the description in this video is for "peer-to-peer"
@jantonkens9820
@jantonkens9820 Рік тому
How does it work if propagation is not the same in both directions? So when delay in one direction is not round-trip/2 ? That is not unrealistic - even in direct P2P links (though would be smaller than in NTP sync of a workstation over some dial up link or a antique broad band where downstream was via cable tv signal but upstream via dial up phone. This did happen in the early years where older cable networks where not return capable
@MobinMusic
@MobinMusic 5 років тому
Thanks. it was very clear and nice step by step explanation. just one doubt: in last step why the calculated delay for propagation is divide by 2. it should be done in NTP because the time values that used to calculate the propagation delay include one way go and one way back. But here the time values to calculate delay just include one way propagation! Thanks in advance if you reply on this.
@xody4512
@xody4512 3 роки тому
The slave time already contains the propagation delay from the follow up message (Master->Slave). Therefore, the Master->Slave propagation time is not required anymore.
@carranzacasas
@carranzacasas 5 років тому
Hi David, i work for CLARO ARGENTINA, having some doubts about implementing G8275.2 Telecom Profile; we found 10000 nano seconds in a TIME ERROR testing and ITU says the Maximun is 1500 ns; we have investigated on our packet network (QoS, link capacity) and no found any evidence of the problem. COuld you help me troubleshooting it? Regards
@mohamedismail83
@mohamedismail83 Рік тому
great
@MrGreeneyes77
@MrGreeneyes77 7 років тому
This is a great video however I don't see how the time lost by the master transmitting the message (1s in your video) is accounted for by the slave ?
@qxsnap4314
@qxsnap4314 4 роки тому
That is why the timestamp of the Sync (1st) message is sent in the Follow Up (2nd) message. This gives the master time to fetch the recorded timestamp from hardware without any delay being incurred by the Sync message.
@gshcarter
@gshcarter 4 роки тому
I understand why there needs to be compensation for the processing/encapsulating delay in the master's first message, but why isn't there a similar one for the slave's delay request time stamp? Wouldn't there be a delay between reading its own clock and transmitting as well?
@justinnobles2463
@justinnobles2463 4 роки тому
Hi George, the difference between the first master message (SYNC) and the first slave message (DELAY_REQ) is that the timestamp inside the message of DELAY_REQ isn't that important. The important value in this case is the time the packet left the port, which can be determined with high precision right away. I hope this helps.
@nickvolz4442
@nickvolz4442 Рік тому
* I need help configuring PTP. My relays are showing slave, slave, Master even though set Tekron server as “Master”. Any suggestions?
@amirica96
@amirica96 4 роки тому
In the final delay request sent by the slave clock, you have chosen 208s, an even number. What if you had chosen 209s, yielding a difference of 3 seconds instead of 4? This would give us 1.5 second transmission delay - what happens then?
@aspuzling
@aspuzling 3 роки тому
If the slave had sent its delay request at 209 seconds then the master would have received it at (according to its clock) a timestamp of 213. When the slave receives 213 in the delay response, it would subtract 209 from 213 = 4. So the propagation delay is still 4/2 = 2 seconds. However, if the network had a propagation of only 1.5 seconds instead of 2, the calculations are still exactly the same - you would simply add 1.5 seconds to the slave's clock.
PTP event messages vs general messages
1:35
David Gessner
Переглядів 9 тис.
Keeping Time with PTP - Michael Waidson, Tektronix
25:06
VSF
Переглядів 15 тис.
Первая поломка Scirocco! Балацко попал на мотор.
1:13:12
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Переглядів 3,9 млн
Завтра в школу с... | Шоу-квиз «Вопросики»
00:28
Телеканал СОЛНЦЕ
Переглядів 3,2 млн
Time Synchronization in Embedded Systems, overview of gPTP (Precision Time Protocol)
42:13
PTP - Precision Time Protocol - IEEE 1588v2
9:43
Barbara Anne
Переглядів 10 тис.
Introduction to the PTP state machine
8:18
David Gessner
Переглядів 16 тис.
Nanosecond clock sync with a Raspberry Pi
13:56
Jeff Geerling
Переглядів 168 тис.
Clock Recovery and Synchronization
17:38
All Electronics Channel
Переглядів 26 тис.
How Computers Synchronize Their Clocks - NTP and PTP Explained
14:13
Gary Explains
Переглядів 46 тис.
Synchronizing Networks with IEEE 1588 PTP
21:43
Texas Instruments
Переглядів 35 тис.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Переглядів 1,3 млн
How Does PTP Work? What You Need To Know - Leader America
1:09:25
Leader America
Переглядів 4,8 тис.
Первая поломка Scirocco! Балацко попал на мотор.
1:13:12