Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Let the page fault service time be 10ms in a ... Start Learning for Free
Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?
  • a)
    21ns
  • b)
    30ns
  • c)
    23ns
  • d)
    35ns
Correct answer is option 'B'. Can you explain this answer?
Most Upvoted Answer
Let the page fault service time be 10ms in a computer with average mem...
Let P be the page fault rate
Effective Memory Access Time
= p * (page fault service time) + (1 - p) * (Memory access time)
= ( 1/(10^6) )* 10 * (10^6) ns +(1 - 1/(10^6)) *  20 ns
= 30 ns (approx)   
Free Test
Community Answer
Let the page fault service time be 10ms in a computer with average mem...
Calculation:

Let us assume the following:
Memory access time = 20ns
Page fault service time = 10ms
Probability of a page fault = 1/10^6

Effective Access Time = (1 - p) x Memory access time + p x Page fault service time

Where p is the probability of a page fault.

Now, substituting the values in the above formula, we get:

Effective Access Time = (1 - 1/10^6) x 20ns + (1/10^6) x 10ms
= 0.999999 x 20ns + 0.000001 x 10ms
= 20.000018ns

Therefore, the effective access time for the memory is 30ns (approximately).

Explanation:

Page fault occurs when the requested page is not present in the main memory and needs to be fetched from the secondary memory. Page fault service time is the time taken to service a page fault, i.e., the time taken to fetch the requested page from the secondary memory and load it into the main memory.

In this question, we are given the memory access time, page fault service time, and the probability of a page fault. Using these values, we can calculate the effective access time for the memory.

The effective access time is the average time taken to access a memory location, taking into account the possibility of a page fault. It is calculated as a weighted average of the memory access time and the page fault service time, where the weights are the probabilities of a page hit and a page fault, respectively.

In this case, the probability of a page fault is 1/10^6, as given in the question. Therefore, the effective access time is dominated by the memory access time, and the impact of the page fault service time is negligible. This is why the effective access time is only slightly higher than the memory access time, i.e., 30ns (approximately).
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer?
Question Description
Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 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 Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer?.
Solutions for Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. 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 Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer?, a detailed solution for Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer? has been provided alongside types of Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10^6 memory accesses, what is the effective access time for the memory?a)21nsb)30nsc)23nsd)35nsCorrect answer is option 'B'. 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