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

Illustrate logical data processing instructions, Q. Illustrate logical Data...

Q. Illustrate logical Data Processing Instructions? AND, OR, NOT, XOR operate on binary data stored in registers. For illustration if two registers comprises data:   R1 = 10

Conclusion - artificial intelligence , Conclusion - artificial intelligence...

Conclusion - artificial intelligence : If we can determine what the exactly state of the world will be after an agent's action, so we can say the environment is deterministic.

Name at least six file extensions of microsoft access, Some of the file ext...

Some of the file extensions present in MS Access are ? Access blank project template .adn ? Access database .accdb ? Access Workgroup .mdw ? Access project .adp ? A

How the simulation is done - Weather simulation, How the simulation is done...

How the simulation is done -  Information from the satellites/sensors sent to computer -  This data is compared to information stored on files ..... -  ..... Which contain kno

DFD, Draw the Context level DFD for the Safe home Software.

Draw the Context level DFD for the Safe home Software.

Common tasks to accomplish - artificial intelligence, Common Tasks to Accom...

Common Tasks to Accomplish: Once you've worried about what and why you're doing "AI", what has inspired you and how you're going to approach the job, then you just start to th

Define abap/4 layer, Define ABAP/4 layer? The ABAP/4 layer defines the ...

Define ABAP/4 layer? The ABAP/4 layer defines the data formats used by the ABAP/4 processor.

Elucidate in brief the functions of the clock generator chip, Elucidate in ...

Elucidate in brief the functions of the clock generator chip, 8284. 8284 Clock generator: 8284 is an ancillary component to the microprocessors. Without clock generator, many

Differentiate between EPROM and EEPROM, Differentiate between EPROM and EEP...

Differentiate between EPROM and EEPROM. EPROM: The meaning of this term is Erasable PROM. This can be reprogrammed through first erasing the existing program. EPROM uses N-MO

Homework, Use linear activation function and Hebbian learning for a SLFF ne...

Use linear activation function and Hebbian learning for a SLFF network to attempt to learn the following two sets of patterns. Why can the patterns be learned, or why can they not

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