Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of common sense points of memory governance

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Paging governance and segmented governance are similar in many places, for example, most of them are not continuous in memory, and there is an address switching mechanism to stop address mapping. However, there are many differences between the two. Table 3-20 lists the comparison of paging governance methods and segmented governance methods in various aspects.

Table 3-20 comparison of paging governance methods and segmented governance methods

The page of the page is the physical unit of information, paging is to complete the reunion allocation method, in order to reduce the outer fraction of memory and improve the utilization rate of memory. Or paging is only because the needs of piecemeal governance rather than the needs of users are the logical unit of information, which contains a set of information that is absolutely intact. The goal of segmentation is to better meet the needs of users, the size of the length page is fixed and determined by bits and pieces, and the logical address is divided into two parts: the page number and the page edge address, which is completed by mechanical hardware. therefore, in the bits and pieces, there can only be one size of the page segment whose length is not fixed, which is determined by the program written by the user, usually when the compiler stops compiling the convection program. Dividing the address space according to the nature of the information the address space is one-dimensional, that is, a single linear address space, the programmer only needs to apply a memory character to show that the address space is two-dimensional, and when the programmer identifies an address, you need to give the name of the segment. It is also necessary to give the segment frontier address fragments with external fragments, no internal fragments, no internal fragments, no external fragments, "sharing" and "static links" can not be easily completed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report