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

Sessions In OS.

Blog banner

Online Education

Blog banner

Multiprocessor and scheduling

Blog banner

Developments in Modern Operating Systems

Blog banner

Cache memory

Blog banner

LINUX

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

Twisted world

Blog banner

The application udemy

Blog banner

Blog on Smartsheet.

Blog banner

Open Source Project By Google

Blog banner

Benefits and drawback of web security.

Blog banner

The seven-step improvement process

Blog banner

Deadlock Prevention

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

Dekkers Algorithm

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Cache Memory

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

Interrupts in OS

Blog banner

I/O Buffering

Blog banner

Southern Turkey Earthquake: Causes and Consequences of a Tragic Natural Disaster

Blog banner

Is Your Password Complex Enough?

Blog banner

Modern Operating Systems.

Blog banner

Electronic data interchange

Blog banner

Constrains in service design

Blog banner

Satellite Based Positioning

Blog banner

Decision Tree: A Diagram Model

Blog banner

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

Blog banner

Android Flashlight Application

Blog banner

Marvel Cinematic Universe

Blog banner

Digital Marketing

Blog banner

Top 5 Post-Wedding Skin Care Tips

Blog banner

All you need to know about “Off-page SEO”

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

CSI and Organizational Change

Blog banner

(Input/Output) in os

Blog banner

operating system

Blog banner