Consider two different designs: (1) Processor: use the direct mapping cache (one level) (2) Processor: use...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider two different designs: (1) Processor: use the direct mapping cache (one level) (2) Processor: use the 2-way set-associative cache (one level) In both Processors, the CPI is 2.0 under the ideal condition (hit rate = 100%), the cache access time is 1 clock cycle, the miss penalty is 70ns, and each instruction accesses the memory 1.3+0.1 × (NUM_1%3) times on average. For Processor, the clock cycle is 2 + NUM_1%3 ns, and the cache hit rate is 98.6%. For Processor, the clock cycle is increased to 1.10 times of that of ProcessorA, and the hit rate is 99%. 1. Please calculate the average access time of both processors. 2. For a program with 1,000 instructions, please calculate the CPU time on both processors. Which processor is faster? Activate Windows Go to Settings to activate Windows. Consider two different designs: (1) Processor: use the direct mapping cache (one level) (2) Processor: use the 2-way set-associative cache (one level) In both Processors, the CPI is 2.0 under the ideal condition (hit rate = 100%), the cache access time is 1 clock cycle, the miss penalty is 70ns, and each instruction accesses the memory 1.3+0.1 × (NUM_1%3) times on average. For Processor, the clock cycle is 2 + NUM_1%3 ns, and the cache hit rate is 98.6%. For Processor, the clock cycle is increased to 1.10 times of that of ProcessorA, and the hit rate is 99%. 1. Please calculate the average access time of both processors. 2. For a program with 1,000 instructions, please calculate the CPU time on both processors. Which processor is faster? Activate Windows Go to Settings to activate Windows.
Expert Answer:
Answer rating: 100% (QA)
Part 1 Processor A uses direct mapping cache1level Cache access time Clock cycles 1 clock cycle Cycle time 2NUM13 ns 2 93 2 0 2 ns is mod operation wh... View the full answer
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these programming questions
-
In this exercise, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main memory accesses take 70 ns and...
-
Let y vary directly with x. Complete the following. Find y when x = 1.3, if y = 7.2 when x = 5.2.
-
Dalbeck, a CPA, serves on the Alumni Admissions Committee of his alma mater. As part of his duties, he interviews and evaluates applicants for this prestigious college and ranks them on a scale of 1...
-
The manager of a computer software company wishes to study the number of hours senior executives by type of industry spend at their desktop computers. The manager selected a sample of five executives...
-
Consider the periodic signal \[f(t)=\left\{\begin{array}{lr}\cos (t)+D, & -1 \leq t \leq 0 \\\sin \left(t^{6} ight) / t^{3}, & 0 \leq t\leq 2\end{array} ight.\] where \(D=\sin \left(2^{6} ight) /...
-
In addition to the standard inputs discussed in Section 5.1, other input functions occasionally are useful for special purposes. One, the so-called doublet pulse, is shown in figure. (a) Find the...
-
You are working with older adults in a geriatric care unit. Your nurse manager asks you to measure the intake of desserts in the dining hall. You report that 3 adults consumed 0 desserts, 27 adults...
-
Franco Welles, sales manager for Nanek, Inc., is trying to decide whether to pay a sales rep for a new territory with straight commission or a combination plan. He wants to evaluate possible plansto...
-
This exercise is the same as (What is the present value of 15 payments of $200 each received every 18 months at a discount rate of 9%?) where we used this formula: Present Value = P * [1 - (1+r)^-n]...
-
How can the prosecution establish the corpus delicti in a murder case when the body of the victim cannot be found?
-
Is it legitimate for a jury to find a defendant guilty of manslaughter in a case where there is evidence of premeditation simply because members of the jury feel that the defendant was somewhat...
-
What elements, in addition to those required for assault or battery, must the prosecution prove to convict a defendant of aggravated assault or battery?
-
John and Jane were running a student loan scam. They were convicted of soliciting several students to make false applications in exchange for a cut of the loan proceeds and also for aiding and...
-
A state statute makes it a criminal offense for three or more persons to conduct, direct, or own a gambling business. Several defendants were convicted of conspiring to violate the statute. In...
-
The following information comes from Chihuahua Company's accounting records at a sales level of 20,000 units. Variable cost per unit $80 Fixed cost per unit $1 If the contribution margin ratio is...
-
Evaluate the integral, if it exists. Jo y(y + 1) dy
-
This exercise explores how exception handling affects pipeline design. The first three problems in this exercise refer to the following two instructions: Instruction 1...................Instruction 2...
-
Translate the following C code to MIPS assembly code. Use a minimum number of instructions. Assume that the values of a, b, i, and j are in registers $s0, $s1, $t0, and $t1, respectively. Also,...
-
The results of the SPEC CPU 2006 bzip2 benchmark running on an AMD Barcelona has an instruction count of 2.389E12, an execution time of 750 s, and a reference time of 9650 s. 1. Find the CPI if the...
-
Discuss each of the theoretical change models introduced in this chapter. How can we use them when planning an HRIS implementation to increase our chances of success?
-
The Grant Corporation is a financial services firm based in Chicago, Illinois. Its revenue exceeded \($1\) billion last year, producing a net income of \($530\) million. It has just over 1,000...
-
Analyze the main reasons for HRIS implementation failure. How can we prevent these from affecting us?
Study smarter with the SolutionInn App