answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Recall that paging is implemented by breaking up an address into a page and offset number. It is most efficient to break the address into X page bits and Y offset bits, rather than perform arithmetic on the address to calculate the page number and offset. Because each bit position represents a Page_size_are_always_power_of_2of 2, splitting an address between bits results in a page size that is a power of 2.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

The page table size is in powers of two because the virtual to linear address translation hardware uses part of the virtual address (the high order part) to select an entry in the page descriptor table, and it uses the rest of the virtual address (the low order par) to select an offset within the physical page selected by that page table entry. Looking at the low order part, any address range that goes from zero to some number of all-one bits is a power of two in size.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why are page sizes in operating systems always powers of 2?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does the size of the xls file changes in different operating systems?

The answer is rather yes than no. It depends on what size the smallest block has. For instance, FAT32 and NTFS use different cluster sizes. Thus you will see difference in size for the same file in different windows file systems. But such differences are not that big.


2 operating systems on 1 hard drive?

Requires that a special program be loaded into your boot sector. Try System Partitioner. Most operating systems allow you to partition your hard drive; you do not need additional software to partition your hard drive. TIP: Make the sizes markedly different so that it is easier to recognize which drive is which. Once you have partitioned your hard drive you effectively have two hard drives (or more if you want to). You can load one operating system on one drive and the second on the other.


What is TrueType?

TrueType is a digital font technology developed by Apple and Microsoft. It allows for high-quality and scalable fonts that can be rendered on screens and printers at various sizes without losing quality. TrueType fonts are widely used in operating systems and applications for displaying text.


Why didn't krok like to go sailing with the baseball uniform designer?

She always talked about capsizesYou're welcome.P.S. Quit procrastinating with your math homework! Lol.


What closet organizers are good for kids rooms?

Closetmaid makes organizer systems in all shapes and sizes, including strong systems for prying hands.


What size batteries does Sanyo Eneloop offer?

Sanyo Eneloop offer batteries of many sizes and powers. These rechargeable batteries come in two sizes, which are triple a batteries and double a batteries.


What different sizes can a shelving system come in?

Shelving systems come in as many sizes and you can find uses for them. Depending on the way you want to utilize shelving you can purchase systems that range from 2 inches to 200 feet. http://www.ehow.com/how_4988290_install-wall-shelving.html


Compare and contrast the planets in your solar systems in terms of their sizes compositions and distance from the sun?

Check out the web site "nineplanets.org" for a concise but complete description of the bodies in our solar system. Also, the NASA web site is always a great resource.


Is it always necessary to find the LCD to compare the sizes of fractions explain?

Yes


What size girls 4 is in womens uggs?

A size 4 in girls is a size 6 in womens. Its always two sizes up from girls sizes.


What sizes do trolling motors come in?

Trolling motors come in all kind of sizes and styles. The power systems they come in are 12, 24, and 36-volts. They also have either the hand or foot control.


What sizes do DCS gas grills come in?

DCS (Dynamic Cooking Systems) grills range from 24, 36, and 48 inches wide. Of course there are different models and may even be more sizes.