SlideShare ist ein Scribd-Unternehmen logo
1 von 17
DSD PRESENTATION
ON
VIRTUAL AND CACHE
MEMORY
Submitted By – Animesh Jain
What is Cache Memory?
Cache memory is a type of
memory that lies between the CPU
(Central Processing Unit) and the RAM
(Random Access memory).
The purpose of cache memory is to reduce the
memory access time of the CPU from the RAM.
The cache memory is much faster than RAM. So
access time on cache is much lesser than the
access time on RAM. But the cost of memory
used for cache memory is much higher than the
cost of memory used for RAM, and hence, the
capacity of cache memory is very small.
The type of memory used for cache memory is
called SRAM ( Static Random Access Memory).
Whenever the CPU wants to access memory, it first
checks whether what it needs resides in the cache
memory. If yes, it would be able to access it with the
least latency. If it does not reside in cache, then the
requested content would be copied from RAM to the
cache and then only the CPU will access it from the
cache. Here, when copying content from the cache, not
only the content in the requested memory address but
also the nearby content is copied to cache. So, the next
time there is a high probability for a cache hit to occur as
most computer programs access nearby data or last
accessed data most of the times. So due to the cache,
the average memory latency is reduced.
In CPU, there are three types of
caches: Instruction cache to store program
instructions, Data cache to store data items,
and the Translation Look-aside Buffer to store
memory mappings. For data cache, generally,
there are multi-level caches. That is, there are
several caches as L1, L2 and L3. L1 cache is
the fastest but smallest cache memory that is
closest to the CPU. L2 cache is slower than L1,
but larger than L1 and resides after the L1
cache. Because of this hierarchy a better
average memory access time can be achieved
at a less cost.
What is Virtual Memory?
Virtual memory is a memory management
technique used in computers systems. There is
no hardware called virtual memory, but it is a
concept that uses RAM and the hard disk to
provide a virtual address space for programs.
First RAM is divided into chunks
called pages and they are identified by physical
memory addresses. In the hard disk, a special
portion is reserved where, in Linux, it is called
the swap and, in Windows, it is called a page
file. When a program is started, it is given a
virtual address space that can be even larger
than the actual physical memory.
Virtual memory space is also divided into
chunks called pages and each of this virtual
memory page can be mapped to a physical
page. The table called page table keep track of
this mapping. When the physical memory runs
out of space, what is done is, certain physical
pages are pushed to that special portion in the
hard disk. When any page pushed to the hard
disk is needed again, it is brought to the
physical memory by putting another selected
page from the physical memory to the hard
disk.
What is the difference between
Cache Memory and Virtual Memory?
• Cache memory is a type of memory used
for improving the main memory access time.
It is a faster type of memory that resides
between CPU and RAM to reduce the
average memory access latency. Virtual
memory is a memory management method
where it is a concept that lets programs get
its own virtual memory space, which is even
larger than the real physical RAM available.
• Cache memory is a type of hardware
memory that actually exists physically. On
the other hand, there is no hardware called
virtual memory as it is a concept that uses
RAM, hard disk, Memory management unit,
and software to provide a virtual type of
memory.
• Cache memory management is done fully
by hardware. Virtual memory is managed by
the operating system (software).
• Cache memory lies between RAM and the
processor. Data transfers involve RAM, cache
memory, and the processor. Virtual memory, on
the other hand, involves transfer of data
between RAM and hard disk.
• Cache memories take small sizes such
as Kilobytes and Megabytes. Virtual memory,
on the other hand, involves huge sizes that
take gigabytes.
• Virtual memory involves data structures such
as page tables that store mapping between
physical memory and virtual memory. But this
type of data structures is not necessary for
cache memory.
Summary:
Cache Memory vs Virtual Memory
Cache memory is used for improving the main memory
access time while virtual memory is a memory
management method. Cache memory is an actual
hardware, but there is no hardware called virtual
memory. RAM, hard disk, and various other hardware
together with the operating system produces the concept
called virtual memory to provide large and isolated
virtual memory spaces to each program. The content in
the cache memory is managed by hardware while the
content in the virtual memory is managed by the
operating system.
•http://www.differencebetween.info
•http://www.differencebetween.com
•https://www.google.co.in
•https://www.youtube.com
REFERENCE
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

