Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

High-performance memory management method and system based on differential evolution

A differential evolution and memory management technology, applied in the field of high-performance memory management methods and systems, can solve problems such as a large amount of computing overhead and the inability to balance the page fault rate, so as to reduce the waiting time of the program and reduce the probability of waiting. , reduce the effect of Belady phenomenon

Pending Publication Date: 2022-03-25
金梦笔
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] 2. The above management strategies cannot well balance the problem of page fault rate. Even if the size of a single page is reduced to obtain more pages, the Belady phenomenon will still occur (replacement characteristics contradict the dynamic characteristics of process access memory , resulting in non-stop memory replacement);
[0012] 4. A large amount of computing overhead may be generated when calculating the usage of the page. It is necessary to scan the entire maintained page information, and compare and find the maximum or minimum value from it.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-performance memory management method and system based on differential evolution
  • High-performance memory management method and system based on differential evolution
  • High-performance memory management method and system based on differential evolution

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0126] 1. Replace the memory management system of the original operating system

[0127] Such as Figure 6As shown, this embodiment directly rewrites the content management module of the original operating system, and directly writes the memory management algorithm of the present application into the kernel of the operating system to obtain a high-performance memory management mode.

[0128] 2. Bypass memory auxiliary management tool

[0129] Such as Figure 7 As shown, due to the existence of the proactive memory cleaning strategy in this application, this invention can also be compatible with this application in addition to the original memory management method of the operating system. That is, without changing the kernel of the operating system, the invented method will be used as a program that resides in the memory of a high-priority process,

[0130] Obtain the read and write capabilities of the system's global memory, and actively clean and replace the corresponding ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a high-performance memory management method and system based on differential evolution. The method comprises the steps that in a disk, a table for recording memory page information is created, and the table comprises a start memory page number, an end memory page number, an access frequency, a check frequency and a differential evolution calculation result. If the current execution stream is the timed active execution stream, checking the use condition of the memory page once according to a fixed time interval; if the current execution stream is a passive execution stream, when the currently executed program accesses the memory again, the execution stream is passively executed, and the accessed content is recorded; and if the current execution stream is a dynamic execution stream, executing as required when a new program needs to enter the memory, and dynamically adjusting the use of the memory. According to the method and the device, the waiting time and the waiting probability caused by memory calling during program execution are greatly reduced, the space complexity is reduced, the generation of a Belady phenomenon can be well reduced, and the time complexity of overall calculation is reduced.

Description

technical field [0001] The present application relates to the technical field of computer memory management, in particular to a high-performance memory management method and system based on differential evolution. Background technique [0002] Because present computer software is more and more huge, there are more and more software systems with the size of T (1T=1024G) bytes at every turn. However, the memory capacity of most computers is still on the order of G bytes (usually 1G-128G). Therefore, the memory management and scheduling of the computer operating system is a very important task of the operating system. [0003] The operating system needs to load program data from disk into memory from time to time. When the memory capacity is full, the memory needs to be cleaned up to release a certain amount of space, which is divided into pages (or a combination of segment pages). After completing the corresponding cleaning, the operating system replaces the required data i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50
CPCG06F9/5016
Inventor 金梦笔
Owner 金梦笔
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products