wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory in os

profile
Disha Parekh
Aug 14, 2024
0 Likes
0 Discussions
134 Reads

Virtual memory is a crucial concept in operating systems that allows for the efficient management of a computer's memory resources. It enables systems to execute larger applications or multiple applications simultaneously, even when the physical memory is limited.


Virtual memory operates primarily through two techniques: paging and segmentation.

- Paging divides the virtual memory into fixed-size pages and maps them onto physical frames in RAM. When a program needs data that isn’t currently in RAM, the OS retrieves it from disk storage (swap space) and loads it into RAM.

- Segmentation involves dividing the virtual address space into segments based on logical divisions, such as functions or objects, which can vary in size

-Benefits:

- Increased Effective Memory Size: Virtual memory allows systems to run larger applications than could fit into RAM.

- Isolation and Protection: Each process operates in its own virtual address space, preventing them from interfering with each other’s memory.

- Efficient Use of RAM: By keeping only active pages in physical memory and swapping inactive ones out, the system can maintain responsiveness even under heavy load.

-While virtual memory offers significant advantages, it can also introduce performance overhead:

- Page Faults: When a program accesses a page not currently in RAM, a page fault occurs, leading to delays as the system retrieves data from disk.

- Thrashing: If the system spends more time swapping pages in and out than executing processes, performance degrades significantly.

systems running database management systems (DBMS) benefit from virtual memory when handling large datasets that exceed physical memory limits.

Additionally, operating systems like Windows, Linux, and macOS implement sophisticated algorithms for page replacement (e.g., Least Recently Used - LRU), which significantly impact how well these systems perform under various conditions


53003230100

Disha parekh


Comments ()


Sign in

Read Next

Craziness of dream 11 and how it impacts on our life

Blog banner

Understanding the 4 Types of Learning Methods in Early Childhood

Blog banner

Review on Recovering Deleted Files

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

STARVATION

Blog banner

Race Conditions

Blog banner

MUTUAL EXCLUSION

Blog banner

"Mahakali cave"

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

Mutual exclusion

Blog banner

Deadlocks

Blog banner

INTERNET

Blog banner

Direct Memory Access

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Direct Memory Access

Blog banner

Memory managment

Blog banner

Evolution of Operating system.

Blog banner

The Power of Pretend Play: What Role-Playing Teaches Preschoolers

Blog banner

Modern operating system

Blog banner

Ethical Hacking

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

BIRYANI ! The history you never knew about

Blog banner

KASHMIR TRIPS

Blog banner

WORKFRONT SOFTWARE

Blog banner

Security in Cloud Computing

Blog banner

A Short History of GIS

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Dos (Denial of service) Attack

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

Business Intelligence v/s Big Data

Blog banner

Deadlock Prevention

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

Modern Operating System

Blog banner

Challenges and risks in service operations

Blog banner

gis substation

Blog banner

MEMORY MANAGEMENT FILE

Blog banner