|
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.
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.
|