answersLogoWhite

0


Best Answer

_Virtual Memory_ is an amount of physical hard disk storage used to act as an overflow when more RAM is requested that what is available. An OS algorithm determines what will be moved out to Virtual Memory from physical RAM. On the other hand, _cache_ is an area of RAM that contains areas of the hard disk drive that have been requested by a component of the system plus neighboring data that _might_ be requested at a later time. For example, if the data stored on sectors 1234-1250 is requested, the system will bring it back, along with sectors 1251-1300, in an attempt to prefetch data that might be requested next. Since the disks' heads are already positionned at the location of the requested data, it is a small amount to pay to get contiguous sectors back in the same "pass" vs. coming back to get it next time. If ever some of the sectors 1251-1300 are indeed requested, the access to disk will not be necessary as the cache already contains the data. This is called a "cache hit". (Conversely, if the requested data is not in cache, we call it a ... "cache miss"). Hard Disk data is kept in the cache for as long as possible. This explains why, in most cases, when an application is started twice in a row, the 2nd start is much faster since the executable, and possibly most of its associated components, are in cache. So, this leaves us with _virtual memory_, a mechanism to allow for a lack of RAM, and _cache_, a mechanism to allow for unused RAM to be put to use...Is this a dichotomy? we'd like to hear your comments on this.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Differences between cache virtual memory
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is cache memory equal to virtual memory?

No! ; Cache memory is integrated in the CPU. Virtual memory is a part of the hard drive that the OS use as ram memory, when running out of real ram memory.


Differentiate between the physical virtual and cache memory Explain briefly?

Virtual memory is a type of memory that is allocated by the operating system and is used to speed up operations. Cache memory is RAM that the CPU can access faster than regular ram which is considered physical memory. When the CPU is looking for data, it checks the cache memory first, recently used data will still be in the cache. If it does not find it there, it moves on to use the physical memory. Anytime a program or file is opened, it is first loaded into RAM (physical memory).


What is the difference between ram ROM cmos cache and virtual memory?

Short answer is difficult, but we need one. Your computer contains all kinds of virtual memory.. on the RAM chips primarily. Maxed-out older computers resort to using space on the disk drive, which is relatively slow. A cache is a saved memory of what you have recently been doing, and is used since it is very fast. It duplicates a finite amount of what is in virtual memory.


What is the difference between cache-memory and primary-memory?

Cache memory is smaller and quicker, primary memory larger and slower.


What are the type of cache memory?

There are different type of cache memory: processor cache memory, cache memory ram,1 cache memory l2, cache memory, CPU cache memory, disk cache memory, hard disk cache, cache memory motherboard.


What is the difference between cache memory disk cache?

memory cache is on memory RAM, disk Cache is on the hard drive. They make things to get faster. For instance Google Earth use this disk cache to show you offline images.


Differences between virtual memory and cache memory?

Virtual memory is defined as an abstraction of the main memory that extends the available computer memory by storing parts of content RAM that are not active. Cache memory is where data that is accessed often is stored so you are able to have quick access to it.


What are the two types of cache memory?

There are different type of cache memory: processor cache memory, cache memory ram,1 cache memory l2, cache memory, CPU cache memory, disk cache memory, hard disk cache, cache memory motherboard.


What is the name of the memory that sits between the processor and the primary memory?

Cache


What is the technique of using the hard drive as though it were RAM?

Virtual Memory or Cache would both be acceptable.


Special high-speed memory built into the micro processor for the micro processors?

virtual memory


Cache memory and register memory?

Register memory are smaller in size than cache memory and registers are faster than cache..Cache memory store the frequently used data from main memory..