Recent questions tagged paging

3 3 votes
1 1 answer
239
239 views
A system uses:$4$ KB pages A $4$-entry fully associative TLB LRU replacement $$ \textbf{Initial TLB:} $$$$\begin{array}{|c|c|c|c|}\hline\text{Valid} & \text{VPN} & \text{...
2 2 votes
2 2 answers
132
132 views
Assume a task is divided into $8$ equal-sized segments, and page tables have $4$ entries.Thus, the system has a combination of segmentation and paging.Assume also that th...
2 2 votes
1 1 answer
114
114 views
Consider a three-level page table on a system where:Page size $=256$ bytesPage-table entry size $=2$ bytesFirst-level page tables contain $16$ entriesSecond-level page ta...
0 0 votes
1 1 answer
92
92 views
Consider a virtual memory system that uses 2-level paging.The page size is: $256=2^8$ bytesEach individual page table fits exactly into one memory frame, and the size of ...
0 0 votes
1 1 answer
96
96 views
A byte-addressable machine implements virtual memory with a $4$ MB virtual address space using a three-level page-table system.All page tables live in physical address sp...
1 1 vote
1 1 answer
90
90 views
The following table shows some parameters of a virtual memory system:$$\begin{array}{|c|c|} \hline\text{Parameter} & \text{Value} \\\hline\text{Virtual Address} & 42\ \te...
2 2 votes
2 2 answers
147
147 views
Consider a system with:Two-level page tables$42$-bit virtual addresses$40$-bit physical addresses $8$-byte page-table entries $64$ KB pages $64$ KB page tables at each le...
0 0 votes
1 1 answer
92
92 views
Let us assume there is a two-level page table in your system.The virtual address is split as:$\texttt{<vpn part1, vpn part2, page offset>}$Which of the following statemen...
2 2 votes
1 1 answer
95
95 views
Consider a system using a two-level page table. Assume the required page is present in physical memory.How many main-memory accesses are required for a virtual-address ac...
1 1 vote
1 1 answer
97
97 views
The following virtual-to-physical address translations are observed for a process. All addresses are $32$ bits long.\[\begin{array}{c|c}\text{Virtual address} & \text{Phy...
4 4 votes
1 1 answer
186
186 views
Which of the following statements about multi-level page tables are correct?A multi-level page table may consume more pages than a linear page table for some address-spac...
4 4 votes
1 1 answer
152
152 views
A processor experiences a TLB miss while translating an address using a two-level page table.What is the number of main-memory accesses required only for the page-table l...
5 5 votes
1 1 answer
156
156 views
A system has:$15$-bit virtual addresses Page size $=32$ bytes A two-level page table One-byte PDEs and PTEs Entry format: one valid bit followed by a $7$-bit physical-fra...
2 2 votes
1 1 answer
128
128 views
Which statement correctly describes the purpose of the valid bit in a page-table entry?It indicates whether the page has been modified. An invalid-bit access causes the p...
2 2 votes
1 1 answer
135
135 views
Consider the following page table:$$\begin{array}{|c|c|}\hline\text{Virtual page} & \text{Frame} \\\hline0 & 3 \\\hline1 & 10 \\\hline2 & 9 \\\hline3 & 2 \\\hline4 & 0 \\...
4 4 votes
1 1 answer
146
146 views
A system uses paging to implement virtual memory and uses a simple linear page table.The system has:Virtual-address space $=1\text{ GB}=2^{30}$ bytes Page size $=1\text{ ...
2 2 votes
1 1 answer
110
110 views
Consider a single-level paging system with:$12$-bit virtual addresses $24$-bit physical addresses Page size $=256=2^8$ bytes What is the maximum number of entries in the ...
3 3 votes
1 1 answer
100
100 views
Consider a virtual-memory system that uses paging.$\text{Virtual address length } = 32 \text{ bits}$ $\text{Physical address length } = 32 \text{ bits}$ $\text{Page size ...
1 1 vote
1 1 answer
111
111 views
Consider the following page table. All numbers are expressed in base $10$.$$\begin{array}{|c|c|}\hline\text{Virtual page} & \text{Frame} \\\hline0 & 3 \\\hline1 & 10 \\\h...
14 14 votes
6 6 answers
2.7k
2.7k views
A system has a Translation Lookaside Buffer (TLB) that has a reach of $1$ MB. TLB reach is defined as the total amount of physical memory that can be accessed through the...
0 0 votes
1 answers 1 answer
1.0k
1.0k views
A three-level hierarchical page table is used for a system with a 44-bit virtual address divided as follows:Field Bits1st-level index VA[43:33] (11 bits...
0 0 votes
0 0 answers
297
297 views
Consider a multilevel paging scheme where the page tables are not page aligned, suppose there are 3 levels annd if from L1 to address L2 page table we need 25 bits, then ...
1 1 vote
0 0 answers
338
338 views
In a 32-bit machine we subdivide the virtual address into 4 pieces as follows:8-bit 4-bit 8-bit 12-bitWe use a 3-level page table, such that the first 8 bits are...
1 1 vote
0 0 answers
393
393 views
why are they assuming 1 Byte extra ? If suppose options are given as 3MB , 4MB and its a mcq ques then ? @Sachin Mittal 1 @Deepak Poonia @goku4199 @ASUR Ref: https://ww...