Memory Hierarchy |
The cache memory is defined as the first level of memory after the Registers. In the memory hierarchy, it is placed right below the processor registers as shown in the figure above.
Speed Vs Distance Vs Size of the Memory |
How the Processor check for the data? |
The cache is generally made up of SRAM because of the high speed of operation of SRAMs and the faster a cache operates, faster data can be made available to the processor for processing.
Components in the Memory Hierarchy |
The cache stores in it the data of memory locations that the processor uses repeatably or is expected to use very soon in future. When the processor wants to access data of a certain memory location, the data might be present in cache or not, this is defined by the terms cache hit and cache miss respectively.
Cache Miss
Cache Miss |
When the processor does not find, the memory location which it wants to access, stored in the cache it has to fetch the data from the main memory. As the data is missing in the cache this is termed as a cache miss.
Cache Hit
Cache Hit |
Temporal Locality
Temporal Locality |
Spatial Locality
Spatial Locality |
The memory locations around the memory that the processor accesses might also be accessed by the processor soon and hence need to stored close the processor in the cache.This is also based on an assumption and we believe that the data next to the current location will be required for the next computation.
I think this below 3 Dimensional Diagram will make the Memory Hierarchy much more clear to the readers.
How the CPU Access the Memory |
- The address of the needed data is formed in the processor execution or instruction-fetch unit. Most addresses are then mapped from virtual to real through the Translation Look aside Buffer (TLB). Certain ranges of addresses are not mapped, and bypass the TLB.
- Most addresses are presented to the primary cache, a cache in the processor chip. If a copy of the data with that address is found, it is returned immediately. Certain address ranges are never cached; these addresses pass directly to the bus.
- When the primary cache does not contain the data, the address is presented to the secondary cache. If it contains a copy of the data, the data is returned immediately. The size and the architecture of the secondary cache differ from one CPU model to another.
- The address is placed on the system bus. The memory module that recognizes the address places the data on the bus.
(Courtesy: www.mbeded.blogspot.in, www.techpubs.sgi.com)
ReplyDeleteMy cousin recommended this blog and she was totally right keep up the fantastic work!
Embedded System Projects
Thanks for another great post. The place else may anyone get that type of information in such a perfect way of writing? I’ve a presentation next week, and I’m at the look for such information. embedded training in Chennai | embedded systems training in Chennai
ReplyDeletej2ee training in chennai
ReplyDeletebase-and-advanced-sas training in chennai
ReplyDeleteThanks for another great post.
ReplyDeleteistqb training in chennai
webshere training inchennai
ReplyDeletemicrostrategy training in chennai
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
ReplyDeleteAndroid Training in Chennai
Ios Training in Chennai
Thanks for providing such a great information.I ‘d mention that most of us visitors are endowed to exist in a fabulous place with very many wonderful individuals with very helpful things.
ReplyDeleteselenium training in bangalore
It is really amazing...thanks for sharing....provide more useful information...
ReplyDeleteEmbedded training in chennai | Embedded training centre in chennai
Read all the information that i've given in above article. It'll give u the whole idea about it.
ReplyDeleteClick here:
Angularjs training in chennai
Click here:
angularjs training in bangalore
Click here:
angularjs training in online
Click here:
angularjs training in Annanagar
Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.
ReplyDeleteBlueprism training in Chennai
Blueprism training in Bangalore
Blueprism training in Pune
Blueprism online training
Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.
ReplyDeleteEmbedded System training in Chennai | Embedded system training institute in chennai | PLC Training institute in chennai | IEEE final year projects in chennai | VLSI training institute in chennai
Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
ReplyDeletefire and safety course in chennai
Your story is truly inspirational and I have learned a lot from your blog. Much appreciated.
ReplyDeletejava training in annanagar | java training in chennai
java training in chennai | java training in electronic city
Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.
ReplyDeletebest safety training in chennai
Wow, Nice blog. Thank you so much for the efforts of this blog. Visit for
ReplyDeleteBest Offshore VPS
Thanks Admin for sharing such a useful post, I hope it’s useful to many individuals for developing their skill to get good career.
ReplyDeleteangularjs Training in marathahalli
angularjs interview questions and answers
angularjs Training in bangalore
angularjs Training in bangalore
angularjs Training in chennai
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.
ReplyDeleteTableau Training in Chennai
Tableau Training
Its my great pleasure to be here on your article!! for sure ill be back to read the next blog of yours.
ReplyDeleteSelenium Training in Chennai
selenium Classes in chennai
iOS Training in Chennai
French Classes in Chennai
Big Data Training in Chennai
cloud computing training in chennai
Cloud Computing Courses in Chennai
Thanks for sharing this valuable information.Its more useful to us.its very interesting to know the blog
ReplyDeletewith clear vision.
Article submission sites
Guest posting sites
Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while our own child is truly discovering a great deal. Have fun with the remaining portion of the year.
ReplyDeleteData Science training in Chennai
Data science online training
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
ReplyDeleteData Science course in rajaji nagar
Data Science with Python course in chenni
Data Science course in electronic city
Data Science course in USA
Data science course in pune | Data Science Training institute in Pune
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteMicrosoft azure training in Bangalore
Power bi training in Chennai
Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this.
ReplyDeleteData Science training in rajaji nagar
Data Science with Python training in chennai
Data Science training in electronic city
Data Science training in USA
Data science training in bangalore
I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging
ReplyDeleteSplunk Training | Splunk Training Institute | Splunk Training in Chennai | Splunk Training Institute in Chennai
Python Training | Python Course | Python Training in Chennai | Python Course in Chennai
Incredible Article… I want to peruse your articles on the grounds that you're composing style is too great, its is extremely useful for every one of us and I never get exhausted while perusing your article in light of the fact that
ReplyDeleteDevops Training in Chennai | Devops Training Institute in Chennai
I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end. Thanks
ReplyDeleteangularjs online training
apache spark online training
informatica mdm online training
devops online training
aws online training
This blog is wonderful i like studying your posts. Keep up the great work! You understand, lots of persons are hunting around for this info, you could help them greatly.
ReplyDeleteR Training Institute in Chennai | R Programming Training in Chennai
Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live.
ReplyDeleteIT Institute in KK nagar | angularjs training in chennai | dot net training in chennai | Web Designing Training in Chennai
Awesome post. organised very well. Keep sharing. Home elevator | Hydraulic lift
ReplyDeleteFor Hadoop Training in Bangalore Visit : HadoopTraining in Bangalore
ReplyDeleteMany of the blogs i have seen not provided a good content like you Hacking course online
ReplyDeleteExcellent post for the people who really need information for this technology.
ReplyDeletesap simplefinance training in bangalore
sap simplefinance courses in bangalore
sap simplefinance classes in bangalore
sap simplefinance training institute in bangalore
sap simplefinance course syllabus
best sap simplefinance training
sap simplefinance training centers
I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing. Great efforts.
ReplyDeleteStart your journey with In Software Training in Bangalore and get hands-on Experience with 100% Placement assistance from experts Trainers @eTechno Soft Solutions Located in BTM Layout Bangalore.
very nice post..
ReplyDeleteinplant training in chennai
inplant training in chennai
inplant training in chennai for it
Australia hosting
mexico web hosting
moldova web hosting
albania web hosting
andorra hosting
australia web hosting
denmark web hosting
Informative post, i love reading such posts. Read my posts here
ReplyDeleteIs Laravel good for big projects
Teamvoodoo
Is Laravel good for big web development projects
your providing such a valuable information about studying..and also have some good key points to every student.keep share lot it may help us.
ReplyDeleteAi & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai
I have read more content and informative information.
ReplyDeletePython Training in Chennai
Python Training in Bangalore
Python Training in Hyderabad
Python Training in Coimbatore
Python Training
python online training
python flask training
python flask online training
It's really nice and informative, it has all the information and it also has a big impact on new technologies. Thanks for sharing it.
ReplyDelete360DigiTMG Business Analytics Course in Bangalore
Amazing site with valuable information thank for sharing.
ReplyDeleteData Science Course in Hyderabad 360DigiTMG
Great post and thank you and waiting for your new post.
ReplyDeleteunindent does not match any outer indentation level python
"Very good article with very useful information. Visit our websitedata science training in Hyderabad
ReplyDelete"
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
ReplyDeleteDevOps Training in Chennai
DevOps Course in Chennai
Thanks, for such a great post. I have tried and found it really helpful. For more details to visit ib tutors online
ReplyDeleteThe article posted was very informative and useful. You people are doing a great job. Keep going.
ReplyDeletedata science training
Pleasant data, important and incredible structure, as offer great stuff with smart thoughts and ideas, loads of extraordinary data and motivation, the two of which I need, because of offer such an accommodating data here. business analytics course in surat
ReplyDeleteInfycle Technologies, the best software training institute in Chennai offers the best AWS training in Chennai for tech professionals. Apart from the AWS Course, other courses such as Oracle, Java, Hadoop, Digital Marketing, Selenium, Big Data Android, and iOS Development, DevOps and Azure will also be trained with 100% hands-on training. Dial 7502633633 to get more info and a free demo
ReplyDeleteWe have analyzed Mmjff and other stock information for you so that you can stay up-to-date on the latest Mmjff market trends.
ReplyDeleteHighly informative article. This site has lots of information and it is useful for us. Thanks for sharing.I want to share about Best MicroNutrients Company in India
ReplyDeletebest sat coaching in madhapur.
ReplyDeleteSAT Training Institutes In Hyderabad
SAT i.e. ‘Scholastic Aptitude Test’ is a general standardized test which is required for getting admission in undergraduate school of the foreign colleges or universities. It’s mandatory to clear the SAT examination for entering the undergraduate program of foreign universities in the countries such as USA, Canada, UK, Australia and so on. Many schools offer SAT scholarship to the students along with admission to the undergraduate courses based on the students SAT score. The SAT exam is conducted by the respective College Board. The SAT exam tests your mathematics, critical reading and writing skills in order to judge your preparedness for foreign undergraduate level academic studies and work.
I'm truly getting a charge out of examining your stunningly made articles. Obviously you burn-through an immense heap of energy and time on your blog. I have bookmarked it and I am hoping to investigate new articles. Keep on doing astounding.data science course in bhopal
ReplyDeleteI at long last discovered incredible post here.I will get back here. I just added your blog to my bookmark locales. thanks.Quality presents is the urgent on welcome the guests to visit the website page, that is the thing that this site page is giving.360digitmg-data science course business analytics course in mysore
ReplyDelete
ReplyDeleteThe new wave of innovation that is changing the way people do business is called data science. Gain expertise in organizing, sorting, and transforming data to uncover hidden patterns Learn the essential skills of probability, statistics, and machine learning along with the techniques to break your data into a simpler format to derive meaningful information. Enroll in Data science in Bangalore and give yourself a chance to power your career to greater heights.
Data Science Training in Jodhpur
ReplyDeleteInteresting stuff to read and useful to improve knowledge.
Keep posting.
how to learn matlab |computer science summer internships |iot online courses |number 1 summer and winter internship training and workshop service provider in india. |online c programming classes
|machine learning training | data science course fees in coimbatore |internship opportunities for engineering students |electronic engineering summer internships |wordpress training in chennai
uc satın al
ReplyDeleteen son çıkan perde modelleri
nft nasıl alınır
en son çıkan perde modelleri
lisans satın al
minecraft premium
yurtdışı kargo
özel ambulans