computer memory and memory module
computer memory and memory modulecomputer memory and memory module
computer memory and memory modulethensi
 
Random access memory
Random access memoryRandom access memory
Random access memoryAnikMazumdar2
 
Unit IV Memory and I/O Organization
Unit IV Memory and I/O OrganizationUnit IV Memory and I/O Organization
Unit IV Memory and I/O OrganizationBalaji Vignesh
 
Disk scheduling algorithms
Disk scheduling algorithms Disk scheduling algorithms
Disk scheduling algorithms Paresh Parmar
 
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesHem Pokhrel
 
CPU (Central processing unit)
CPU (Central processing unit) CPU (Central processing unit)
CPU (Central processing unit) Razu Rahman
 
Motherboard Components
Motherboard ComponentsMotherboard Components
Motherboard Componentsstooty s
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed controlShashank Singh
 
Chip Memory and magnetic Memory
Chip Memory and magnetic MemoryChip Memory and magnetic Memory
Chip Memory and magnetic MemoryQuinnWolver
 
Coa module1
Coa module1Coa module1
Coa module1cs19club
 
Random access memory
Random access memoryRandom access memory
Random access memoryRuchi Maurya
 
Memory Technology
Memory TechnologyMemory Technology
Memory Technologylogicgate
 

Was ist angesagt? (20)

computer memory and memory module
computer memory and memory modulecomputer memory and memory module
computer memory and memory module
 
Memory technologies
Memory technologiesMemory technologies
Memory technologies
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
 
External Memory
External  MemoryExternal  Memory
External Memory
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Unit IV Memory and I/O Organization
Unit IV Memory and I/O OrganizationUnit IV Memory and I/O Organization
Unit IV Memory and I/O Organization
 
Disk scheduling algorithms
Disk scheduling algorithms Disk scheduling algorithms
Disk scheduling algorithms
 
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
 
CPU (Central processing unit)
CPU (Central processing unit) CPU (Central processing unit)
CPU (Central processing unit)
 
Primary memory
Primary memoryPrimary memory
Primary memory
 
Motherboard Components
Motherboard ComponentsMotherboard Components
Motherboard Components
 
Computer Memory
 Computer Memory Computer Memory
Computer Memory
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
 
Chip Memory and magnetic Memory
Chip Memory and magnetic MemoryChip Memory and magnetic Memory
Chip Memory and magnetic Memory
 
Coa module1
Coa module1Coa module1
Coa module1
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Memory Technology
Memory TechnologyMemory Technology
Memory Technology
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 

Ähnlich wie Ppt cache vs virtual memory without animation

Ähnlich wie Ppt cache vs virtual memory without animation (20)

Topic 10- Random Access Memory (RAM).pptx
Topic 10- Random Access Memory (RAM).pptxTopic 10- Random Access Memory (RAM).pptx
Topic 10- Random Access Memory (RAM).pptx
 
CACHE MEMORY
CACHE MEMORYCACHE MEMORY
CACHE MEMORY
 
Cache memory
Cache memoryCache memory
Cache memory
 
Ram and types of ram.Cache
Ram and types of ram.CacheRam and types of ram.Cache
Ram and types of ram.Cache
 
Cache memory and cache
Cache memory and cacheCache memory and cache
Cache memory and cache
 
Cache memory
Cache memoryCache memory
Cache memory
 
Storage devices
Storage devicesStorage devices
Storage devices
 
Cache memory ...
Cache memory ...Cache memory ...
Cache memory ...
 
Unit 5-lecture-2
Unit 5-lecture-2Unit 5-lecture-2
Unit 5-lecture-2
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Linux%20 memory%20management
Linux%20 memory%20managementLinux%20 memory%20management
Linux%20 memory%20management
 
Ram ppt
Ram pptRam ppt
Ram ppt
 
CA UNIT V..pptx
CA UNIT V..pptxCA UNIT V..pptx
CA UNIT V..pptx
 
Understanding And Managing Memory
Understanding And Managing MemoryUnderstanding And Managing Memory
Understanding And Managing Memory
 
06 - Memory.ppt
06 - Memory.ppt06 - Memory.ppt
06 - Memory.ppt
 
Memory System
Memory SystemMemory System
Memory System
 
