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

Excel records

Blog banner

DNS Cache

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Royal enfield

Blog banner

File Allocation Methods

Blog banner

Art and Culture of Rajasthan

Blog banner

Photography

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

INTRANET

Blog banner

Computer Security

Blog banner

Key to success in Sports

Blog banner

The Peephole

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

GIS Mapping

Blog banner

TRAIN TRAVELING

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Blockchain in IoT Applications

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Race Condition

Blog banner

Deadlock

Blog banner

Layers Of Blockchain

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Virtual memory

Blog banner

Virtual memory

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Direct Memory Access

Blog banner

PERT Overview

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Sage business cloud accounting

Blog banner

OS Assignment 3 Deadlock

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

Power of words

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Proof-of-Stake (PoS)

Blog banner

SPEM

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

RAID

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Memory Management

Blog banner

Service Operations Principles

Blog banner

Student Grade Calculator in LISP

Blog banner