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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com