Consider the execution of the following program segment on an 88 array A. for i:= 0...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the execution of the following program segment on an 8×8 array A. for i:= 0 to 7 do sum := 0 forj:= 0 to 7 do sum := sum + a(ij) end for ave(i):= sum/8 end for Assume that the main memory is divided into eight interleaved memory blocks and that each cache memory block consists of eight elements. Assume also that the cache memory access time is 10 ns and that the memory access time is ten times the cache memory access time. Compute the average access time per element of the array A. Consider the execution of the following program segment on an 8×8 array A. for i:= 0 to 7 do sum := 0 forj:= 0 to 7 do sum := sum + a(ij) end for ave(i):= sum/8 end for Assume that the main memory is divided into eight interleaved memory blocks and that each cache memory block consists of eight elements. Assume also that the cache memory access time is 10 ns and that the memory access time is ten times the cache memory access time. Compute the average access time per element of the array A.
Expert Answer:
Answer rating: 100% (QA)
To compute the average access time per element of the array A we need to consider the cache and main memory access times and how they interact with th... View the full answer
Related Book For
Computer organization and architecture designing for performance
ISBN: 978-0136073734
8th edition
Authors: william stallings
Posted Date:
Students also viewed these operating system questions
-
(1) The case of the prosecution on the charge of murder of 'A' is that on the day of the incident the accused had threatened that he would kill 'A' and after that he would also kill himself. Is this...
-
Consider a cache of 4 lines of 16 bytes each. Main memory is divided into blocks of 16 bytes each. That is, block 0 has bytes with addresses 0 through 15, and so on. Now consider a program that...
-
The performance of a snooping cache-coherent multiprocessor depends on many detailed implementation issues that determine how quickly a cache responds with data in an exclusive or M state block. In...
-
Split the number 750 into two numbers x and y so that the sum of 8% of the first number and 24% of the second number is 11.2% of the sum of x and y.
-
A flow calorimeter is an apparatus used to measure the specific heat of a liquid. The technique of flow calorimetry involves measuring the temperature difference between the input and output points...
-
Turner Inc. provides a defined benefit pension plan to its employees. The company has 150 employees. The remaining amortization period at December 31, 2016, for prior service cost is 5 years. The...
-
The following stream at \(100^{\circ} \mathrm{F}\) and 250 psia is to be separated into the four indicated products. Also, given is the cost of each of the unique separators. Determine: (a) The best...
-
Arts Corporation offers a generous employee compensation package that includes employee stock options. The exercise price has always been equal to the market price of the stock at the date of grant....
-
Suppose Peter retires at age 60 with $1,000,000 in pension. How much will he and his beneficiaries receive if he requests 3 equal periodic payments with the first one to be received at age 60 and the...
-
Suppose you are assessing the merits of multiple designs of pillows based on durability, shape, and comfort. Use the table below to answer the following questions. You should set up and solve this...
-
Yvonne will be graduating in December with a degree in el- ementary education. Thanks to her hard work, she already has a third-grade teaching job lined up after she graduates. It will be the first...
-
Assume that you were tasked with conducting financial ratio analysis for your employer. Explain the importance of financial analysis. Identified five critical ratios and share their significance in...
-
Describe two ways that a strong USD will impact American companies and explain the reasons for each. Also, describe two ways that a weak USD will impact American companies and explain the reasons for...
-
Exercise 3 CollegeCalculator In small groups brainstorm all the expenses involved in attending a college or university (rent, tuti- tion, books, etc) and possible offset costs (scholarships, etc)....
-
The goal of maneuver warfare is to: Generate and exploit an advantage over the enemy Support indirect fires with mobile direct fires to gain tactical advantage. Transport warfighting assets to their...
-
The sun is made up of very hot gases which want to expand and escape. Why does the sun at present not expand enormously?
-
A peritectic reaction involves which of the following combinations of phase fields? One liquid and one solid One liquid and two solid Two liquids and one solid Three solid
-
For the following arrangements, discuss whether they are 'in substance' lease transactions, and thus fall under the ambit of IAS 17.
-
A microprocessor has a memory write timing as shown in Figure 3.19. Its manufacturer specifies that the width of the Write signal can be determined by T - 50, where T is the clock period in ns. a....
-
Consider the results of Problem 10.6. Assume that M is a 16-bit memory address and that X, Y, and Z are either 16-bit addresses or 4-bit register numbers. The one-address machine uses an accumulator,...
-
In IBM's mainframe operating system, OS/390, one of the major modules in the kernel is the System Resource Manager (SRM). This module is responsible for the allocation of resources among address...
-
What did the temperance reformers see as the cause of wife abuse? How did they propose to solve the problem?
-
What kinds of qualifications might a statute place on someone who is in a dating relationship? What problems might these qualifications pose?
-
In brief, what is a civil order of protection?
Study smarter with the SolutionInn App