Coordinating deterministic workload execution
By determining the consumption of computing and communication resources and translating it into performance requirements, and negotiating with the computing platform, the problem of insufficient control function flexibility in virtualized computing environments is solved, enabling deterministic computing and communication for time-critical tasks and supporting flexible hardware updates and expansions.
Patent Information
- Application Number
- CN202211305611.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-10-26
- Filing Date
- 2022-10-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-10-24
AI Technical Summary
Existing technologies lack the flexibility to deploy control functions in virtualized computing environments within industrial plants, making it difficult to meet the deterministic computing and communication requirements of time-critical control tasks.
By determining the consumption of computing and communication resources, translating it into performance requirements, and negotiating with the management entity of the computing platform, we can ensure that workloads are executed on the virtualized computing platform, leveraging its flexibility to guarantee time, synchronization, and availability.
It improves the flexibility of control functions in virtualized computing environments, meets the needs of time-critical control tasks, enables deterministic computing and communication, supports seamless hardware updates and expansions, and reduces reliance on hardware expertise.
Smart Images

Figure CN116028212B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of coordinating the execution of workloads, and more particularly to the field of control tasks in industrial plants within computing environments (especially edge or cloud computing environments). Background Technology
[0002] In every industrial plant, there are control tasks that act on actuators and / or lower-level controllers to maintain certain observable quantities at predetermined setpoints. These tasks, as part of an active feedback loop, are time-critical. Code execution and communication within the plant network need to be limited to the millisecond level.
[0003] To ensure deterministic computation and communication, control tasks are currently primarily performed on dedicated hardware. WO 2015 / 169352 A1 discloses a process control system that provides a set of virtual controllers and assigns plant control functions to these virtual controllers. Physical controllers from a shared hardware pool are then sequentially assigned to perform the control functions assigned to the virtual controllers.
[0004] The objective of this invention is to further increase the flexibility of deploying control functions for industrial plants in virtualized computing environments.
[0005] This objective is achieved by the method according to the independent claim. Other advantageous embodiments are detailed in the dependent claims. Summary of the Invention
[0006] This invention provides a method for deterministically executing a computer implementation that coordinates a given workload on at least one computing platform. For this purpose, the computing platform can provide computing instances on which workloads are executed. The computing instances can be, for example, virtual computers and / or execution environments specifically designed for executing containerized workloads.
[0007] In the course of this method, the consumption of at least one computing resource and at least one communication resource caused by executing a given workload or a portion of a workload is determined. This consumption can be determined, for example, through code analysis of the workload or by testing the execution control environment of this workload. For example, the consumption of computing resources may include the count of machine instructions executed, the count of CPU and / or GPU cycles used, and / or the amount of memory allocated. For example, the consumption of communication resources may include the amount of data transferred via I / O ports or a network and / or the amount of I / O or network bandwidth used.
[0008] At least one performance requirement for the execution of a given workload or a portion of a given workload is determined based on the consumption and a given set of requirements related to the time, synchronization, redundancy, and / or availability of the execution of that workload or a portion thereof. That is, one or the same resource consumption may translate into very different performance requirements depending on the set of requirements. For example, given a certain CPU cycle consumption, the required execution time ceiling determines how much CPU power (in cycles per second) needs to be provided. Synchronization requirements for two different workloads may translate into requirements for executing both workloads on separate CPU cores, rather than having them share a single CPU core. Time requirements for communication can translate into requirements for the computing platform to provide guarantees for this timeliness. Conversely, time requirements for workload execution can translate into time requirements for communication. Availability requirements can translate into requirements for redundancy on the computing platform. Redundancy requirements may also include requirements for failover behavior. For example, a standby instance may be needed to run as a hot failover instance, or it may be reserved to be started as a hot or cold failover instance when needed. Therefore, the hot failover instance may need to be constantly updated with the state of the primary instance and the I / O data that the primary instance is acquiring.
[0009] The timing requirements of modular applications (modules being individual workloads that contribute to overall functionality, such as the control of production processes) can be translated into timing requirements for the execution of a set of workloads and communication between workloads. This further translates into the requirement for time synchronization of compute nodes within and between environments (using, for example, IEEE 802.1AS or IEEE 1588v2 / PTP) to achieve global synchronization of execution and prevent time slippage between nodes during extended execution times, as we have observed in industrial environments.
[0010] The method then further includes negotiating with the management entity of the computing platform to execute a workload or a portion thereof on the computing platform based on at least one performance requirement. In this document, the term "negotiation" should be understood to mean that there may be more than one round of communication before the actual execution of a workload on the computing platform begins. For example, a request to execute a workload may be rejected by the computing platform due to high utilization, or there may be multiple execution modes available.
[0011] By translating resource consumption into performance requirements for execution and negotiating them with the management entity of the computing platform, given requirements for time, synchronization, and / or availability can be guaranteed, even if shared computing resources and / or networks are required. This means that any computing platform capable of providing guarantees for performance requirements can be freely used.
[0012] Specifically, a virtualized computing platform can be used. This platform needs to be able to execute code deterministically, as worst-case execution time is bounded. Crucially, it is advantageous if the platform also provides at least one deterministic communication required for performance. For example, the virtualized computing platform can connect to Time-Sensitive Ethernet (TSN) or 5G networks where deterministic communication is also available. For instance, the virtualized computing platform could be a 5G mobile edge computing platform located at the edge of an industrial plant served by a 5G network. Mobile edge computing moves computing services from the remote cloud to cellular base stations located at the user's premises, promising (e.g., via 5G) low-latency connectivity and low-latency computing. The platform can also include a real-time communication stack that can be executed deterministically.
[0013] Virtualization platforms can use any suitable runtime environment. If the workload is containerized, then recognized runtime and management environments such as Docker or Kubernetes can be used.
[0014] The flexibility of virtualized computing platforms offers numerous advantages, especially for distributed control systems (DCS) and other automation systems.
[0015] For example, existing control solutions can be migrated from end-of-life hardware to a virtualized computing environment so that hardware failure no longer stops the solution as a whole. On the other hand, new solutions can be based on hardware that is independent from the outset. For the same new and legacy applications, cloud-native hardware architectures allow for seamless updates and hardware replacements, as well as easy scaling by adding more hardware to the computing platform's hardware pool.
[0016] Furthermore, for any application (rather than just control applications), an abstraction layer between the resource consumption of workloads eliminates the need for computing platform maintainers to have application-specific expertise. Therefore, hardware no longer needs to be viewed as an application-specific "pet." Instead, it can be considered an application-agnostic "cow," requiring far less work per unit of resource provided.
[0017] In an advantageous embodiment, the negotiation specifically includes:
[0018] • For each of the multiple compute instance configurations available on the compute platform, determine whether the compute instance configuration meets at least one performance requirement;
[0019] • Assign a quality factor based on at least one predetermined criterion to each computing instance that meets at least one performance requirement; and
[0020] • Request to execute the workload or a portion of the workload on a compute instance configuration with the best quality factor.
[0021] In this way, if multiple possible compute instance configurations exist that can meet the hard performance requirements, a favorable choice can be made regarding any other suitable criterion (e.g., total cost). This choice depends on the interaction between resource consumption (a given set of requirements) and the specific resources that each compute instance configuration can provide. In particular, the given set of requirements can have a significant impact on which choice is best.
[0022] For example, both the first and second compute instance configurations may meet performance requirements, but the first compute instance configuration can handle the workload faster than the second because it has greater processing power and / or more memory at a higher price per minute. The most straightforward way to save costs would be to use the second compute instance configuration, as it is cheaper per minute. However, depending on the specific consumption patterns of the workload, this could be a flawed decision. If the workload can fully utilize the extra power and / or memory in the first compute instance configuration, the minutes saved due to the speedup might overcompensate for the higher price per minute.
[0023] Furthermore, during the establishment of performance requirements, the extent to which the workload will benefit from hardware accelerators (such as GPUs) can be determined from the workload's code analysis, or whether it is sufficiently parallelized to benefit from the particularly large number of CPU cores provided by a particular compute instance configuration.
[0024] In this hypothetical example, we assume the workload will involve rendering complex effects on video. Whether this processing can be moved to an impactful cloud instance depends on whether the software used for the effects is GPU-accelerated and / or sufficiently parallelized. Software primarily aimed at home users might only be written to support a maximum of 16 CPU cores, as this is the maximum CPU cores expected in a home computer. Running this software on a 96-core cloud instance would be wasteful, as the processing wouldn't be further accelerated.
[0025] In another example, only the specific catalog of the compute instance configuration is available on the compute platform, so when changing from one configuration to another, an improvement in one may always be associated with a deterioration in the other. This then depends on the specific consumption patterns of the workload to determine which configuration provides the best overall performance.
[0026] In a particularly advantageous embodiment, the workload includes controlling at least one actuator and / or a low-level controller in an industrial plant, such that at least one observable quantity in the industrial plant is maintained at a desired setpoint. As discussed above, computation and communication are time-critical in these applications. The method ensures that hard requirements regarding time, synchronization, and / or availability are met, while allowing the maximum possible flexibility within these hard requirement constraints.
[0027] A common characteristic of most of these control workloads is that a portion of the workload is repeatedly executed in a loop, and this is the part upon which real-time decisions are based in the control loop. In contrast, the portion of a workload that is only activated in response to an event or request is usually more analytical. It consumes variable-length data up to the entire signal history and delivers its results after a variable execution time. Since no real-time decisions depend on the results, there is no need for periodic guarantees about the execution time; instead, the execution environment simply informs the user of the computing service that the estimated execution time is sufficient.
[0028] Therefore, in a particularly advantageous embodiment, the computational and communication overhead is periodically determined specifically for the cyclic execution portion of the workload. Cyclic online algorithms for real-time control typically rerun the same code under conditions of limited or no control flow variation, consuming and delivering variable values at each transition between cycles. This includes regulation and motion closed-loop control, process-critical video analytics (e.g., visual monitoring of product quality on paper or metal), and, in principle, periodic status monitoring. This was previously run on dedicated control or IPC hardware within the plant, as the decision loop is time-critical and closes in real-time at ISA95 Level 1 (e.g., taking corrective action to prevent product quality from exceeding acceptable limits). This type of application also requires the integration of computation with deterministic communication.
[0029] The cyclical portion of a workload can be determined, for example, through analysis of the workload's machine code and / or through analysis of the workload's behavior. In this way, access to the workload's source code is not required. Furthermore, resource consumption can be determined in a more granular manner from the machine code.
[0030] In particular, in another advantageous embodiment, determining computational and communication costs specifically includes determining the amount of CPU cycles consumed during each cycle and the amount of data communicated during each cycle based on the CPU instructions of the workload's machine code executed in each cycle. Given a target computing platform on which the workload will run, the specifications of that platform determine how many CPU cycles each instruction in the instruction set from the CPU will consume. Similarly, it is obvious which aspects of the workload in the control flow determine communication resources (e.g., network) and how much data will be transmitted.
[0031] For example, control software according to IEC 61131 has a very continuous instruction stream without memory loops or dynamic allocation. Therefore, the memory required for the desired computational performance and cycle time can be determined very precisely.
[0032] In another example, if the cycle includes inference computations of the trained neural network (e.g., analysis of a frame of a process-critical video), the computational power and memory consumption are given by the architecture of the neural network and can therefore be determined very precisely.
[0033] In another advantageous embodiment, a portion of the workload is defined as a cyclic execution portion of the workload, which includes at least one communication for reading input data, at least one computation performed on this input data, and at least one communication for writing the result of this computation as output data. This is a common behavior pattern of control loops.
[0034] In another advantageous embodiment, determining computational and communication costs includes testing one or more cycles of the cyclic execution portion of the workload and measuring the created computational and / or communication load. Execution time is directly derived from code analysis of the test execution. Unlike static analysis of machine code, which is unaffected by machine code optimizations (e.g., compilers for high-level languages) and achieves faster code execution at the cost of obscuring its meaning, the machine code controlling the application may even be deliberately obfuscated to make unauthorized "reverse engineering" more difficult.
[0035] In another advantageous embodiment, the negotiation specifically includes:
[0036] • Group computation and communication-related instructions that do not have interdependencies into one or more binding groups; and
[0037] • Request execution from the computing platform for each binding group with upper limits on execution time and / or latency.
[0038] This approach makes it easier to parallelize multiple workloads across multiple cores of a single CPU. Furthermore, it reduces the overhead for scheduling. In the event of a request being rejected, the coordinating entity can adjust the binding group, for example, by subdividing it into smaller subgroups. Negotiation in this regard can be performed at any level of detail. For example, the computing platform can also inform the coordinating entity which parts of the request can be fulfilled, rather than simply rejecting the request. To facilitate this process, the coordinating entity can prioritize different workloads that are being requested for execution simultaneously.
[0039] In another particularly advantageous embodiment, the computing platform translates at least one performance requirement received during negotiation into a set of requirements for the computing platform's resources. Given the current usage of the computing platform, the availability of these resources for allocation is checked. If resources are available for allocation, they are allocated, and workloads or portions of workloads are executed using these resources. Depending on the requested availability or redundancy level, checking resource availability includes checking for spare resources for redundant failover. To maintain the cost advantage of a shared (virtualized) execution environment, an anonymous pool of idle resources is maintained, smaller than the sum of all idle resources specified in the negotiation. For example, when launching 100 workloads using single redundancy, only the resource set for the 10 most demanding workloads is reserved, allowing any 10 of the 100 resources of the primary workload instance to fail. Redundancy requirements may also include physical redundancy between different compute instances drawn from said pool. For example, such a requirement might specify that the 100 workloads are distributed across at least two different physical computing platforms. Furthermore, the degree of redundancy requirements in terms of compute instances needs to be supported by actual reserved compute instances, which is configurable. For example, some compute instances in the pool might be instances that were reserved when the pool was created, while others might be activated on demand during invocation. This approach accepts the small risk of not having immediate access to additional instances, but at a lower cost for reserving them. Any redundancy requirements might also include the tolerance for which failures of the physical computing platform need to be tolerated. For each physical computing platform that needs to tolerate failures, appropriate spare capacity needs to be reserved.
[0040] In this way, the shared use of the computing platform is facilitated. In particular, the fact that the computing platform is a shared platform eliminates the need for any action from the side of the entity that determines performance requirements and negotiates with the management entity of the computing platform, except for handling situations where requests to perform workloads cannot be fulfilled due to the high utilization of the computing platform.
[0041] The resources whose availability is checked during this process may specifically include one or more of the following:
[0042] • Arithmetic Logic Unit (ALU) operations on the CPU core;
[0043] Floating-point operations;
[0044] • CPU cycle;
[0045] • Memory capacity;
[0046] • Input / output bandwidth;
[0047] • Robustness and / or redundancy levels;
[0048] • Failover time; and
[0049] ·Delay.
[0050] Preferably, the entity that determines the performance requirements and negotiates them with the management entity of the computing platform is separate from the computing platform itself. This facilitates the use of a computing platform operated by a third party. The computing platform only needs the functionality to execute workloads within the constraints of negotiating one or more performance requirements. However, the determination of performance requirements can also be integrated into the computing platform to enable negotiated execution between two units on the same computing platform.
[0051] In another advantageous embodiment, the negotiation includes:
[0052] • Provide information about workload and at least one performance requirement to multiple different management entities on the corresponding computing platform;
[0053] • Receive the value of the cost function used to perform the workload or a portion of the workload from each management entity; and
[0054] • Request to execute the workload or a portion of the workload from the management entity that provides the optimal value for the cost function.
[0055] In this way, the specific advantages of each computing platform can be utilized. For example, a particular computing platform can provide hardware accelerators (such as GPUs) from which the execution of workloads may benefit.
[0056] This method can be implemented wholly or partially by a computer. Therefore, the invention also relates to one or more computer programs having machine-readable instructions that, when executed on one or more computers and / or computing instances, cause one or more computers to perform the method. In this context, virtualization platforms, hardware controllers, network infrastructure devices (e.g., switches, bridges, routers, or wireless access points), and terminal devices in a network capable of executing machine-readable instructions (e.g., sensors, actuators, or other industrial field devices) are also considered computers.
[0057] Therefore, the present invention also relates to a non-transitory storage medium and / or a downloadable product having one or more computer programs. The downloadable product is a product that can be sold in an online store for immediate use via download. The present invention also provides one or more computer and / or computing instances having one or more computer programs and / or having one or more non-transitory machine-readable storage media and / or downloadable products. Attached Figure Description
[0058] The invention is illustrated below with reference to the accompanying drawings, but is not intended to limit the scope of the invention.
[0059] The diagram illustrates:
[0060] Figure 1Exemplary embodiments of a method 100 for deterministically performing a coordinated workload 3;
[0061] Figure 2 : An exemplary system for performing method 100.
[0062] Figure 3 An exemplary setup of the coordination method 100 can be applied. Detailed Implementation
[0063] Figure 1 A schematic flowchart of an exemplary embodiment of a method 100 for deterministically performing a coordinated workload 3.
[0064] In step 110, the consumption of at least one computing resource 3a and the consumption of at least one communication resource 3b caused by executing a given workload 3 are determined.
[0065] According to box 111, this may include determining at least one cyclic execution portion of workload 3 by analyzing the machine code of workload 3 and / or by analyzing the behavior of workload 3.
[0066] Specifically, according to block 111a, a portion of workload 3 can be determined as a cyclic execution portion of workload 3, the portion of workload 3 including at least one communication for reading input data, at least one calculation performed on the input data, and at least one communication for writing the result of the calculation as output data.
[0067] According to box 112, the consumption 3a and communication consumption 3b are calculated and can then be specifically determined for the cycle of the cyclic execution portion of workload 3.
[0068] Specifically, according to box 112a, the amount of CPU cycles consumed during each cycle and the amount of data communicated during each cycle can be determined based on the CPU instructions of the machine code of workload 3 executed in each cycle.
[0069] Alternatively or in combination, according to box 112b, one or more cycles of the cyclic execution portion of workload 3 can be tested. According to box 112c, the created computational and / or communication load can then be measured.
[0070] In step 120, at least one performance requirement 6 is determined for the execution of the given workload or a portion of the workload based on computational consumption 3a and communication consumption 3b, as well as a set of given requirements 5 related to the time, synchronization, redundancy, and / or availability of the execution of the given workload 3 or a portion of the given workload 3.
[0071] In step 130, based on at least one performance requirement 6, negotiation is held with the management entity 40 of the computing platform 4 to execute workload 3 or a portion of workload 3 on the computing platform 4. Figure 2 The example configuration of computing platform 4 and management entity 40 is further detailed below.
[0072] According to box 131, for each of the multiple compute instance configurations available on compute platform 4, it is determined whether this compute instance configuration meets at least one performance requirement 6. If so (true value 1), then for each compute instance configuration that meets at least one performance requirement 6, a quality factor based on at least one predetermined criterion can be assigned according to box 132. According to box 133, workload 3 or a portion thereof can then be requested to be executed on the compute instance configuration with the best quality factor.
[0073] According to box 134, computation and communication-related instructions of workload 3 or a portion thereof that do not have interdependencies can be grouped into one or more binding groups. According to box 135, execution of each binding group with upper limits on execution time and / or latency can then be requested from computing platform 4.
[0074] According to box 136, information about workload 3 and at least one performance requirement can be provided to multiple different management entities 40 of the corresponding computing platform 4. According to box 137, the value of a cost function for executing the workload or a portion of the workload can be received from each management entity 40. According to box 138, it is then possible to request execution of workload 3 or a portion of workload 3 from the management entity 40 that has provided the optimal value of the cost function.
[0075] According to box 139a, the timing requirements of a modular application can be translated into timing requirements for executing a set of workloads 3 and communication between workloads 3. According to box 139b, these requirements can then be translated into timing synchronization requirements for compute nodes within and between execution environments.
[0076] In step 140, the computing platform 4 will translate at least one performance requirement 6 received during the negotiation into a set of requirements 7 for the resources of the computing platform 4.
[0077] Then, in step 150, given the current usage of computing platform 4, it is checked whether these resources are available for allocation. If the resources are available (true value 1), the resources are allocated in step 160, and in step 170, these resources are used to perform a workload or a portion of a workload.
[0078] Figure 2 An exemplary embodiment of a system for performing method 100 is shown.
[0079] Software tool 1 creates application code 2 and packages it into a container, thus becoming a workload 3 to be executed. Then, in method step 110, the computational cost 3a and communication cost 3b of workload 3 are determined. In method step 120, these costs 3a and 3b are translated into at least one performance requirement 6 based on a given set of requirements 5, which relate to the time, synchronization, redundancy, and / or availability of executing a given workload 3 or a portion thereof.
[0080] In method step 130, the execution of workload 3 is negotiated with the management entity of computing platform 4. Management entity 40 translates performance requirement 6 into resource requirements 7 for computing platform 4. Figure 2 Two instances of the working hardware, 41 and 42, are illustrated exemplarily. Communication between the coordination entity 9, which performs method steps 110 to 130, and the management entity 40 of the computing platform 4, is managed by a deterministic network controller 8.
[0081] Figure 3 An exemplary setup where coordination method 100 can be applied is shown. The computing cluster, serving as computing platform 4, includes two physical computing devices 4a and 4b. Figure 3 In the example shown, physical computing devices 4a and 4b are managed by a common management entity 40. Each physical computing device 4a and 4b may include one or more hardware working instances 41, 42 ( Figure 3 (Not shown in the image). Device 4a runs two workloads 31 and 32 in their respective virtualization execution environments. Device 4b runs a workload 31' in a different virtualization execution environment. Workloads 31 and 32 are part of the same modular application. Workload 31' is a redundant workload that serves as a failover instance of workload 31. Therefore, workload 31' needs to be executed synchronously with workload 31 for the failover to succeed. Depending on whether there are dependencies between workloads 31 and 32, synchronous execution of these two workloads may also be required.
[0082] exist Figure 3 The setup shown uses three different network communication modes. Communication between the cluster as a whole and external I / O devices is performed via a frontend link 43, which could be, for example, a 5G link. Communication between physical computing devices 4a and 4b (e.g., synchronization of workloads 31 and 31') is performed via an edge cluster box interconnect 44, which could be, for example, a Time-Sensitive Network (TSN). Communication between different workloads 31 and 32 on the same physical computing device 4a is performed via a virtual loopback interface 45 within the box.
[0083] The coordination process described in method 100 generates abstract requirements regarding computing resources, the timing of different workloads, and communication. The management entity 40 of the cloud computing platform 4 translates these abstract requirements into specific configuration parameters for the resources used. For example, slices or time-frequency resources can be reserved in a 5G network without the coordinating entity needing to know beforehand that 5G is being used. Furthermore, the coordinating entity does not need to explicitly require the establishment of a specific communication link between workloads 31 and 31'. Instead, these workloads are redundant requirements in the sense of hot failover, therefore 31' needs to reside on a different physical computing device than 31. This, in turn, translates into a requirement for an appropriate communication link with specific latency and bandwidth. This latency and bandwidth depend on the size of the data involved.
[0084] List of reference numerals
[0085] 1. Software Tools
[0086] 2. Application Code
[0087] 3 Containerized workloads for execution
[0088] 3a Computational cost of workload 3
[0089] 3b Communication consumption of workload 3
[0090] 31,32 Exemplary workloads
[0091] 31' Redundant instance of workload 31
[0092] 4. Computing Platform
[0093] 4a, 4b Physical computing devices in computing platform 4
[0094] 40 Management Entities of Computing Platform 4
[0095] 41, 42 Hardware Working Examples of Computing Platform 4
[0096] 43-45 Network Links
[0097] 5. Perform the given requirements of workload 3.
[0098] 6. Performance requirements of computing platform 4
[0099] 7. Resource requirements for computing platform 4
[0100] 8. Deterministic Network Controller
[0101] 9. Coordinating Entities
[0102] 100 Methods for coordinating the execution of workload 3
[0103] 110 Confirmed consumption of 3a and 3b
[0104] 111 Determine the cyclic execution portion of workload 3
[0105] 111a Determines that the read, compute, and write section is a loop execution section.
[0106] 112 Determine the resource consumption of the loop execution portion 3a, 3b
[0107] 112a Determines the CPU cycle and the data communicated within a cycle.
[0108] 112b Test execution loop section
[0109] 112c Measurement test execution computational and / or communication load
[0110] 120 Define performance requirements 6
[0111] 130 and management entity 40 negotiate and implement.
[0112] 131 Determine if the computing instance meets the performance requirements 6
[0113] 132 Assigning quality factors to computational instances
[0114] 133 Request execution on the instance with the best quality factor
[0115] 134 Group the instructions into the binding group
[0116] 135 Request execution of the bound group
[0117] 136 Provide information to multiple management entities 40
[0118] 137. Value of the receiving cost function
[0119] 138 Request execution from management entity 40 with the best cost value
[0120] 139a Time requirements for converting modular applications
[0121] 139b is converted into a synchronization requirement.
[0122] 140 Requirements for obtaining resources from Platform 4
[0123] 150. Check if resources are available for allocation.
[0124] 160. Resource Allocation
[0125] 170 Perform workload 3 on the allocated resources
[0126] D External I / O devices
Claims
1. A method for coordinating computer implementations that deterministically execute a given workload on at least one computing platform, comprising the steps of: Determine at least one computational cost and at least one communication cost caused by executing a given workload or a portion of the given workload, wherein the computational cost and the communication cost are specifically determined for a period of a cyclic execution portion of the workload, and wherein at least one cyclic execution portion of the workload is determined by analysis of the machine code of the workload and / or by analysis of the behavior of the workload; Based on the computational and communication costs, and a set of given requirements related to the time, synchronization, redundancy, and / or availability of executing the given workload or a portion of the given workload, determine at least one performance requirement for the execution of the workload or a portion of the workload; Based on the at least one performance requirement, negotiate with the management entity of the computing platform to execute the workload or a portion of the workload on the computing platform, wherein the negotiation specifically includes: Grouping computation and communication-related instructions of the workload, or a portion thereof, that do not have interdependencies into one or more binding groups; and Request execution from the computing platform for each binding group with an upper limit on execution time and / or latency; The computing platform translates at least one performance requirement received during the negotiation into a set of requirements for the resources of the computing platform. Given the current usage of the computing platform, check whether the resources are available for allocation; and If the resource is available for allocation, then allocate the resource and use the resource to perform the workload or a portion of the workload.
2. The method according to claim 1, wherein the negotiation specifically includes: For each of a set of multiple computing instance configurations available on the computing platform, determine whether the computing instance configuration meets the at least one performance requirement; Configure and assign a quality factor based on at least one predetermined standard to each computing instance that meets the at least one performance requirement; as well as The request is to execute the workload or a portion thereof on a compute instance configuration with the best quality factor.
3. The method according to claim 1 or 2, wherein the workload comprises controlling at least one actuator and / or a lower-level controller in the industrial plant such that at least one observable quantity of the industrial plant is maintained at a desired set value.
4. The method according to any one of claims 1 to 2, wherein the determination of computational consumption and communication consumption specifically includes: Based on the CPU instructions of the machine code of the workload executed in each cycle, determine the amount of CPU cycles consumed during each cycle and the amount of data communicated during each cycle.
5. The method of claim 1, wherein the determination of computational and communication consumption includes testing one or more cycles of the cyclic execution portion of the workload and measuring the created computational and / or communication load.
6. The method according to any one of claims 1 to 2, wherein a portion of the workload is determined as a cyclic execution portion of the workload, the portion of the workload including at least one communication for reading input data, at least one computation performed on the input data, and at least one communication for writing the result of the computation as output data.
7. The method according to any one of claims 1 to 2, wherein the negotiation specifically includes: The time requirements for modular applications are transformed into time requirements for executing a set of workloads and the communication between those workloads. as well as This requirement translates into a requirement for time synchronization of computing nodes within and between execution environments.
8. The method of claim 1, wherein the resource being examined specifically includes one or more of the following: Arithmetic Logic Unit (ALU) operations on the CPU core; Floating-point arithmetic; CPU cycle; Memory capacity; Input / output bandwidth; Robustness and / or redundancy levels; Failover time; and Delay.
9. The method according to any one of claims 1 to 2, wherein the negotiation comprises: Provide information about the workload and the at least one performance requirement to multiple different management entities of the corresponding computing platform; Receive from each management entity the value of a cost function used to execute the workload or a portion thereof; and The request is to execute the workload or a portion thereof from the management entity that has provided the optimal value for the cost function.
10. A computer program product comprising machine-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the method according to any one of claims 1 to 9.
11. A non-transitory machine-readable storage medium having machine-readable instructions stored thereon, which, when executed by one or more processors, cause the one or more processors to perform the method according to any one of claims 1 to 9.
12. A computer comprising a memory, a processor, and a computer program stored in the memory, which, when executed by the processor, causes the processor to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Flexible controller utilization in a process control system
WO2015169352A1
Method for arranging workloads in a software defined automation system
US10845786B2
