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 is preallocation? Why do it? Allocating space for a file before making the file to allow for expansion. This reserves space for a certain file so that other files can't gr

System Service Program system service program Supports and provides the services for other program. System service program perform Varity of tasks.  They are further divided in

Buddy system of memory allocation Free memory is used to maintain in linked lists, each of similar sized blocks. Every block is of size 2^k. When some memory is needed by a th

Explain what ISAM is. Indexed sequential access method. The file is stored in sorted order. ISAM has a master index file, indicating in what part of another index file the key

LRU approximation page replacement In this we utilize the reference bit associated with the page entry to choose a page to be removed. The various algorithms used for the imp

LOOK o Like SCAN except stops moving inwards (or outwards) when no more requests in that direction exist. C-SCAN (circular scan) o Moves inwards servicing requests u

Introduction of linux


Compare 2 different operating systems.

Conservative GC can be used for languages such as C and C++, which were not explicitly designed for garbage collection. This is a non-copying technique. A conservative garbage coll