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

Performance test method and tool aiming at Linux process scheduling

A process scheduling and performance technology, applied in software testing/debugging, program control devices, etc., can solve problems such as poor calculation accuracy, inability to evaluate Linux process scheduling performance from the user's perspective, and few performance indicators

Active Publication Date: 2015-01-14
慧之安信息技术股份有限公司
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention refers to the benchmark test, stress test and code performance analysis method in the performance test methodology, and combines the kernel instrumentation technology to propose a method for Linux process scheduling performance test and design corresponding tools. The method and tool can help Linux R&D and testing personnel intuitively evaluate the performance of Linux process scheduling, identify potential performance problems in the product, and then help Linux operating system R&D personnel continuously improve the performance of Linux process scheduling, so as to solve the problem that existing methods cannot evaluate Linux process scheduling performance and performance from the perspective of users Few indicators and poor calculation accuracy and test result information are difficult to assist kernel tuning problems

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
  • Performance test method and tool aiming at Linux process scheduling
  • Performance test method and tool aiming at Linux process scheduling
  • Performance test method and tool aiming at Linux process scheduling

Examples

Experimental program
Comparison scheme
Effect test

specific example 1

[0048] Specific example 1: Process scheduling efficiency test

[0049] (1) According to the testing objectives of the testers, the scheduling efficiency test in the macro benchmark test is selected to evaluate the advantages and disadvantages of the modified Linux process scheduling efficiency in the research and development process.

[0050] (2) Write and configure the test driver module EffiBench. EffiBench is a test driver designed and written by the present invention for testing the efficiency of Linux process scheduling.

[0051] The basic idea of ​​EffiBench is to design a (group) test process to provide load for Linux process scheduling, and to evaluate the efficiency of Linux process scheduling by measuring the sum of the turnaround time of all processes. If the sum of the turnaround time of all processes is shorter, it means that the efficiency of Linux process scheduling is higher. The basic principle is to create multiple groups of read and write processes, and si...

specific example 2

[0065] The following takes the Linux 2.6.34 kernel as an example to further illustrate the code performance analysis method proposed by the present invention. The Linux 2.6.34 kernel uses CFS (Completely Fair Scheduler) completely fair scheduling, and its source code related to process scheduling is stored in the sched.c, sched_rt.c and sched_fair.c source files in the Linux / kernel directory. Described in this concrete example 2 is to use the code performance analysis method proposed by the present invention to carry out the main processing steps of code performance analysis to all functions in the sched.c source file:

[0066] (1) Select the analysis object. In the specific example 2, select all the functions in the sched.c source file under the Linux / kernel directory as the objects of our analysis;

[0067](2) Instrument the analysis object. Write the SystemTap script functionlinetime.stp to insert all the kernel functions in the sched.c source file. In the written script...

specific Embodiment 3

[0072] Specific embodiment 3: a performance testing tool for Linux process scheduling.

[0073] The invention also proposes a performance testing tool for Linux process scheduling. The tool includes three important components: human-computer interaction interface module, test driver module and kernel monitoring module, such as image 3 shown. The functions of each part are as follows:

[0074] The human-computer interaction interface module is used to complete the function of interacting with the user, helping the user to complete functions such as test configuration, test control, test monitoring and test result viewing.

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 performance test method and tool aiming at Linux process scheduling. The performance test method comprises the following benchmark test steps: step 11: selecting dimension and test items of a benchmark test; step 12: writing and configuring a test drive module; step 13: writing and configuring a performance index monitoring module; step 14: operating the test drive module to drive the execution of the benchmark test, meanwhile operating the benchmark test performance index monitoring module, collecting and processing the operating information of the Linux process scheduling in the test process, and recording the Linux process scheduling status at the real time so as to calculate and update the benchmark test performance index; and step 15: outputting the test results, the test executing process information and the benchmark test performance index information selected by the user. The performance test method provided by the invention can be applied in the Linux operation system research and development as well as the Linux process scheduling performance evaluated by the testers, and assists the optimizing of the Linux process scheduling performance, so that the correctness and the stability of the operation of the Linux operation system can be efficiently enhanced.

Description

technical field [0001] The invention relates to the technical field of Linux kernel performance testing, in particular to a method and a tool for performing performance testing for Linux process scheduling. Background technique [0002] Performance testing is an essential and important link in the software development process. It can help software manufacturers identify potential performance degradation problems and possible product performance defects during the software development process. The Linux operating system is a huge and complex software system, and continuous performance testing of it is a key step that Linux operating system manufacturers must carry out before product release. At present, the industry's performance testing of the Linux operating system is carried out for the five major subsystems of the Linux kernel (process scheduling subsystem, memory management subsystem, virtual file subsystem, process communication subsystem, and network interface subsyste...

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 Patents(China)
IPC IPC(8): G06F11/36G06F9/44
Inventor 兰雨晴刘晓辉
Owner 慧之安信息技术股份有限公司