Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What can the compact technology in variable partition storage management do?

Shulou Source: shulou.com Published: 2022-06-03 01:34:55 09月18日 Update

What this article shares with you is about what the compact technology in variable partition storage management can do. The editor thinks it is very practical, so I share it with you. I hope you can learn something after reading this article. Let's take a look at it with the editor.

Compact technology in variable partition storage management can centralize free areas.

Related introduction:

Variable partition storage management does not divide the user area in memory into several fixed partitions in advance, but when the job is required to load memory, it decides whether to allocate a partition to the job according to the size of the user job and the memory space usage at that time. Therefore, the partition size is not fixed in advance, but is divided according to the job demand, and the number and location of partitions are not predetermined. It effectively overcomes the problem of waste caused by the vacancy of remaining memory in the fixed partition.

Consolidation of free areas

Four kinds of relations between front and back adjacent zones

The front and back adjacent partitions of the release zone are all allocated areas, and there is no problem of merging.

The front contiguous partition of the release partition is the free zone, and the rear adjacent partition is the allocated area. The release area should be merged with the former adjacent free area to form a new free area.

The front adjacent zone of the release area is the allocated area, and the rear adjacent zone is the free area. Therefore, the release zone should be merged with the adjacent free area to form a new free area.

The front and back adjacent zones of the release area are all free areas. Therefore, the release area should be merged with the front and rear adjacent free areas to form a new free area.

Timing of free partition merging

First, when scheduling to a job, if the size of each free area of the system is less than its needs, but the total storage capacity of the free area is greater than its storage request, then merge the free area to get a large free area to meet the needs of the job.

First, as long as there is a job to return the occupied storage area, the system will merge the free area.

The above is what the compact technology in variable partition storage management can do, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Tags: Idle Storage Job variable Management memory allocation Compact Technology merge size more user knowledge article system problem practical effective two Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple OPPO Reno MySQL MariaDB vpn