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, difficult test result information, and inability to evaluate Linux process scheduling performance from the perspective of users

Active Publication Date: 2012-10-10
慧之安信息技术股份有限公司
View PDF2 Cites 27 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

[0049] Specific example 1: Process scheduling efficiency test

[0050] (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.

[0051] (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.

[0052] 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

[0068] 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:

[0069] (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;

[0070](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

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

[0077] 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:

[0078] 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 present invention involves the field of Linux kernel performance testing technology, especially a method and tool for performance testing for the Linux process scheduling. Background technique [0002] Performance testing is an indispensable important link in the process of software research and development. It can help software manufacturers identify potential performance degradation problems in software research and development and the possible performance defects of products.As a huge and complex software system, Linux operating systems are constantly testing its performance. It is a key step that Linux operating system manufacturers must conduct before product release.At present, the performance test of the industry's performance system for the Linux operating system is carried out by the five major subsystems (process scheduling subsystems, memory management subsystems, virtual file subsystems, process communication subsystems, and network interfac...

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/36G06F9/44
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