wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory in os

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

What are Tenders its various types

Blog banner

Blog name

Blog banner

Deadlock and Starvation

Blog banner

Wrike

Blog banner

Health is Wealth

Blog banner

Windows Operating System

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

10 Survival Tips that might save your life

Blog banner

Service Operations Principles

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Cloud Security: Trends and Innovations

Blog banner

How to kiss

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Memory Management

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Buffering

Blog banner

Processes : Process description and control

Blog banner

Difference Between Classification And Clustering

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Question

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

K-means use cases

Blog banner

You'll get to know about Pankaj Negi

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Mumbai

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

Segmentation and paging concept

Blog banner

Consumer to consumer business mode

Blog banner

Data Exfiltration

Blog banner

Education: Key to your Prosperity

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

operating system

Blog banner

ProofHub

Blog banner

Self defence

Blog banner

Supervised and Unsupervised Learning

Blog banner

Depression

Blog banner

Modern operating system

Blog banner

The Laws of Karma

Blog banner