Paging storage management and storage management segment

1. With the associative memory address translation process, represented by FIG.

 

2. The difference between the segments detailed management and paging management.

Sorting Memory Management: Paging storage management is the logical address space of a process into several equal-sized pieces, called a page or pages, and each page is numbered, starting with 0, such as page 0, page 1 and the like. Correspondingly, the memory space is divided into a plurality of memory blocks with the same page size, it referred to as (physical) block or page frame (Frame), as they are also numbered as block # 0, # 1 block like. When allocating memory for the process, the process in units of blocks of a plurality of pages are loaded into the plurality of physical block may not be adjacent in contact. Since the last page of the process is often not fill a form unavailable to pieces, called "debris inside pages."

Segment storage management: storage management in a segment, the work of address space is divided into several segments, each segment defines a set of logical information. For example, main section MAIN, subroutine segment X, the stack segment and the data segment D S and the like. Each segment has its own name. In order to achieve simplicity, a segment number to be used generally instead of segment names, each segment addressing starts from 0, and using a contiguous address space. It is determined by the length of the segment corresponding to the logical block length, thereby varying the length of each segment. Since the entire address space is divided into a plurality of operation sections, and thus two-dimensional, i.e., its logical address by a segment number (segment name) and the segment address composed.

3.P249 exercises 11

Guess you like

Origin www.cnblogs.com/qx77/p/10938917.html