? Suppose that a computer has a processor with an L1 and an L2 cache. Let 7
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose that a computer has a processor with an L1 and an L2 cache. Let 7 be the access time for the L1 cache. The miss penalties are approximately 157 for transferring a block from L2 to L1, and 1507 for transferring a block from main memory to L2. The hit rates in the L1 and L2 caches are 0.95 and 0.8 respectively. Clearly state any assumptions, particularly with my use of the term "approximately". (a) What fraction of accesses miss in both the L1 and L2 caches, thus requiring access to main memory? (b) What is the average access time (tag) as seen by the processor? (c) Suppose that the L2 cache has an ideal hit rate of 1 and calculate the new average access time (tavg). (d) Using the initial L2 hit rate, would it be possible to increase the value of h₁ (the hit rate for the L1 cache) so as to decrease taug to 50% of the value calculated in part (b)? State the required value of h₁ or explain why this is not possible. Suppose that a computer has a processor with an L1 and an L2 cache. Let 7 be the access time for the L1 cache. The miss penalties are approximately 157 for transferring a block from L2 to L1, and 1507 for transferring a block from main memory to L2. The hit rates in the L1 and L2 caches are 0.95 and 0.8 respectively. Clearly state any assumptions, particularly with my use of the term "approximately". (a) What fraction of accesses miss in both the L1 and L2 caches, thus requiring access to main memory? (b) What is the average access time (tag) as seen by the processor? (c) Suppose that the L2 cache has an ideal hit rate of 1 and calculate the new average access time (tavg). (d) Using the initial L2 hit rate, would it be possible to increase the value of h₁ (the hit rate for the L1 cache) so as to decrease taug to 50% of the value calculated in part (b)? State the required value of h₁ or explain why this is not possible.
Expert Answer:
Answer rating: 100% (QA)
a when there will be is miss in both L1 and L2 then it will only ... View the full answer
Posted Date:
Students also viewed these electrical engineering questions
-
What are some indicators that a computer has been infected?
-
Suppose that a computer can read or write a memory word in 5 nsec. Also suppose that when an interrupt occurs, all 32 CPU registers, plus the program counter and PSW are pushed onto the stack. What...
-
Suppose that a computer chip company has just shipped 10,000 computer chips to a computer company. Unfortunately, 50 of the chips are defective. (a) Compute the probability that two randomly selected...
-
Good Morning Food, Inc. is using the profitability index (PI) when evaluating projects. You have to find the PI for the company's project, assuming the company's cost of capital is 14.29 percent. The...
-
What is the difference between a policy constraint and a physical constraint? Give one example of each type of constraint.
-
A proper evaluation of any project using differential analysis requires the consideration of all relevant costspast, present, and future. Comment.
-
In Example 9.8, consider the situation from the instant the brick is released to the instant at which it has zero velocity (when the spring compression is greatest). Draw an energy diagram for a...
-
Kao Tiles, Inc. is a specialized producer of ceramic tiles. Its production process involves highly skilled workers and top-quality ceramic craftsmen. Work in Process is relatively large because each...
-
3. You purchased a 3 year coupon bond one year ago. Its par value is $1,000 and coupon rate is 6%, paid annually. At the time you purchased the bond, its yield to maturity was 6.5%. Suppose you sell...
-
Jamie Lynn is the revenue manager at a 250room fullservice hotel property. Her comp set includes five full and limitedservice properties: The demand and revenue performance of Jamie Lynn's hotel for...
-
1.Calculate Accumulated Depreciation for both of Asset until Disposal Date. (Using schedule if needed) 2. Calculate Gain or Loss on disposal of assets 3. Prepare Journal Entry : - on disposal date...
-
What is an aging schedule? How is it used to monitor a firms accounts receivable?
-
Using an example, how would you explain the logic behind accruals?
-
Can you allocate an array in a header file?
-
What does printf() do?
-
What role do asset and debt utilization play in a businesss profitability as measured by return on equity?
-
You have two database tables, an orders table (left) and a customer metadata table (right). You would like to aggregate the count of orders by gender. To achieve this, you propose to complete a...
-
Let X be a random variable taking on values a1, a2, . . . , pr with probabilities p1, p2, . . . , pr and with E(X) = μ. Define the spread of X as follows: This, like the standard deviation, is a...
-
A probability experiment consists of rolling a single fair die. (a) Identify the outcomes of the probability experiment. (b) Determine the sample space. (c) Define the event E = roll an even number....
-
Sophia has three tickets to a concert, but Yolanda, Michael, Kevin, and Marissa all want to go to the concert with her. To be fair, Sophia randomly selects the two people who can go with her. (a)...
-
Suppose that a survey asked 500 families with three children to disclose the gender of their children and found that 180 of the families had two boys and one girl. (a) Estimate the probability of...
Study smarter with the SolutionInn App