The Role of Virtual and Cache Memory and The Properties of Memory Management

feature-top

Every component of the PC has been upgraded, in order to increase the speed of the PC, for the past seventeen years, due to the new technology, which has been developed for the PC. The memory is one of the components of the PC, which has been upgraded to increase the speed of the PC.

Cache memory

The Cache Memory, is a type of memory, which is very close to the CPU, because the Cache memory is used, in order to store all recent instructions. In order for the CPU to perform a task, all the instructions, given by the user are stored, in the Cache memory first. The memory and the Hard Disk have much more space than the Cache memory; however despite this, the Cache memory is an important component of the computer and it is used first, before the main memory. The cache memory receives the requests first, and if the cache can’t answer, then the main memory, will be presented with the same, requests from the users.  The overall performance of a system can improve, by applying Cache strategies to that system, because the CPU and the memory, will be working together, to accomplish tasks, at the same time. The cache memory provides the processor, with high-speed data access, also data, applications and programs, are stored quickly in these cache memory. The cache memory is embedded onto the motherboard directly, and it is the fastest type of a memory.

Cache memory and Virtual memory have the same purpose, as far as helping the PC perform its tasks efficiently. However these two types of memories, defer from one another. One difference between the cache memory and the virtual memory, is that the implementation of these memories, is different due to the speed requirements, made by the cache architecture.

Virtual memory

The virtual memory helps the PC, to efficiently manage and efficiently use the RAM (random access memory), which is the main memory. The virtual memory also provides a space, separate for each program, which has reached the capacity of the main memory. A virtual address space for programs is created, by the virtual memory, using the computer’s memory and hard disk; because an actual physical virtual memory does not exist on the systemt. What makes the virtual memory possible, are these components: A divided physical memory, a hard disk used as a swap device, Address translation and a management software. As one of the great ideas in computing, the virtual memory provides important capabilities to the PC; such capabilities are: it allows for the memory and the hard disk to transfer data back and forth, only using the areas of the memory which are active, so that the memory can work efficiently. Also virtual memory simplifies memory management, because a uniform address space is designated to a process. Finally the address space don’t suffer any corruption from other processes, due to the presence of virtual memory .

Memory Management

Memory management has to help the system fulfill all requests, when the memory needs to be allocated. It is imperative, that the system assigns unallocated memory to a process, when that process requests the memory explicitly. In order for a system to be optimized, blocks, which are portions of the memory, are assigned to various running processes. Every memory location, whether it is free or allocated to some process, is tracked by the memory management mechanism. Segmentation, swapping, fragmentation, memory allocation and paging are some of the methods used, in memory management.

 

Resources:

https://www.cs.umd.edu/class/fall2001/cmsc411/proj01/cache/cache.pdf

http://www.differencebetween.com/difference-between-cache-memory-and-vs-virtual-memory/

https://www.ece.cmu.edu/~ece548/handouts/05vmarch.pdf

https://www.pearsonhighered.com/assets/samplechapter/0/1/3/0/0130610143.pdf

http://csapp.cs.cmu.edu/2e/ch9-preview.pdf

feature-top
feature-top

Add a Comment

Hernando Cadet

Hi every one, I obtained a bachelor's degree in Bioinformatics back in 2006, from Claflin University, after I received my bachelor's degree, I gained full time employment as a software engineer at a Video Relay Service company, maintaining databases and developing software for a new developed device called the VPAD.

I worked at that company for two years, then I became a web developer, and worked for a magazine for three years. After that job, I worked as a Drupal web developer, as a subcontractor for the NIH, for a year and then left the job to go back to school.

Hernando Cadet

Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without

Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without revolutionary ROI.