Title | Difference between Virtual memory and Cache memory |
---|---|
Course | Computer Fundamentals And Hardware |
Institution | Mahatma Gandhi University |
Pages | 1 |
File Size | 108 KB |
File Type | |
Total Downloads | 33 |
Total Views | 134 |
Memory types and differences...
Difference between Virtual memory and Cache memory Cache Memory: Cache memory increases the accessing speed of CPU. It is not a technique its a memory unit means a storage device. in cache memory, Recently used data are copied. Whenever the program is ready to executed it is fetched from main memory and copied to the cache memory if its copy is already present in cache memory than the program is directly executed.
Virtual Memory: Virtual Memory increases the capacity of main memory. Virtual memory is not a storage unit, its a technique. In virtual memory, The program which size is larger than main memory are executed means, if the size of the program is greater than the size of main memory then it is allowed to execute. Difference between Virtual memory and Cache memory: S.NO
1.
2.
3.
VIRTUAL MEMORY
CACHE MEMORY
Virtual memory increases the capacity of main
While cache memory increase the
memory.
accessing speed of CPU.
Virtual memory is not a memory unit, its a
Cache memory is exactly a memory
technique.
unit.
The size of virtual memory is greater than the
While the size of cache memory is
cache memory.
less than the virtual memory. On the other hand hardware manages
4.
5.
Operating System manages the Virtual memory.
the cache memory.
In virtual memory, The program which size is
While in cache memory, Recently
larger than main memory are executed.
used data are copied....