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

  How many instructions executed in single time slice

Machine executed average of 5000 instructions per microseconds. How many instructions could be executed in a single time slice?

  Kind of information monitor check to see if it sanitize

Which kind of information should the monitor check to see if it must sanitize the data to conceal the names of the users and the names and addresses of the computers involved?

  Compare and contrast the in terms of cores/microprocessors

Compare and contrast the following, in terms of cores (or microprocessors), random access memory (RAM), disk storage, and networking capabilities.

  Find how many times will keyboard be checked in an hour

Assume the processor scans keyboard every 100 ms. How many times will keyboard be checked in the 8-hour period?

  What are techniques to use in planning presentation

You prepared and distributed a system requirements document, and you anticipate some intense questioning at the meeting. When planning your presentation, what are some techniques you will use?

  Expalining protocols essential in data communications

What is meant by protocol? Why are protocols essential in data communications?

  Determine integer to divide maximum number of partial sums

Now, given sequence, can you determine the integer M (L ≤ M ≤ U) which divides maximum number of partial sums of the sequence?

  Design application to accept reader data

Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, and 50+.

  What is primary security risk users acknowledge using macros

Write a 200- to 300-word response that answers the following question: Based on the article by Lenning (2005), what is a primary security risk that users should acknowledge when using macros?

  How analysts compute cost of information system

When the analysts compute the cost of an information system, they seldome include the cost of the employee laybor for using that system.

  Laws and regulation in telecommunications field

Do you believe we require laws and regulation in telecommunications field at all? Why or why not?

  Information assets to estimate for risk management purposes

If the organization has three information assets to estimate for risk management purposes which vulnerability must be estimated for additional controls first? Which vulnerability must be evaluated last?

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