Pipeline ( computing ) - wikipedia Pipeline ( computing ) In computing, a pipeline is a set of data processing elements connected in series, where the output of one element is the input of the next one. The elements of a pipeline are often executed in parallel or in time - sliced fashion ; in that case, some amount of buffer storage is often inserted between elements. Computer - related pipelines include : Instruction pipelines, such as the classic RISC pipeline, which are used in central processing units ( CPUs ) to allow overlapping execution of multiple instructions with the same circuitry. The circuitry is usually divided up into stages and each stage processes one instruction at a time. Examples of stages are instruction decode, arithmetic / logic and register fetch. Graphics pipelines, found in most graphics processing units ( GPUs ), which consist of multiple arithmetic units, or complete CPUs, that implement the various stages of common rendering operations ( perspective projection, window clipping, color and light calculation, rendering, etc. ). Software pipelines, where commands can be written where the output of one operation is automatically fed to the next, following operation. The Unix system call pipe is a classic example of this concept, although other operating systems do support pipes as well. HTTP pipelining, where multiple requests are sent without waiting for the result of the first request. Contents 1 Pipeline categories 1.1 Linear pipelines 1.2 Non-linear pipelines 2 Costs and drawbacks 3 Design considerations 3.1 Graphical tools 3.1. 1 Reservation table 4 Implementations 4.1 Buffered, synchronous pipelines 4.2 Buffered, asynchronous pipelines 5 Unbuffered pipelines 6 See also 7 References 8 External links Pipeline categories Linear pipelines A linear pipeline processor is a series of processing stages and memory access. Non-linear pipelines A non-linear pipelining ( also called dynamic pipeline ) can be configured to perform various functions at different times. In a dynamic pipeline, there is also feed - forward or feed - back connection. A non-linear pipeline also allows very long instruction words. Costs and drawbacks As the assembly - line example shows, pipelining does n't decrease the time for processing a single datum ; it only increases the throughput of the system when processing a stream of data. A deeper pipeline increases latency with every additional stage. Latency is the time required for a signal to propagate through the stages of the pipeline from start to finish. A pipelined system typically requires more resources ( circuit elements, processing units, computer memory, etc. ) than one that executes one batch at a time, because its stages can not reuse the resources of a previous stage. Moreover, pipelining may increase the time it takes for an instruction to finish. A variety of situations can cause a pipeline stall, including jumps ( conditional and unconditional branches ) and data cache misses. Some processors have a instruction set architecture with certain features designed to reduce the impact of pipeline stalls -- delay slot, conditional instructions such as FCMOV and branch prediction, etc. Some processors spend a lot of energy and transistors in the microarchitecture on features designed to reduce the impact of pipeline stalls -- branch prediction and speculative execution, out - of - order execution, etc. Some optimizing compilers try to reduce the impact of pipeline stalls by replacing some jumps with branch - free code, often at the cost of increasing the binary file size. Design considerations One key aspect of pipeline design is balancing pipeline stages. Using the assembly line example, we could have greater time savings if both the engine and wheels took only 15 minutes. Although the system latency would still be 35 minutes, we would be able to output a new car every 15 minutes. In other words, a pipelined process outputs finished items at a rate determined by its slowest part. ( Note that if the time taken to add the engine could not be reduced below 20 minutes, it would not make any difference to the stable output rate if all other components increased their production time to 20 minutes. ) Another design consideration is the provision of adequate buffering between the pipeline stages -- especially when the processing times are irregular, or when data items may be created or destroyed along the pipeline. Graphical tools To observe the scheduling of a pipeline ( be it static or dynamic ), reservation tables are used. Reservation table A reservation table for a linear or a static pipeline can be generated easily because data flow follows a linear stream as static pipeline performs a specific operation. But in case of dynamic pipeline or non-linear pipeline a non-linear pattern is followed so multiple reservation tables can be generated for different functions. The reservation table mainly displays the time space flow of data through the pipeline for a function. Different functions in a reservation table follow different paths. The number of columns in a reservation table specifies the evaluation time of a given function. Implementations Buffered, synchronous pipelines Conventional microprocessors are synchronous circuits that use buffered, synchronous pipelines. In these pipelines, `` pipeline registers '' are inserted in - between pipeline stages, and are clocked synchronously. The time between each clock signal is set to be greater than the longest delay between pipeline stages, so that when the registers are clocked, the data that is written to them is the final result of the previous stage. Buffered, asynchronous pipelines Asynchronous pipelines are used in asynchronous circuits, and have their pipeline registers clocked asynchronously. Generally speaking, they use a request / acknowledge system, wherein each stage can detect when it 's `` finished ''. When the stage, Si, is ready to transmit, it sends a ready signal to stage Si + 1. After stage Si + 1, receives the incoming data, it returns an acknowledgement signal to Si. The AMULET microprocessor is an example of a microprocessor that uses buffered, asynchronous pipelines. Unbuffered pipelines Unbuffered pipelines, called `` wave pipelines '', do not have registers in - between pipeline stages. Instead, the delays in the pipeline are `` balanced '' so that, for each stage, the difference between the first stabilized output data and the last is minimized. Thus, data flows in `` waves '' through the pipeline, and each wave is kept as short ( synchronous ) as possible. The maximum rate that data can be fed into a wave pipeline is determined by the maximum difference in delay between the first piece of data coming out of the pipe and the last piece of data, for any given wave. If data is fed in faster than this, it is possible for waves of data to interfere with each other. See also Dataflow Throughput Parallelism Instruction pipeline Classic RISC pipeline Graphics pipeline Pipeline ( software ) Pipeline ( Unix ) Hartmann pipeline for VM BatchPipes for MVS Geometry pipelines XML pipeline References For a standard discussion on pipelining in parallel computing see Quinn, Michael J. ( 2004 ). Parallel Programming in C with MPI and openMP. Dubuque, Iowa : McGraw - Hill Professional. ISBN 0072822562. External links A real hardware implementation of a Pipeline protocol -- analysis and discussion Retrieved from `` https://en.wikipedia.org/w/index.php?title=Pipeline_(computing)&oldid=799406076 '' Categories : Instruction processing Talk Contents About Wikipedia Deutsch Eesti Ελληνικά Español فارسی Français Galego 한국어 Bahasa Indonesia Italiano עברית 日本 語 Polski Português Română Српски / srpski Svenska Türkçe Українська 中文 Edit links This page was last edited on 7 September 2017, at 14 : 52. Text is available under the Creative Commons Attribution - ShareAlike License ; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia ® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. About Wikipedia

Question: what is a pipeline in a computer systems
Answer: a set of data processing elements connected in series