📜  流水线与非流水线

📅  最后修改于: 2021-06-28 17:11:29             🧑  作者: Mango

什么是流水线
流水线正在通过流水线或数据流水线累积来自处理器的指令。流水线是一系列数据处理单元,这些数据处理单元按顺序排列,这样一个元素的输出就是后续元素的输入。流水线技术是一种在执行期间重叠多条指令的技术。它主要用于在处理器中创建和组织指令,以便进程以并发方式运行。基本上,流水线是通过删除已完成的任务来频繁管理新任务添加的过程。

流水线与非流水线之间的区别

Pipelining System Non-Pipelinig System
In pipelining system, multiple instructions are overlapped during execution. In a Non-Pipelining system, processes like decoding, fetching, execution and writing memory are merged into a single unit or a single step.
Many instructions are executed at the same time Only one instruction is executed at the same time
The efficiency of the pipelining system depends upon the effectiveness of CPU scheduler. In a Non-Pipelining system, The CPU scheduler chooses the instruction from the pool of waiting instructions, when an execution unit gives a signal that it is free. The efficiency is not dependent on the CPU scheduler.
Execution time is comparatively less and execution is done in a fewer cycles Execution takes more time or more number of cycles comparatively