Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Suppose the time to service a page fault is o... Start Learning for Free
Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time of 
  • a)
    1.9999 milliseconds
  • b)
    1 millisecond
  • c)
    9.999 microseconds
  • d)
    1.9999 microseconds
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Suppose the time to service a page fault is on the average 10 millisec...
If any page request comes it will first search into page table, if present, then it will directly fetch the page from memory, thus in this case time requires will be only memory access time. But if required page will not be found, first we have to bring it out and then go for memory access. This extra time is called page fault service time. Let hit ratio be p , memory access time be t1 , and page fault service time be t2.
Hence, average memory access time = p*t1 + (1-p)*t2
=(99.99*1 + 0.01*(10*1000 + 1))/100 =1.9999 *10^-6 sec
View all questions of this test
Most Upvoted Answer
Suppose the time to service a page fault is on the average 10 millisec...
Given:
- Time to service a page fault = 10 milliseconds
- Memory access time = 1 microsecond
- Hit ratio = 99.99%

To find:
Average memory access time

Solution:
The average memory access time can be calculated by taking into account the time required for both hit and miss cases.

1. Time for a hit:
Since the hit ratio is 99.99%, the time to access memory for a hit is the memory access time, which is 1 microsecond.

2. Time for a miss:
Since the miss ratio is (1 - hit ratio), which is 0.01%, the time to service a page fault is 10 milliseconds.

3. Average memory access time:
The average memory access time can be calculated using the following formula:

Average memory access time = (hit ratio * time for a hit) + (miss ratio * time for a miss)

Substituting the given values:

Average memory access time = (0.9999 * 1 microsecond) + (0.0001 * 10 milliseconds)

Converting milliseconds to microseconds:

Average memory access time = (0.9999 * 1 microsecond) + (0.0001 * 10000 microseconds)

Calculating the values:

Average memory access time = 0.9999 microseconds + 1 microsecond

Average memory access time = 1.9999 microseconds

Hence, the correct answer is option D) 1.9999 microseconds.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer?
Question Description
Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer?.
Solutions for Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer?, a detailed solution for Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? has been provided alongside types of Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time ofa)1.9999 millisecondsb)1 millisecondc)9.999 microsecondsd)1.9999 microsecondsCorrect answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev