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
1. A digitized voice channel is made by digitizing a 7 KHz bandwidth analog signal. The signal is to be sampled twice the highest frequency (two samples per hertz) . Assume each sa

Recall that condition variables are synchronization primitives that enable threads to wait until a particular condition occurs. Generalizing, the combination of locks and condit

discuss unsafe state in operating system

Explain the Alphabet and String A finite set of symbols is known as alphabet. An alphabet is frequently denoted by sigma, yet can be given any name. B = {0, 1} says B is an

Write in brief on UNIX file structure. UNIX considers every file to be a sequence of 8-bit bytes no interpretation of these bits is made by the operating system. This system pr

Garbage collectors trade space for time. If we collect all the time (which requires a lot of processing time), the GC allocator will use the least memory possible. On the other han

___paging fecthces a page only when needed

. A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions, it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper

State the advantage of multiprocessor system? The advantages of multiprocessor system are:- a)      Enhanced throughput. b)      Economy of scale. c)       Enhanced re

Difference between threads and processes 1. Thread is flow of implementation. Process is group of instruction which is alike to that of a program except which may be stopped an