Recent questions tagged demand-paging

3 3 votes
1 1 answer
90
90 views
A demand-paging system has $3$ physical page frames.Consider the reference string:$\text{A, B, C, D, B, A, B, A, D, C}$Starting with empty memory, determine the total num...
1 1 vote
1 1 answer
76
76 views
Suppose a $32K \times 8K$ matrix $A$ with $1$-byte elements is stored in row-major order in virtual memory.Assume:Only this program occupies physical memory. The matrix b...
2 2 votes
2 2 answers
114
114 views
An operating system can use page tables and exceptions to perform allocation on demand, where it does not allocate physical memory for a program until the program tries t...
25 25 votes
4 4 answers
8.0k
8.0k views
​Consider a demand paging system with three frames, and the following page reference string: 1 2 3 4 5 4 1 6 4 5 1 3 2 . The contents of the frames are as follows initial...
14 14 votes
3 3 answers
12.1k
12.1k views
Consider a demand paging memory management system with $32$-bit logical address, $20$-bit physical address, and page size of $2048$ bytes. Assuming that the memory is byt...
1 1 vote
0 0 answers
542
542 views
For a certain page trace starting with no page in the memory, a demand-paged memory system operated under the LRU replacement policy results in 9 and 11 page faults when ...
0 0 votes
1 1 answer
579
579 views
Consider a demand-paging system with a paging disk that has an average access and transfer time of 20 milliseconds. Addresses are translated through a page table in main ...
0 0 votes
1 1 answer
1.5k
1.5k views
On a system using demand paging, it takes 200 ns to satisfy a memory request if the page is in memory. If the page is not in memory, the request takes 7 ms if a free fram...
0 0 votes
1 1 answer
1.2k
1.2k views
On a system using demand - paged memory, it takes 120 ns to satisfy a memory request if the page is in memory. If the page is not in memory, the request takes 5 ms. What ...
27 27 votes
4 answers 4 answers
18.1k
18.1k views
Consider a demand paging system with four page frames (initially empty) and $\text{LRU}$ page replacement policy. For the following page reference string$$7, 2, 7, 3, 2, ...
0 0 votes
1 1 answer
895
895 views
Given a byte addressable system which implements demand paging, a TLB has 64 entries and the frame size is 4KB. The LAS is 4MB. TLB has a hit ratio of 90% and has an acce...
2 2 votes
2 2 answers
2.3k
2.3k views
The address sequence generated by tracing a particular program executing in a pure demand paging system with $100$ records per page, with $1$ free main memory frame is re...
0 0 votes
1 1 answer
2.5k
2.5k views
The address sequence generated by tracing a particular program executing in a pure demand paging system with $100$ records per page, with $1$ free main memory frame is re...
0 0 votes
0 0 answers
732
732 views
Shouldnt we take 1 instead of 1-P ?? As it should be sequential access???
0 0 votes
0 0 answers
486
486 views
In a swapping system with variable partitions, segments have probability -s/10 distribution ( e / 10) where s is the segment size in kilobytes. Holes -h/5 have probabilit...
2 2 votes
4 4 answers
2.2k
2.2k views
Consider the following extract from a program, written in a C-like language, that computes the transpose of a matrix.for (i=0; i<N; i++) for (j=0; j<N; j++) B[i,j]=A[i,j]...