当前位置:网站首页>TSN 802.1as clock synchronization protocol test
TSN 802.1as clock synchronization protocol test
2022-07-21 04:11:00 【Brother Aaron】
Recent research TSN.
TSN The most basic concept and requirement in the network is clock synchronization , Because in a network , Only when the clock is synchronized can real-time evaluation and processing be carried out , If the clocks are not synchronized , There is simply no agreement on time ,TSN It can't be achieved .
Test network topology :
SIG-0101 Is a TSN Switch ,swp0 - swp3 yes TSN so .
eno0 And swp2 There is no need to connect . This connection is only for the gateway as a endpoint nothing more .
This network card supports PTP agreement , have access to ptp4l Hardware mode of , The accuracy of clock synchronization may be affected by the real-time performance of the operating system .
This network card can only be used ptp4l The software model of , When running, you need to add -S , Otherwise, it will be reported that the Internet port does not support .
I won't support it ptp Hardware clock .
Run the command on the gateway :
-l7 You can output more logs
./ptp4l -i swp2 -p /dev/ptp1 -f gPTP.cfg -2 -m
gPTP.cfg The content of the document
[global]
gmCapable 1
priority1 128
priority2 248
logAnnounceInterval 0
logSyncInterval -3
syncReceiptTimeout 3
#neighborPropDelayThresh 800
neighborPropDelayThresh 80000
min_neighbor_prop_delay -20000000
assume_two_step 1
path_trace_enabled 1
follow_up_info 1
transportSpecific 0x1
ptp_dst_mac 01:80:C2:00:00:0E
network_transport L2
delay_mechanism P2P
Run at test end
./ptp4l -i eth0 -f gPTP.cfg -2 -m
You can see , At the beginning, there was a big clock gap , But soon the clock gap fell . As low as 5,9,6,7ns.
边栏推荐
- HDF5 library version mismatched error的解决方案
- 随机数(random头文件)
- 请问一下 flink1.15 flinksql kafka topic如果不提前创建提交作业就会失败
- Keras 载入历史.h5格式模型报错: AttributeError ‘str‘ object has no attribute ‘decode‘
- 聪明人的游戏提高篇:第三章第一课:isbn (ISBN码)
- hello csdn
- Topic of graduation thesis on Urban Rail Transit Engineering
- 学习笔记-浅谈MySql索引的数据结构与算法和索引的介绍
- 02-线性结构4 Pop Sequence(入栈,出栈的模拟)
- Markdown中编辑数学公式
猜你喜欢
学习记录十一
Chapter005 serial port return of FPGA learning
Unity realizes character movement and camera tracking
The new version of WordPress 6.0.1 has been released, and it is recommended to update it all.
Model graduation thesis of Construction Engineering Surveying and mapping
MiNi简约版小程序送上,专栏用户独享
kettle优化之提高MySQL读写速度
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part V)
初步基础jvm
CORS跨域&JSONP回调&域名接管
随机推荐
关于毕业前后的道路
UGUI——RectMask2D
Ugui official optimization document translation
About the road before and after graduation
使用优炫数据库时,如何查看系统是否支持某组件
请问一下 flink1.15 flinksql kafka topic如果不提前创建提交作业就会失败
Unity realizes character movement and camera tracking
Jenkins Pipeline 密钥实现远程部署
一共有n位整数,一位能被1整除,二位能被2整除,三位能被3整除,...,n位能被n整除。 求最大的满足这个条件的数字。(回溯法)
聪明人的游戏提高篇:第三章第二课:因子个数(dcount)
UGUI——Text和TextEffect
「干货实验」华为 DHCP +单臂路由实验
什麼是渲染管道,怎麼繪制3D物體
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part VI)
解决错误:org.apache.ibatis.binding.BindingException
One bite of Stream(2)
Some skills in cocos2dx engine
请教一下,有没有比较好的方式做数据库的迁移,整库迁移,从mysql(旧)-->mysql(新)?
What is rendering pipeline and how to draw 3D objects
WordPress 6.0.1 新版已经发布,建议全部更新。