Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The base CPI of a computer is 0 . 5 , which includes the TLB and cache access time. The clock rate is 4 GHz
The base CPI of a computer is which includes the TLB and cache access time. The clock rate is GHz The TLB miss rate is and the cache miss rate is The main memory access time is nanoseconds. In addition, the page fault rate is The hard drive transfer rate is MBs and the hard drive overhead including all the latency other than transfer time is milliseconds. The page size is bytes and the sector size is bytes. The probability that all the sectors are contiguous is A cache block to be replaced is dirty with probability, and a page to be replaced is dirty with probability. Assume there is no write buffer for writing to memory or hard drive. The cache and page table are full initially.
What is the probability of having TLB hit and cache hit?
Assuming TLB hit and cache hit, what is the average CPI?
What is the probability of having TLB hit and cache miss?
Assuming TLB hit and cache miss, what is the average CPI?
Assuming TLB hit, what is the average CPI?
What is the probability of having TLB miss and cache hit?
Assuming TLB miss, cache hit, what is the average CPI?
What is the probability of having TLB miss and cache miss and no page fault?
Assuming TLB miss, cache miss, and no page fault, what is the average CPI?
Assume a page is stored on contiguous sectors what is the average number of cycles to readwrite the page fromto the hard drive?
Assume a page is stored on random sectors what is the average number of cycles to readwrite the page fromto the hard drive?
What is the average number of cycles to readwrite a page fromto the hard drive?
What is the probability of having TLB miss and page fault?
Assuming TLB miss and page fault, what is the average CPI?
What is the overall average CPI?
In the answers, round all the probabilities to the fifth decimal place. Round the average CPI to the nearest tenth. All the decimal places must be present even if they are zero. Keep more digits for intermediate results to avoid large accumulated errors. Separate the answers by commas.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started