Difference between input output bound and cpu bound program
Answers
I/O Bound determines the speed at which a method progresses
- But it is limited by the speed of the I/O subsystem.
- A duty that concocts data from disc, for example, computing the amount of lines in a file is likely to be I/O bound.
CPU Bound determines the speed of the CPU limits the rate at which the process progresses.
- A duty that makes computations on a small set of numbers, for example multiplying small models, is likely to be CPU bound.
Answer: A I/O-bound process spends most of its time waiting for input and output operations to complete. A CPU-bound process is one that spends most of its time executing instructions on the processor.
Concept : Operating System
Given : Input output bound and CPU bound programs
To Find : Difference between input output bound and CPU bound
program.
Explanation:
A I/O-bound process spends most of its time waiting for input and output operations to complete. It determines the speed at which a method progresses. I/O bound process is a process whose execution is dependent on the input-output system and its resources, such as disk drives and peripheral devices. One waits to get a resource through the input-output system in I/O bound situations.
A CPU-bound process is a process that spends most of its time executing instructions on the processor. It determines the speed of the CPU limits the rate at which the process progresses. In a CPU-bound process, the processor is almost the only component needed for execution. In this process, other parts of the computer system are rarely used while the program is running. Program execution is reliant only on the CPU as a result of this dependency.
#SPJ2