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

Dynamic configuration method for program memory of computer

A computer program and dynamic configuration technology, which is applied in multi-program device, memory address/allocation/relocation, resource allocation, etc., can solve the problems of inflexible memory configuration method and inability to adapt to changes in the system environment, and achieve system performance Advantages, effects of adapting to changes in environmental conditions

Active Publication Date: 2012-06-13
CHENGDU YIWO TECH DEV CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a dynamic configuration method for computer system memory in view of the shortcomings of the prior art memory configuration method that is not flexible and cannot adapt to changes in the system environment

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
  • Dynamic configuration method for program memory of computer
  • Dynamic configuration method for program memory of computer
  • Dynamic configuration method for program memory of computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The following embodiments are described by taking cache access of virtual file data blocks as an example.

[0033] In a normal operating system, the virtual files generated by mounting the image files need to be accessed repeatedly, and the source data blocks of these accessed files are stored in the IO physical device. When accessing a file, the program converts the data block number that needs to be accessed through the offset of the file and the file system, and then accesses the data at the corresponding offset position in the IO device according to the data block number. If every access passes through the IO physical device, it will inevitably affect the access speed and waste time. Let the data access step first obtain the data block in the memory through the memory management method. If the data cache does not exist, and then access it through the IO physical device, it is bound to reduce the number of times to access the IO physical device. Therefore, a reasona...

Embodiment 2

[0060] In this example, the system parameter IO throughput is selected as the system resource W. When the system resource W changes from the minimum value Wmin to the maximum value Wmax, the memory usage limit value F corresponds to the change from the maximum value Fmax to the minimum value Fmin. This is the case where the system resource W is negatively correlated with the memory usage limit value F. When the system resource W is the minimum value Wmin, it means that the system resources are the most abundant and most conducive to program running. At this time, the memory usage limit value F corresponds to the maximum value. The value Fmax indicates that the program runs with the maximum available memory. When the system resource W is the maximum value Wmax, it means that the system resources are tight, which is the most unfavorable for program running. At this time, the memory usage limit value F corresponds to the minimum value Fmin, which means that the available memory fo...

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 relates to a configuration method for a program memory of a computer, and discloses a dynamic configuration method for a system memory of a computer, which aims to overcome shortcomings of inflexibility and inadaptability to change of a system environment of a memory configuration method of the prior art. The technical scheme includes that by the aid of the dynamic configuration method for a program memory of the computer, a service limit value of the memory is adjusted when a program runs by means of periodically detecting changes of an external environment, the dynamic configuration method is adaptable to environmental change at any time, and the problem of improper memory configuration due to changes of the external environment is avoided. Statistics of corresponding relation of environments and program running states is realized during long-term execution of the dynamic configuration method, and the optimal running condition under different environments of the program can be specified. Record and statistic data in a list can be more comprehensive along with extension of running time, and execution strategies based on the statistic list can be more intelligent as time goes on. The dynamic configuration method is used for intelligently configuring the memory of the computer, and running efficiency of the program can be improved.

Description

technical field [0001] The invention relates to a method for configuring memory of a computer program, in particular to a method for dynamically configuring memory according to the current environment of a computer system. Background technique [0002] Computer memory refers to the memory that the CPU can directly access, such as ROM (read-only memory), RAM (random read-write memory), SDRAM (static random read-write memory), etc. As a storage device for computers to read and write data quickly, memory is widely used in computer programs. Compared with other external storage devices (such as disks, mobile storage devices, etc.), the main advantage of memory is that the reading and writing speed of reading and writing data is thousands of times higher than that of disks or other IO (input and output) devices. The main disadvantages of memory are , the price is relatively expensive, and data is usually lost after power failure. [0003] The application program uses the memory...

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/50G06F12/02
Inventor 廖兰君
Owner CHENGDU YIWO TECH DEV CO LTD
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