retagged by
1,035 views
0 votes
0 votes

A computer uses $46$-bit virtual address, $32$-bit physical address, and a three–level paged page table organization. The page table base register stores the base address of the first-level table $(T1)$, which occupies exactly one page. Each entry of $T1$ stores the base address of a page of the second-level table $(T2)$. Each entry of $T2$ stores the base address of a page of the third-level table $(T3).$ Each entry of $T3$ stores a Page Table Entry ($PTE$). The $PTE$ is $32$ bits in size. The processor used in the computer has a $1$ MB $16$ way set associative virtually indexed physically tagged cache. The cache block size is $64$ bytes.

What is the size of a page in $KB$ in this computer?

  1. $2$
  2. $4$
  3. $8$
  4. $16$
retagged by

1 Answer

2 votes
2 votes

Ans is 8 KB . 

You have to assume the page size as 2^x and hence in VA it will take x bits which will leave the rest as (46-x )

Now that indicates that Page size is 2^(46-x) * 4B ……...{ as PTE is 4B } 

But since this is not a single level page mechanism therefore we divide it further and hence second level page table 

size would be  [{ 2^(46-x) * 4 } / 2^x ] * 4B which simplifies to 2^(46-2x) * 16 B 

and another page table which is 3rd is 2^(46-3x) * 64 B which must be equal to page size which is 2^x 

Solving this : we get  4x = 52 and x =13 and hence Page Size is 8KB 

Answer:

Related questions

806
views
0 answers
0 votes
admin asked Mar 30, 2020
806 views
A computer uses $46-bit$ virtual address, $32-bit$ physical address, and a three-level paged page table organization. The page table base register stores the base ... $4$8$16$
1.1k
views
3 answers
1 votes
admin asked Mar 30, 2020
1,067 views
Which access method is used for obtaining a record from cassette tape?DirectSequentialRandom Parallel
1.3k
views
2 answers
2 votes
admin asked Mar 30, 2020
1,291 views
A CPU generates $32$-bit virtual addresses. The page size is $4$ KB. The processor has a Translation Look-aside Buffer (TLB) which can hold a total of $128$ page table ... $\text{13 bits}$\text{15 bits}$\text{20 bits}$
945
views
1 answers
0 votes
admin asked Mar 30, 2020
945 views
A disk has $200$ tracks (numbered $0$ through $199$). At a given time, it was servicing the request of reading data from track $120$, and at the previous request, service was for ... $ and $3$3$ and $3$3$ and $4$4$ and $4$