Why page sizes always powers of 2, Operating System

Q. Why page sizes always powers of 2?

Answer: Recall that paging is executed by breaking up an address into a page and offset number. It is most competent to break the address into X page bits and Y offset bits rather than perform arithmetic on the address to compute the page number and offset. For the reason that each bit position represents a power of 2 splitting an address between bits results in a page size that is a power of 2.

Posted Date: 7/27/2013 5:10:14 AM | Location : United States







Related Discussions:- Why page sizes always powers of 2, Assignment Help, Ask Question on Why page sizes always powers of 2, Get Answer, Expert's Help, Why page sizes always powers of 2 Discussions

Write discussion on Why page sizes always powers of 2
Your posts are moderated
Related Questions
What are race conditions? Race conditions are problems that take place due to the sharing of the same file by several processes. In such a case none of the processes is able to

Partitions and mounting A disk can be sliced into many partitions, or a partition can span multiple disks. Every partition can be either "raw", having no file system, or "cooke


Utility Programs: those programs which are not the essential part of operating system. But they provide different utilities / features to the users e.g. MS-DOS : Fdisk, FORMAT, AT

Q. Capability lists are typically kept within the address space of the user. How does the system make sure that the user cannot modify the contents of the list? Answer: An ap

Explain bounded buffer and unbounded buffer. Here in a producer-consumer problem the producer process produces information that is consumed by a consumer process. At this time

Question: a) The following questions pertain to User and Group accounts in Windows XP: i) Give four differences between a Power User and a Guest User account. ii) Explain h

Question : a) Describe the difference between the authentication of a user account on a peer to peer network and a client server network. b) Compare an end user account with

Internal file structure All disk I/O is performed in units of single block, and all blocks are the similar size. It is unlikely that the physical record size will exactly match

The dynamic memory allocator is a layer between the application and the OS, managing heap objects. When a program requests memory from the allocator (via malloc(), for instance), t