Demand paging in operating system is a fetch policy for a virtual memory that determines when a page should be brought into the main memory. In demand paging, a page is brought to the main memory only when demanded. Thus, we refer to it as demand paging. There is an alternative fetch policy for virtual memory that we refer to as prepaging. In prepaging, the pages other than … [Read more...] about Demand Paging in Operating System
Operating System
Deadlock Avoidance in Operating System
Deadlock avoidance in operating system, is a general approach to deal with deadlock. In deadlock avoidance, the operating system analyzes each process’s resource request and determines whether granting the request would lead to deadlock or not. The system only grants the requested resource to the process only if the deadlock is impossible. What is Deadlock? Deadlock is a … [Read more...] about Deadlock Avoidance in Operating System
Fragmentation in Operating System
Fragmentation in operating system is a condition that occurs during contiguous memory allocation. In contiguous memory allocation, when user processes are loaded and unloaded from the physical memory, it breaks the free memory space into little pieces, which we refer to as fragments. Fragmentation is of two types, internal fragmentation and external fragmentation. Internal … [Read more...] about Fragmentation in Operating System
Producer Consumer Problem
The producer-consumer problem which is also known by the term bounded buffer problem is a process synchronization problem. Process synchronization coordinates the execution of processes sharing common resources in such a way that there is no concurrent access to the shared resources to avoid race conditions. In this context, we are going to discuss the producer-consumer … [Read more...] about Producer Consumer Problem
Interprocess Communication (IPC)
Interprocess communication takes place between the cooperating processes. These processes communicate with each other by sharing data and information. Although there occur some issues while establishing interprocess communication. We will discuss those issues along with their solution. We will also discuss ways to achieve interprocess communication. Content: Interprocess … [Read more...] about Interprocess Communication (IPC)
