A test method, device, electronic device and storage medium for ARM cloud server

By controlling cloud phones to concurrently run target applications in the ARM cloud server and monitoring performance indicators in real time, the problem of low efficiency in multi-open performance testing of the ARM cloud server is solved, efficient testing and resource optimization are achieved, and costs are reduced.

CN113609027BActive Publication Date: 2024-09-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202111015412.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-09-10
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

The existing ARM cloud server multi-open performance testing method is inefficient and difficult to accurately measure the multi-open performance bottleneck and optimal multi-open number, resulting in insufficient resource utilization and increased costs.

Method used

By controlling multiple cloud phones to run target applications concurrently in the ARM cloud server, use test script tools to obtain real-time indicators such as CPU, GPU usage, memory, temperature, and frame rate, determine multi-open performance based on real-time data, and adjust performance test scenarios to Determine optimal multi-open numbers and reduce performance bottlenecks.

Benefits of technology

It achieves efficient testing of the multi-open performance of ARM cloud servers, accurately measures multi-open performance bottlenecks and optimal multi-open numbers, reduces the risk of performance bottlenecks, improves resource utilization, and achieves cost savings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113609027B
    Figure CN113609027B
Patent Text Reader

Abstract

The present disclosure provides a test method, device, electronic device and storage medium for an ARM cloud server, which relates to the field of computer technology, and in particular to the field of cloud servers. The specific implementation scheme includes: according to the performance test scenario, controlling multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application; obtaining the values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool; determining the multi-opening performance of the ARM cloud server to be tested based on the values ​​of the test indicators obtained in real time. The disclosed scheme can realize efficient testing of the multi-opening performance of the ARM cloud server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of cloud servers, and specifically to a testing method, device, electronic device, storage medium and computer program product for an ARM cloud server. Background Art

[0002] From the history of ARM and x86 development, ARM (Advanced RISC Machines) has always been closer to the user end and is widely used as personal data processing, thin client terminals, and personal-level NAS (Network Attached Storage) server processor cores. In recent years, cloud servers based on ARM processors have appeared in the server market. In ARM cloud servers, multi-opening performance testing is very important. Summary of the invention

[0003] The present invention provides a testing method, device, electronic device, storage medium and computer program product for an ARM cloud server.

[0004] According to one aspect of the present disclosure, a testing method for an ARM cloud server is provided, comprising:

[0005] According to the performance test scenario, control multiple cloud phones in the ARM cloud server to be tested to run the target application concurrently;

[0006] Obtaining values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool;

[0007] The multi-opening performance of the ARM cloud server to be tested is determined according to the value of the test indicator obtained in real time.

[0008] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0009] at least one processor; and

[0010] a memory communicatively connected to at least one processor; wherein,

[0011] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the testing method of the ARM cloud server of any embodiment of the present disclosure.

[0012] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to enable a computer to execute the test method of the ARM cloud server of any embodiment of the present disclosure.

[0013] According to the technology disclosed in the present invention, efficient testing of the multi-opening performance of the ARM cloud server can be achieved.

[0014] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0016] Figure 1 It is a flowchart of a testing method of an ARM cloud server provided according to an embodiment of the present disclosure;

[0017] Figure 2 It is a flowchart of another ARM cloud server testing method provided according to an embodiment of the present disclosure;

[0018] Figure 3 It is a flowchart of another ARM cloud server testing method provided according to an embodiment of the present disclosure;

[0019] Figure 4 It is a structural schematic diagram of a test device for an ARM cloud server provided according to an embodiment of the present disclosure;

[0020] Figure 5 It is a block diagram of an electronic device used to implement the testing method of the ARM cloud server of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0022] Figure 1 The present invention is a flowchart of a method for testing an ARM cloud server according to an embodiment of the present invention. The present embodiment can be applied to the case of testing the multi-opening performance of an ARM cloud server. The method can be performed by a testing device for an ARM cloud server, which is implemented in software and / or hardware and integrated in an electronic device, such as a server device.

[0023] For details, see Figure 1 , the test method of ARM cloud server is as follows:

