Студопедия
rus | ua | other

Home Random lecture






Task 10. Match the terms in Table A with the statements in Table B.


Date: 2015-10-07; view: 2067.


HOW A DISK CACHE WORKS

Disk caching works in essentially the same way whether you have a cache on your disk controller or you are using a software-based solution. The CPU requests specific data from the cache. In some cases, the information will already be there and the request can be met without accessing the hard disk.

If the requested information isn't in the cache, the data is read from the disk along with a large chunk of adjacent information. The cache then makes room for the new data by replacing old. Depending on the algorithm that is being applied, this may be the information that has been in the cache the longest or the information that is the least recently used.

The CPU's request can then be met, and the cache already has the adjacent data loaded in anticipation of that information being requested next.

 

 

 

Table A Table B
1. cache hit 2. cache controller 3. cache coherency 4. write-through cache 5. write-back cache 6. line size a The process of writing changes only to the cache and not to main memory unless the space is used to cache new data b The amount of data transferred to the cache at any one time c The process of writing directly to both the cache and main memory at the same time d The processor is successful in finding the data in the cache e Ensuring that any changes written to main memory are reflected within the cache and vice versa f The logic circuits used to control the cache process  

 

 

Task 11. Mark the following as True or False:

 

1. Cache memory is faster than RAM.

2. The processor looks for data in the main memory first.

3. Write-through cache is faster than write-back cache.

4. Write-back cache requires a more intelligent cache controller.

5. Most programs use instructions that are stored in sequence in memory.

6. Most cache controllers transfer one item of data at a time.

7. Hardware and software disk caches work in much the same way.

 



<== previous lecture | next lecture ==>
Task. 9. Find the answers to these questions in the following texts. | PAST FORMS
lektsiopedia.org - 2013 год. | Page generation: 1.566 s.