answersLogoWhite

0


Best Answer

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).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantages of segmentation over paging
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


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?


What is excessive paging?

Excessive paging is when you page someone over and over again.


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?

Oh, dude, paging and segmentation are like two sides of the same coin when it comes to address translation structures. Paging requires a page table to map virtual addresses to physical addresses, which can take up a lot of memory. On the other hand, segmentation uses a segment table to do the same thing, but it might not need as much memory as paging depending on the implementation. So, like, if you're all about saving memory space, segmentation might be the way to go.


What is market segmentation and its advantages?

It helps to better meet different consumer needs and provides an edge over the competition.


What are the advantages AND disadvantages of paging and segmentation?

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


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.


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


Definition of pure segmentation and pure paging?

In a pure segmentation architecture, segments are allocated like variable partitions, although the memory management hardware is involved in decoding addresses. Pure segmentation addresses replace the page identifier in the virtual address with a segment identifier, and find the proper segment (not page) to which to apply the offset.


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.


What is paging and segmentation in an operating system?

Paging refers to the division of address spaces into fixed size units and the logical addresses are in the form of tuples. On the other hand, segmentation is the dividing of address spaces into a defined number of segments.