Unlock instant, AI-driven research and patent intelligence for your innovation.

Linux system CPU load control-based software pressure test method

A technology of load control and stress testing, which is applied in software testing/debugging, error detection/correction, instruments, etc., and can solve problems such as time constraints

Inactive Publication Date: 2016-04-06
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Safety-critical software is mostly real-time software with strict time constraints

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
  • Linux system CPU load control-based software pressure test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] A software stress testing method based on Linux system CPU load control, the method realizes the control of CPU resources by controlling the occupancy rate of a single CPU core or a plurality of CPU cores in system resources.

Embodiment 2

[0021] On the basis of Embodiment 1, the method described in this embodiment includes: generating a CPU load program and controlling the CPU load program, running the process that generates the CPU load to a certain CPU core that wants to generate load, and then controlling the CPU load The loader program controls how much CPU resources the process takes up.

Embodiment 3

[0023] On the basis of Embodiment 2, the method described in this embodiment flexibly controls the resource usage of a single CPU core or multiple cores to construct various software stress test scenarios for CPU load, or construct multiple CPU core, non-load-balanced scenarios, to achieve arbitrary adjustment of CPU core usage between 0% and 100% load.

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 system CPU load control-based software pressure test method. According to the method, the control of CPU resources is realized through controlling the occupancy rate of a single CPU core or the occupancy rates of a plurality of CPU cores in the system resources. In software test, a method for constructing CPU load scenes in a pressure test scheme is adopted, so that the resource utilization of a single core or a plurality of cores of the CPU is flexibly controlled, various software pressure test scenes under CPU load can be constructed, and the load, the core utilization rate of which is between 0% and 100%, of the CPU can be randomly adjusted.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a software stress testing method based on Linux system CPU load control, which can control the stress testing of single-core CPUs or multi-core CPUs for testing software under the condition of non-load balancing of multi-core CPUs Resource occupancy, to manage the resource usage of each CPU core, and to perform software stress tests when the CPU resource usage reaches the expected pressure. Background technique [0002] In safety-critical fields such as transportation, medical equipment, aviation controllers, weapons, and nuclear reaction systems, defects are very likely to cause major losses of human life and property, or even disasters and severe damage to the environment. Therefore, it is far from enough for a safety-critical system to meet the functional requirements, and it is also important and necessary to analyze the performance of the system. Therefore, it is n...

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/36
CPCG06F11/3684
Inventor 王杰李岩
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD