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
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
Infycle 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.
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
Thanks for the clear explanation of memory hierarchy in embedded systems! Your breakdown of different memory types and their roles is really helpful for understanding performance optimization. I appreciate the depth of information you provided—great job
ReplyDeleteData Science Courses in Brisbane
This was a fantastic read on memory hirearchy in embedded systems! I’m currently working on it and your explanation of this systems will definitely come in handy. Thanks for providing such practical insights.
ReplyDeletehttps://iimskills.com/data-science-courses-in-westminster/
Thanks for explaining the memory hierarchy in embedded systems! Understanding how different levels of memory interact is crucial for optimizing performance and efficiency. Your insights on the trade-offs between speed and cost at each level really clarify why careful memory management is essential in embedded design. Great resource for developers!
ReplyDeleteGreat overview of memory hierarchy in embedded systems! Your explanation of how various memory types work together to optimize performance is really helpful. It’s fascinating to see how designers must balance speed, cost, and power consumption. This knowledge is vital for anyone working in embedded development!
ReplyDeleteThanks for shedding light on the memory hierarchy in embedded systems! It's crucial for developers to understand how different memory types impact performance and efficiency. Your breakdown of the various levels and their roles offers valuable insights that can help optimize system design. Excellent resource for anyone in the field!
ReplyDeleteData science Courses in hamburg
ReplyDeleteThis overview of the memory hierarchy in embedded systems provides a clear understanding of how cache memory functions and its critical role in optimizing processor performance. By illustrating concepts such as cache hits and misses, as well as temporal and spatial locality, it emphasizes the importance of efficient data retrieval strategies.
The distinction between SRAM for cache memory and other types of memory highlights why speed is crucial in these scenarios. Furthermore, the explanation of how the CPU accesses memory, including the role of the Translation Lookaside Buffer (TLB) and the interaction between primary and secondary caches, effectively conveys the complexity of memory management in modern processors.
Incorporating a 3D diagram to illustrate the memory hierarchy would indeed enhance comprehension for readers, making the relationships between different memory types and their impact on performance even clearer. Overall, this content serves as a valuable resource for understanding the intricacies of memory systems in embedded applications. Data science courses in Gurgaon
ReplyDeleteThis is a well-explained article on memory hierarchy in embedded systems! The breakdown of cache memory, cache hits and misses, and concepts like temporal and spatial locality clearly shows how these principles optimize data access for the processor. The distinction between primary and secondary cache levels and the use of SRAM in cache also highlights why speed and proximity to the processor are critical for system performance. Data science courses in Visakhapatnam
"Your blog is an invaluable resource for Spring developers. Thank you!"
ReplyDeleteThis blog offers a clear and insightful explanation of the memory hierarchy in embedded systems, especially on how cache levels impact processing speed. The explanations of concepts like cache hit, cache miss, and locality principles make it easy to understand the structure and importance of memory management in system performance. A great read for anyone wanting to grasp how memory hierarchy works with the CPU!
ReplyDeleteData science courses in Gujarat