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 system testing, What is system testing? The final step in testi...

What is system testing? The final step in testing is system testing, which means checking the whole application. System testing exercises the overall application and make sure

Determine waiting and average waiting time of CPU, CPU burst time indicates...

CPU burst time indicates the time, the process needs the CPU. The following are the set of processes with their respective CPU burst time     (in milliseconds). Process

What does not use by FTP, FTP does not use ? FTP doesn't use User Datag...

FTP does not use ? FTP doesn't use User Datagram Protocol.

What are the objectives of usb, What are the objectives of USB? a) Simp...

What are the objectives of USB? a) Simple b) Low cost c) Easy to use d) Supports wide range of data transfer characteristics e) Plug and play mode of operation

Determine the ad hoc testing, Determine the Ad hoc testing - It is a ty...

Determine the Ad hoc testing - It is a type of testing which is performed without the use of planning or/and documentation. - These tests are run only one time unless a defe

Define the message queues, The message queue provides the information about...

The message queue provides the information about sizes of queues under utilization of various processors. It points to size of every processor incoming message queue that would be

Search mechanisms in prolog, Search mechanisms in Prolog: Here we can ...

Search mechanisms in Prolog: Here we can needs this simple Prolog program to describe how Prolog searches as:president(X) :- first_name(X, georgedubya), second_name(X, bush).

What is fork, What is Fork Clk gets its value after 1 time unit, rese...

What is Fork Clk gets its value after 1 time unit, reset after 10 time units, enable after 5 time units, data after 3 time units. All the statements are executed in parallel.

Explain ip address structure, Q. Explain IP Address Structure? Internet...

Q. Explain IP Address Structure? Internet addresses are divided in five types of classes. Classes were designated A through E. class A address space enables a small number of n

Multiple program multiple data, Like SPMD, MPMD is actually a "high level" ...

Like SPMD, MPMD is actually a "high level" programming model that can be built upon any combination of the previously mentioned parallel programming models. MPMD applications ty

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