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

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

JIRA SOFTWARE

Blog banner

File management

Blog banner

CONCURRENCY

Blog banner

INTRODUCTION

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

Install Ubuntu Easily

Blog banner

What is Segmentation?

Blog banner

MODERN OPERATING SYSTEM

Blog banner

The War With Cold On Earth

Blog banner

Quality check in IT services

Blog banner

Deadlock

Blog banner

Understanding E-mail Servers

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

IO Buffers

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

NIKE

Blog banner

PHONE TECHNOLOGY

Blog banner

EFT

Blog banner

Virtual memory

Blog banner

social media issue

Blog banner

Session Vulnerabilities

Blog banner

Zoho

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

GIS REMOTE SENSING

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Multiprocessor and scheduling

Blog banner

Virtual Machine

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

Cyber Laws In India and Around the World

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Models of Information Security.

Blog banner

Memory Management in Operating System

Blog banner

Natural Language Processing(NLP)

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Types of Malware in Cyber Security

Blog banner