1. A computer has an associative cache with a block size of 16 bytes per block....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. A computer has an associative cache with a block size of 16 bytes per block. An integer is a 4-byte number. In this case, how does the data alignment of integers affect the performance of memory access? This question carries 4 points. 2. An associative mapping cache with 4 blocks and uses the LRU replacement algorithm. The cache is assumed to be initially empty. What is the value of the counters after the following sequence of cache hits(H)/misses (M)? M, M, M, H#O, M, H#1, H#1, H#3, M, H#2, M, M Where H#/means cache hit for block #i Block #Counter #0 #1 #2 #3 3. A computer system uses 16-bit memory addresses. It has a 1K-word cache organized in an associative cache manner and is divided into 16 blocks. Find the following: A. The number of bits in each of the Tag field is bits B. The number of bits in each of the Word field is bits This question carries 4 points. This question carries 4 points. 4. A computer system uses 16-bit memory addresses and a cache divided into 4 sets, each set contains 2 blocks, and each block contains 16 words. Supposed the cache is initially empty, for the following memory accesses sequence for the words with the following addresses (listed in the order that the contents are accessed), indicate whether it results in cache block replacement (an existing block is replaced by a new block) or not. If a block is initially empty, then bring in the new block is not a replacement. For the following, select 'yes' if there is a replacement, and 'no' otherwise. ✓ 0x0120 Ox0228 0x0320 ✓ 0x0334 0x0838 0x0878 0x0824 1. A computer has an associative cache with a block size of 16 bytes per block. An integer is a 4-byte number. In this case, how does the data alignment of integers affect the performance of memory access? This question carries 4 points. 2. An associative mapping cache with 4 blocks and uses the LRU replacement algorithm. The cache is assumed to be initially empty. What is the value of the counters after the following sequence of cache hits(H)/misses (M)? M, M, M, H#O, M, H#1, H#1, H#3, M, H#2, M, M Where H#/means cache hit for block #i Block #Counter #0 #1 #2 #3 3. A computer system uses 16-bit memory addresses. It has a 1K-word cache organized in an associative cache manner and is divided into 16 blocks. Find the following: A. The number of bits in each of the Tag field is bits B. The number of bits in each of the Word field is bits This question carries 4 points. This question carries 4 points. 4. A computer system uses 16-bit memory addresses and a cache divided into 4 sets, each set contains 2 blocks, and each block contains 16 words. Supposed the cache is initially empty, for the following memory accesses sequence for the words with the following addresses (listed in the order that the contents are accessed), indicate whether it results in cache block replacement (an existing block is replaced by a new block) or not. If a block is initially empty, then bring in the new block is not a replacement. For the following, select 'yes' if there is a replacement, and 'no' otherwise. ✓ 0x0120 Ox0228 0x0320 ✓ 0x0334 0x0838 0x0878 0x0824
Expert Answer:
Answer rating: 100% (QA)
Answer 1 Since a cache block is 16 bytes the offset of a block or word is 4 bits Fully associative 16 kb cache so the line offset should be Cache sizeblock size ... View the full answer
Related Book For
Elementary Surveying An Introduction to Geomatics
ISBN: 978-0273751441
13th Edition
Authors: Charles D. Ghilani, Paul R. Wolf
Posted Date:
Students also viewed these computer engineering questions
-
Search the internet and determine what happened to these individuals? a. Robert Pfaff (KPMG) b. Adrain Dicker (BDO Seidman)
-
Search the Internet and try to find the earliest use of the phrase big data. Describe why the term has come to be used.
-
Search the Internet and define a VLBI station. Discuss why these stations are important to the surveying community.
-
The property is located at the intersection of two heavily traveled major arteries. It is a new, glass-walled, five-story office building containing 50,000 total square feet-40,000 of which is...
-
A set E in a metric space is called clopen if it is both open and closed. a) Prove that every metric space has at least two clopen sets. b) Prove that a metric space is connected if and only if it...
-
Exactly 205 girls. Assume that 400 births are randomly selected. Use subjective judgment to determine whether the given outcome is unlikely, and also determine whether it is unusual in the sense that...
-
Northern Group, Inc., is a Wisconsin corporation that contracts with manufacturers and suppliers to develop marketing strategies and promotions to third-party retailers. In exchange for these...
-
The comparative balance sheet of Lankau Enterprises Inc. at December 31, 2014 and 2013 is as follows: Additional data obtained from the income statement and from an examination of the accounts in the...
-
Please answer the following question referring to an Oracle Database. What is the process of name resolution? Describe the four methods of name resolution available (and the required configuration...
-
Imagine that you are a manager in a commercial printing company, and you have found a good deal on the ink that your company uses most frequently from a supplier in Japan. Using the materials from...
-
The following accounts and corresponding balances were drawn from Jogger Company's Year 2 and Year 1 year-end balance sheets: Account Title Accounts receivable Prepaid rent Utilities payable Other...
-
Consider this scatter plot of the average inflation-adjusted U.S. domestic airfare price from the fourth quarter of every year from 1995 to 2014. Scatter plot of the average inflation-adjusted U.S....
-
I understand that you propose YMCA should offer additional perks to attract new customers. My question is, how do we know that current customers sway away from YMCA because of unattractive perks?Is...
-
1.Why do neoliberals argue in support of an unregulated market, and why do they think of the subject in terms of homo economics? What do you see as the central problem with the neoliberal conception...
-
Due to a crash of the stock market, a lot of early retirees now do not have sufficient savings for their retirement. As some of these retirees decide to re-enter the labour market and start looking...
-
Based on the content posted by Burton on Instagram and Facebook what contents are posted by consumers ? What are the key issues found ? What do you suggest the brand do to connect better with its...
-
ADL company produces a single component with variable and fixed production costs of $7 and $3. The product currently sells for $12 per unit. The company is currently operating at 50% of its 10,000...
-
How does Kant answer Humes bundle theory of self? Do you think he is successful?
-
Reciprocal leveling gives the following readings in meters from a set up near A: on A, 2.558; on B, 1.883, 1.886, and 1.885. At the setup near B: on B, 1.555; on A, 2.228, 2.226, and 2.229. The...
-
What are the advantages of adjusting observations by the method of least squares?
-
If station A has SPCS83 state plane coordinates E = 634,728.082 m and N = 384,245.908 m, balance the departures and latitudes computed in Problem 20.30 using the compass rule, and determine SPCS83...
-
1. The United States has a comparatively large but declining number of banks. a. The large number of banks in the United States is explained by restrictions on branching, both within and across state...
-
Nondepository institutions are playing an increasingly important role in the financial system. Five types of financial intermediary may be classified as nondepository institutions. a. Insurance...
-
List and explain the six parts of the financial system.
Study smarter with the SolutionInn App