Computer software programmers use paging and segmentation techniques to allocate, process and access computer memory. Efficient use of computer storage and processing space requires the proper use of computer pages and segments.


  1. Page Definition

    Segment Definition

    • Moving bits and bytes around for a single process takes organization.
      Segments are divisions of computer memory of variable size that temporarily store memory addresses required for a logical computer process. These segments may be either shared by other computer processes or unique to a particular process. Since segments can be different sizes, memory allocation takes more processing to achieve.

    Functions

    • Computer processing speed increases functionality.
      Paging frequently occurs when the computer operating system requires the use of random access memory (RAM) and no space is available. The system will move a currently unused RAM page to storage and use the freed page to continue the processing procedure. A primary function of segmentation is the ability to share code for read-only processes. Segmentation is governed by the memory management unit of an operating system, which sets the details of the address space allocated, the permissions allowed and checks whether the process is a valid one. If more storage is necessary for segmentation processes, a page table will be allocated by those systems which allow that functionality.

0 comments: