Consider a memory hierarchy consisting of a 128 byte cache and 1kB (i.e., 1024 byte) main...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a memory hierarchy consisting of a 128 byte cache and 1kB (i.e., 1024 byte) main memory. Block size is 32 bytes. Define blocks in main memory as MO, M1, M2, .. and blocks in the cache as Co, C1, C2, .. a) How many blocks are in the cache? How many blocks are in main memory? b) If the cache is direct mapped, what cache blocks can M5 be placed into? c) If the cache is 2-way set associative, what cache blocks can M5 be placed into? d) Assume that the cache hit time is 1ns and the miss penalty is 5ns. What is the average memory access time for a program with 5% miss rate? Consider a memory hierarchy consisting of a 128 byte cache and 1kB (i.e., 1024 byte) main memory. Block size is 32 bytes. Define blocks in main memory as MO, M1, M2, .. and blocks in the cache as Co, C1, C2, .. a) How many blocks are in the cache? How many blocks are in main memory? b) If the cache is direct mapped, what cache blocks can M5 be placed into? c) If the cache is 2-way set associative, what cache blocks can M5 be placed into? d) Assume that the cache hit time is 1ns and the miss penalty is 5ns. What is the average memory access time for a program with 5% miss rate?
Expert Answer:
Related Book For
Posted Date:
Students also viewed these computer network questions
-
A processor accesses main memory with an average access time of T2. A smaller cache memory is interposed between the processor and main memory. The cache has a significantly faster access time of T1...
-
A cache memory has 2ns access time with 450ns per miss. If 5000 memory access has 0.75 hit rate, what will be total memory access time in millisecond unit (write exact value - no unit)?
-
Consider a computer system that has cache memory, main memory (RAM) and disk, and an operating system that uses virtual memory. It takes 1 nsec to access a word from the cache, 10 nsec to access a...
-
Suppose in a given area there are three power plants, each of which emits SO 2 with different intensities. The abatement cost functions for each firm j are: (a) Set up the conditions for the socially...
-
In the population used in Example 2.5, 19 of the 3078 counties in the population are missing the value of acres 92. What is the probability that an SRS of size 300 would have no missing data for that...
-
Dr. Jack is in charge of the Springfield Hospital's Blood Center. Blood is collected in the regional Blood Center 200 miles away and delivered to Springfield by airplane. Dr. Jack reviews blood...
-
How does make determine whether a target needs to be rebuilt?
-
Outdoor Life manufactures snowboards. Its cost of making 2,000 bindings is as follows: Suppose Lancaster will sell bindings to Outdoor Life for $14 each. Outdoor Life would pay $3 per unit to...
-
As an International Business Strategist advise on how Porter's Diamond is a useful concept in explaining home and host location strategies in International Business? Your answer should make reference...
-
As the accountant for Veneskey & Sons, you have been hired to prepare the payroll and everything that goes along with it for OlFashion Industries which has 4 employees. Their necessary payroll...
-
Exercise A product is sourced from three suppliers by using one truck to pick up Demand is 1000 units/year for each supplier Truck cost is 700 baht and additional transportation cost to pick up...
-
Think of a particular segment of the mass audience that could be served by a magazine but doesn't seem to be, and write the cover magazine for that audience. In a short paragraph, describe the...
-
1. What is NOT a constraint of embedded systems? A. have limited signal range B. difficult or impossible to patch C. usually no MFA D. most users know about their vulnerabilities 2....
-
Initial investment is 2550000.00, fcf is 750000.00 what is the present value for year one if the interest is 7%?
-
What audit standards and PSAK were violated regarding the Sunprima Nusantara Pembinaan (SNP Finance) case?
-
3. Consider a fully associative TLB with a capacity of 16 virtual-to-physical page translations. Assuming that the physical memory has a capacity of 32K pages, each 2KB in size, answer the following:...
-
In "what leaders need to know about organizational culture", D.D. Warrick discussed a common debate among organizational culture theorist. The debate is whether culture shapes practices or if...
-
Suppose you are comparing just two means. Among the possible statistics you could use is the difference in means, the MAD, or the max min (the difference between the largest mean and the smallest...
-
Not having the computer echo the password is safer than having it echo an asterisk for each character typed, since the latter discloses the password length to anyone nearby who can see the screen....
-
In the preceding question, which resources are preemptable and which are nonpreemptable?
-
Assume that you are trying to download a large 2-GB file from the Internet. The file is available from a set of mirror servers, each of which can deliver a subset of the file's bytes; assume that a...
-
In the past five years, there have been significant innovations in technology such as smartphones and tablets. Technology companies rely on intellectual property (IP) rights, such as patents,...
-
Respondents Varsity Brands, Inc., Varsity Spirit Corporation, and Varsity Spirit Fashions & Supplies, Inc., design, make, and sell cheerleading uniforms. Respondents have obtained or acquired more...
-
Mr. Tam is the front man for the Asian American dance-rock band The Slants. Mr. Tam named his band The Slants to reclaim and take ownership of Asian stereotypes. The band draws inspiration for its...
Study smarter with the SolutionInn App