[0024] S101. According to the performance test scenario, control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application.

[0025] Among them, the ARM cloud server to be tested is a cloud server developed based on the ARM architecture processor. Multiple cloud phones are pre-deployed in the ARM cloud server to be tested, and cloud phones are mobile phones that apply cloud computing technology to network terminal services and implement cloud services through cloud servers. The cloud phones in the ARM cloud server to be tested do not affect each other. The multi-opening of the ARM cloud server means that multiple cloud phones run a target application at the same time. In the disclosed embodiment, the target application can be a cloud game application or other applications, which are not specifically limited here.

[0026] In order to efficiently utilize the resources of the ARM cloud server, it is necessary to test the multi-opening performance of the ARM cloud server, mainly to measure the multi-opening performance bottleneck of the ARM cloud server and the optimal number of multi-opening. In the disclosed embodiment, when testing the multi-opening performance of the ARM cloud server to be tested, it is necessary to first determine the performance test scenario, wherein the performance test scenario is determined by the values ​​of the multi-opening number, the controlled number, and the hang-up number. Exemplarily, the performance test scenario is a test scenario determined by the multi-opening number of 10, the controlled number of 8, and the hang-up number of 6. It should be noted that the multi-opening number is the number of cloud phones that run the target application concurrently; the controlled number is the number of cloud phones allowed to be used by users at the same time; the hang-up number is the number of cloud games logged in and the cloud games are in the hang-up state. The controlled number and the hang-up number are both less than or equal to the multi-opening number, and uncontrolled cloud phones can also hang up the running cloud games, so the controlled number and the hang-up number have nothing to do with each other.

[0027] In the disclosed embodiment, the controlled number and idle number in the performance test scenario are set by the tester through the test client, through which the tester can determine which cloud phones are controlled and which cloud games are in an idle state. Therefore, after determining the performance test scenario, it is only necessary to control the corresponding cloud phones in the ARM cloud server to be tested to concurrently run the target application according to the multi-opening number, controlled number and idle number included in the test scenario.

[0028] S102. Obtaining values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool.

[0029] In the disclosed embodiment, the test index includes at least one of the following: CPU (Central Processing Unit, central processing unit) usage, GPU (Graphics Processing Unit, graphics processing unit) usage, memory, CPU temperature, GPU temperature and frame rate, wherein whether to test the frame rate is determined by the target application running in the cloud phone. The test script tool is compiled and generated by the data acquisition instructions provided by the ARM cloud server and different test indicators. It should be noted that the values ​​of indicators such as CPU usage, GPU usage, memory, CPU temperature and GPU temperature of the ARM cloud server to be tested can be obtained through the self-developed monitor.sh (monitoring script tool); the frame rate can be obtained through the self-developed perfDog (performance dog) script tool, or through log statistics. In the disclosed embodiment, the test script tool can be pre-installed in the ARM cloud server to be tested. When the ARM cloud server to be tested is subjected to multi-open performance testing, the test script tool is used to monitor the ARM cloud server to be tested in real time to obtain the values ​​of at least two test indicators of the cloud server to be tested in the current performance test environment in real time.

[0030] S103. Determine the multi-opening performance of the ARM cloud server to be tested according to the values ​​of the test indicators obtained in real time.

[0031] Exemplarily, if the CPU usage rate and GPU usage rate are greater than the preset usage rate threshold, or the CPU temperature and GPU temperature are greater than the temperature threshold, it is confirmed that the number of multiple openings in the current test scenario is set too large. It should be noted that a plurality of different performance test scenarios can be predetermined, and the test of the scenario can be completed according to the above steps S101-S103 for each performance test scenario. Therefore, the bottleneck of the multi-opening performance of the ARM cloud server to be tested (such as the maximum number of multiple openings) and the optimal number of multiple openings of the ARM cloud server to be tested can be determined by comparing the values ​​of the CPU usage rate, GPU usage rate, memory, CPU temperature or GPU temperature obtained in different performance test scenarios. It should be noted that, under the optimal number of multiple openings, the values ​​of each test indicator of the ARM cloud server are less than the preset threshold, and each cloud phone runs the target application normally.

