International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 181 - Number 20 |
Year of Publication: 2018 |
Authors: Ugah John Otozi, Chigozie-Okwum Chioma, Ezeanyeji Peter C., Mbaocha Nnamdi Raymond |
10.5120/ijca2018917533 |
Ugah John Otozi, Chigozie-Okwum Chioma, Ezeanyeji Peter C., Mbaocha Nnamdi Raymond . Virtual and Cache Memory: Implications for Enhanced Performance of the Computer System. International Journal of Computer Applications. 181, 20 ( Oct 2018), 6-13. DOI=10.5120/ijca2018917533
This paper looks at the performance enhancement which virtual and cache memory brings about in our computer systems. It focuses particularly on their implementation mechanisms and also tries to identify the numerous benefits these memories offers that leads to an overall better performance of computer system. The motivation for this discussion is that many usually wonder if virtual and cache memory is actually needed in the computer system. Some erroneously think that virtual and cache memories perform the same functions as the random access memory (RAM) or even the secondary storage devices. The basic idea with virtual memory is to create an illusion of memory that is as large as a disk and as fast as memory. A computer with virtual memory artfully juggles the conflicting demands of multiple programs within a fixed amount of physical memory. Cache memory on the other hand is a small but very fast chunk of memory that is usually situated very close and directly communicates with the CPU. Cache keeps frequently used data and code very close to the CPU so that repeated use of the same data and areas of memory does not result in repeated slow transactions to main memory each time they are needed. The operations of virtual and cache memory enhances multiprogramming. It also helps to eliminate fragmentation, ensure process flexibility, ensures effective memory management and memory protection. Understanding the mechanism of virtual and cache memory will help operating system students and professionals to appreciate how multiple processes are treated without conflicts.