What is cache memory, Computer Engineering

Assignment Help:

Q. What is Cache Memory?

Cache memory is a very fast and small memory between CPU and main memory whose access time is closer to processing speed of CPU. It behaves as a high-speed buffer between main memory and CPU and is used to temporarily store presently active data and instructions at the time of processing. Because cache memory is faster than main memory so processing speed is increased by making data and instructions required in present processing available in the cache.

Here obvious question which arises is how system can know in advance that which data and instruction are required in present processing so as to make it available before hand in cache. Answer to this question comes from a principle termed as locality of reference. According to this principle at the time of the course of execution of most programs memory references by processor for both data and instructions tend to cluster. Which is if an instruction is executed there is a probability of nearby instruction being executed soon. Locality of reference is true not only for reference to program instruction but also for references to data. As displayed in Figure below cache memory acts as a small, fast-speed buffer between main memory and processor.


Related Discussions:- What is cache memory

When a network uses a star topology, A Network uses a star topology if? ...

A Network uses a star topology if? A Network utilizes a star topology if all computers attach to a single central point.

What is c++ reference and java final, What is C++ reference and JAVA final?...

What is C++ reference and JAVA final? Association ends must be bound at initialization and cannot be altered. C++ references can fully enforce these semantics, and the JAVA fin

Algebraic method for simplification of boolean expressions, Define Algebrai...

Define Algebraic method for Simplification of the Boolean Expressions This method is depend on the by knowledge of the Boolean algebra. Expression can be making simpler by usin

Determine the example - fork-join, Determine the Example - "fork-join" ...

Determine the Example - "fork-join" module initial_fork_join(); reg clk,reset,enable,data; initial begin $monitor("‰g clk=‰b reset=‰b enable=‰b data=‰b", $time, cl

Explain message switching, Explain Message switching. Recourse computer...

Explain Message switching. Recourse computer sends data to switching office that stores the data into buffer and seems for a free link. Sends link to other switching office, if

Explain integrated disk electronics devices, Q. Explain Integrated Disk Ele...

Q. Explain Integrated Disk Electronics Devices? IDE devices are associated to PC motherboard by a 34-wire ribbon cable. Common drive used today for workstations has capacities

Input-output-processor interconnection network (iopin), Input-Output-Proces...

Input-Output-Processor Interconnection Network (IOPIN): This interconnection network is designed for communication between I/O Channels and processors. Every single one proces

Project, how many pins does a floppy drive connector have

how many pins does a floppy drive connector have

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