Disadvantages of using Process Control Block
- To store the PCB for each and every process there is a significant usage of the memory in there can be a large number of processes available simultaneously in the OS. So using PCB adds extra memory usage.
- Using PCB reduces the scalability of the process in the OS as the whole process of using the PCB adds some complexity to the user so it makes it tougher to scale the system further.
Process Control Block in OS
A Process Control Block (PCB) is a data structure that is used by an Operating System to manage and regulate how processes are carried out. In operating systems, managing the process and scheduling them properly play the most significant role in the efficient usage of memory and other system resources. In the process control block, all the details regarding the process corresponding to it like its current status, its program counter, its memory use, its open files, and details about CPU scheduling are stored.
With the creation of a process, a PCB is created which controls how that process is being carried out. The PCB is created with the aim of helping the OS to manage the enormous amounts of tasks that are being carried out in the system. PCB is helpful in doing that as it helps the OS to actively monitor the process and redirect system resources to each process accordingly. The OS creates a PCB for every process which is created, and it contains all the important information about the process. All this information is afterward used by the OS to manage processes and run them efficiently.
Contact Us