Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The base CPI of a computer is 1 , which includes the TLB and cache access time. The clock rate is 2 GHz . The

The base CPI of a computer is 1, which includes the TLB and cache access time. The clock rate is 2GHz. The TLB miss rate is 3% and the cache miss rate is 3%. The main memory access time is 45 nanoseconds. In addition, the page fault rate is 0.6%. The hard drive transfer rate is 200 MB/s, and the hard drive overhead (including all the latency other than transfer time) is 0.018 milliseconds. The page size is 4096 bytes and the sector size is 512 bytes. The probability that all the sectors are contiguous is 0.4. A cache block to be replaced is dirty with 0.03 probability, and a page to be replaced is dirty with 0.05 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 read/write the page from/to the hard drive?
Assume a page is stored on random sectors, what is the average number of cycles to read/write the page from/to the hard drive?
What is the average number of cycles to read/write a page from/to 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.
These should be your answers:
0.94090,1.0,0.02910,93.7,3.8,0.02893,91.0,0.00089,183.7,76960.0,328960.0,228160.0,0.00018,239751.7,49.6
Can you please show calculations

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago