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

Service Validation and Testing during the Design Phase

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

File Management

Blog banner

Deadlock

Blog banner

Constrains in service design

Blog banner

Pipedrive

Blog banner

5 Common Faults In Construction Tenders

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 1

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

Compromising Mobile Platforms

Blog banner

Os assignment

Blog banner

How to tie a Tie

Blog banner

How Much Protein Do You Really Need Every Day?

Blog banner

The launch of UniMap by HERE

Blog banner

Service transition principles

Blog banner

MOVEMBER

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Mariana Trench: The deepest depths

Blog banner

Virtual memory in windows

Blog banner

Cyber Forensics

Blog banner

Security Issues and Countermeasures

Blog banner

What are Tenders its various types

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Deadlock and Starvation

Blog banner

Deadlock

Blog banner

VIRTUAL MEMORY

Blog banner

OS Assignment 3

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Street foods

Blog banner

Landslide Hazard

Blog banner

All you need to know about Website Traffic

Blog banner

Some web vulnerabilities

Blog banner

Child labour

Blog banner

Memory Management

Blog banner

Web Site

Blog banner

ADIDAS

Blog banner

Service Operation

Blog banner

Virtual Machine

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

Impact of social media on the human life

Blog banner

Importance Of Time

Blog banner