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.

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

Lo6 Identify several management development methods.

Answered: 1 week ago

Question

LO4 List options for development needs analyses.

Answered: 1 week ago