Physical memory information monitoring system of Linux platform

A technology of physical memory and monitoring system, applied in the field of physical memory information monitoring system of Linux platform, can solve the problem of inability to obtain physical memory information, and achieve the effect of good compatibility and adaptability

Inactive Publication Date: 2008-07-16
上海宇梦通信科技有限公司
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for some information that does not exist in the current kernel, it is impossible to obtain it through the kernel module, so the method of obtaining me

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
  • Physical memory information monitoring system of Linux platform
  • Physical memory information monitoring system of Linux platform
  • Physical memory information monitoring system of Linux platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Such as figure 1 As shown, the memory information monitoring system of the present invention mainly includes a kernel patch 12 , a kernel monitoring processing module 13 and an input / output port 18 .

[0017] Wherein, the kernel patch 12 is used to modify the Linux kernel 11, intercept and register the corresponding physical memory 10 information. The kernel patch 12 of the present invention mainly includes a memory information recording module, which is used to expand the Linux kernel 11, so as to start recording the usage of the physical memory 10 when the Linux system starts. In the present invention, this is through a global variables to control. The memory information recording module of the present invention mainly adopts the following two methods to control the global variables: kernel command line method and kernel configuration method. In the prior art, the recording of memory information is generally controlled by directly modifying the kernel code. In this ...

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 discloses a Linux platform physical memory information monitoring system, which can monitor use conditions of physical memories under a Linux platform and optimize use of Linux platform physical memory resources. By adoption of the means of kernel patching and a memory monitoring processing module, static monitoring and dynamic monitoring of overall conditions and detailed use conditions of the physical memories in the Linux platform can be performed and monitoring of the following physical memory information in the Linux platform is realized, for example, acquisition of the number of distributive designated stage memory blocks, acquisition of memory details to compute external fragmentation rate of the memories and so on, thereby the invention has good compatibility and suitability. The system of the invention is particularly suitable for an embedded type Linux platform, wherein, various memory resources are limited but complex memory operations are needed to be provided.

Description

technical field [0001] The invention relates to a physical memory information monitoring system, in particular to a Linux platform physical memory information monitoring system realized by adding a kernel patch and a kernel module. Background technique [0002] In the Linux system, resource management is often an important evaluation criterion for evaluating the quality of the operating system, and memory management is an extremely important part of resource management, so the monitoring of memory management is of great significance. The Linux kernel is a macro-kernel system. Process management, memory management, and file systems all run in the kernel space, while applications usually run in the user space. Since the kernel program of the current Linux system itself does not take into account various testing requirements and the security and efficiency of the kernel, the current kernel does not open a lot of information, such as memory-related information. Therefore, it is...

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): G06F11/34
Inventor 刘通平韩涛
Owner 上海宇梦通信科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products