Diksha Patro

Diksha Patro

99 Articles Published

Articles by Diksha Patro

Page 4 of 10

Measure the time spent in context switch

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 1K+ Views

Context switching is a fundamental mechanism in modern operating systems that enables multiple processes or threads to share CPU resources efficiently. When the OS switches from executing one process to another, it must save the current process state and load the state of the next process. This operation, called a context switch, takes time and affects overall system performance. Understanding the time spent in context switching is crucial for system optimization, performance tuning, and identifying bottlenecks in multitasking environments. Methods for Measuring Context Switch Time Several approaches can be used to measure the duration of context switches ...

Read More

Mechanism for building Distributed file system

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 2K+ Views

A Distributed File System (DFS) is a file system that allows multiple clients to access and share files stored across various servers in a network. Building a DFS requires careful integration of several key components including file servers, metadata management, directory services, file access protocols, replication mechanisms, caching strategies, and security measures. Distributed File System Architecture The architecture of a DFS consists of interconnected components that work together to provide seamless file access across the network. The system is designed with multiple file servers, each storing portions of the distributed files, connected through a network infrastructure. ...

Read More

Memory Allocation Techniques | Mapping Virtual Addresses to Physical Addresses

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 3K+ Views

Memory allocation techniques are fundamental mechanisms in operating systems that manage how programs access and use system memory. The mapping of virtual addresses to physical addresses is a crucial aspect that allows multiple processes to run simultaneously while maintaining memory protection and efficient resource utilization. Virtual addresses provide programs with an abstraction layer over physical memory locations. Programs use virtual addresses to access memory, while the operating system translates these to actual physical addresses in RAM where data is stored. Methods of Virtual to Physical Address Mapping There are several established methods for mapping virtual addresses to ...

Read More

Memory ballooning in OS

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 799 Views

Memory ballooning is a dynamic memory management technique used in virtualized environments to optimize memory allocation among virtual machines (VMs). It allows the hypervisor to reclaim unused memory from one VM and redistribute it to others that need more resources, preventing memory waste and improving overall system efficiency. How Memory Ballooning Works Memory ballooning operates through a special balloon driver installed in each guest VM that communicates with the hypervisor. The driver can artificially consume memory within the VM when the hypervisor needs to reclaim it, and release that memory back to the VM when resources become available ...

Read More

Memory Management: Background

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 3K+ Views

Memory management is a fundamental aspect of operating systems that controls how memory resources are allocated, tracked, and released. It ensures that programs have access to the memory they need while maintaining system stability and performance. The operating system acts as a mediator between applications and the physical memory, managing both primary memory (RAM) and secondary storage to optimize overall system efficiency. How Memory Management Works The operating system divides memory into different regions and assigns these areas to applications and processes as needed. It maintains data structures to track which memory locations are free, which are allocated, ...

Read More

Kernel I/O Subsystem in Operating System

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 11K+ Views

The Kernel I/O Subsystem is a fundamental component of modern operating systems that manages all input/output (I/O) operations on a computer. It provides various services that enable efficient and secure management of I/O operations between applications, the kernel, and hardware devices. Kernel I/O Subsystem Architecture User Applications Kernel I/O Subsystem Scheduling Buffering Caching ...

Read More

Kernel in Operating System

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 13K+ Views

A kernel is the core component of an operating system that acts as a bridge between the hardware and software. It manages system resources such as memory, CPU, and input/output devices, and provides a layer of abstraction between the hardware and higher-level software components. Kernel Architecture Hardware Layer Kernel Space User Space (Applications) Functions of a Kernel Device Management The kernel manages various peripheral devices connected to the computer and ...

Read More

Knoppix Operating System

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 1K+ Views

Knoppix is a Linux-based operating system that runs directly from a CD, DVD, or USB drive without requiring installation on a hard disk. It's widely used as a live operating system for system recovery, hardware testing, and demonstrating Linux capabilities to new users. What is Knoppix Knoppix was created by Klaus Knopper, a German computer science teacher, in the year 2000. As a Debian-based distribution, it pioneered the concept of live Linux systems that could boot and run entirely from removable media. This makes it invaluable for system administrators, educators, and users who need a portable computing environment. ...

Read More

Kylin Operating System

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 2K+ Views

An operating system (OS) is a group of programs that controls computer hardware resources and offers standard services to software applications. The Operating System (OS) serves as a conduit between you and the computer components when you first use a computer system. The operating system is actually a type of low-level software known as a "system software, " which powers a computer's fundamental operations like memory management, task scheduling, and peripheral control. Overview and History of Kylin OS The National University of Defense Technology (NUDT) in China created the Linux-based operating system known as Kylin. Since its initial ...

Read More

Linear Scheduling Method in Operating System

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 381 Views

Linear Scheduling Method (LSM) is a scheduling algorithm designed for real-time systems where tasks must be completed within specific time frames to ensure proper system operation. It assigns tasks based on their deadlines and provides them with fixed time slices to complete their execution. This straightforward algorithm arranges tasks in linear order and moves through the list sequentially. How Linear Scheduling Method Works Tasks in LSM are arranged in a linear queue, and the scheduler moves through the list, allocating fixed time slices to each task in turn. The length of each time slice is predetermined based on ...

Read More
Showing 31–40 of 99 articles
« Prev 1 2 3 4 5 6 10 Next »
Advertisements