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

  Decision to maintain the website in-house or outsource it

You also have financial consideration to take into account. If hosting is outsourced, the cost is fixed. Write down the advantage of keeping it in house?

  Advantages and disadvantages of grassroots computing

Discuss how grassroots computing changes the way software is designed, developed, tested, and maintained in a typical organization. What are the advantages and disadvantages of grassroots computing?

  How can you quickly investigate and collect digital evidence

Prepaid cell phones make forensic investigation much hard. Discuss how can you quickly investigate and collect digital evidence for a crime what involves a phone call.

  Analyze use of databases in business environment

Create the 2-3 page memorandum analyzing use of databases in the business environment. Include what database applications must be used: Microsoft Access, IBM DB2, Oracle, etc.

  Explain data by state of computer-s electrical switches

Differentiate between computer data represented by the state of computer's electrical switches and meaningful information which is displayed to user.

  Research various types of hard drives available from online

Research the various types of hard drives available from online and/or local retail computer stores.Make a chart of several different brands or models of 1 TB desktop hard drives.

  Explain kind of system real-time statistics

Permits customers to see real-time statistics like views and click-throughs about their current banner ads. Which kind of system will most efficiently give a solution.

  Java program to input values into array

Write a Java program to input the following values into an array named prices: 10.95, 16.32, 12.15, 8.22, 15.98, 26.22, 13.54, 6.45, 17.59.

  Describing how prolog executes command

Describe how Prolog executes command (query) and goal matching process.

  Explain classic five-stage risc integer pipeline

Assume that the initial value of R3 is R2 + 496. Use the classic five-stage RISC integer pipeline and assume all memory accesses take 1 clock cycle.

  Explaining organization management responsibilities

Describe in scholarly detail common organization management responsibilities.

  Create application to declares array of ten houseplant

Design an application that declares an array of 10 HousePlants. Prompt the user for data for each of the HousePlants, then display all values.

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