CN116501591A - Automatic testing method for rendering capability of GPU node - Google Patents
Automatic testing method for rendering capability of GPU node Download PDFInfo
- Publication number
- CN116501591A CN116501591A CN202310505815.4A CN202310505815A CN116501591A CN 116501591 A CN116501591 A CN 116501591A CN 202310505815 A CN202310505815 A CN 202310505815A CN 116501591 A CN116501591 A CN 116501591A
- Authority
- CN
- China
- Prior art keywords
- gpu
- application program
- gpu node
- testing
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 44
- 238000009877 rendering Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 20
- 230000000007 visual effect Effects 0.000 claims abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 3
- 238000010998 test method Methods 0.000 abstract description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3433—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3024—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an automatic testing method for rendering capability of GPU nodes. According to the method, the tested application program on the GPU node is detected, the opening and closing states of the program in the testing process are detected, the effectiveness of the testing data is guaranteed, meanwhile, various performance index data of the GPU node in the testing process are recorded, after the program is closed, the recorded data are arranged into a preset file format to be output and stored, and then a visual chart is generated according to the formed testing result file, so that testing staff can conveniently and intuitively review the testing result data. The automatic test method provided by the invention can effectively avoid the problems of low efficiency and low accuracy caused by manual detection, and effectively improve the test efficiency and the reliability of test results.
Description
Technical Field
The invention relates to the field of cloud rendering, in particular to an automatic testing method for rendering capacity of GPU nodes.
Background
In the prior art, when testing the capability of a cloud rendering GPU node, the GPU rendering node is generally observed in a manual and macroscopic observation mode, and data of the GPU node when rendering loads are recorded. By manually testing, long-time recording and manual recording are performed, so that the time consumption is huge, the execution speed is low, the influence of human factors such as error data is seen, and the testing efficiency is low.
Accordingly, the prior art has drawbacks and needs improvement.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an automatic testing method for the rendering capability of GPU nodes.
The technical scheme of the invention is as follows: the automatic testing method for the rendering capability of the GPU node comprises the following steps:
step 1: starting a tested application program, detecting an opening state, and recording a process ID of the opening program;
step 2: after the tested application program is successfully started, starting to monitor the GPU node, acquiring GPU node performance family table data at intervals of set time, and recording the GPU node performance family table data in a temporary cache file;
step 3: closing the rendered application program according to the set time;
step 4: integrating the data in the temporary cache file according to the set format to generate an independent and complete file, and storing the independent and complete file to a local place;
step 5: and generating a visual chart from the input local test result data.
Further, in the step 1, the information required to detect the successful state of the start includes the picture and the sound of the application program.
Further, in the step 2, the recorded information includes: CPU utilization rate, GPU encoding module utilization rate, GPU 3D module utilization rate, memory occupation size, and tested application running frame rate.
Further, the specific steps of the step 3 are as follows: and closing the tested application program after the test duration is met according to the test duration, and detecting whether the closing is successful or not.
Further, the information required to detect successful closing includes the application process and application window opened at this time.
By adopting the scheme, the problems of huge time consumption and low execution speed caused by long-time recording and manual recording in the process of manually testing are solved, and the influence of artificial factors such as error data is effectively improved.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention will be described in detail below with reference to the drawings and the specific embodiments.
Referring to fig. 1, the invention provides an automated testing method for rendering capability of GPU nodes, comprising the following steps:
step 1: starting the tested application program, detecting the starting state, and recording the process ID of the starting program. The information to be detected for the successful status of the opening includes the picture and sound of the application program.
Step 2: after the tested application program is successfully started, starting to monitor the GPU node, acquiring GPU node performance family table data at intervals of set time, and recording the GPU node performance family table data in a temporary cache file. The recorded information includes: CPU utilization rate, GPU encoding module utilization rate, GPU 3D module utilization rate, memory occupation size, and tested application running frame rate. The set interval time is generally 0.5s-1s, so that the conditions of blocking and the like caused by occupying excessive memory space are avoided while the detection efficiency is ensured.
Step 3: and closing the rendered application program according to the set time.
The specific steps of the step 3 are as follows: and closing the tested application program after the test duration is met according to the test duration, and detecting whether the closing is successful or not.
The information required to detect successful closing includes the application process that was open this time and the application window.
Step 4: and integrating the data in the temporary cache file according to the set format to generate an independent complete file, and storing the independent complete file to the local.
Step 5: and generating a visual chart from the input local test result data.
In actual work, when testing is needed, firstly, starting an application program to be tested on a GPU node, detecting pictures and sounds of the application program, and judging whether the application program is successfully started. After judging that the application program to be tested is started, recording the process ID of the starting program. And then starting to monitor the GPU node, automatically acquiring information such as CPU utilization rate, utilization rate of a GPU encoding module, utilization rate of a GPU 3D module, occupied size of a video memory, occupied size of a memory, running frame rate of a tested application program and the like every one second, and recording the acquired information. After the test duration meets the set condition, the tested application program is closed, whether the process and the window of the application program are normally closed or not is detected, if the closing abnormality occurs, a closing instruction is sent again until the process and the window of the application program are closed, and meanwhile, the report file of each abnormal condition is recorded. And integrating the acquired and recorded information data into a single complete file in a set format, and storing the recorded file locally. By recording the data in the file, each item of data is identified and classified, a visual chart is generated, archiving is convenient, and the test personnel can conveniently review.
In summary, the method and the device for testing the GPU node test the application program to be tested on the GPU node, and detect the opening and closing states of the program in the testing process, so that the validity of the test data is guaranteed, meanwhile, each item of performance index data of the GPU node in the testing process is recorded, after the program is closed, the recorded data are arranged into a preset file format to be output and stored, and then a visual chart is generated according to the formed test result file, so that a tester can conveniently and intuitively review the test result data. The automatic test method provided by the invention can effectively avoid the problems of low efficiency and low accuracy caused by manual detection, and effectively improve the test efficiency and the reliability of test results.
The foregoing description of the preferred embodiment of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
Claims (5)
1. An automatic testing method for rendering capability of a GPU node is characterized by comprising the following steps:
step 1: starting a tested application program, detecting an opening state, and recording a process ID of the opening program;
step 2: after the tested application program is successfully started, starting to monitor the GPU node, acquiring GPU node performance family table data at intervals of set time, and recording the GPU node performance family table data in a temporary cache file;
step 3: closing the rendered application program according to the set time;
step 4: integrating the data in the temporary cache file according to the set format to generate an independent and complete file, and storing the independent and complete file to a local place;
step 5: and generating a visual chart from the input local test result data.
2. The method for automatically testing the rendering capability of the GPU node according to claim 1, wherein in step 1, the information required to detect the successful state of the on state includes the picture and the sound of the application program.
3. The method for automatically testing the rendering capability of the GPU node according to claim 1, wherein in the step 2, the recorded information includes: CPU utilization rate, GPU encoding module utilization rate, GPU 3D module utilization rate, memory occupation size, and tested application running frame rate.
4. The method for automatically testing the rendering capability of the GPU node according to claim 1, wherein the specific steps of the step 3 are as follows: and closing the tested application program after the test duration is met according to the test duration, and detecting whether the closing is successful or not.
5. The method according to claim 4, wherein the information required to detect successful shutdown includes the application process and application window that were started at this time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310505815.4A CN116501591A (en) | 2023-05-06 | 2023-05-06 | Automatic testing method for rendering capability of GPU node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310505815.4A CN116501591A (en) | 2023-05-06 | 2023-05-06 | Automatic testing method for rendering capability of GPU node |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116501591A true CN116501591A (en) | 2023-07-28 |
Family
ID=87328180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310505815.4A Pending CN116501591A (en) | 2023-05-06 | 2023-05-06 | Automatic testing method for rendering capability of GPU node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116501591A (en) |
-
2023
- 2023-05-06 CN CN202310505815.4A patent/CN116501591A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317709B (en) | software performance testing method and system | |
US8086904B2 (en) | Event-based setting of process tracing scope | |
US20080028370A1 (en) | Simultaneous viewing of multiple tool execution results | |
CN109726130A (en) | Test macro, method, equipment and the storage medium of BMC event log strategy | |
CN107153453A (en) | A kind of linux system reset processing method and device | |
CN111274130A (en) | Automatic testing method, device, equipment and storage medium | |
CN116501591A (en) | Automatic testing method for rendering capability of GPU node | |
CN113160726B (en) | Power-on self-detection method and power-on self-detection device | |
CN112985488A (en) | Temperature stress accelerated life test system and method for sensor | |
CN116306429A (en) | Method, device, computer storage medium and terminal for realizing state data capture | |
CN115662488A (en) | SSD reliability test method and system | |
CN115392802A (en) | Method, system, medium, and apparatus for detecting defects of industrial products | |
CN114742992A (en) | Video abnormity detection method and device and electronic equipment | |
CN110597674B (en) | Memory detection method, device, video recording system and storage medium | |
CN106775480A (en) | A kind of real-time monitoring system data recording method based on LabVIEW | |
CN112213980A (en) | Singlechip fault diagnosis board card and method | |
CN106844125B (en) | The automatic recording device and method of commissioning stage debugging information to be measured | |
CN116820946B (en) | Method and device for automatically testing compatibility of target software | |
CN109696591A (en) | A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording | |
CN113626233B (en) | Method, device and equipment for automatically detecting BIOS watchdog function | |
CN111858208B (en) | Standby function testing method, device, equipment and medium of processor chip | |
JP3698974B2 (en) | Debug support device for object-oriented development | |
CN111858214A (en) | Display abnormity detection method and device and electronic equipment | |
CN112506692A (en) | Method and device for processing log information | |
CN117476089A (en) | SSD reliability automatic test method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |