Question 31
MediumWhat is a process's working set?
- A.
The pages shared with other processes
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What is a process's working set?
The pages shared with other processes
The pages it has referenced in its most recent Δ references
The pages currently on disk
All the pages of its program
Sign up free to see the answer and a step-by-step explanation.
Which page-replacement algorithm can suffer from Belady's anomaly?
Every algorithm equally
LRU
Optimal
FIFO
Sign up free to see the answer and a step-by-step explanation.
Memory access takes 200 ns, a page fault takes 8 ms to service, and the page-fault rate is 0.001. What is the effective access time?
8.2 µs
200 ns
8 ms
1.8 µs
Sign up free to see the answer and a step-by-step explanation.
Which hardware bit do most LRU-approximation algorithms rely on?
The dirty bit
The protection bit
The reference (use) bit
The valid bit
Sign up free to see the answer and a step-by-step explanation.
With 3 frames, initially empty, how many page faults does FIFO cause for the reference string 1, 3, 0, 3, 5, 6, 3, 1, 0, 5?
9
7
10
8
Sign up free to see the answer and a step-by-step explanation.
With 3 frames, initially empty, how many page faults does the optimal algorithm cause for the reference string 1, 3, 0, 3, 5, 6, 3, 1, 0, 5?
6
9
7
8
Sign up free to see the answer and a step-by-step explanation.
With 3 frames, initially empty, how many page faults does LRU cause for the reference string 2, 4, 2, 1, 5, 4, 2, 3, 1, 5?
6
7
9
8
Sign up free to see the answer and a step-by-step explanation.
With 3 frames, how many more faults does FIFO cause than OPT for the reference string 2, 4, 2, 1, 5, 4, 2, 3, 1, 5?
0
2
1
3
Sign up free to see the answer and a step-by-step explanation.
For the reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5, FIFO causes 9 faults with 3 frames and 10 faults with 4 frames. What is this called?
Working-set model
Belady's anomaly
Thrashing
Locality
Sign up free to see the answer and a step-by-step explanation.
Memory access takes 100 ns and a page fault takes 10 ms to service. If the fault rate is 1 in 10,000 accesses, what is the effective access time?
About 10 μs
About 1.1 μs
About 200 ns
100 ns
Sign up free to see the answer and a step-by-step explanation.