{"id":100,"date":"2024-06-25T12:22:35","date_gmt":"2024-06-25T12:22:35","guid":{"rendered":"https:\/\/study.madeeasy.in\/?p=100"},"modified":"2025-09-08T15:14:00","modified_gmt":"2025-09-08T09:44:00","slug":"what-is-a-pipelining","status":"publish","type":"post","link":"https:\/\/www.madeeasy.in\/study\/cs-it\/what-is-a-pipelining","title":{"rendered":"What is a Pipelining?"},"content":{"rendered":"\r\n<p style=\"text-align: justify;\">Pipelining is a technique for breaking down a sequential process into various sub-operations and executing each sub-operation in its own dedicated segment that runs in parallel with all other segments.<\/p>\r\n<h2 style=\"text-align: justify;\">Pipeline Strategy<\/h2>\r\n<p style=\"text-align: justify;\"><strong>Instruction pipelining<\/strong> is similar to the use of an assembly line in a manufacturing plant. An assembly line takes advantage of the fact that a product goes through various stages of production. By laying the production process out in an assembly line, products at various stages can be worked on simultaneously.<\/p>\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.madeeasy.in\/study\/cs-it\/what-is-a-pipelining\/#Design-of-a-Basic-Pipeline\" >Design of a Basic Pipeline<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.madeeasy.in\/study\/cs-it\/what-is-a-pipelining\/#Performance-Analysis-with-Pipeline\" >Performance Analysis with Pipeline<\/a><\/li><\/ul><\/nav><\/div>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Design-of-a-Basic-Pipeline\"><\/span>Design of a Basic Pipeline<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<ul style=\"text-align: justify;\">\r\n<li>In a pipelined processor, a pipeline has two ends, the input end and the output end. Between these ends, there are multiple stages\/segments such that output of one stage is connected to input of next stage and each stage performs a specific operation.<\/li>\r\n<\/ul>\r\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Performance-Analysis-with-Pipeline\"><\/span>Performance Analysis with Pipeline<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p style=\"text-align: justify;\"><strong>Instructions in a pipelined processor:<\/strong><\/p>\r\n<p style=\"text-align: center;\">ET<sub>pipeline<\/sub> = <em>k <\/em>+ <em>n <\/em>\u2013 1 cycles <br \/>= (<em>k <\/em>+ <em>n <\/em>\u2013 1 )<em>T<\/em><em>p <\/em><\/p>\r\n<p style=\"text-align: justify;\"><strong>Instructions in a non-pipelined processor:<\/strong><\/p>\r\n<p style=\"text-align: center;\">ET<sub>non-pipeline<\/sub> = <em>n <\/em>* <em>k <\/em>* <em>T<\/em><em>p<\/em><\/p>\r\n<p style=\"text-align: center;\">So, speedup(s) of the pipelined processor over non-pipelined processor<\/p>\r\n<p style=\"text-align: center;\">S = Performance of pipelined processor\/Performance of non-pipelined processor<\/p>\r\n<p style=\"text-align: center;\">S = ET<sub>non-pipeline<\/sub> \/ ET<sub>pipeline<\/sub> <br \/>S = [<em>n <\/em>* <em>k <\/em>* <em>T<\/em><em>p<\/em>] \/ [(<em>k <\/em>+ <em>n <\/em>\u2013 1) * <em>T<\/em><em>p<\/em>] <br \/>S = [<em>n <\/em>* <em>k<\/em>] \/ [<em>k <\/em>+ <em>n <\/em>\u2013 1]<\/p>\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p style=\"text-align: center;\"><a class=\"btn btn-danger\" role=\"button\" href=\"https:\/\/study.madeeasy.in\/cs-it\/what-is-a-program-interrupt-and-its-types\/\" target=\"_blank\" rel=\"noopener\">&lt;&lt; Previous<\/a> | <a class=\"btn btn-success\" role=\"button\" href=\"https:\/\/study.madeeasy.in\/cs-it\/what-is-pipeline-hazards-and-its-types\/\" target=\"_blank\" rel=\"noopener\"> Next &gt;&gt;<\/a> <br \/><strong> Must Read: <\/strong> <a href=\"https:\/\/study.madeeasy.in\/subjects\/what-is-computer-organization-and-architecture\/\" target=\"_blank\" rel=\"noopener\"><strong>What is Computer Organization and Architecture?<\/strong><\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Pipelining is a technique for breaking down a sequential process into various sub-operations and executing each sub-operation in its own<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[34,35,36],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-cs-it","category-computer-organization-and-architecture","tag-design-of-a-basic-pipeline","tag-performance-analysis-with-pipeline","tag-pipeline-strategy"],"_links":{"self":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":0,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}