wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory in os

profile
Disha Parekh
Aug 14, 2024
0 Likes
0 Discussions
132 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

EdTech (Education Technology)

Blog banner

This too shall pass

Blog banner

GIS Bharat Maps

Blog banner

Processes: Process Description and Control.

Blog banner

Deadlock in operating system

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

FILE SHARING

Blog banner

Proton mail

Blog banner

Multicore CPUs

Blog banner

An Overivew Of Cache Memory

Blog banner

Uniprocessor scheduling

Blog banner

Evolution of operating system

Blog banner

Why is ITSM important in IT organization?

Blog banner

"Games and the future"

Blog banner

Broken Authentication Attacks

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Processes : Process description and control

Blog banner

Network Security Risks

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Socket Programming in Java

Blog banner

File management In Operating System

Blog banner

What is E-commerce

Blog banner

Malware Defense

Blog banner

Cross site scripting Attack

Blog banner

Modern Operating Systems

Blog banner

PYTHON

Blog banner

How to Run your First android App

Blog banner

Deadlock

Blog banner

Modern OS

Blog banner

GIS

Blog banner

Incident management in ITSM

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

Multiprocessor and Multicore Organization

Blog banner

GUIDE TO GIS

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Water Resources are about to exhaust...

Blog banner