virtual memory - Computer operating system
virtual memory - Computer operating systemvirtual memory - Computer operating system
virtual memory - Computer operating system
 
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.ppt
 
Memory Organisation in embedded systems
Memory Organisation in embedded systemsMemory Organisation in embedded systems
Memory Organisation in embedded systems
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Ppt cache vs virtual memory without animation

  • 1. DSD PRESENTATION ON VIRTUAL AND CACHE MEMORY Submitted By – Animesh Jain
  • 2. What is Cache Memory? Cache memory is a type of memory that lies between the CPU (Central Processing Unit) and the RAM (Random Access memory).
  • 3. The purpose of cache memory is to reduce the memory access time of the CPU from the RAM. The cache memory is much faster than RAM. So access time on cache is much lesser than the access time on RAM. But the cost of memory used for cache memory is much higher than the cost of memory used for RAM, and hence, the capacity of cache memory is very small. The type of memory used for cache memory is called SRAM ( Static Random Access Memory).
  • 4.
  • 5.
  • 6. Whenever the CPU wants to access memory, it first checks whether what it needs resides in the cache memory. If yes, it would be able to access it with the least latency. If it does not reside in cache, then the requested content would be copied from RAM to the cache and then only the CPU will access it from the cache. Here, when copying content from the cache, not only the content in the requested memory address but also the nearby content is copied to cache. So, the next time there is a high probability for a cache hit to occur as most computer programs access nearby data or last accessed data most of the times. So due to the cache, the average memory latency is reduced.
  • 7.
  • 8. In CPU, there are three types of caches: Instruction cache to store program instructions, Data cache to store data items, and the Translation Look-aside Buffer to store memory mappings. For data cache, generally, there are multi-level caches. That is, there are several caches as L1, L2 and L3. L1 cache is the fastest but smallest cache memory that is closest to the CPU. L2 cache is slower than L1, but larger than L1 and resides after the L1 cache. Because of this hierarchy a better average memory access time can be achieved at a less cost.
  • 9. What is Virtual Memory? Virtual memory is a memory management technique used in computers systems. There is no hardware called virtual memory, but it is a concept that uses RAM and the hard disk to provide a virtual address space for programs. First RAM is divided into chunks called pages and they are identified by physical memory addresses. In the hard disk, a special portion is reserved where, in Linux, it is called the swap and, in Windows, it is called a page file. When a program is started, it is given a virtual address space that can be even larger than the actual physical memory.
  • 10. Virtual memory space is also divided into chunks called pages and each of this virtual memory page can be mapped to a physical page. The table called page table keep track of this mapping. When the physical memory runs out of space, what is done is, certain physical pages are pushed to that special portion in the hard disk. When any page pushed to the hard disk is needed again, it is brought to the physical memory by putting another selected page from the physical memory to the hard disk.
  • 11.
  • 12. What is the difference between Cache Memory and Virtual Memory? • Cache memory is a type of memory used for improving the main memory access time. It is a faster type of memory that resides between CPU and RAM to reduce the average memory access latency. Virtual memory is a memory management method where it is a concept that lets programs get its own virtual memory space, which is even larger than the real physical RAM available.
  • 13. • Cache memory is a type of hardware memory that actually exists physically. On the other hand, there is no hardware called virtual memory as it is a concept that uses RAM, hard disk, Memory management unit, and software to provide a virtual type of memory. • Cache memory management is done fully by hardware. Virtual memory is managed by the operating system (software).
  • 14. • Cache memory lies between RAM and the processor. Data transfers involve RAM, cache memory, and the processor. Virtual memory, on the other hand, involves transfer of data between RAM and hard disk. • Cache memories take small sizes such as Kilobytes and Megabytes. Virtual memory, on the other hand, involves huge sizes that take gigabytes. • Virtual memory involves data structures such as page tables that store mapping between physical memory and virtual memory. But this type of data structures is not necessary for cache memory.
  • 15. Summary: Cache Memory vs Virtual Memory Cache memory is used for improving the main memory access time while virtual memory is a memory management method. Cache memory is an actual hardware, but there is no hardware called virtual memory. RAM, hard disk, and various other hardware together with the operating system produces the concept called virtual memory to provide large and isolated virtual memory spaces to each program. The content in the cache memory is managed by hardware while the content in the virtual memory is managed by the operating system.