Explain cache organisation, Computer Engineering

Assignment Help:

Q. Explain Cache Organisation?

Cache memories are found in nearly all latest computers.  They are very helpful for increasing speed of access of information from memory.  Let's look into their organisation in more detail in this section.  

The basic idea of cache organisation is that by keeping most frequently accessed instructions and data in fast cache memory therefore average memory access time will approach the access time of cache. 

The fundamental operation of cache is as follows. When CPU needs to access memory cache is examined. If word addressed by CPU isn't found in cache then main memory is accessed to read that word. A block of words is then transferred from main memory to cache memory.

Performance of cache memory is often measured in terms of a quantity known as hit ratio. When CPU refers to main memory and finds that word in cache it's said to generate a hit. If the word isn't found in cache it's in main memory and it counts as a miss. Ratio of number of hits divided by total CPU references to memory is Hit ratio.   

Average memory access time of a computer system can be improved significantly by use of a cache. E.g. if memory read cycle takes 100 ns and a cache read cycle takes 20 ns then for four continuous references first one brings main memory contents to cache and the subsequent three from cache.

The time taken with cache = (100+20)         +       (20×3)  

                               (For the first read operation)      (For the last three read operations)

                                            = 120                +               60

                                              = 180 ns

Time taken without cache   = 100×4 = 400 ns   

So the closer are reference then better is the performance of cache.


Related Discussions:- Explain cache organisation

Explain in detail companding, Explain in detail companding. Companding...

Explain in detail companding. Companding: It is the process of compressing and expanding. This includes compressing the signal at the transmitter and expanding this at the re

What is the cih, CIH, also known  as Chernobyl or Spacefiller, is a Microso...

CIH, also known  as Chernobyl or Spacefiller, is a Microsoft Windows computer virus which first emerged in 1998. It is one of the most damaging viruses, overwriting critical inform

Multiple assign statements targeting the same wire, What logic is inferred ...

What logic is inferred when there are multiple assign statements targeting the same wire? It's illegal to specify multiple assign statements to the same wire in a synthesizable

Eme, state function and path function

state function and path function

Explain circuit switching versus packet switching, Explain difference of Ci...

Explain difference of Circuit switching versus Packet switching. Within circuit switching an end-to-end path is to be establishing before any data can be sent. Previously a con

Explain rudimentary file formats, Q. Explain rudimentary file formats? ...

Q. Explain rudimentary file formats? FTP only understands two rudimentary file formats. It classifies every file either as a text file or a binary file. A text file comprise a

Differentiate between adaptive and non-adaptive routing, Differentiate betw...

Differentiate between adaptive and non-adaptive routing. Adaptive routing defines the ability of a system, by which routes are characterised through their destination, to cha

DBMS SQL Queries, How to fetch random ID from table by SQL query Select ...

How to fetch random ID from table by SQL query Select * from Table_Name order by NewID()

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd