{"id":1201,"date":"2013-11-29T04:59:43","date_gmt":"2013-11-29T10:59:43","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=1201"},"modified":"2026-01-09T00:22:07","modified_gmt":"2026-01-09T06:22:07","slug":"precision-time-protocol-rhel-6-5","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/precision-time-protocol-rhel-6-5\/","title":{"rendered":"How Red Hat Enterprise Linux Supports Precision Time Protocol (PTP)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog-.jpg\" data-rel=\"penci-gallery-image-content\" ><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--1024x576.jpg\" alt=\"Reda Hat enterprise\" class=\"wp-image-15205\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--1024x576.jpg 1024w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--300x169.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--768x432.jpg 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--1536x864.jpg 1536w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--1170x658.jpg 1170w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog--585x329.jpg 585w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2013\/11\/Indexing-Blog-.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n<p data-start=\"273\" data-end=\"504\">The <strong data-start=\"277\" data-end=\"310\">Precision Time Protocol (PTP)<\/strong> is a network protocol used to synchronize clocks across devices in a computer network. It is designed to deliver very high accuracy, especially in environments where precise timing is critical.<\/p>\n<p data-start=\"506\" data-end=\"857\">PTP typically operates over Ethernet networks and achieves its best accuracy on well-engineered local area networks (LANs) that support hardware timestamping. On such networks, PTP can synchronize clocks with <strong data-start=\"715\" data-end=\"743\">sub-microsecond accuracy<\/strong>. The PTP timescale is expressed in <strong data-start=\"779\" data-end=\"806\">seconds and nanoseconds<\/strong>, allowing extremely fine-grained time measurement.<\/p>\n<h2 data-start=\"864\" data-end=\"890\">IEEE 1588 and PTP Usage<\/h2>\n<p data-start=\"892\" data-end=\"1004\">PTP is defined by the <strong data-start=\"914\" data-end=\"927\">IEEE 1588<\/strong> standard. It is widely used in systems that require precise timing, such as:<\/p>\n<ul data-start=\"1006\" data-end=\"1134\">\n<li data-start=\"1006\" data-end=\"1031\">\n<p data-start=\"1008\" data-end=\"1031\">Industrial automation<\/p>\n<\/li>\n<li data-start=\"1032\" data-end=\"1067\">\n<p data-start=\"1034\" data-end=\"1067\">Measurement and control systems<\/p>\n<\/li>\n<li data-start=\"1068\" data-end=\"1090\">\n<p data-start=\"1070\" data-end=\"1090\">Telecommunications<\/p>\n<\/li>\n<li data-start=\"1091\" data-end=\"1134\">\n<p data-start=\"1093\" data-end=\"1134\">Scientific and engineering applications<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1136\" data-end=\"1261\">These environments benefit from PTP because it provides much higher accuracy than traditional time synchronization protocols.<\/p>\n<h2 data-start=\"1268\" data-end=\"1301\">PTP Version 2 (IEEE 1588-2008)<\/h2>\n<p data-start=\"1303\" data-end=\"1527\">The newer version of the protocol, known as <strong data-start=\"1347\" data-end=\"1364\">PTP Version 2<\/strong>, improves accuracy, precision, robustness, and scalability compared to the original 2002 version. It is <strong data-start=\"1469\" data-end=\"1496\">not backward compatible<\/strong> with the first version of PTP.<\/p>\n<p data-start=\"1529\" data-end=\"1815\">PTPv2 introduces better clock selection algorithms, improved message handling, and support for multiple timing profiles. The standard also defines optional security mechanisms, though in practice most PTP deployments rely on trusted and isolated networks rather than encrypted messages.<\/p>\n<p data-start=\"1817\" data-end=\"1992\">High accuracy in PTP is achieved through <strong data-start=\"1858\" data-end=\"1904\">precise timestamping of PTP event messages<\/strong>, preferably performed in hardware close to the physical layer of the network interface.<\/p>\n<h2 data-start=\"1999\" data-end=\"2024\">PTP Clock Architecture<\/h2>\n<p data-start=\"2026\" data-end=\"2086\">A typical PTP network consists of different types of clocks:<\/p>\n<ul data-start=\"2088\" data-end=\"2789\">\n<li data-start=\"2088\" data-end=\"2277\">\n<p data-start=\"2090\" data-end=\"2277\"><strong data-start=\"2090\" data-end=\"2111\">Grandmaster Clock<\/strong><br data-start=\"2111\" data-end=\"2114\" \/>The grandmaster provides the reference time for the entire network. One device is automatically elected as the grandmaster using the Best Master Clock Algorithm.<\/p>\n<\/li>\n<li data-start=\"2279\" data-end=\"2360\">\n<p data-start=\"2281\" data-end=\"2360\"><strong data-start=\"2281\" data-end=\"2300\">Ordinary Clocks<\/strong><br data-start=\"2300\" data-end=\"2303\" \/>These clocks synchronize directly with the grandmaster.<\/p>\n<\/li>\n<li data-start=\"2362\" data-end=\"2514\">\n<p data-start=\"2364\" data-end=\"2514\"><strong data-start=\"2364\" data-end=\"2383\">Boundary Clocks<\/strong><br data-start=\"2383\" data-end=\"2386\" \/>Common in larger networks, boundary clocks synchronize to the grandmaster and then act as time sources for downstream devices.<\/p>\n<\/li>\n<li data-start=\"2516\" data-end=\"2789\">\n<p data-start=\"2518\" data-end=\"2789\"><strong data-start=\"2518\" data-end=\"2540\">Transparent Clocks<\/strong><br data-start=\"2540\" data-end=\"2543\" \/>Transparent clocks modify PTP messages as they pass through network devices. They correct timestamps to account for the time spent traversing switches, which improves overall synchronization accuracy by compensating for network delay variation.<\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"2796\" data-end=\"2822\">Simplified PTP Networks<\/h2>\n<p data-start=\"2824\" data-end=\"3042\">In smaller or simpler PTP setups, a network may consist only of ordinary clocks connected to a single LAN segment. In this case, all clocks synchronize directly to the grandmaster, and boundary clocks are not required.<\/p>\n<h2 data-start=\"3049\" data-end=\"3062\">Conclusion<\/h2>\n<p data-start=\"3064\" data-end=\"3409\">Precision Time Protocol provides highly accurate clock synchronization over Ethernet networks by using hardware timestamping and specialized clock roles. It is particularly well suited for applications where precise timing is essential and continues to be a key technology in industrial, scientific, and high-performance networking environments.<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>","protected":false},"excerpt":{"rendered":"<p>The Precision Time Protocol (PTP) is a network protocol used to synchronize clocks across devices in a computer network. It is designed to deliver very high accuracy, especially in environments&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1201","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=1201"}],"version-history":[{"count":6,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1201\/revisions"}],"predecessor-version":[{"id":15207,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1201\/revisions\/15207"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}