In: Computer Science
When looking at overlap of I/O during processing: a. What is the impact on performance when overlapping the I/O and execution of a single process? b. What is the impact when overlapping I/O of one process with execution of a different process?
Answer)
Overlapping the I/O and processing of a process provides better data throughput and also leads to better utilization of the CPU. There is also possible loss of data and pushing system capabilities when overlapping processes and I/O beyond limit and can affect the performance.
While overlapping the I/O and execution of a single process the CPU will be utilized to a better level and it will increase the data throughput and thus better processing and utilization and much efficient processing will happen.
A good idea to overlap the computation with IO and execution of process/processes are used so that the CPU cycles should not be wasted and they should be used efficiently. When there are two or more processes overlapping I/O of one process with execution of a different process and there are multiple instances of this, this may increase the efficiency to much extent but also if pushed too hard among different processes then the main memory will be full and the CPU will not respond as it will be busy for paging on to the disk very frequently.