How caching memory works ?

62
rate or flag this page

By Sajid Saleem



Cache Memory

This is an important part of our computer systems which helps in boosting up speed of our systems.The physically it is placed between the CPU and Memory (RAM).The main purpose of Cache memory is to allow the CPU to operate at it's full speed without time wasting in accessing memory.actually all parts of the computer not works at same speed,disk drive are so slow in performing their processes and CPUs are extremely fast in performing their work. must wait for disk drives.Before the CPU can do any thing it needs data for operation on it.slowness of disk drives it retrieves data from memory for work on.If the data is stored on disk it take time to be accessed.


Cashe
Cashe

How program setup runs

Typically a program is setup to run as follows:

  • Load the program and data from the disk into RAM.
  • Fetch the instructions from the RAM.
  • Fetch the data from the RAM.
  • Perform the instruction.
  • Write the results back to RAM.
  • When done save the final results into the disk.
 


Why need cache memory

For performing above given working the computers needs a memory called as cache memory.it's helps the processor in working fetching instruction from the (RAM) it works as a assistance of processor in fetching instruction from the RAM.

cycle of its working procedure is bellow defined.

  • Load the program and data from the disk into RAM.
  • Cache controller loads the instructions and data from RAM into the cache.
  • Fetch the instructions from the cache.
  • Fetch the data from the cache.
  • Perform the instruction.
  • Write the results back to cache.
  • Write the results back from cache to RAM.
  • When done, save the final results back into disk.



Learn in video

Few words

Ok this is one of my technical hubs\articles after a series of technological articles i have written this one for all my hubber\reader friends those who wants come to know the world of latest technology and about changing occurs in technology.The articles which i have written before this one are also full of interest i have tried my best to explain them in simple and easy language as every can understand the technology status. so you can also read my bellow written articles after reading this one.


Helful or not ?

  • Yes
  • No
  • Good
  • Not too good
  • Not too bad
See results without voting

Comments

RSS for comments on this Hub

No comments yet.

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working