A capacity migration method, device, electronic equipment and storage medium
A capacity and threshold setting technology, which is applied in the direction of multi-channel program device, program control design, electrical digital data processing, etc., can solve the problem of resource overload of the press machine, and achieve the effect of improving test efficiency and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a schematic flowchart of a capacity migration method provided in Embodiment 1 of the present invention. The capacity migration method disclosed in this embodiment can be performed by a capacity migration device, where the device can be implemented by software and / or hardware, and is generally integrated in a terminal, such as a smart phone or a computer. For details, see figure 1 As shown, the method includes the following steps:
[0045] 110. When performing task control and scheduling on the current press machine, collect resource consumption information of the current press machine.
[0046]Wherein, the stressing machine is a machine capable of generating stress testing traffic during system performance testing, which may be a virtual machine or a physical machine, such as a server, a mobile phone, and a computer. When stress testing the system, the control center usually triggers task control scheduling every 500ms, and determines the threads to se...
Embodiment 2
[0070] figure 2 It is a schematic flowchart of a capacity migration method provided in Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment further optimizes the capacity migration scheme. The benefits of optimization are to further improve the full utilization of press machine resources and better solve the problem of press machine resource overload. For details, see figure 2 As shown, the method includes the following steps:
[0071] 210. When performing task control and scheduling on the current press machine, collect resource consumption information of the current press machine.
[0072] 220. Evaluate the current resource water level of the pressing machine based on the resource consumption information.
[0073] 230. When the resource water level of the current press machine reaches the first set threshold, lock the current press machine to prevent the task capacity of the current press machine from being simultaneously...
Embodiment 3
[0082] image 3 It is a schematic structural diagram of a capacity migration device provided by Embodiment 3 of the present invention. see image 3 As shown, the device includes: an acquisition module 310, an evaluation module 320 and a migration module 330;
[0083] Wherein, the collection module 310 is used to collect resource consumption information of the current press machine when performing task control scheduling on the current press machine;
[0084] An evaluation module 320, configured to evaluate the resource water level of the current press machine based on the resource consumption information;
[0085] Migration module 330, configured to migrate the task capacity of the current pressure machine based on a set rule when the resource water level of the current pressure machine reaches a first set threshold, so that the current pressure machine's The water level of the resource falls below the first set threshold.
[0086] Further, the collection module 310 is spe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


