• Like
Cache memory.12
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
681
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
53
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Cache Memoryhttp://improvec.blogspot.in/ 1
  • 2. Objective:On completion of this period, you would be able to understand: Cache memory used in computers. http://improvec.blogspot.in/ 2
  • 3. Recap: What is meant by memory ? A space to keep information. It stores program, data results or any kind of information. http://improvec.blogspot.in/ 3
  • 4. Cache Memory The word cache is pronounced as cash. Cache memory is placed between the CPU and the main memory. It stores instructions and data which are to be currently executed by the CPU. http://improvec.blogspot.in/ 4
  • 5. Cache Memory (contd...)It is a semiconductor memoryIt is not accessible to users i.e. informationcannot be written into cache memory by users.It increases the speed of the computer up to15%. http://improvec.blogspot.in/ 5
  • 6. Cache Memory (contd...) It consists of static RAMs. Its access time is 10ns which is much less than that of the main memory i.e. 50ns http://improvec.blogspot.in/ 6
  • 7. Memory Hierarchy with cache memory Cache Primary SecondaryCPU Memory Memory Memory http://improvec.blogspot.in/ 7
  • 8. Types Of Cache SchemesWrite-throughWrite-back http://improvec.blogspot.in/ 8
  • 9. Write-through Cache memory is updated each time when the CPU writes into the cache. The advantage of the write through cache is that the main memory always contains the same data as the cache contains. http://improvec.blogspot.in/ 9
  • 10. Write-back Only the cache memory is updated during a write operation. The updated locations in the cache are marked by flags so that later on when the word is removed from cache, it is copied into the main memory. http://improvec.blogspot.in/ 10
  • 11. Write-back (contd) The words are removed from the cache time to time to make room for a new block of words. http://improvec.blogspot.in/ 11
  • 12. Level of Cache Memory1. First level cache (L1).2. Second level cache (L2).3. Third level cache (L3). http://improvec.blogspot.in/ 12
  • 13. Cache memory is placed at two or three levels (contd) The resident cache is called Level – L1 (internal). In addition to the cache memory built into the CPU, cache is also added to the motherboard. This motherboard- resident cache is often called Level – L2 (external). http://improvec.blogspot.in/ 13
  • 14. Cache memory is placed at two or three levels (contd) Some computers contain L1 and L2 within the microprocessor. Cache memory within the processor is called internal cache. The cache outside the processor is called external cache. http://improvec.blogspot.in/ 14
  • 15. Summary:In this class, we have learnt about  About cache memory. Levels of cache memory used in computers. http://improvec.blogspot.in/ 15
  • 16. Frequently Asked Questions1. What is a Cache Memory?2. Explain levels of cache memory? http://improvec.blogspot.in/ 16
  • 17. Quiz:1. Cache memory within the processor is called internal cache? a. Yes b. NoAnswer: a http://improvec.blogspot.in/ 17
  • 18. Quiz:2. Cache consists of a. static RAMs. b. dynamic RAMsAnswer: a http://improvec.blogspot.in/ 18
  • 19. Quiz:3. Cache is a a. magnetic memory b. semiconductor memory.Answer: b http://improvec.blogspot.in/ 19