answersLogoWhite

0


Best Answer

Paging

Paging works by dividing memory into small pieces of memory (frames) and then logically divides the program into same-size pieces (pages).

Paging Advantages

Easy to allocated from free list of frames

-Physical memory is allocated from free list of frames

-External Fragmentation is not a problem

Easy to "page out" chunks of programs

-All Chunks are the same size (page size)

-Use valid bit to detect references to "paged-out" pages

Paging Disadvantages

Can Still have internal fragmentation

-process may not use memory in exact multiples of pages

Memory reference overhead

-2 references per address lookup

Memory required to hold page tables can be large

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the advantages AND disadvantages of paging and segmentation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the advantages AND disadvantages of geographic segmentation?

importance of geographic segmentation


Advantages and disadvantages of market segmentation?

what is the advanteges and dis advanteges of market segmentation?


How Intel Pentium supports segmentation and paging?

The Intel Pentium supports pure segmentation and segmentation with paging. The processor creates logical addresses, which are mapped to physical addresses by the segmentation unit. Those addresses may point to physical addresses within memory or paged swap space.


Advantages of segmentation over paging?

Advantages of segmentation over paging: Speed. Reloading segment registers to change address spaces is much faster than switching page tables. Segment descriptor tables consume less memory than page tables. x86 page table entries do not have an 'Executable' bit. With segmentation, you can make a region of memory executable (code) or not (data). Segment size can be byte-granular (size 1 byte to 1Meg in units of 1 byte); pages are always page-granular (size 4K to 4Gig in units of 4K). Segmentation lets you make the segment as large as necessary, with no excess (there is no internal fragmentation).


What are the Advantages and disadvantages of market segmentation?

advantages effective allocation of resources products and services are toloured to meet the requirements of the consumers helps in identifying markets which have the potential of bringing more profits the business have a competitive advantage over its customers disadvantages rise in administrative costs


Can combination of paging and segmentation result in better performance?

* Combine Paging and Segmentation ** Structure *** Segments correspond to logical units: code, data, stack. Segments vary in size and are often large. *** Each segment contains one or more (fixed-size) pages. ** Two levels of mapping to make tables manageable (2 look-ups!) *** Page table for each segment. * Segments Pages Advantages ** Advantages of Segments *** Supports sparse address spaces. If segment is not used, no need for page table. Decreases memory required for page tables. ** Advantages of Paging*** Eliminate external fragmentation. ** Advantages of Both. Increases flexibility of sharing. Share at two levels: Page or segment (entire page table). * Segments + Pages Disadvantages ** Internal fragmentation increases. Last page of every segment in every process . ** Increases overhead of accessing memory *** 1 or 2 overhead references for every real reference. ** Large page tables *** Two potential solutions: Page the user page tables (multilevel page table), Inverted page table.


Why paging is faster than segmentation?

Paging is a technique with the help of which we can divide the memory into pages which help us to easly access the files and it also decreases the Execution time (Saves SYSTEM time). It also creates a mirage of Memory.


advantages and disadvantages of equity?

Advantages and Disadvantages of equity


Why are segmentation and paging sometimes combined into one scheme?

Segments can be of different lengths, so it is harder to find a place for a segment in memory than a page. With segmented virtual memory, we get the benefits of virtual memory but we still have to do dynamic storage allocation of physical memory. In order to avoid this, it is possible to combine segmentation andpaging into a two-level virtual memory system. Each segment descriptor points to page table for that segment.This give some of the advantages of paging (easy placement) with some of the advantages of segments (logical division of the program). ok hope wil b helfill


What are advantages and disadvantages of artificial seasoning of timber?

advantages and disadvantages


Compare paging with segmentation with respect to the amount of memory required by the address translation structures in order to convert virtual addresses to physical addresses?

Paging requires more memory overhead to maintain the translation structures. Segmentation requires just two registers per segment: one to maintain the base of the segment and the other to maintain the extent of the segment. Paging on the other hand requires one entry per page, and this entry provides the physical address in which the page is located.


What are Advantages and disadvantages of recession?

advantages and disadvantages of recession