[0032] The disclosed embodiments achieve efficient testing of the multi-opening performance of ARM cloud services, and can accurately test the multi-opening performance bottleneck and the optimal number of multi-opening of ARM cloud servers, thereby reducing the risk of multi-opening performance bottleneck of ARM cloud servers, efficiently utilizing the resources of ARM cloud servers, and achieving the purpose of cost savings.

[0033] Figure 2FIG. 1 is a flow chart of another ARM cloud server testing method according to an embodiment of the present disclosure. This embodiment is optimized based on the above embodiment. Figure 2 ,The test method of ARM cloud server is as follows:

[0034] S201. Determine the operating system environment of the ARM cloud server to be tested.

[0035] In the disclosed embodiment, since different script instructions are applicable in different operating system environments, it is necessary to first determine the operating system environment of the ARM cloud server to be tested in order to prepare for the subsequent use of scripts to automatically deploy the test environment.

[0036] S202: Generate an installation script for the target application according to a script instruction suitable for the operating system environment, and use the installation script to deploy the target application in multiple cloud phones in parallel.

[0037] In an optional implementation, the IP address of each cloud phone in the ARM cloud server to be tested can be obtained first, and then a target application installation script can be generated for each cloud phone based on the script instructions applicable to the current operating system environment and the IP address of each cloud phone. Then, the target application can be installed for each cloud phone in parallel according to the obtained target application installation script, thereby achieving the purpose of batch installation of the target application for each cloud phone in the ARM cloud server to be tested.

[0038] It should be noted that in addition to using scripts to automatically install target applications, you can also use the self-developed update script update.py to automatically deploy programs or scripts required for the test phase on the ARM cloud server to ensure the normal operation of the ARM cloud server test.

[0039] S203. According to the performance test scenario, control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application.

[0040] Among them, the target application is the cloud gaming application; the test scenario is determined by the values ​​of the number of multiple openings, the number of controlled numbers, and the number of idle phones; the number of multiple openings is the number of cloud phones that run the target application concurrently; the number of controlled numbers is the number of cloud phones allowed to be used by users at the same time; the number of idle phones is the number of cloud games logged in and in the idle state.

[0041] Optionally, according to the performance test scenario, a script can be used to automatically control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application, such as starting the target application through a script or controlling the target application to be in an idle state through a script.

[0042] S204. Obtaining values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool.

[0043] The test index includes at least one of CPU usage, GPU usage, memory, CPU temperature, GPU temperature and frame rate.

[0044] S205. Determine the multi-opening performance of the ARM cloud server to be tested according to the values ​​of the test indicators obtained in real time.

[0045] In the disclosed embodiment, target applications are installed in batches for cloud phones in an ARM cloud server by means of scripts, which provides a guarantee for improving the testing efficiency of the ARM cloud server.

[0046] Figure 3 It is a flow chart of another ARM cloud server testing method according to an embodiment of the present disclosure. The embodiment is optimized on the basis of the above embodiment. Figure 3 ,The test method of ARM cloud server is as follows:

[0047] S301. Determine the operating system environment of the ARM cloud server to be tested.

[0048] S302: Generate an installation script for the target application according to script instructions suitable for the operating system environment, and use the installation script to deploy the target application in multiple cloud phones in parallel.

[0049] S303: Determine the configuration parameters of the ARM cloud server to be tested.

[0050] In the disclosed embodiment, the configuration parameters include at least file descriptor parameters and GPU binding parameters. The file descriptor parameters are used to control whether the target application can run normally, and the GPU binding parameters are used to control the GPU usage rate.

[0051] S304. According to the performance test scenario, control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application.

[0052] Among them, the target application is the cloud gaming application; the test scenario is determined by the values ​​of the number of multiple openings, the number of controlled numbers, and the number of idle phones; the number of multiple openings is the number of cloud phones that run the target application concurrently; the number of controlled numbers is the number of cloud phones allowed to be used by users at the same time; the number of idle phones is the number of cloud games logged in and in the idle state.

