WORKLOAD MIGRATION
20230125491 · 2023-04-27
Inventors
- Douglas Gordon Kinnaird (Calgary, CA)
- Clea Zolotow (Key West, FL, US)
- Mansura Habiba (Jhonstown, IE)
- Hasibe Göçülü (Selcuklu, TR)
- Neil Toussaint (Malvern, GB)
- Ana Maria BEZERRA MAIMONI (Sao Paulo, BR)
Cpc classification
G06F18/2148
PHYSICS
International classification
G06F9/50
PHYSICS
G06F18/21
PHYSICS
G06F18/214
PHYSICS
Abstract
Embodiments of the present invention provide concepts for identifying an edge computing environment location as a target for workload migration. For example, embodiments may provide for a machine-learning algorithm to be trained to predict or suggest the most appropriate edge location for migrating a workload. Using a description of a workload, the machine-learning algorithm may predict/suggest one or more edge locations.
Claims
1. A method of training a machine learning algorithm for identifying an edge computing environment location as a target for workload migration, the method comprising: receiving: i) a description of a training workload; and ii) an identifier of an edge location for migrating the training workload; and training the machine learning algorithm based on the description of a training workload as a training input for the machine learning algorithm and the identifier of the edge location for migrating the training workload as a training output for the machine learning algorithm.
2. The method of claim 1, wherein the training comprises adjusting a configuration of the machine learning algorithm so as to decrease an outage time objective.
3. The method of claim 1, wherein the training comprises: adjusting a configuration of the machine learning algorithm so as to decrease a difference between the identifier of the edge location for migrating the training workload and a second identifier that is output by the machine learning component.
4. The method of claim 1, wherein the machine learning algorithm comprises a neural network and wherein the training is based on a loss function for a gradient of the neural network.
5. The method of claim 1, wherein the description of the training workload comprises a time series of a plurality of variables.
6. A method for workload migration at an edge computing environment, the method comprising: providing a description of a workload to a machine learning algorithm for identifying an edge computing environment location as a target for workload migration; and obtaining a prediction result from the machine learning algorithm based on the description of the workload, the prediction result including an identifier of an edge location.
7. The method of claim 6, wherein the machine learning algorithm is trained using a training algorithm configured to receive an array of training inputs and known outputs, wherein the training inputs comprise descriptions of training workloads and the known outputs comprise identifiers of edge locations for migrating the training workloads.
8. The method of claim 6, further comprising communicating the workload to an edge computing environment associated with the identifier of an edge location included in the prediction result.
9. The method of claim 6, further comprising: prior to providing the description of the workload to the machine learning algorithm, processing the description of the workload so as to meet a predetermined formatting requirement.
10. The method of claim 6, further comprising: receiving feedback on the prediction result; and modifying the configuration of the machine learning algorithm based on the received feedback.
11. A computer program product for training a machine learning algorithm for identifying an edge computing environment location as a target for workload migration, the computer program product comprising one or more computer readable storage media having program instructions embodied therewith, the program instructions executable by a processing unit to cause the processing unit to perform a method comprising: receiving: i) a description of a training workload; and ii) an identifier of an edge location for migrating the training workload; and training the machine learning algorithm based on the description of a training workload as a training input for the machine learning algorithm and the identifier of the edge location for migrating the training workload as a training output for the machine learning algorithm.
12. The computer program product of claim 11, wherein the training comprises adjusting a configuration of the machine learning algorithm so as to decrease an outage time objective.
13. The computer program product of claim 11, wherein the training comprises: adjusting a configuration of the machine learning algorithm so as to decrease a difference between the identifier of the edge location for migrating the training workload and a second identifier that is output by the machine learning component.
14. The computer program product of claim 11, wherein the machine learning algorithm comprises a neural network and wherein the training is based on a loss function for a gradient of the neural network.
15. The computer program product of claim 11, wherein the description of the training workload comprises a time series of a plurality of variables.
16. A computer program product for workload migration at an edge computing environment, the computer program product comprising one or more computer readable storage media having program instructions embodied therewith, the program instructions executable by a processing unit to cause the processing unit to: provide a description of a workload to a machine learning algorithm for identifying an edge computing environment location as a target for workload migration; and obtain a prediction result from the machine learning algorithm based on the description of the workload, the prediction result including an identifier of an edge location.
17. The computer program product of claim 16, wherein the machine learning algorithm is trained using a training algorithm configured to receive an array of training inputs and known outputs, wherein the training inputs comprise descriptions of training workloads and the known outputs comprise identifiers of edge locations for migrating the training workloads.
18. The computer program product of claim 16, wherein the program instructions are executable to communicate the workload to an edge computing environment associated with the identifier of an edge location included in the prediction result.
19. The computer program product of claim 16, wherein the program instructions are executable to: prior to providing the description of the workload to the machine learning algorithm, process the description of the workload so as to meet a predetermined formatting requirement.
20. The computer program product of claim 16, wherein the program instructions are executable to: receive feedback on the prediction result; and modify the configuration of the machine learning algorithm based on the received feedback.
21. A system for training a machine learning algorithm for identifying an edge computing environment location as a target for workload migration, the system comprising: a processor arrangement configured to: receive: i) a description of a training workload; and ii) an identifier of an edge location for migrating the training workload; and train the machine learning algorithm based on the description of a training workload as a training input for the machine learning algorithm and the identifier of the edge location for migrating the training workload as a training output for the machine learning algorithm.
22. The system of claim 21, wherein the training comprises adjusting a configuration of the machine learning algorithm so as to decrease an outage time objective.
23. The system of claim 21, wherein the training comprises adjusting a configuration of the machine learning algorithm so as to decrease a difference between the identifier of the edge location for migrating the training workload and a second identifier that is output by the machine learning component.
24. The system of claim 21, wherein the machine learning algorithm comprises a neural network and wherein the training is based on a loss function for a gradient of the neural network.
25. The system of claim 21, wherein the description of the training workload comprises a time series of a plurality of variables.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Aspects of the present invention are described in the detailed description which follows, in reference to the noted plurality of drawings by way of non-limiting examples of exemplary embodiments of the present invention.
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
DETAILED DESCRIPTION
[0032] It should be understood that the Figures are merely schematic and are not drawn to scale. It should also be understood that the same reference numerals are used throughout the Figures to indicate the same or similar parts.
[0033] In the context of the present disclosure, where embodiments of the present invention constitute a method, it should be understood that such a method is a process for execution by a computer, i.e., is a computer-implementable method. The various steps of the method therefore reflect various parts of a computer program, e.g., various parts of one or more algorithms.
[0034] Also, in the context of the present disclosure, a (processing) system may be a single device or a collection of distributed devices that are adapted to execute one or more embodiments of the methods of the present invention. For instance, a system may be a personal computer (PC), a server or a collection of PCs and/or servers connected via a network such as a local area network, the Internet and so on to cooperatively execute at least one embodiment of the methods of the present invention.
[0035] Also, in the context of the present disclosure, a system may be a single device or a collection of distributed devices that are adapted to execute one or more embodiments of the methods of the present invention. For instance, a system may be a personal computer (PC), a portable computing device (such as a tablet computer, laptop, smartphone, etc.), a set-top box, a server or a collection of PCs, IoT sensors and/or servers connected via a network such as a local area network, 5G networking (i.e., mobile device networking), the Internet and so on to cooperatively execute at least one embodiment of the methods of the present invention.
[0036] The technical character of the present disclosure generally relates to workload management, and more particularly, to workload migration that may, for example, identify edge computing environments (i.e., edge locations) for migrating one or more workloads. More specifically, embodiments of the present invention provide concepts for automatically identifying an edge computing environment location as a target for workload migration, and such identification may employ machine learning techniques to analyze workload information (and suggest/predict one or more edge computing environments (i.e., edge locations) for migrating the workload.
[0037] Edge computing is a distributed computing paradigm which brings computation and data storage closer to the location it is needed, to improve response times and save bandwidth. In this paradigm, the smaller infrastructure components are distributed at the edge of the network. This facilitates the operation of end devices by acting as the relay to meet the needs of high-speed Internet of Things devices, thus reducing the bandwidth load of the network core. The same paradigm can be applied to cloud computing when it comes to connected devices. In such an arrangement, the first connection (i.e., hop) from smart devices, mobile phones, connected cars, drones, robots, etc. is not to large public clouds, but is instead to something closer, the Edge Cloud operating at the edge of the network. Unlike conventional workload migration approaches, embodiments may propose concepts for intelligently determining which edge computing resources (i.e., edge locations) to migrate one or more workloads to.
[0038] Embodiments may also be able to adapt to feedback and/or changing resources for future instances/occurrences of the same workload(s).
[0039] Embodiments may therefore obviate or mitigate problems associated with conventional workload migration approaches, by providing a method, a system and a computer program product for workload migration at an edge computing environment using machine learning algorithms. Also, concepts for training the machine-learning algorithms are provided.
[0040] Implementations may achieve such benefits through the use of machine-learning training approaches employing a corpus of training workloads and edge locations for migrating the training workloads. In some embodiments, for example, training may comprise adjusting a configuration of the machine learning algorithm so as to decrease a difference between the identifier of the edge location for migrating the training workload and a second identifier that is output by the machine learning component.
[0041] By way of further example, training may comprise adjusting a configuration of the machine learning algorithm so as to decrease an outage time objective.
[0042] After training, the machine learning algorithm may be expected to be able to receive a description of a workload (e.g., a time series of a plurality of variables) and provide a prediction/suggestion of an edge location most suited for migrating the workload.
[0043] It is understood in advance that although this disclosure includes a detailed description on cloud computing, implementation of the techniques recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
[0044] Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[0045] Characteristics are as follows: [0046] On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service’s provider. [0047] Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs). [0048] Resource pooling: the provider’s computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter). [0049] Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time. [0050] Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
[0051] Service Models are as follows: [0052] Software as a Service (SaaS): the capability provided to the consumer is to use the provider’s applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings. [0053] Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations. [0054] Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
[0055] Deployment Models are as follows: [0056] Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises. [0057] Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises. [0058] Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services. [0059] Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
[0060] A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
[0061] Referring now to
[0062] In cloud computing node 10 there is a computer system/server 12, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
[0063] Computer system/server 12 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 12 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
[0064] As shown in
[0065] Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
[0066] Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.
[0067] System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 18 by one or more data media interfaces. As will be further depicted and described below, memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
[0068] Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment.
[0069] Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described herein. For example, some or all of the functions of a DHCP client 80 can be implemented as one or more of the program modules 42. Additionally, the DHCP client 80 may be implemented as separate dedicated processors or a single or several processors to provide the functionality described herein. In embodiments, the DHCP client 80 performs one or more of the processes described herein.
[0070] Computer system/server 12 may also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; one or more devices that enable a user to interact with computer system/server 12; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing devices. Such communication can occur via I/O interfaces 22. Still yet, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (redundant array of inexpensive disks or redundant array of independent disks) systems, tape drives, and data archival storage systems, etc.
[0071] Referring now to
[0072] Referring now to
[0073] Hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes 61; RISC (Reduced Instruction Set Computer) architecture based servers 62; servers 63; blade servers 64; storage device 65; and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
[0074] Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.
[0075] In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
[0076] Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and workload management/migration processes 96 described herein. In accordance with aspects of the invention, the workload management/migration processes 96 function operates to perform one or more of the processes described herein.
[0077]
[0078] In accordance with aspects of the invention, the migration client 170 can be implemented as one or more program code in program modules 42 stored in memory as separate or combined modules. Additionally, the migration client 170 may be implemented as separate dedicated processors or a single or several processors to provide the function of these tools. While executing the computer program code, the processing unit 16 can read and/or write data to/from memory, storage system, and/or I/O interface 22. In embodiments, the program code executes the processes of the invention.
[0079] By way of example, migration client 170 may be configured to communicate with the migration server 160 via a cloud computing environment 50. As discussed with reference to
[0080] The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
[0081] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
[0082] Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
[0083] Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user’s computer, partly on the user’s computer, as a stand-alone software package, partly on the user’s computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user’s computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
[0084] Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
[0085] These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
[0086] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
[0087] The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
[0088]
[0089] Referring to
[0090] Neural ODEs are a family of deep neural network models. Instead of specifying a discrete sequence of hidden layers, embodiments parameterize the derivative of the hidden state using a neural network. The output of the network is computed using a differential equation solver. Neural ODEs allow end-to-end training within larger models.
[0091] Other types of neural network, such as convolutional neural networks (CNNs) and recurrent neural networks (RNNs) are widely known.
[0092] Various approaches to training a machine-learning algorithm are known. Typically, such methods comprise obtaining a training dataset, comprising training input data entries 510 and corresponding training output data entries 540. An initialized machine-learning algorithm is applied to each input data entry 510 to generate predicted output data entries. An error between the predicted output data entries and corresponding training output data entries is used to modify the machine-learning algorithm. This process can be repeated until the error converges, and the predicted output data entries are sufficiently similar (e.g., ±1%) to the training output data entries. This is commonly known as a supervised learning technique.
[0093] Known methods of modifying a neural network include gradient descent, backpropagation algorithms and so on.
[0094] In embodiments, the training input data entries for the machine learning algorithm correspond to descriptions of training workloads. By way of example, a description of a workload may comprise, wherein the workload data is converted as time series of multiple variables: [0095] V = {A set of VMs to migrate} [0096] A = {A set of applications to migrate} [0097] D = {A set of dependencies to migrate} [0098] T= {A set of metadata for different application, peak hour and others} [0099] Z= input which is a time series of multiple workload [0100] Z= {V, A, D, T}
[0101] In embodiments, the training output data entries for the machine learning algorithm correspond to edge locations for migrating the training workload.
[0102] In accordance with aspects of the invention, several pre-processing methods are employed to improve the training sample(s). For instance, the data sources to be used as a dataset to train the proposed machine learning algorithm may have differentiating formats. Therefore, some pre-processing may be executed to bring all training data to a common format. For this, a data pre-processor component may be used, and all data that is used to train the machine learning algorithm model may be passed through the pre-processor to achieve a consistent format of the training data.
[0103] In embodiments, the data format is designed to preserve the relationship(s) between: (i) a workload (or a set of workloads); and (ii) an edge location for migrating the workload(s). In a simple form, the data may be represented as tuples of a workload and an identifier - (workload1, edgelocationA), ([workload2, workload3], edgelocationB), etc.
[0104] In implementations, the training data comes from an initial data set (e.g., training data), or from data incoming from a workload management deployment at an edge computing environment. The initial data set may be split into a training and test data set, to provide validation for the training process.
[0105] From the above description, it will be understood that embodiments include training a machine learning algorithm based on a description of a workload (as a training input for the machine learning algorithm) and the identifier of an edge location (i.e., edge resource) as a source for migrating the workload (as a training output for the machine learning algorithm). In one example, the training comprises adjusting a configuration of the machine learning algorithm so as to decrease a difference between the identifier of the edge location for migrating the workload and a second identifier that is output by the machine learning component.
[0106]
[0107] In embodiments, when a new workload is identified/obtained, a description 550 of the new workload (e.g., Z1= {V={V+V1}, A, D, T}) may be provided as an input to the artificial neural network 500. In the description of the new workload, any one of the parameter set may have a different value. A prediction result 560 may then be obtained as an output from the artificial neural network 500, wherein the prediction result 560 includes an identifier of an edge computing environment location as a target for workload migration. The identifier may then be distributed to the appropriate edge computing environment.
[0108] Embodiments include using a machine learning during a workload migration planning phase, wherein an edge layer analyzes the workloads running within the edge and “self-nominate” workloads to be migrated between edge nodes. In this manner, the workload planning machine learning models may be deployed within the edge computing environment (i.e., edge layer), because sufficient computational resources exist within the edge layer. This may help to eliminate unnecessary network traffic between the cloud and edge layers.
[0109] By way of illustration, an unmanned vehicle is an example of a “dynamic edge” application, where the number of workloads in the edge layer vary depending on the number of vehicles and their position. In this example, the machine learning model continuously optimizes the edge layer computational resources. The edge layer application software components are deployed in containers rather than VMs because containers have quicker initialization and are moved between clusters more quickly than VMs.
[0110] By way of further illustration, an exemplary use case will now be described with reference to
[0111] In this use case, first exemplary algorithm is summarized as follows: [0112] Algorithm 1: Train a distributed neural network to identify suitable edge locations that can be used as source for workload migration. [0113] Input - Batches of workload waves (e.g., container, VM, or serverless) of D1 data center and their corresponding edge locations [0114] Output - A list of source edge locations which are suitable for each wave workload to be migrated with Service Outage Time Objective as a result of the migration to near 0.
[0115] Pseudo Code for Algorithm 1:
TABLE-US-00001 1 For each batch b in batches of workload 2 For each workload A in b 3 For each edge location i in edges where A is deployed 4 δ.sub.Ai, δ.sub.t = Neural ODE solver(DNN, Ai T bc} 5 if δ.sub.Ai < th : 6 latest_A = Ai 7 th=δ.sub.Ai 8 if δ.sub.Ai < tt : 9 busiest_A = Ai 10 tt = δ.sub.t 11 optimizer(grad (loss_fn, δ.sub.Ai, δ.sub.t), DNN ) 12 rank all edge locations for A based on the business impact 13 L.sub.A = top 4 locations from all ranked edge locations 14 Locations.add(L.sub.A)
[0116] In the above algorithm, each workload (A) is considered a multi-variate time series. One workload A can be replicated in multiple edge locations. For each of those locations, workload A can have a different version. Workloads in edge locations are continuously changing. For example, the workloads change while the edge cluster has local cache and is constantly synchronizing with the primary workload.
[0117] In embodiments, to compute the changes, boundary condition bc may be considered. For example, the current version at time t for each i-th location is included in the model training. In one example, no workload older than τ is included in the training for the machine learning model. In examples, to cater for significant and continuous changes, a Neural Ordinary differential equation (ODE) solver is employed to determine the changes in workload for small time changes. The Neural ODE solver takes a Distributed Neural Network (DNN) model and trains it with the workload controlled by boundary conditions (bc).
[0118] In embodiments, the next step is to determine the suitable edge location(s) that can be used for optimized migration of workload A with the best achievable availability characteristics (e.g., minimal downtime through migration). The busiest version of workload A may have more impact than another replica of A at different edge location. On the other hand, the latest version of A may obtain maximum migration from single point.
[0119] In embodiments, the machine learning algorithm seeks to select the most optimum edge location as the source of migration of workload A. For this, each edge location is ranked based on their frequency of changes and access δ.sub.t. From line 5 to line 10 in Algorithm 1 above, the exemplary training method selects the suitable edge location for workload A migration based on latest version of workload A as well as mostly accessed or busiest edge location for A.
[0120] So that the proposed learning model may learn the business impact for each edge locations, embodiments may employ a loss function for the gradient of the neural network model. Instead of conventional democratic selection of edge location, embodiments compute the business impact (δ.sub.t) of each edge location. Edge locations with lowest business impact may then be ranked higher as suitable candidates for migration. At the same time, the latest versions of workloads are ranked higher as suitable candidate for migration source location. To balance these two opposite controlling factors, a loss function may be defined which also controls the gradient descents of the proposed distributed neural network model. An exemplary algorithm for this may be summarized as follows:
[0121] Algorithm 2 - loss_fn(δ.sub.Ai, δ.sub.t) [0122] Input - The changes in workload (δ.sub.Ai) and the frequency of access (δ.sub.t) of workload of A at any time t [0123] Output - Changes in business impact as the loss for the gradient of the DNN model
[0124] Pseudo Code for Algorithm 2:
TABLE-US-00002 1 M1 = Mean Square root {target_imact, pred-imapct X δ.sub.Ai X weightU) 2 M1 = Mean Square root {target_imact, pred-imapct X δ.sub.t X weightV) 3 Loss= min(M1,M2) 4 Return Loss
[0125] Instead of migrating any workload from a single source node for T time making RTO= T, embodiments may choose multiple locations for workload migration in parallel. By way of example, an exemplary algorithm for parallel migration from multiple edge locations may be summarized as follows: [0126] Algorithm 3: Migrate correlated applications together and in parallel [0127] Input - Batches of wave workload of D1 data center and Locations from algorithm 1 [0128] Output - Migration of workload in parallel
[0129] Pseudo Code for Algorithm 3:
TABLE-US-00003 1 For each batch b in batches of workload 2 For each workload A in b 3 For each edge location 1 for A in Locations 4 While D2(A) != D1(a) 5 Execute migration of A from 1 in parallel
[0130] Furthermore, embodiments may also be configured to adapt/improve based on monitoring and/or feedback data. For instance, to verify how well the machine learning algorithm/model performs when suggesting edge locations, the migration metrics may be tracked. This could be monitored either on a per-edge device basis, or throughout all deployments across a network environment. During and/or after migration, the edge device may verify and/or assess the migration by analyzing activity logs.
[0131] Collected migration data may be made accessible by an operator or a Site Reliability Engineer, so that manual analysis and/or modifications may be made.
[0132] It should now be understood by those of skill in the art, in embodiments of the present invention, the proposed machine-learning concepts provide numerous advantages over conventional workload migration approaches. These advantages may include, but are not limited to: [0133] Migration of correlated applications together and in parallel; [0134] Reduction in service outage; [0135] Assurance of the validity and/or consistency of migrated data; and [0136] Automatic migration execution with reduced cost; [0137] Embodiments may provide multi cloud management (MCMP) concepts for automating datacenter migration in real time. This functionality may be provided as an extension to an existing MCMP system. For example, MCMP, as deployed on an edge layer, has a cloud component to it that may execute the algorithms to undertake the proposed workload migration concepts.
[0138] In still further advantages to a technical problem, the systems and processes described herein provide a computer-implemented method for efficient workload management and/or workload migration at edge computing environments. In this case, a computer infrastructure, such as the computer system shown in
[0142] The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.