Composition principle-storage management, principle-storage
The main purpose of storage management is to solve the problem of multiple users using primary storage. Its Storage Management Solutions mainly include partition storage, paging storage, segmented storage, segment-based storage, and virtual storage. The following describes the storage of pages, segments, and segments.
Paging Storage Management
Paging principle: divides the address space of a process into several areas of the same size, called pages. Correspondingly, the primary storage space is divided into several physical blocks of the same size as the page, called blocks. When a process is allocated primary storage, load several pages in the process into multiple non-adjacent blocks.
Address structure, which consists of page numbers and On-page addresses.
The following figure shows the address ing process of the webpage-based virtual memory.
PS: it is the process of obtaining the real-time address through the Virtual Address.
It indicates the composition of the page table, including the control bit and the primary storage page number. Each page number has a directory that contains the primary storage page address.
Indicates that the logical page number in the virtual address and the base address of the page table are used to locate the page number in the primary address. The primary page address is used as the high field of the real-time address and is spliced with the row address field of the virtual address, generate the completed real master memory address.
Segment Storage Management in the segment storage management, the job address space is divided into several segments, each segment a complete set of logical information, such as the main program segment, subroutine segment, data segments and stack segments. Each segment has its own name. It is a continuous address space starting from 0, and the length of each segment varies. The logical address is divided into two parts: the segment number and the intra-segment address. In segmented storage, a continuous partition is allocated for each segment, and each segment in the process can be allocated to different primary storage partitions discretely. Create a field ing table for each process in the segmented storage to become a field table. The following demonstrates the process of CIDR block address ing.
Segment-and-page-based storage management the basic principle of segment-based page-based storage: first, the entire primary storage is divided into large and small equal storage blocks (page boxes), and the user program is divided into several segments based on the Logical Relationship of the program, no segment is assigned a segment name, and each segment is divided into several pages, which are allocated discretely in a page box. In segment-based storage, its address structure consists of segment numbers, segment-based page numbers, and page addresses. In a segment-based system, to change the Logical Address to the physical address, both the segment table and page table must be configured in the system. Due to the Discrete Distribution of pages in the segment, the content in the segment table is no longer the main storage address and segment length of the segment, but the start address and the length of the page table. The following shows the address conversion process of the segment-based webshell.
The comments in the above figure are clear, so I will not repeat them in the text. I will describe the process in a simple way. If there are any errors, I 'd like to see them again.
Postgraduate Entrance Exam, computer composition principle, storage management how to do this question? Example: A 32-bit microlocation with 4 kb directly connected to the cache
As a person, I would like to give you some reference: First, you need to find out what you want to study. Most people think that the goal is to find a good job. In this case, if you can find the ideal job after graduation, you can consider working for a few years first, and it is not too late to study again when you want to charge. If you haven't found a proper job for the moment, you may wish to study it first. Second, you should consider your own strengths. After all, there will be some conflicts between postgraduate entrance exams and job hunting. If you think you have enough strength, you may wish to prepare both sides to take a postgraduate entrance exam while looking for a job. Finally, I think the family's economic power should also be considered. If the economic conditions do not permit, it is better to work first. I hope the above suggestions will help you
What is the role of computer composition in the operating system?
The operating system and computer composition principles are based on theoretical knowledge, so it is boring.
The operating system mainly introduces how the operating system implements process management, storage management, file management, system interface usage, and system security.
The principle of computer composition focuses on how computers work and how they operate.
These two courses are the most basic courses for understanding computer science. If programming is performed, they can be viewed after a certain stage. However, it will be of great help to understand how computers work in software and hardware.
These two courses are also required for postgraduate entrance exams.