To solve this problem, we need to determine how many distinct virtual addresses can be translated without any TLB miss, given the provided parameters of virtual and physical address lengths, page size, word size, and the number of entries in the TLB.
First, calculate the number of pages and the size of each page:
Determine the number of distinct virtual pages that can be translated using the TLB:
Calculate the total virtual address space that can be mapped by the TLB:
Convert 1 MB into the given options' format:
The correct answer is therefore \(8 \times 2^{20}\).
Consider the following table of arrival and burst time in ms for three processes P0, P1, and P2.
The preemptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?