wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory in os

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

RAID_142

Blog banner

PERSONAL STORIES

Blog banner

MY FIRST BLOG?

Blog banner

Memory management

Blog banner

Memory Management

Blog banner

AI and cyber Security

Blog banner

Monday. com App

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

Artificial Intelligence (AI)

Blog banner

Virtual Memory

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

GIS REMOTE SENSING

Blog banner

Different types of scam Fraud

Blog banner

Self managing devices

Blog banner

Game Theory in Blockchain

Blog banner

Microsoft Windows Overview

Blog banner

Google App Engine

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Traveling

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Career v/s Job : Choose your passion

Blog banner

DIGITAL TECHNOLOGY

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

Sweet Mango Murabba

Blog banner

DBMS and various career options related to it.

Blog banner

Security in Operating Systems

Blog banner

Linux -V Server Virtual Machine

Blog banner

Satellite Based Positioning

Blog banner

Software Piracy & Online Data Protection in Digital World

Blog banner

Uniprocessor Scheduling

Blog banner

Short note on expert system

Blog banner

Blockchain Security Technique

Blog banner

I Personally

Blog banner

Worms, viruses and Bots

Blog banner

security controls

Blog banner

virtual machine

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Why Should You Schedule Tweets on Twitter?

Blog banner

5 Common Faults In Construction Tenders

Blog banner