[0053] S305. Obtain values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool.

[0054] The test index includes at least one of CPU usage, GPU usage, memory, CPU temperature, GPU temperature and frame rate.

[0055] S306. Determine the multi-opening performance of the ARM cloud server to be tested according to the values ​​of the test indicators obtained in real time.

[0056] S307: Adjust file descriptor parameters according to the running status of the target application during the test.

[0057] Optionally, the file descriptor parameter is adjusted according to whether the target application is running normally. It should be noted that if the target application runs normally under a fixed number of openings, the pre-set file descriptor parameter is an appropriate value. Generally, the larger the number of openings of the target application, the larger the value that needs to be adjusted.

[0058] S308. Adjust the parameters of the bound GPU according to the value of the GPU usage rate in the test result.

[0059] In the disclosed embodiment, when adjusting the parameters of the GPU binding according to the GPU usage rate, the number of graphics cards configured by ARM and the number of devices opened can be evenly bound to different graphics cards.

[0060] In the disclosed embodiment, by presetting configuration parameters, it can be ensured that the target application in each cloud phone can run normally, and the ARM cloud server can be tuned by adjusting the configuration parameters subsequently.

[0061] Figure 4 Schematic diagram of the structure of the test device of the ARM cloud server according to the embodiment of the present disclosure. This embodiment is applicable to the case of testing the multi-opening performance of the ARM cloud server. Figure 4 As shown, the device specifically includes:

[0062] The multi-opening control module 401 is used to control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application according to the performance test scenario;

[0063] The data acquisition module 402 is used to obtain the values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool;

[0064] The performance determination module 403 is used to determine the multi-opening performance of the ARM cloud server to be tested according to the values ​​of the test indicators obtained in real time.

[0065] The disclosed embodiments achieve efficient testing of the multi-opening performance of ARM cloud services, and can accurately test the multi-opening performance bottleneck and the optimal number of multi-opening of ARM cloud servers, thereby reducing the risk of multi-opening performance bottleneck of ARM cloud servers, efficiently utilizing the resources of ARM cloud servers, and achieving the purpose of cost savings.

[0066] Based on the above embodiments, optionally, the target application is a cloud gaming application; the test scenario is determined by the values ​​of the multiple opening number, the controlled number and the idle number; the multiple opening number is the number of cloud phones that concurrently run the target application; the controlled number is the number of cloud phones allowed to be used by users at the same time; the idle number is the number of cloud games logged in and in the idle state.

[0067] Based on the above embodiment, optionally, the device further includes:

[0068] The system environment determination module is used to determine the operating system environment of the ARM cloud server to be tested;

[0069] The application deployment module is used to generate an installation script for the target application according to script instructions suitable for the operating system environment, and use the installation script to deploy the target application in multiple cloud phones in parallel.

[0070] Based on the above embodiment, optionally, the device further includes:

[0071] A configuration parameter determination module is used to determine the configuration parameters of the ARM cloud server to be tested;

[0072] The configuration parameters include at least file descriptor parameters and GPU binding parameters. The file descriptor parameters are used to control whether the target application can run normally, and the GPU binding parameters are used to control the GPU usage rate.

[0073] Based on the above embodiment, optionally, the device further includes:

[0074] A first adjustment module, used for adjusting file descriptor parameters according to the running state of the target application during the test;

[0075] The second adjustment module is used to adjust the parameters of the bound GPU according to the value of the GPU usage rate in the test result.

[0076] Based on the above embodiment, optionally, the test indicator includes at least one of CPU usage, GPU usage, memory, CPU temperature, GPU temperature and frame rate.

[0077] The ARM cloud server test device provided in the embodiment of the present disclosure can execute the ARM cloud server test method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in this embodiment can refer to the description in any method embodiment of the present disclosure.

[0078] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0079] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0080] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0081] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0082] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0083] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the test method of the ARM cloud server. For example, in some embodiments, the test method of the ARM cloud server may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the test method of the ARM cloud server described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the test method of the ARM cloud server in any other appropriate manner (e.g., by means of firmware).

