This disclosure relates generally to networking and, more particularly, to load balancing for Edge devices.
Edge network environments enable services near endpoint devices that interact with the services. Edge network environments may include infrastructure, such as a base station or micro datacenter hosting an Edge service, that is connected to cloud infrastructure, endpoint devices, or additional Edge infrastructure via networks such as a wide area network (WAN), a metropolitan area network (MAN), or (more generally) the internet. Edge services are generally closer in network proximity to endpoint devices than cloud infrastructure, such as datacenter servers.
In general, the same reference numbers will be used throughout the drawing(s) and accompanying written description to refer to the same or like parts. The figures are not to scale. Instead, the thickness of the layers or regions may be enlarged in the drawings. Although the figures show layers and regions with clean lines and boundaries, some or all of these lines and/or boundaries may be idealized. In reality, the boundaries and/or lines may be unobservable, blended, and/or irregular.
As used herein, unless otherwise stated, the term “above” describes the relationship of two parts relative to Earth. A first part is above a second part, if the second part has at least one part between Earth and the first part. Likewise, as used herein, a first part is “below” a second part when the first part is closer to the Earth than the second part. As noted above, a first part can be above or below a second part with one or more of: other parts therebetween, without other parts therebetween, with the first and second parts touching, or without the first and second parts being in direct contact with one another.
Notwithstanding the foregoing, in the case of a semiconductor device, “above” is not with reference to Earth, but instead is with reference to a bulk region of a base semiconductor substrate (e.g., a semiconductor wafer) on which components of an integrated circuit are formed. Specifically, as used herein, a first component of an integrated circuit is “above” a second component when the first component is farther away from the bulk region of the semiconductor substrate than the second component.
As used in this patent, stating that any part (e.g., a layer, film, area, region, or plate) is in any way on (e.g., positioned on, located on, disposed on, or formed on, etc.) another part, indicates that the referenced part is either in contact with the other part, or that the referenced part is above the other part with one or more intermediate part(s) located therebetween.
As used herein, connection references (e.g., attached, coupled, connected, and joined) may include intermediate members between the elements referenced by the connection reference and/or relative movement between those elements unless otherwise indicated. As such, connection references do not necessarily infer that two elements are directly connected and/or in fixed relation to each other. As used herein, stating that any part is in “contact” with another part is defined to mean that there is no intermediate part between the two parts.
Unless specifically stated otherwise, descriptors such as “first,” “second,” “third,” etc., are used herein without imputing or otherwise indicating any meaning of priority, physical order, arrangement in a list, and/or ordering in any way, but are merely used as labels and/or arbitrary names to distinguish elements for ease of understanding the disclosed examples. In some examples, the descriptor “first” may be used to refer to an element in the detailed description, while the same element may be referred to in a claim with a different descriptor such as “second” or “third.” In such instances, it should be understood that such descriptors are used merely for identifying those elements distinctly that might, for example, otherwise share a same name.
As used herein, “approximately” and “about” modify their subjects/values to recognize the potential presence of variations that occur in real world applications. For example, “approximately” and “about” may modify dimensions that may not be exact due to manufacturing tolerances and/or other real world imperfections as will be understood by persons of ordinary skill in the art. For example, “approximately” and “about” may indicate such dimensions may be within a tolerance range of +/−10% unless otherwise specified in the below description. As used herein “substantially real time” refers to occurrence in a near instantaneous manner recognizing there may be real world delays for computing time, transmission, etc. Thus, unless otherwise specified, “substantially real time” refers to real time+/−1 second.
As used herein, the phrase “in communication,” including variations thereof, encompasses direct communication and/or indirect communication through one or more intermediary components, and does not require direct physical (e.g., wired) communication and/or constant communication, but rather additionally includes selective communication at periodic intervals, scheduled intervals, aperiodic intervals, and/or one-time events.
As used herein, “processor circuitry” is defined to include (i) one or more special purpose electrical circuits structured to perform specific operation(s) and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors), and/or (ii) one or more general purpose semiconductor-based electrical circuits programmable with instructions to perform specific operations and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors). Examples of processor circuitry include programmable microprocessors, Field Programmable Gate Arrays (FPGAs) that may instantiate instructions, Central Processor Units (CPUs), Graphics Processor Units (GPUs), Digital Signal Processors (DSPs), XPUs, or microcontrollers and integrated circuits such as Application Specific Integrated Circuits (ASICs). For example, an XPU may be implemented by a heterogeneous computing system including multiple types of processor circuitry (e.g., one or more FPGAs, one or more CPUs, one or more GPUs, one or more DSPs, etc., and/or a combination thereof) and application programming interface(s) (API(s)) that may assign computing task(s) to whichever one(s) of the multiple types of processor circuitry is/are best suited to execute the computing task(s).
Edge computing is a distributed computing scheme that brings computation and data storage close to the physical location at which it is needed. Reducing distance between data computation devices and data generating devices reduces data transport latency, as data is not sent across long distances. In Edge computing, data is stored and processed near end-point devices, improving response time, saving bandwidth, and improving reliability. Additionally, Edge computing systems may still communicate with cloud devices (e.g., datacenters) when workloads exceed local compute and/or storage capabilities.
Smart Edge devices are increasingly capable of executing on-device machine learning workloads that traditionally demanded powerful servers. In machine learning, instead of providing explicit instructions, programmers use a trained machine learning model and supply data to the model. The model generates predictions and, in some examples, trains itself to improve prediction accuracy. Programmers can also adjust model parameters to further improve prediction accuracy. Although Edge devices are increasingly performant, many Edge devices cannot meet execution thresholds for deep learning workloads. For example, surveillance workloads, assisted driving workloads, and healthcare workloads may be associated with low latency performance thresholds that some Edge devices cannot meet.
Some smart Edge devices are connected to one or more Edge servers capable of receiving a request to distribute a machine learning workload. For example, a smart Edge device may send a request for service to an Edge server. In response, the Edge server may distribute portions of the workload to one or more helper devices (e.g., helper compute devices, smart edge devices, Edge servers, cloud servers, etc.) in a process called load balancing.
Conventional load balancing techniques used by Edge servers include hashing and MapReduce-based methods. Hash-based load balancing techniques map a workload to one or more servers, calculate run time weights for each server, and assign the workload to the one or more servers. Hash function based load balancing techniques are often unable to efficiently handle the rapidly changing workloads produced with Edge devices.
MapReduce-based load balancing techniques filter and sort portions of a workload, and then aggregate the results. Although frequently used, MapReduce-based load balancing techniques often produce insufficient results when handling skewed data. Other conventional load balancing techniques such as binary offloading (e.g., rule-based load balancing techniques that weighs factors such as network latency, bandwidth, device energy, and monetary cost) are rigid and fail to meet performance the demands of dynamically changing variables (e.g., geography, cloud traffic hours, location, and device mobility) associated with deep learning workloads of Edge devices.
In contrast to conventional solutions, examples disclosed herein dynamically load balance machine learning workloads at the Edge. Some examples disclosed herein include dynamic hardware and/or software load balancers to distribute portions of a machine learning workload from an Edge server to one or more Edge compute units (e.g., Edge servers, Edge load balancers, Edge endpoint devices). Furthermore, the techniques describe herein improve performance on deep learning workloads and/or any Edge workload with dynamic and static data.
Some examples disclosed herein include an example dynamic load balancer. The example dynamic load balancer produces a confidence level for one or more helper compute units (e.g., helper Edge devices, helper cloud devices, etc.) based on data received in a request for service from an Edge device. The example dynamic load balancer then distributes the workload from the request based on static and dynamic data received in the request. In some examples, the static data is provided to a first machine learning model and the dynamic data is provided to a second machine learning model, and each of the machine learning models generates a plurality of probability distributions. Each of the plurality of probability distributions is associated with a helper node.
Additionally, in some examples dynamic load balancer trains the first and second machine learning models based on results of a third machine learning model. The example dynamic load balancer may perform inference with two bayesian deep neural networks (e.g., bayesian neural network) that quantify uncertainty in model predictions. Thus, the bayesian neural network generating a probability distribution instead of a single point estimate.
Turning to the figures,
Compute, memory, and storage are scarce resources, and generally decrease depending on the Edge location (e.g., fewer processing resources being available at consumer endpoint devices, than at a base station, than at a central office). However, the closer that the Edge location is to the endpoint (e.g., user equipment (UE)), the more that space and power is often constrained. Thus, Edge computing attempts to reduce the amount of resources needed for network services, through the distribution of more resources which are located closer both geographically and in network access time. In this manner, Edge computing attempts to bring the compute resources to the workload data where appropriate, or bring the workload data to the compute resources.
The following describes aspects of an Edge cloud architecture that covers multiple potential deployments and addresses restrictions that some network operators or service providers may have in their own infrastructures. These include, variation of configurations based on the Edge location (because edges at a base station level, for instance, may have more constrained performance and capabilities in a multi-tenant scenario); configurations based on the type of compute, memory, storage, fabric, acceleration, or like resources available to Edge locations, tiers of locations, or groups of locations; the service, security, and management and orchestration capabilities; and related objectives to achieve usability and performance of end services. These deployments may accomplish processing in network layers that may be considered as “near Edge”, “close Edge”, “local Edge”, “middle Edge”, or “far Edge” layers, depending on latency, distance, and timing characteristics.
Edge computing is a developing paradigm where computing is performed at or closer to the “Edge” of a network, typically through the use of a compute platform (e.g., x86 or ARM compute hardware architecture) implemented at base stations, gateways, network routers, or other devices which are much closer to endpoint devices producing and consuming the data. For example, Edge gateway servers may be equipped with pools of memory and storage resources to perform computation in real-time for low latency use-cases (e.g., autonomous driving or video surveillance) for connected client devices. Or as an example, base stations may be augmented with compute and acceleration resources to directly process service workloads for connected user equipment, without further communicating data via backhaul networks. Or as another example, central office network management hardware may be replaced with standardized compute hardware that performs virtualized network functions and offers compute resources for the execution of services and consumer functions for connected devices. Within Edge computing networks, there may be scenarios in services which the compute resource will be “moved” to the data, as well as scenarios in which the data will be “moved” to the compute resource. Or as an example, base station compute, acceleration and network resources can provide services in order to scale to workload demands on an as needed basis by activating dormant capacity (subscription, capacity on demand) in order to manage corner cases, emergencies or to provide longevity for deployed resources over a significantly longer implemented lifecycle.
Examples of latency, resulting from network communication distance and processing time constraints, may range from less than a millisecond (ms) when among the endpoint layer 200, under 5 ms at the Edge devices layer 210, to even between 10 to 40 ms when communicating with nodes at the network access layer 220. Beyond the Edge cloud 110 are core network 230 and cloud data center 240 layers, each with increasing latency (e.g., between 50-60 ms at the core network layer 230, to 100 or more ms at the cloud data center layer). As a result, operations at a core network data center 235 or a cloud data center 245, with latencies of at least 50 to 100 ms or more, will not be able to accomplish many time-critical functions of the use cases 205. Each of these latency values are provided for purposes of illustration and contrast; it will be understood that the use of other access network mediums and technologies may further reduce the latencies. In some examples, respective portions of the network may be categorized as “close Edge”, “local Edge”, “near Edge”, “middle Edge”, or “far Edge” layers, relative to a network source and destination. For instance, from the perspective of the core network data center 235 or a cloud data center 245, a central office or content data network may be considered as being located within a “near Edge” layer (“near” to the cloud, having high latency values when communicating with the devices and endpoints of the use cases 205), whereas an access point, base station, on-premise server, or network gateway may be considered as located within a “far Edge” layer (“far” from the cloud, having low latency values when communicating with the devices and endpoints of the use cases 205). It will be understood that other categorizations of a particular network layer as constituting a “close”, “local”, “near”, “middle”, or “far” Edge may be based on latency, distance, number of network hops, or other measurable characteristics, as measured from a source in any of the network layers 200-240.
The various use cases 205 may access resources under usage pressure from incoming streams, due to multiple services utilizing the Edge cloud. To achieve results with low latency, the services executed within the Edge cloud 110 balance varying requirements in terms of: (a) Priority (throughput or latency) and Quality of Service (QoS) (e.g., traffic for an autonomous car may have higher priority than a temperature sensor in terms of response time requirement; or, a performance sensitivity/bottleneck may exist at a compute/accelerator, memory, storage, or network resource, depending on the application); (b) Reliability and Resiliency (e.g., some input streams need to be acted upon and the traffic routed with mission-critical reliability, where as some other input streams may be tolerate an occasional failure, depending on the application); and (c) Physical constraints (e.g., power, cooling and form-factor, etc.).
The end-to-end service view for these use cases involves the concept of a service-flow and is associated with a transaction. The transaction details the overall service requirement for the entity consuming the service, as well as the associated services for the resources, workloads, workflows, and business functional and business level requirements. The services executed with the “terms” described may be managed at each layer in a way to assure real time, and runtime contractual compliance for the transaction during the lifecycle of the service. When a component in the transaction is missing its agreed to Service Level Agreement (SLA), the system as a whole (components in the transaction) may provide the ability to (1) understand the impact of the SLA violation, and (2) augment other components in the system to resume overall transaction SLA, and (3) implement remediation.
Thus, with these variations and service features in mind, Edge computing within the Edge cloud 110 may provide the ability to serve and respond to multiple applications of the use cases 205 (e.g., object tracking, video surveillance, connected cars, etc.) in real-time or near real-time, and meet ultra-low latency requirements for these multiple applications. These advantages enable a whole new class of applications (e.g., Virtual Network Functions (VNFs), Function as a Service (FaaS), Edge as a Service (EaaS), standard processes, etc.), which cannot leverage conventional cloud computing due to latency or other limitations.
However, with the advantages of Edge computing comes the following caveats. The devices located at the Edge are often resource constrained and therefore there is pressure on usage of Edge resources. Typically, this is addressed through pooling of memory and storage resources for use by multiple users (tenants) and devices. The Edge may be power and cooling constrained and therefore the power usage needs to be accounted for by the applications that are consuming the most power. There may be inherent power-performance tradeoffs in these pooled memory resources, as many of them are likely to use emerging memory technologies, where more power requires greater memory bandwidth. Likewise, improved security of hardware and root of trust trusted functions are also required, because Edge locations may be unmanned and may even need permissioned access (e.g., when housed in a third-party location). Such issues are magnified in the Edge cloud 110 in a multi-tenant, multi-owner, or multi-access setting, where services and applications are requested by many users, especially as network usage dynamically fluctuates and the composition of the multiple stakeholders, use cases, and services changes.
At a more generic level, an Edge computing system may be described to encompass any number of deployments at the previously discussed layers operating in the Edge cloud 110 (network layers 200-240), which provide coordination from client and distributed computing devices. One or more Edge gateway nodes, one or more Edge aggregation nodes, and one or more core data centers may be distributed across layers of the network to provide an implementation of the Edge computing system by or on behalf of a telecommunication service provider (“telco”, “CommSP”, or “TSP”), internet-of-things service provider, cloud service provider (CSP), enterprise entity, or any other number of entities. Various implementations and configurations of the Edge computing system may be provided dynamically, such as when orchestrated to meet service objectives.
Consistent with the examples provided herein, a client compute node may be embodied as any type of endpoint component, device, appliance, or other thing capable of communicating as a producer or consumer of data. Further, the label “node” or “device” as used in the Edge computing system does not necessarily mean that such node or device operates in a client or agent/minion/follower role; rather, any of the nodes or devices in the Edge computing system refer to individual entities, nodes, or subsystems which include discrete or connected hardware or software configurations to facilitate or use the Edge cloud 110.
As such, the Edge cloud 110 is formed from network components and functional features operated by and within Edge gateway nodes, Edge aggregation nodes, or other Edge compute nodes among network layers 210-230. The Edge cloud 110 thus may be embodied as any type of network that provides Edge computing and/or storage resources which are proximately located to radio access network (RAN) capable endpoint devices (e.g., mobile computing devices, IoT devices, smart devices, etc.), which are discussed herein. In other words, the Edge cloud 110 may be envisioned as an “Edge” which connects the endpoint devices and traditional network access points that serve as an ingress point into service provider core networks, including mobile carrier networks (e.g., Global System for Mobile Communications (GSM) networks, Long-Term Evolution (LTE) networks, 5G/6G networks, etc.), while also providing storage and/or compute capabilities. Other types and forms of network access (e.g., Wi-Fi, long-range wireless, wired networks including optical networks, etc.) may also be utilized in place of or in combination with such 3GPP carrier networks.
The network components of the Edge cloud 110 may be servers, multi-tenant servers, appliance computing devices, and/or any other type of computing devices. For example, the Edge cloud 110 may include an appliance computing device that is a self-contained electronic device including a housing, a chassis, a case, or a shell. In some circumstances, the housing may be dimensioned for portability such that it can be carried by a human and/or shipped. Example housings may include materials that form one or more exterior surfaces that partially or fully protect contents of the appliance, in which protection may include weather protection, hazardous environment protection (e.g., electromagnetic interference (EMI), vibration, extreme temperatures, etc.), and/or enable submergibility. Example housings may include power circuitry to provide power for stationary and/or portable implementations, such as alternating current (AC) power inputs, direct current (DC) power inputs, AC/DC converter(s), DC/AC converter(s), DC/DC converter(s), power regulators, transformers, charging circuitry, batteries, wired inputs, and/or wireless power inputs. Example housings and/or surfaces thereof may include or connect to mounting hardware to enable attachment to structures such as buildings, telecommunication structures (e.g., poles, antenna structures, etc.), and/or racks (e.g., server racks, blade mounts, etc.). Example housings and/or surfaces thereof may support one or more sensors (e.g., temperature sensors, vibration sensors, light sensors, acoustic sensors, capacitive sensors, proximity sensors, infrared or other visual thermal sensors, etc.). One or more such sensors may be contained in, carried by, or otherwise embedded in the surface and/or mounted to the surface of the appliance. Example housings and/or surfaces thereof may support mechanical connectivity, such as propulsion hardware (e.g., wheels, rotors such as propellers, etc.) and/or articulating hardware (e.g., robot arms, pivotable appendages, etc.). In some circumstances, the sensors may include any type of input devices such as user interface hardware (e.g., buttons, switches, dials, sliders, microphones, etc.). In some circumstances, example housings include output devices contained in, carried by, embedded therein and/or attached thereto. Output devices may include displays, touchscreens, lights, light-emitting diodes (LEDs), speakers, input/output (I/O) ports (e.g., universal serial bus (USB)), etc. In some circumstances, Edge devices are devices presented in the network for a specific purpose (e.g., a traffic light), but may have processing and/or other capacities that may be utilized for other purposes. Such Edge devices may be independent from other networked devices and may be provided with a housing having a form factor suitable for its primary purpose; yet be available for other compute tasks that do not interfere with its primary task. Edge devices include Internet of Things devices. The appliance computing device may include hardware and software components to manage local issues such as device temperature, vibration, resource utilization, updates, power issues, physical and network security, etc. Example hardware for implementing an appliance computing device is described in conjunction with
In
The example dynamic load balancer 102 includes example neural network circuitry 402. In some examples, the example neural network circuitry 402 is instantiated by processor circuitry executing neural network instructions and/or configured to perform operations such as those represented by the flowchart of
The example neural network circuitry 402 implements a plurality of bayesian deep neural networks. A first deep neural network of the plurality of bayesian deep neural networks receives a vector of static variables as input. A second bayesian deep neural network of the plurality of bayesian deep neural networks receives a vector of dynamic variables as input. The static and dynamic variables may be provided to the example neural network circuitry 402 by the example data extractor circuitry 416.
The example neural network circuitry 402 provides the example dynamic load balancer 102 the capability to generate probability distributions for a plurality of helper devices (e.g., Edge servers, Edge devices, routers). The probability distributions can be normalized by the example normalization circuitry 412 and then used to select the helper with the lowest latency, for example. An example neural network topology for the neural network circuitry 402 is described in further detail in association with
In some examples, the dynamic load balancer 102 includes means for performing inference on static and/or dynamic data. For example, the means for performing inference may be implemented by neural network circuitry 402. In some examples, the neural network circuitry 402 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example probability distribution generator circuitry 404. In some examples, the example probability distribution generator circuitry 404 is instantiated by processor circuitry executing neural network instructions and/or configured to perform operations such as those represented by the flowchart of
The example probability distribution generator circuitry 404 is a final layer of the example neural network circuitry 402 that produces a plurality of probability distributions. In some examples, however, the neural network circuitry 402 is not a bayesian deep neural network, and therefore the output layer of the neural network circuitry 402 does not produce a probability distribution as an output. In such examples, the probability distribution generator circuitry 404 can produce a probability distribution based on previous inference results.
The example probability distribution generator circuitry 404 generates a probability distribution for each helper compute unit. The probability distribution associated with each helper node can be normalized by the example normalization circuitry 412 and used to determine a helper that can complete a request for service with the lowest possible latency.
In some examples, the dynamic load balancer 102 includes means for generating a first plurality of probability distributions. For example, the means for generating may be implemented by probability distribution generator circuitry 404. In some examples, the probability distribution generator circuitry 404 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example bayesian network circuitry 406. In some examples, the example bayesian network circuitry 406 is instantiated by processor circuitry executing bayesian network instructions and/or configured to perform operations such as those represented by the flowchart of
The bayesian network circuitry 406 generates a confidence model (e.g., a bayesian network). The bayesian network is a probabilistic graphical model that represents how likely each Edge compute unit of a plurality of Edge compute units is to execute a workload with the least latency. Specifically, the bayesian network circuitry 406 generates a probabilistic graph that represents the confidence values as edges of the probabilistic graph and the helper compute units as nodes of the probabilistic graph. In some examples, the bayesian network is generated from a confidence table that includes values from a plurality of helper compute units. An example bayesian network produced by the bayesian network circuitry 406 will be described in association with
In some examples, the dynamic load balancer 102 includes second means for generating a probabilistic graph. For example, the second means for generating may be implemented by the example bayesian network circuitry 406. In some examples, the bayesian network circuitry 406 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example neural network training circuitry 408. In some examples, the neural network training circuitry 408 is instantiated by processor circuitry neural network training instructions and/or configured to perform operations such as those represented by the flowchart of
The example neural network training circuitry 408 trains the example neural network circuitry 402. To train the neural network circuitry 402, the example neural network training circuitry develops a training data set. In some examples, the training data set is based on output of a preexisting neural network model. For example, a non-bayesian neural network may be in operation prior to implementation of a bayesian neural network such as the deep bayesian neural networks of the example neural network circuitry 402 (e.g., as illustrated in
For example, static and dynamic data from an Edge device can be logged for a threshold period. Then, inference can be performed on a first machine learning model using the static and dynamic data. An output of the inference can be logged, along with the associations between the static and/or dynamic variables and the selected helpers. The logged data can then be used as a training set that includes the static and dynamic data, indications of the selected helper compute units, and the associations.
In some examples, the dynamic load balancer 102 includes means for logging. For example, the means for logging may be implemented by the neural network training circuitry 408. In some examples, the neural network training circuitry 408 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example confidence calculator circuitry 410. In some examples, confidence calculator circuitry 410 is instantiated by processor circuitry executing confidence calculator instructions and/or configured to perform operations such as those represented by the flowcharts of
The example confidence calculator circuitry 410 calculates a confidence value for each of the helper compute units. The example confidence calculator circuitry 410 may determine a first average and a first standard deviation of a first probability distribution of a first plurality of probability distributions (e.g., generated by a first bayesian deep neural network of the neural network circuitry 402). The first plurality of probability distributions is generated based on the static variables provided by an Edge device that has requested a service.
The confidence calculator circuitry 410 can determine a second average and a second standard deviation of a first probability distribution of a second plurality of probability distributions (e.g., generated by a second bayesian neural network of the neural network circuitry 402). The example confidence calculator circuitry 410 may then add the first and second averages and subtract the first and second standard deviations to calculate a confidence coefficient.
In some examples, the confidence value is calculated from an intermediate helper confidence table. The helper confidence table may store a mean and standard deviation value for each of a plurality of helper compute units. Each confidence calculation may, for example, be calculated by performing the below operations of Equation 1:
HC1=(svMean−svSTD1)+(dvMean1−dvSTD1) Equation 1
In Equation 1, HC1 is a confidence value for helper 1. svMean is a static variable mean for helper 1, svSTD1 is a static variable standard deviation for helper 1, dvMean1 is a dynamic variable standard deviation for helper 1, and dvSTD1 is a static variable standard deviation for helper 1. Thus, in equation 1, the confidence value for helper 1 is calculated based on a single probability distribution (e.g., corresponding to a single helper compute unit) generated at an output layer of a bayesian deep neural network.
The example confidence calculator circuitry 410 generates confidence values for each helper compute unit of the plurality of helper compute units and provides these values to the normalization circuitry 412. In some examples, a helper compute unit is assigned a request for service based on having a greatest confidence value of a plurality of helper compute units.
In some examples, the dynamic load balancer 102 includes means for calculating a confidence value for a first helper compute unit of a plurality of helper compute units. For example, the means for calculating may be implemented by confidence calculator circuitry 410. In some examples, the confidence calculator circuitry 410 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example normalization circuitry 412. In some examples, normalization circuitry 412 is instantiated by processor circuitry executing normalization instructions and/or configured to perform operations such as those represented by the flowcharts of
The example normalization circuitry 412 normalizes the output of the confidence calculator circuitry 410. By normalizing the confidence values, the values for each helper compute unit can be compared and the example helper selection circuitry 414 can select the helper compute unit most likely to service the request for service with the least latency of the plurality of helper compute units. The example normalization circuitry 412 may normalize the confidence values from the helper confidence table using Equation 2 below, for example:
HCN=(HC−min(HC))/(max(HC)−min(HC)) Equation 2
In Equation 2, HCN is a normalized helper confidence value, HC is a helper confidence value, min(HC) is a minimum confidence value of the plurality of helper values, max(HC) is a maximum confidence value of the plurality of helper confidence value, min(HC) is a minimum confidence value of the plurality of confidence values. Thus, in Equation 2, a normalized confidence value is calculated for a helper compute device by subtracting the minimum helper confidence value from the instant helper confidence value and dividing by the range of helper confidence values.
In some examples, the dynamic load balancer 102 includes means for normalizing a plurality of confidence values. For example, the means for normalizing may be implemented by the example normalization circuitry 412. In some examples, the normalization circuitry 412 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example helper selection circuitry 414. In some examples, the helper selection circuitry 414 is instantiated by processor circuitry executing normalization instructions and/or configured to perform operations such as those represented by the flowcharts of
The example helper selection circuitry 414 selects a helper compute unit. The example helper selection circuitry 414 selects the helper with the greatest confidence value. In some examples, a helper can be selected based on the confidence value and additional characteristics (e.g., cost characteristics, permission characteristics, security characteristics, etc.).
In some examples, the dynamic load balancer 102 includes means for assigning a first helper compute unit. For example, the means for assigning may be implemented by the helper selection circuitry 414. In some examples, the helper selection circuitry 414 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
The example dynamic load balancer 102 includes example data extractor circuitry 416. In some examples, the data extractor circuitry 416 is instantiated by processor circuitry executing data extractor instructions and/or configured to perform operations such as those represented by the flowcharts of
The example data extractor circuitry 416 can parse a data packet (e.g., a request for service from a helper node) for static and dynamic data. The static and dynamic data may be further divided into static and dynamic variable vectors. The static variable vector may be provided to a first machine learning model, and the dynamic variable vector may be provided to a second machine learning model. For example, the static variable vector may be provided to a first bayesian deep neural network and the dynamic variable vector may be provided to a second bayesian deep neural network.
In some examples, an Edge device generates a request for service that is provided to the dynamic load balancer 102. The request for service may include static and dynamic variable data associated with the Edge device. In some examples, static data does not change throughout the lifetime of the Edge device. Examples of static variables include a device ID, a device type, physical device characteristics, etc. In some examples, static data may change over time (e.g., responsive to a device upgrade). Such changes to static variables and/or static data occur less frequently than changes to dynamic data. Examples of dynamic data include device location, time of day, etc., and any other data that changes more frequently than the static data.
Static and dynamic data may include additional information beyond that which is generated by the requesting Edge device. For example, static data may include data indicating infrastructure features associated with an Edge network. Dynamic data may include connection quality (e.g., latency/data throughput). Such data may significantly affect request latency and therefore may be used by the example dynamic load balancer 102 to determine a quality of the transferred data. In some examples, additional fields (e.g., beyond the static/dynamic Edge device data) may be provided to the neural network circuitry 202 for inference. Some examples may include a specification of a workload distribution protocol or a desired minimum workload execution latency.
In some examples, a data packet associated with a request for service may include data fields (e.g., parameter values, adjustable values, flags, etc.) indicating how a load balancing should occur. For example, an Edge device generating a request for service may specify that the request for service should only be provided to a specific subset of potential helper nodes. Such data fields may improve user privacy. In some examples, the adjustable data fields may be accessible by an application programming interface (API) on the edge device.
The data packets may also be encrypted. In some examples, sensitive information (e.g., device location, user identifying information) may be encrypted, obscured, and/or otherwise omitted from a data packet in a request for service. Data privacy control options may be accessible and/or adjustable via an application or a web portal associate with the edge device.
In some examples, the dynamic load balancer 102 includes means for extracting static and dynamic data from a packet. For example, the means for extracting may be implemented by the data extractor circuitry 416. In some examples, the data extractor circuitry 416 may be instantiated by processor circuitry such as the example processor circuitry 1112 of
While an example manner of implementing the dynamic load balancer 102 of
The example first neural network circuitry 530 is a first bayesian deep neural network. Bayesian neural networks combine the weights and biases of neural networks with Bayesian inference, quantifying uncertainty by generating probability distributions at their outputs.
The example first neural network circuitry 530 takes a static variable vector 502 as input. A portion of the static variable vector 502 is provided to an example first neuron 504. The example first neuron 504 is connected to the example second neuron 508 by a first synapse 506. The example first neuron 504 performs an operation on the input based on an activation function, a weight distribution, and a bias distribution. In some examples, the activation function uses a sample of one weight of the weight distribution and one bias of the bias distribution to determine an activation.
The first output node 512 produces a probability distribution representing a likelihood that a first helper compute unit (e.g., helper 1), can execute a workload associated with a request for service with the least latency. For example, the first output node 512 may generate a set of five probabilities for the static input vector 502. Similarly, the example second output node 514 may generate another set of five probabilities representing a likelihood that a fourth helper compute unit (e.g., helper 4) can perform a requested task with the least latency.
The example second neural network circuitry 534 (e.g., also a bayesian deep neural network) takes the dynamic variable vector 520 as input, producing the third probability distribution 522 (e.g., corresponding to helper 1) and the fourth probability distribution 524 (e.g., corresponding to helper 4) as outputs. However, in some examples a single model is used that takes both static and dynamic variable vectors as input.
The example first confidence table 532 includes means and standard deviations for each of the helpers associated with output nodes of the first bayesian deep neural network 530. An example first standard deviation 516 and a first mean 517 correspond to the first output node 512 (e.g., mean and standard deviation of a probability distribution generated by the first output node 512).
The standard deviation can be interpreted as uncertainty in helper compute unit selection, while the mean can be interpreted as certainty in helper compute unit selection. In some examples, the first and second confidence tables 532 and 536 could instead be a graph, a table or any suitable data structure.
For example, the value 718 is an example latency for a workload execution requested by DEVICE_ID 6. The value 720 is an example latency for a workload execution requested by DEVICE_ID 5. DEVICE_ID 6 and DEVICE_ID 5 have similar GEO_LOC, DAY_TIME, LAT, and LON values. As the H1 latency was shorter for these similar workloads, it was selected by the preexisting non-bayesian neural network. These data can be used as a part of a training data set to train the example bayesian neural networks of the dynamic load balancer 102 of
Flowcharts representative of example machine readable instructions, which may be executed to configure processor circuitry to implement the dynamic load balancer of
The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc.) that may be utilized to create, manufacture, and/or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and/or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc.). The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and/or executable by a computing device and/or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and/or stored on separate computing devices, wherein the parts when decrypted, decompressed, and/or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.
In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL)), a software development kit (SDK), an application programming interface (API), etc., in order to execute the machine readable instructions on a particular computing device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc.) before the machine readable instructions and/or the corresponding program(s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and/or program(s) regardless of the particular format or state of the machine readable instructions and/or program(s) when stored or otherwise at rest or in transit.
The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML), Structured Query Language (SQL), Swift, etc.
As mentioned above, the example operations of
“Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc.) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and/or” when used, for example, in a form such as A, B, and/or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B, (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and/or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and/or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and/or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and/or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.
As used herein, singular references (e.g., “a”, “an”, “first”, “second”, etc.) do not exclude a plurality. The term “a” or “an” object, as used herein, refers to one or more of that object. The terms “a” (or “an”), “one or more”, and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and/or advantageous.
At block 804, the example data extractor circuitry 416 of
At block 806, the example neural network circuitry 402 of
At block 808, the example neural network circuitry provides dynamic data to a second machine learning model. The example second machine learning model is instantiated by the example neural network circuitry 402 of
At block 810, the example neural network circuitry 402 executes first and second machine learning models. The first and second machine learning models are bayesian machine learning models that quantify the uncertainty associated with helper compute unit selection. The example first and second machine learning models take the static and dynamic data as their input. Each model produces a probability distribution for each potential helper compute unit at its output, which is retrieved by the example confidence calculator circuitry 410 of
At block 814, the example confidence calculator circuitry 410 calculates a confidence coefficient for the helpers. For example, the confidence coefficient may be calculated and normalized based on the above Equations 1 and 2. The instructions of block 814 will be further described in association with
At block 816 the example helper selection circuitry 414 selects a helper compute unit based on normalized coefficients. The helper compute unit may select a helper unit based on the confidence coefficients for each helper compute unit. For example, the greatest confidence coefficient may be selected as the helper compute unit that is most likely to meet a threshold performance objective such as execution latency. The instructions 800 end. In some examples, additional iterations of the instructions 800 may be triggered. For example, if the dynamic load balancer 102 receives an additional packet including static and/or dynamic data, the instructions 1000 may execute again.
At block 904, the example confidence calculator circuitry 410 of
At block 906, the example confidence calculator circuitry 410 determines if a probabilistic graph is to be generated. The example dynamic load balancer 102 of
If, however, a probabilistic graph is to be generated, instructions continue at block 908 at which the example bayesian network circuitry 406 generates vertices representing helper compute units. At block 912, the example bayesian network circuitry 406 connects the vertices with weighted edges that represent a confidence that a helper compute unit can achieve a performance requirement. Each helper compute unit therefore may have a connection to a first node representing the static variable confidence and a second node representing the dynamic variables, as illustrated by the example bayesian network 602 of
At block 1004, the example neural network training circuitry 408 of
At block 1006, the example neural network training circuitry 408 of
At block 1010 the example neural network training circuitry 408 trains a bayesian deep neural network model with the logged data. For example, the neural network training circuitry 408 may split the logged data into test and training sets. The example neural network circuitry 402 includes bayesian neural networks, so, instead of learning specific weight and values, the neural network circuitry 402 learns distributions that encode system uncertainty.
At block 1012, the example dynamic load balancer 102 of
In some examples, additional iterations of the instructions 1000 may be triggered. For example, if input data distributions have deviated significantly from that of the original training set, the instructions 1000 may execute again. In general, additional iterations of the instructions 1000 may execute whenever the training server determines additional training data may improve model accuracy.
The processor platform 1100 of the illustrated example includes processor circuitry 1112. The processor circuitry 1112 of the illustrated example is hardware. For example, the processor circuitry 1112 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and/or microcontrollers from any desired family or manufacturer. The processor circuitry 1112 may be implemented by one or more semiconductor based (e.g., silicon based) devices. In this example, the processor circuitry 1112 implements the example neural network circuitry 402, the example probability distribution generator circuitry 404, the example bayesian network circuitry 406, the example neural network training circuitry 408, the example confidence calculator circuitry 410, the example normalization circuitry 412, the example helper selection circuitry 414, and the example data extractor circuitry 416.
The processor circuitry 1112 of the illustrated example includes a local memory 1113 (e.g., a cache, registers, etc.). The processor circuitry 1112 of the illustrated example is in communication with a main memory including a volatile memory 1114 and a non-volatile memory 1116 by a bus 1118. The volatile memory 1114 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS® Dynamic Random Access Memory (RDRAM®), and/or any other type of RAM device. The non-volatile memory 1116 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 1114, 1116 of the illustrated example is controlled by a memory controller 1117.
The processor platform 1100 of the illustrated example also includes interface circuitry 1120. The interface circuitry 1120 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a Bluetooth® interface, a near field communication (NFC) interface, a Peripheral Component Interconnect (PCI) interface, and/or a Peripheral Component Interconnect Express (PCIe) interface.
In the illustrated example, one or more input devices 1122 are connected to the interface circuitry 1120. The input device(s) 1122 permit(s) a user to enter data and/or commands into the processor circuitry 1112. The input device(s) 1122 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and/or a voice recognition system.
One or more output devices 1124 are also connected to the interface circuitry 1120 of the illustrated example. The output device(s) 1124 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display (LCD), a cathode ray tube (CRT) display, an in-place switching (IPS) display, a touchscreen, etc.), a tactile output device, a printer, and/or speaker. The interface circuitry 1120 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and/or graphics processor circuitry such as a GPU.
The interface circuitry 1120 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and/or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 1126. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.
The processor platform 1100 of the illustrated example also includes one or more mass storage devices 1128 to store software and/or data. Examples of such mass storage devices 1128 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices and/or SSDs, and DVD drives.
The machine readable instructions 1132, which may be implemented by the machine readable instructions of
The cores 1202 may communicate by a first example bus 1204. In some examples, the first bus 1204 may be implemented by a communication bus to effectuate communication associated with one(s) of the cores 1202. For example, the first bus 1204 may be implemented by at least one of an Inter-Integrated Circuit (I2C) bus, a Serial Peripheral Interface (SPI) bus, a PCI bus, or a PCIe bus. Additionally or alternatively, the first bus 1204 may be implemented by any other type of computing or electrical bus. The cores 1202 may obtain data, instructions, and/or signals from one or more external devices by example interface circuitry 1206. The cores 1202 may output data, instructions, and/or signals to the one or more external devices by the interface circuitry 1206. Although the cores 1202 of this example include example local memory 1220 (e.g., Level 1 (L1) cache that may be split into an L1 data cache and an L1 instruction cache), the microprocessor 1200 also includes example shared memory 1210 that may be shared by the cores (e.g., Level 2 (L2 cache)) for high-speed access to data and/or instructions. Data and/or instructions may be transferred (e.g., shared) by writing to and/or reading from the shared memory 1210. The local memory 1220 of each of the cores 1202 and the shared memory 1210 may be part of a hierarchy of storage devices including multiple levels of cache memory and the main memory (e.g., the main memory 1114, 1116 of
Each core 1202 may be referred to as a CPU, DSP, GPU, etc., or any other type of hardware circuitry. Each core 1202 includes control unit circuitry 1214, arithmetic and logic (AL) circuitry (sometimes referred to as an ALU) 1216, a plurality of registers 1218, the local memory 1220, and a second example bus 1222. Other structures may be present. For example, each core 1202 may include vector unit circuitry, single instruction multiple data (SIMD) unit circuitry, load/store unit (LSU) circuitry, branch/jump unit circuitry, floating-point unit (FPU) circuitry, etc. The control unit circuitry 1214 includes semiconductor-based circuits structured to control (e.g., coordinate) data movement within the corresponding core 1202. The AL circuitry 1216 includes semiconductor-based circuits structured to perform one or more mathematic and/or logic operations on the data within the corresponding core 1202. The AL circuitry 1216 of some examples performs integer based operations. In other examples, the AL circuitry 1216 also performs floating point operations. In yet other examples, the AL circuitry 1216 may include first AL circuitry that performs integer based operations and second AL circuitry that performs floating point operations. In some examples, the AL circuitry 1216 may be referred to as an Arithmetic Logic Unit (ALU). The registers 1218 are semiconductor-based structures to store data and/or instructions such as results of one or more of the operations performed by the AL circuitry 1216 of the corresponding core 1202. For example, the registers 1218 may include vector register(s), SIMD register(s), general purpose register(s), flag register(s), segment register(s), machine specific register(s), instruction pointer register(s), control register(s), debug register(s), memory management register(s), machine check register(s), etc. The registers 1218 may be arranged in a bank as shown in
Each core 1202 and/or, more generally, the microprocessor 1200 may include additional and/or alternate structures to those shown and described above. For example, one or more clock circuits, one or more power supplies, one or more power gates, one or more cache home agents (CHAs), one or more converged/common mesh stops (CMSs), one or more shifters (e.g., barrel shifter(s)) and/or other circuitry may be present. The microprocessor 1200 is a semiconductor device fabricated to include many transistors interconnected to implement the structures described above in one or more integrated circuits (ICs) contained in one or more packages. The processor circuitry may include and/or cooperate with one or more accelerators. In some examples, accelerators are implemented by logic circuitry to perform certain tasks more quickly and/or efficiently than can be done by a general purpose processor. Examples of accelerators include ASICs and FPGAs such as those discussed herein. A GPU or other programmable device can also be an accelerator. Accelerators may be on-board the processor circuitry, in the same chip package as the processor circuitry and/or in one or more separate packages from the processor circuitry.
More specifically, in contrast to the microprocessor 1200 of
In the example of
The configurable interconnections 1310 of the illustrated example are conductive pathways, traces, vias, or the like that may include electrically controllable switches (e.g., transistors) whose state can be changed by programming (e.g., using an HDL instruction language) to activate or deactivate one or more connections between one or more of the logic gate circuitry 1308 to program desired logic circuits.
The storage circuitry 1312 of the illustrated example is structured to store result(s) of the one or more of the operations performed by corresponding logic gates. The storage circuitry 1312 may be implemented by registers or the like. In the illustrated example, the storage circuitry 1312 is distributed amongst the logic gate circuitry 1308 to facilitate access and increase execution speed.
The example FPGA circuitry 1300 of
Although
In some examples, the processor circuitry 1112 of
A block diagram illustrating an example software distribution platform 1405 to distribute software such as the example machine readable instructions 1132 of
From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed that dynamically load balance machine learning workloads at the Edge. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of a computing device by intelligently distributing portions of machine learning workloads from an Edge server to one or more Edge elements (e.g., Edge servers, Edge load balancers, Edge endpoint devices). Furthermore, the techniques describe herein improve performance of deep learning workloads and/or any other Edge workload by effectively using dynamic and static data. Disclosed examples additionally reduce application traffic on Edge servers and reduce response latency for deep learning applications.
Disclosed systems, methods, apparatus, and articles of manufacture are accordingly directed to one or more improvement(s) in the operation of a machine such as a computer or other electronic and/or mechanical device.
Example methods, apparatus, systems, and articles of manufacture to load balance edge device workloads are disclosed herein. Further examples and combinations thereof include the following:
Example 1 includes an apparatus comprising at least one memory, instructions, and processor circuitry to execute the instructions to extract static and dynamic data from a packet associated with a request for service by an edge device, the static data to change less frequently than the dynamic data, generate a first plurality of probability distributions with a first machine learning model using the static data, generate a second plurality of probability distributions with a second machine learning model using the dynamic data, calculate a confidence value for a first helper compute unit of a plurality of helper compute units, the confidence value indicating a likelihood the first helper compute unit can satisfy the request for service more quickly than other helper compute units of the plurality of helper compute units, the confidence value calculated based on the first and second plurality of probability distributions, and assign the first helper compute unit the request for service based on the confidence value.
Example 2 includes the apparatus of example 1, wherein the processor circuitry is to execute the instructions to calculate confidence values for each of the plurality of helper compute units, the first helper compute unit assigned the request for service based on having a greatest confidence value of the plurality of helper compute units.
Example 3 includes the apparatus of any of the preceding clauses, wherein the first and second machine learning models are bayesian machine learning models.
Example 4 includes the apparatus of any of the preceding clauses, wherein to calculate the confidence value for the first helper compute unit, the processor circuitry is to execute the instructions to determine a first average and a first standard deviation of a first probability distribution of the first plurality of probability distributions, determine a second average and a second standard deviation of a first probability distribution of the second plurality of probability distributions, add the first and second averages, and subtract the first and second standard deviations.
Example 5 includes the apparatus of any of the preceding clauses, wherein the static and dynamic data is first static and dynamic data, and wherein the processor circuitry is to execute the instructions to log second static and dynamic data for a threshold period, perform inference with a third machine learning model using the second static and dynamic data, log associations between the second static and dynamic data and corresponding helper compute units, the corresponding helper compute units selected based on the third inference, and generate a training data set including the static and dynamic data, indications of the selected helper compute units, and the associations.
Example 6 includes the apparatus of any of the preceding clauses, wherein the third machine learning model is a non-bayesian machine learning model and the threshold period is either a sample quantity or a time period.
Example 7 includes the apparatus of any of the preceding clauses, wherein the static data includes a device identifier, a device type, and application type, wherein the dynamic data includes a geographic location and time data, and wherein the processor circuitry is to execute the instructions to normalize the confidence values, and generate a probabilistic graph that represents the confidence values as edges of the probabilistic graph and the helper compute units as nodes of the probabilistic graph.
Example 8 includes a computer readable medium comprising instructions which, when executed, cause processor circuitry to extract static and dynamic data from a packet associated with a request for service by an edge device, the static data to change less frequently than the dynamic data, generate a first plurality of probability distributions with a first machine learning model using the static data, generate a second plurality of probability distributions with a second machine learning model using the dynamic data, calculate a confidence value for a first helper compute unit of a plurality of helper compute units, the confidence value indicating a likelihood the first helper compute unit can satisfy the request for service more quickly than other helper compute units of the plurality of helper compute units, the confidence value calculated based on the first and second plurality of probability distributions, and assign the first helper compute unit the request for service based on the confidence value.
Example 9 includes the computer readable medium of any of the preceding clauses, wherein the instructions, when executed, cause the processor circuitry to calculate confidence values for each of the plurality of helper compute units, the first helper compute unit assigned the request for service based on having a greatest confidence value of the plurality of helper compute units.
Example 10 includes the computer readable medium of any of the preceding clauses, wherein the first and second machine learning models are bayesian machine learning models.
Example 11 includes the computer readable medium of any of the preceding clauses, wherein to calculate the confidence value for the first helper compute unit, the instructions, when executed, cause the processor circuitry to determine a first average and a first standard deviation of a first probability distribution of the first plurality of probability distributions, determine a second average and a second standard deviation of a first probability distribution of the second plurality of probability distributions, add the first and second averages, and subtract the first and second standard deviations.
Example 12 includes the computer readable medium of any of the preceding clauses, wherein the static and dynamic data is first static and dynamic data, and wherein the instructions, when executed, cause the processor circuitry to log second static and dynamic data for a threshold period, perform inference with a third machine learning model using the second static and dynamic data, log associations between the second static and dynamic data and corresponding helper compute units, the corresponding helper compute units selected based on the third inference, and generate a training data set including the static and dynamic data, indications of the selected helper compute units, and the associations.
Example 13 includes the computer readable medium of any of the preceding clauses, wherein the third machine learning model is a non-bayesian machine learning model and the threshold period is either a sample quantity or a time period.
Example 14 includes the computer readable medium of any of the preceding clauses, wherein the static data includes a device identifier, a device type, and application type, wherein the dynamic data includes a geographic location and time data, and wherein the instructions, when executed, cause the processor circuitry to normalize the confidence values, and generate a probabilistic graph that represents the confidence values as edges of the probabilistic graph and the helper compute units as nodes of the probabilistic graph.
Example 15 includes a method comprising extracting, by executing an instruction with processor circuitry, static and dynamic data from a packet associated with a request for service by an edge device, the static data to change less frequently than the dynamic data, generating, by executing an instruction with the processor circuitry, a first plurality of probability distributions with a first machine learning model using the static data, generating, by executing an instruction with the processor circuitry, a second plurality of probability distributions with a second machine learning model using the dynamic data, calculating, by executing an instruction with the processor circuitry, a confidence value for a first helper compute unit of a plurality of helper compute units, the confidence value indicating a likelihood the first helper compute unit can satisfy the request for service more quickly than other helper compute units of the plurality of helper compute units, the confidence value calculated based on the first and second plurality of probability distributions, and assigning, by executing an instruction with the processor circuitry, the first helper compute unit the request for service based on the confidence value.
Example 16 includes the method of any of the preceding clauses, further including calculating confidence values for each of the plurality of helper compute units, the first helper compute unit assigned the request for service based on having a greatest confidence value of the plurality of helper compute units.
Example 17 includes the method of any of the preceding clauses, wherein the first and second machine learning models are bayesian machine learning models.
Example 18 includes the method of any of the preceding clauses, wherein to calculate the confidence value for the first helper compute unit further includes determining a first average and a first standard deviation of a first probability distribution of the first plurality of probability distributions, determining a second average and a second standard deviation of a first probability distribution of the second plurality of probability distributions, adding the first and second averages, and subtracting the first and second standard deviations.
Example 19 includes the method of any of the preceding clauses, wherein the static and dynamic data is first static and dynamic data, and further including logging second static and dynamic data for a threshold period, performing inference with a third machine learning model using the second static and dynamic data, logging associations between the second static and dynamic data and corresponding helper compute units, the corresponding helper compute units selected based on the third inference, and generating a training data set including the static and dynamic data, indications of the selected helper compute units, and the associations.
Example 20 includes the method of any of the preceding clauses, wherein the third machine learning model is a non-bayesian machine learning model and the threshold period is either a sample quantity or a time period.
Example 21 includes the method of any of the preceding clauses, wherein the static data includes a device identifier, a device type, and application type, wherein the dynamic data includes a geographic location and time data, and further including normalizing the confidence values, and generating a probabilistic graph that represents the confidence values as edges of the probabilistic graph and the helper compute units as nodes of the probabilistic graph.
Example 22 includes an apparatus for load balancing edge workloads, the apparatus comprising means for extracting static and dynamic data from a packet associated with a request for service by an edge device, the static data to change less frequently than the dynamic data, first means for generating a first plurality of probability distributions with a first machine learning model using the static data, second means for generating a second plurality of probability distributions with a second machine learning model using the dynamic data, means for calculating a confidence value for a first helper compute unit of a plurality of helper compute units, the confidence value indicating a likelihood the first helper compute unit can satisfy the request for service more quickly than other helper compute units of the plurality of helper compute units, the confidence value calculated based on the first and second plurality of probability distributions, and means for assigning the first helper compute unit the request for service based on the confidence value.
Example 23 includes the apparatus of any of the preceding clauses, wherein the means for calculating is to calculate confidence values for each of the plurality of helper compute units, the first helper compute unit assigned the request for service based on having a greatest confidence value of the plurality of helper compute units.
Example 24 includes the apparatus of any of the preceding clauses, wherein the first and second machine learning models are bayesian machine learning models.
Example 25 includes the apparatus of any of the preceding clauses, wherein the means for calculating is to calculate the confidence value of the first helper compute unit by determining a first average and a first standard deviation of a first probability distribution of the first plurality of probability distributions, determining a second average and a second standard deviation of a first probability distribution of the second plurality of probability distributions, adding the first and second averages, and subtracting the first and second standard deviations.
Example 26 includes the apparatus of any of the preceding clauses, wherein the static and dynamic data is first static and dynamic data, and further including means for logging to log second static and dynamic data for a threshold period, and log associations between the second static and dynamic data and corresponding helper compute units, the corresponding helper compute units selected based on the third inference, means for performing inference with a third machine learning model using the second static and dynamic data, and third means for generating a training data set including the static and dynamic data, indications of the selected helper compute units, and the associations.
Example 27 includes the apparatus of any of the preceding clauses, wherein the third machine learning model is a non-bayesian machine learning model and the threshold period is either a sample quantity or a time period.
Example 28 includes the apparatus of any of the preceding clauses, wherein the static data includes a device identifier, a device type, and application type, wherein the dynamic data includes a geographic location and time data, and further including means for normalizing the confidence values, and fourth means for generating a probabilistic graph that represents the confidence values as edges of the probabilistic graph and the helper compute units as nodes of the probabilistic graph.
The following claims are hereby incorporated into this Detailed Description by this reference. Although certain example systems, methods, apparatus, and articles of manufacture have been disclosed herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all systems, methods, apparatus, and articles of manufacture fairly falling within the scope of the claims of this patent.