preview

Nt1310 Unit 1 Term Paper

Decent Essays

3.8) Scheduler: Scheduler in an operating system selects the next process to be admitted into the system and next process to run. The three schedulers and their differences are as follows:-
Long Term Scheduler: Long term scheduler also known as job scheduler, selects the process or jobs which are to be allowed to the ready queue in the main memory for execution. It decides what processes are to be run on the system. Long term scheduling has much less frequency of execution. The long term scheduler is responsible for controlling the degree of multiprogramming. Because of longer periods between the executions, long term scheduler has an ability to take time in selecting the process for execution. It is important to select an appropriate process. Generally processes can be described as I/O bound or CPU bound. I/O bound spends more time in doing I/O operations rather than other computations. CPU bound is contrast to I/O bound, which spends time doing all other …show more content…

It has a thread ID, a program counter, a register set, and a stack. Thread is smaller than a process so thread creation needs only some resources when with a process creation. In creating a process, it requires to allocate the process control block (PCB).The PCB includes a memory map and list of open files. A process creation makes memory being allocated for program instructions and data.
4.11) Concurrency: A condition that exists when at least two threads are in progress. Parallelism: A condition that exists when two threads are executing in parallel. Yes it is possible to have concurrency but not parallelism. This can be explained as: If there are 4 threads and they are executed on a single computing or multiple computing system, the threads will be in progress even though they do not execute in parallel way. This condition satisfies concurrency but no parallelism. But it is not possible to have parallelism without

Get Access