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

What is scenarios, Scenarios encapsulate the Vuser Groups and scripts to be...

Scenarios encapsulate the Vuser Groups and scripts to be implemented on load generators at run-time. Manual scenarios can deal out the total number of Vusers between scripts bas

What is object orientation, What is object orientation? Object orientat...

What is object orientation? Object orientation means that we classify software as a collection of discrete objects that incorporate with together DS and behaviour. Four aspe

What are the characteristics of sram, What are the characteristics of SRAM?...

What are the characteristics of SRAM? SRAM are fast They are volatile They are of high cost Less density

Paging supervisor - computer architecture, Paging supervisor: This par...

Paging supervisor: This part of the operating system built and manages the page tables. If the  due to dynamic address translation hardware a page fault occurs exception then

Senior project, any ideas about senior project topic

any ideas about senior project topic

Sql injection, SQL Injection includes entering SQL code into web forms, eg....

SQL Injection includes entering SQL code into web forms, eg. login fields, or into the browser address field, to access and manipulate the database across the site, application or

Subtract, Write the Add/subtract rule for floating point numbers. Ans:...

Write the Add/subtract rule for floating point numbers. Ans: a. Select the number with the smaller exponent and shift its mantissa right a number of steps equal to the differe

Describe message passing model, Q. Describe Message Passing Model? In ...

Q. Describe Message Passing Model? In message-passing model there be a set of tasks which employ their own local memories at the time of computation. Many tasks may inhabit on

What does the term entrepreneurship mean, 1) What does the term entrepreneu...

1) What does the term entrepreneurship mean to you?  What are some basic characteristics of entrepreneurs? 2) What is e-commerce?  Why are the Internet economy and e-commerce he

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