[0084] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0085] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0087] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0088] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0089] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0091] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A testing method for an ARM cloud server, comprising: Determine the operating system environment of the ARM cloud server to be tested; Generate an installation script for the target application for each cloud phone according to the script instructions applicable to the operating system environment and the IP addresses of each cloud phone in the ARM cloud server to be tested, and deploy the target application in multiple cloud phones in parallel using the installation script; According to the performance test scenario, control multiple cloud phones in the ARM cloud server to be tested to run the target application concurrently; Obtaining values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool; Determine the multi-opening performance of the ARM cloud server to be tested according to the value of the test indicator obtained in real time; Determine the optimal number of multi-openings and multi-opening performance bottlenecks for ARM cloud servers based on the multi-opening performance in different performance test scenarios; Wherein, the target application is a cloud gaming application; The test scenario is determined by the values ​​of the multi-opening number, the controlled number and the idle number; the multi-opening number is the number of cloud phones that run the target application concurrently; the controlled number is the number of cloud phones allowed to be used by users at the same time; the idle number is the number of cloud games logged in and in the idle state.

2. The method according to claim 1, further comprising: Determine the configuration parameters of the ARM cloud server to be tested; The configuration parameters at least include file descriptor parameters and GPU binding parameters, the file descriptor parameters are used to control whether the target application can run normally, and the GPU binding parameters are used to control GPU usage.

3. The method according to claim 2, after completing the test of the ARM cloud server, further comprises: Adjusting the file descriptor parameters according to the running state of the target application during the test; According to the value of the GPU usage rate in the test result, the parameters of the bound GPU are adjusted.

4. The method according to claim 1, wherein: The test index includes at least one of CPU usage, GPU usage, memory, CPU temperature, GPU temperature and frame rate.

5. A test device for an ARM cloud server, comprising: The system environment determination module is used to determine the operating system environment of the ARM cloud server to be tested; An application deployment module, used to generate an installation script for the target application according to script instructions applicable to the operating system environment, and deploy the target application in multiple cloud phones in parallel using the installation script; The multi-opening control module is used to control multiple cloud phones in the ARM cloud server to be tested to concurrently run the target application according to the performance test scenario; A data acquisition module, used to obtain the values ​​of at least two test indicators from the ARM cloud server to be tested in real time through a test script tool; A performance determination module, used to determine the multi-opening performance of the ARM cloud server to be tested according to the value of the test indicator obtained in real time; The final performance determination module is used to determine the optimal number of multi-openings and multi-opening performance bottlenecks of the ARM cloud server based on the multi-opening performance in different performance test scenarios; Wherein, the target application is a cloud gaming application; The test scenario is determined by the values ​​of the multi-opening number, the controlled number and the idle number; the multi-opening number is the number of cloud phones that run the target application concurrently; the controlled number is the number of cloud phones allowed to be used by users at the same time; the idle number is the number of cloud games logged in and in the idle state.

6. The apparatus according to claim 5, further comprising: A configuration parameter determination module, used to determine the configuration parameters of the ARM cloud server to be tested; The configuration parameters at least include file descriptor parameters and GPU binding parameters, the file descriptor parameters are used to control whether the target application can run normally, and the GPU binding parameters are used to control GPU usage.

7. The apparatus according to claim 6, further comprising: A first adjustment module, used for adjusting the file descriptor parameters according to the running state of the target application during the test; The second adjustment module is used to adjust the parameters of the bound GPU according to the value of the GPU usage rate in the test result.

8. The device according to claim 5, wherein: The test index includes at least one of CPU usage, GPU usage, memory, CPU temperature, GPU temperature and frame rate.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

11. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Cloud service platform performance test method

    CN104333488A

  • Performance test method, device and system based on cloud computing platform

    CN104461856A

  • Cloud desktop based performance test method

    CN105446846A

  • Game server stress test script generation method and device

    CN105959177A

  • Network performance test method and device based on ARM server

    CN106161143A