subject

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?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
You know the right answer?
A computer has a two-level cache for which 80% of the memory references are L1 hits, 15% are L2 hits...
Questions
question
Social Studies, 31.01.2020 03:58
Questions on the website: 13722362