How does the long-term planner decide which task is related to I / O binding and which one is related to CPU?
I heard that using cpu burst, we can distinguish between the bounds of the I / O binding and the CPU, but how is the CPU packet calculated without processing the program?
Typically, the CPU scheduler assigns time slices to processes / threads and switches between them when a) the cutoff time is over or b) the process / thread blocks for I / O.
I/O -, /, , . , , / wait_for_io_completion(), .
, , I/O , . - , , () .
, I/O.
IO BOUND PROCESS: Io io, , . COU BOUND PROCESS: , .
answered tumaini kami david Answers. Typically, the CPU scheduler assigns time intervals to processes / threads and switches between them whenever a) the time interval has expired or b) process / thread blocks for input / output .... binding to the processor takes more time to perform calculations than to enter -output bound.strong text