Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
When the processor receives a request that it cannot fulfill from the cache, it sends a write buffer to return the unsatisfied block to main memory. So, what ought to be done here?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- What does "memory leak" entail in terms of dynamic memory allocation?arrow_forwardAccess to memory data may be accomplished in one of two ways: either sequentially or directly. What is it about direct access that is so popular nowadays? How can this be performed when a device that only permitted sequential access cannot be changed out for one that only allows direct access, as previously stated?arrow_forwardA write buffer will bring the data from main memory back to the CPU if it is too big to fit in the cache. What should we do next?arrow_forward
- Hi, professor! I'm not sure about the following question. Consider a cache memory that provides three hundred 16-byte blocks. Now consider that you are processing all the data in a two-dimensional array of, say, four hundred rows by four hundred columns, using a pair of nested loops. Assume that the program stores the array column by column. You can write your program to nest the loops in either direction, that is, process row by row or column by column. Explain which way you would choose to process the data. What is the advantage? Conversely, what is the disadvantage of processing the data the other way? What effect does choosing the incorrect way have on system performance?arrow_forwardIf the data being requested is too large to fit in the cache, a write buffer will bring it to the attention of the CPU by retrieving it from main memory. What should the next step be?arrow_forwardThink about the difference that exists between a cache that is totally associative and one that is directly mapped. This is a distinction that has to be made.arrow_forward
- What should happen when a processor issues a request that cannot be satisfied by the cache while a block is being flushed back to main memory from the write buffer?arrow_forwardWhat is the effect on the cost of merging runs if the number of buffer blocks per run is increased, while keeping overall memory available for buffering runs fixed?arrow_forwardWhat is the point of having cache memory if we already have RAM, which is a memory that is built on volatile transistors? Is it feasible for a computer to use just a single kind of memory at a time?arrow_forward
- What is the purpose of having cache memory if RAM (Random Access Memory) is based on transistors? Is it even possible to run every program on the same kind of computer memory?arrow_forwardThe write buffer will return a block to main memory while the CPU submits a cache-unmet request. What may happen next?arrow_forwardcache.xls (or it can be a google sheet that you share with me in a cache.txt with the url in it )= a spreadsheet showing the cycle counts of a cached and non-cached machine. Also, you need to show the cache as the memory accesses progress in your program marking the hits and misses (misses in RED). You should have cells to show how many hits and how many misses your program has, and details on what is the cache replacement policy you implemented. Here is code: void c_cache_for_badge() { int na = 8, nb = -3, nc = 10; // pointers int *npa; npa = (int*)malloc(sizeof(int)*84); // init integer pointers for(int i = 0; i < 84; i++) { npa[i] = i; } // integer pointers for(int i = 9; i < 70; i= i + 3) { nb += npa[i % 5] + npa[i % 3] + npa[i % 6]; } } void main() { c_cache_for_badge(); }arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education