wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Os Virtual Memory

profile
Kasak Mehta
Aug 15, 2024
0 Likes
0 Discussions
125 Reads

v VIRTUAL MEMORY


· Virtual Memory is a storage scheme that provides user an illusion of having a very big main memory. This is done by treating a part of secondary memory as the main memory.


· In this scheme, User can load the bigger size processes than the available main memory by having the illusion that the memory is available to load the process.


· Instead of loading one big process in the main memory, the Operating System loads the different parts of more than one process in the main memory.


· By doing this, the degree of multiprogramming will be increased and therefore, the CPU utilization will also be increased.


v WORKING


· In modern word, virtual memory has become quite common these days. In this scheme, whenever some pages needs to be loaded in the main memory for the execution and the memory is not available for those many pages, then in that case, instead of stopping the pages from entering in the main memory, the OS search for the RAM area that are least used in the recent times or that are not referenced and copy that into the secondary memory to make the space for the new pages in the main memory.


· Since all this procedure happens automatically, therefore it makes the computer feel like it is having the unlimited RAM.


v Types of Virtual Memory


In a computer, virtual memory is managed by the Memory Management Unit (MMU), which is often built into the CPU. The CPU generates virtual addresses that the MMU translates into physical addresses.


· There are two main types of virtual memory:


o PAGING


o SEGMENTATION


v Advantages of Virtual Memory


1. The degree of Multiprogramming will be increased.


2. User can run large application with less real RAM.


3. There is no need to buy more memory RAMs.


v Disadvantages of Virtual Memory


1. The system becomes slower since swapping takes time.


2. It takes more time in switching between applications.


3. The user will have the lesser hard disk space for its use.


v Virtual Memory vs Physical Memory


· When talking about the differences between virtual memory and physical memory, the biggest distinction is speed. RAM is much faster than virtual memory, but it is also more expensive.


· When a computer needs storage for running programs, it uses RAM first. Virtual memory, which is slower, is used only when the RAM is full.





Feature


Virtual Memory


Physical Memory (RAM)


Definition


An abstraction that extends the available memory by using disk storage


The actual hardware (RAM) that stores data and instructions currently being used by the CPU


Location


On the hard drive or SSD


On the computer’s motherboard


Speed


Slower (due to disk I/O operations)


Faster (accessed directly by the CPU)


Capacity


Larger, limited by disk space


Smaller, limited by the amount of RAM installed


Cost


Lower (cost of additional disk storage)


Higher (cost of RAM modules)


Data Access


Indirect (via paging and swapping)


Direct (CPU can access data directly)



Volatility


Non-volatile (data persists on disk)


Volatile (data is lost when power is off)


Sap id:-53003230071



Comments ()


Sign in

Read Next

Microsoft powerpoint presentation

Blog banner

Incident management in ITSM

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

The Features of Blockchain

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

Design in figma

What are NFT s?

Blog banner

Virtual Memory

Blog banner

Working with AES cryptographic algorithm using crypto++

Blog banner

Culture Of Ladakh

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

What is semaphore in operating system?

Blog banner

Deadlock

Blog banner

OPERATING SYSTEM

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

GIS Mapping

Blog banner

HACKING MOBILE PLATFORM

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

Article on team management software

Blog banner

FASHION

Blog banner

GUIDE TO GIS

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

How I use google in my daily life

Blog banner

RAID

Blog banner

SIEM Empowering Security

Blog banner

Short note on expert system

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Supervised and unsupervised learning

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Define Instagram.

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Webmail

Blog banner

OS Assignment 1

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

BENIFITS OF YOGA

Blog banner

Phishing

Blog banner

Artificial Intelligence (AI)

Blog banner

The IT Service Lifecycle

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner