Supercharge Your Innovation With Domain-Expert AI Agents!

CPU stress test method based on shell script

A stress testing and scripting technology, applied in faulty hardware testing methods, error detection/correction, detection of faulty computer hardware, etc., to solve problems such as unstable computer system operation

Active Publication Date: 2018-04-13
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the CPU has a performance problem, it will cause the entire computer system to run unstable.

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
  • CPU stress test method based on shell script
  • CPU stress test method based on shell script
  • CPU stress test method based on shell script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The CPU stress test method based on the shell script described in the present invention can run under the MCS system based on the linux kernel of the simplified version, adopt the bash shell script to carry out the language design, and use the core plug-in of MCS utilization analysis tool lssystemstats to check the CPU usage By running shell scripts, create mirrored volumes, compressed volumes, and self-thinning volumes, and perform operations such as volume mirroring, volume copying, and snapshots on all existing volumes.

[0022] The method includes the following steps:

[0023] 1. Determine the number and ID of hard disks, and execute the script to create MDISK with RAID5 type for every 3 hard disks;

[0024] 2. Get 1 / 2Pool capacity;

[0025] 3. Execute the scripts for creating self-thinning volumes, compressed volumes, and mirrored volumes of 200G per Volume according to the Pool capacity;

[0026] 4. Execute the script file for snapshotting, backing up and clonin...

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 CPU stress test method based on a shell script. Through the circular shell script design, the creation of different MDISKs, volumes, including self-streamlined volumes, compressed volumes, mirror volumes and so on, and through a combination of several volume operations, the working pressure of a CPU can be improved. The stress test method provided by the invention can notonly test the CPU usage rate of a storage system, but can also quickly improve the CPU occupancy rate of an MCS system in performance statistics for a performance statistical analysis tool of an MCSself body, and a feasible method for realizing the CPU pressure of the MCS system in the actual testing process is provided.

Description

technical field [0001] The invention relates to the field of server testing, in particular to a shell script-based CPU stress testing method. Background technique [0002] The CPU is one of the most core components in a computer. When the CPU has performance problems, it will cause the entire computer system to run unstable. [0003] The MCS system is a streamlined linux based on the Linux kernel. In order to ensure the stability and reliability of the MCS system, most common commands running on the Linux system cannot run under the MCS system, and MCS has privatized the relevant commands. In addition, a kernel plug-in that can count CPU usage in real time is designed under the MCS system. The CPU usage of performance statistics under the GUI interface depends on this kernel plug-in under MCS. Therefore, simply increasing the CPU usage of the Linux system cannot trigger MCS. The CPU usage of the system increases or exceeds the corresponding threshold. To increase the CPU ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22
CPCG06F11/2236G06F11/2273
Inventor 庄甲平
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More