John
John

Reputation: 3797

When will the virtual page number have more bits than the physical frame number?

I have the following question on a practice exam:

For a computer system that implements paging, under what circumstance will the VPN (virtual page number) have more bits than the PFN (physical frame number)?

I am trying to argue that:

The number of bits to represent the virtual page number and physical frame number equal are equal. Even if the system doesn't have enough memory available to fill the entire physical address space, the same number of bits will be used.

On the 80386 processor, 20 bits are used for the virtual page number and there are 20 bits are used to represent physical frame numbers.

Is there a circumstance where the VPN will have more bits than the PFN?

Upvotes: 1

Views: 1403

Answers (1)

user3344003
user3344003

Reputation: 21627

You are asking when the can the virtual address space be greater than the physical address space.

The answer is almost always these days.

Few virtual memory systems support as much physical memory as virtual memory.

Upvotes: 1

Related Questions