Tag: Operating System

Semaphores in Operating Systems

Here, we are going to learn about semaphores in operating systems. Before this, I would request to go through process synchronization first. Dijkstra proposed the semaphore in 1965. It is a highly important technique for managing concurrent activities using a basic integer value called a semaphore. The term “semaphore” refers to an integer variable that… Continue Reading »

Process Synchronization in Operating System

In this tutorial, we are going to learn about process synchronization in operating systems. Process synchronization is a strategy for coordinating processes that make use of common data. In an operating system, there are two types of processes. Independent Process – A process that does not impact or get affected by another process while it is… Continue Reading »

Disk Scheduling Algorithms in Operating Systems

In this tutorial, we are going to learn about disk scheduling algorithms of any operating systems. Operating system do disk scheduling to schedule I/O requests arriving for the disk. So, disk scheduling is basically I/O scheduling. Some of the Important Terms : Seek Time : The time it takes the disc arm to locate a specific… Continue Reading »

File Systems in Operating System

In this tutorial, we will know how operating system handles file systems. A file is a grouping of linked data, we save it on secondary storage. A collection of logically connected elements is referred to as a file. A file is the smallest allocation of logical secondary storage from the user’s perspective. What is a… Continue Reading »

Page Replacements in Operating System

In the previous tutorial, we have learned about paging and Segmentation. Now we are going to learn about page replacements in operating system and what are the different strategies we can apply. When a page fault occurs, the memory manager locates the page in secondary storage. Then it will load it into main memory and… Continue Reading »

Paging and Segmentation in Operating System

In this tutorial, we are going to learn about virtual memory, paged virtual memory system, segmented virtual memory system. Further we will see how combined segmentation and paging system works. Before reading this, I will suggest all to go through this first. Now, without delay let’s dive into the topic. What is Virtual Memory :… Continue Reading »

Memory Management in Operating System

In this tutorial, we will learn about memory management in Operating System, Memory Hierarchy, Memory management Strategies etc. Further we will see the partition allocation. Registers make memory, each register is equal to one storage location (memory location). The capacity of the memory is the total number of bits that memory can store. We can… Continue Reading »

Deadlock in Operating System

In this tutorial, we will learn about deadlock in Operating System , necessary conditions for deadlock to occur. Further, we will see how to detect and avoid deadlocks. What is Deadlock in Operating System : Deadlock is a situation where a process or a thread waits for an event/task that won’t occur. When one or… Continue Reading »

CPU Scheduling in Operating Systems

In this tutorial, we will know what the goals of CPU scheduling are and also what the scheduling criteria should be. In addition, we will understand the working of some of these scheduling algorithms . What is CPU Scheduling : CPU scheduling or processor scheduling is the technique of deciding which process run at given time.… Continue Reading »

Processes and Threads in Operating Systems

In this tutorial, we will introduce the notion of a process and thread. We will know the concept of process/ thread states and discuss how or why processes/threads make transitions between these states. PROCESS : A process is a program in execution. Each process has its own address space, it consists of a text region,… Continue Reading »