Computers and Technology

A computer has a two-level cache for which 80% of the memory references are L1 hits, 15% are L2 hits, and 5% miss the cache and require main memory access. Suppose the access times are 5, 15, and 60 nanoseconds, respectively, for L1, L2, and main memory. Call these t1, t2, and tm. Furthermore, suppose it takes equally long to determine a miss as it does to determine a hit and that an L1 miss must be incurred before attempting L2 access. Likewise, an L2 miss must be incurred before accessing main memory. Thus, it takes t1=5ns to find L1 data, t1+t2=20ns to find L2 data, and t1+tz+tm=80ns to find main memory data.

a. What is the expected access time?
b. What is the relative performance gain from having the level 2 cache?

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, richellemjordan
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
image
Computers and Technology, 22.06.2019 05:10, kellysimkin6196
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, alex7078
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, mai1261
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
Do you know the correct answer?
A computer has a two-level cache for which 80% of the memory references are L1 hits, 15% are L2 hits...

Questions in other subjects:

Konu
Mathematics, 22.04.2020 22:26
Konu
Mathematics, 22.04.2020 22:26