Find minimum associativity needed of level cache

Assignment Help Basic Computer Science
Reference no: EM1371809

The transpose of a matrix interchanges its rows and columns and is illustrated on bottom of Page 345.

Here is a simple C loop to show the transpose:
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
output[j][i] = input[i][j];
}
}

Assume both the input and output matrices are stored in the row major order (row major order means row index changes fastest). Assume you are executing a 256 x 256 double-precision transpose on a processor with a 16 KB fully associative (so you don't have to worry about cache conflicts) LRU replacement level 1 data cache with 64-byte blocks. Assume level 1 cache misses or prefetches require 16 cycles, always hit in the level 2 cache, and the level 2 cache can process a request every 2 processor cycles. Assume each iteration of the inner loop above requires 4 cycles if the data is present in the level 1 cache. Assume the cache has a write-allocate fetch-on-write policy for write misses. Unrealistically assume writing back dirty cache blocks requires 0 cycles.

3. or the simple implementation given above, this execution order would be non-ideal for the input matrix. However, applying a loop interchange optimization would create a non-ideal order for output matrix. Because loop interchange is not sufficient to improve its performance, it must be blocked instead.

b. What is the minimum associativity required of the level 1 cache for consistent performance independent of both arrays' position in memory?

Reference no: EM1371809

Questions Cloud

Difference between symmetric and public key system : What is the most important difference between a symmetric key system and a public key system and in what way does a hash function provide a better message integrity check than a checksum
Write down steps to browse site ausing same url : Employees will open their Web browser and enter personnel.mycompany.com in URL address box to browse this Web site. Write down steps which you take so that each computer in company can browse site using this URL?
Analyzing current pricing decisions : Price comparison services on the Internet are a popular way for retailers to promote their products and a convenient way for customers to simultaneously obtain price quotes from many firms setting I identical product.
Relationship between production and cost : Discuss the relationship existing between production and cost. What is the MC function of the above TC function?
Find minimum associativity needed of level cache : Determine the minimum associativity needed of the level 1 cache for consistent performance independent of both arrays' position in memory?
Determine strategies for new product : Coca-Cola and PepsiCo are leading competitors in market for cola products. In 1960 Coca-Cola introduced Sprite, which today is the worldwide leader in lemon lime soft drink market and ranks fourth among all soft drinks worldwide.
Automotive industry history-swott analysis : Brief history of the automotive industry, an automotive industry overview, and a SWOTT (Strengths, Weaknesses, Opportunities, Threats, and Trends) analysis of the automotive industry.
Describe the global economic environment that impacts us : Describe the global economic environment that impacts U.S. business and Use technology and information resources to research issues in business.
Calculating units of output : Ann McCutcheon is  employed  as a consultant to a company producing ball bearings. This company sells in two distinct markets, each of which is completely sealed off from the other.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd