Comparative Analysis Of Page Organization Of




Download 6,34 Mb.
Pdf ko'rish
bet67/203
Sana10.01.2024
Hajmi6,34 Mb.
#134102
1   ...   63   64   65   66   67   68   69   70   ...   203
Bog'liq
Linux This Book Includes 4 Manuscripts The Underground Bible

Comparative Analysis Of Page Organization Of
Memory And Segmentation
Page memory organization and segmentation have more in common than
differences. The main difference between the two approaches is that all
pages have a fixed length and segments have a variable length. Other basics
(no requirement for continuity of physical memory, ability to unload
memory blocks to disk, need to support conversion tables, etc.) are
fundamentally different. Let's take a look at the main benefits of page
memory organization over page memory segmentation. They are
determined primarily by the fact that all pages have the same length.

The implementation of memory allocation and memory is
simplified. All pages are equal in terms of process, so you can
maintain a list of free pages and, if necessary, select the first page
from that list and, upon release, return the page to the list. The
segments do so not because each segment can only be used for its
purpose (try to use a segment for other purposes likely lead to what
will be needed in the segment to some other thing)
❖ 
Disk communication with the disk is also simplified. To arrange
such an exchange, the portion of the disk used to store page
information discharged from memory ( support space or
backing store ) can also be broken down into blocks of fixed size
equal to the size of the frame


The page organization of memory is not without its drawbacks.
❖ 
First of all, this approach causes internal fragmentation due to the
fact that the page size is always fixed, and if necessary to allocate a
memory block of a specific length, its size will be multiple of the page
size. On average, the amount of unused memory is approximately half
a page for each dedicated memory block (similar to a segment). This
fragmentation can be reduced by reducing the number and size of the
blocks that appear and fuse
❖ 
Page tables should be larger than segment tables. For example, to
allocate a contiguous memory range of 100 KB you will need one
element of the segment table that describes the segment allocated for
that range. On the other hand, if we use 4KB pages to describe this
range, we will need 25-page table elements, one for each pag e

Download 6,34 Mb.
1   ...   63   64   65   66   67   68   69   70   ...   203




Download 6,34 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



Comparative Analysis Of Page Organization Of

Download 6,34 Mb.
Pdf ko'rish