Optimizing energy efficiency via near memory computations in scalable split memory architecture

By performing data operations near the memory and utilizing a discrete memory system, the performance bottleneck caused by data movement in data-intensive applications is solved, enabling more efficient memory access and energy management, improving system performance and energy efficiency.

CN118778884APending Publication Date: 2024-10-15HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410108966.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-05
Filing Date
2024-01-26
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The traditional method of moving data from memory devices to the CPU for calculations has performance bottlenecks in data-intensive applications, especially due to limited data reuse and data set sizes exceeding memory capacity, resulting in frequent data movement, affecting performance and energy efficiency.

Method used

Adopts discrete memory systems and near memory computing (NMC) technology to move computing units near the memory, perform operations in the memory through data operators, reduce data movement and latency, and provide horizontally scalable storage resources through the discrete memory system .

Benefits of technology

It effectively reduces data movement, reduces memory access latency and energy consumption, improves bandwidth and performance, and optimizes the performance of separate memory systems in terms of time and energy through the optimization engine and modeling engine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778884A_ABST
    Figure CN118778884A_ABST
Patent Text Reader

Abstract

The disclosure relates to optimizing energy efficiency via near memory computations in a scalable split memory architecture, including a system and method for optimizing performance of a split memory architecture in terms of time and energy. Examples of systems and methods disclosed herein provide for near memory computation in proximity to split memory, the near memory computations may be implemented to receive one or more requests from a compute node to perform a compute function on data stored at a split memory and collect telemetry data for the split memory, near memory computations proximate to the split memory, and the compute node. The systems and methods disclosed herein may also model a plurality of configurations for execution of the one or more requests based on telemetry data, select a modeling configuration of the plurality of modeling configurations for execution of the one or more requests, and assigning one or more of the plurality of data manipulators for near memory computations according to the selected modeling configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The traditional approach of moving data from directly attached memory devices to the CPU for computation has become a significant performance bottleneck for emerging scale-out data-intensive applications because of limited data reuse with this approach and the overall size of the data set exceeding the capacity of the directly attached devices. This has led to the proposal of split memory systems that provide memory resources through structural connections to one or more CPUs. At the same time, advances in 3D integration technology have made the concept proposed a decade ago of coupling computing units close to memory, commonly referred to as near-memory computing (NMC), more feasible. Processing directly in memory can significantly reduce the data movement problem for data-intensive applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0002] The present disclosure is described in detail according to one or more different embodiments with reference to the following drawings. The drawings are provided for illustrative purposes only and depict only typical or example embodiments.

[0003] Figure 1 An example architecture is illustrated in which data query operations on separate memory may be offloaded to near memory computation.

[0004] Figure 2 Another example architecture is illustrated in which the systems and methods described herein may be implemented.

[0005] Figure 3 An example data operator stack that may be implemented in split memory is illustrated.

[0006] Figure 4 is a schematic block diagram of a split storage system for telemetry-based optimization according to an embodiment disclosed herein.

[0007] Figure 5 are example computing components that may be used to implement various features of energy consumption optimization in a split memory system according to embodiments disclosed herein.

[0008] Figure 6 A block diagram of an example computer system that may be used to implement various features of energy consumption optimization in the split memory system of the present disclosure is illustrated.

[0009] The drawings are not exhaustive and do not limit the disclosure to the precise forms disclosed. DETAILED DESCRIPTION

[0010] For many years, memory technology has not been able to keep up with advances in processor technology in terms of latency and energy consumption. The demise of Dennard scaling, the slowdown of Moore's Law, and dark silicon computer performance have plateaued. At the same time, large amounts of data are being generated across multiple disciplines (e.g., materials science, chemistry, health sciences, etc.). On conventional systems, these applications result in frequent data movement between the server's memory subsystem and the processor. Frequent data movement within the server affects performance and energy efficiency. System architects have attempted to bridge this gap by introducing memory hierarchies that mitigate some of the shortcomings of off-chip DRAM. However, the limited number of pins on the CPU that can be dedicated to connecting to directly attached memory packages cannot meet the bandwidth requirements of today's multi-core processors. Split memory systems have been proposed that place additional memory subsystems on a fabric interface that can be accessed by one or more CPUs, which increases the overall capacity at the expense of additional latency and energy required to traverse the fabric to access these memories.

[0011] The traditional memory hierarchy is usually composed of multiple levels of cache, main memory and storage. For example, a traditional approach is to process data after moving it from the storage device up to the cache. In contrast, near memory computing (NMC) aims to process data near where the data resides. This data-centric approach moves computing units as close as possible to the storage device where the data resides, logically and / or physically, and attempts to minimize costly data movement. For example, three-dimensional stacking enables processing near memory. By stacking logic and memory together using through silicon vias (TSVs), NMC can help reduce memory access latency and power consumption, and provide higher bandwidth.

[0012] Moving computation closer to memory allows performance and energy bottlenecks in data movement to be circumvented by bypassing the CPU / memory package interface pin count limitations. NMC accelerates access to memory by performing data operators near the memory, thereby eliminating the overhead of multiple interconnect traversals to and from the memory. NMC is connected to the memory through a memory interface rather than an interconnect interface. The memory interface can provide tens of nanoseconds of latency, rather than hundreds of nanoseconds of latency (e.g., 300ns) on the CPU-to-CPU interconnect interface or thousands of nanoseconds of latency on the network fabric interface. By using data operators, NMC can effectively increase available bandwidth and reduce solution latency between memory and computing nodes. By performing operations near the memory, the amount of data used to perform data requests that need to be transmitted between the computing node and the memory can be reduced, which effectively increases the bandwidth of the interconnect and reduces latency compared to requesting all data from the memory and performing operations at the computing node. Data operators can be in the form of addressing (e.g., pointer chasing), filtering (e.g., data reduction), or more complex calculations (e.g., initialization, encryption, compression, projection, etc.).

[0013] The data operator can be set between the memory and the network layer, and can control how data is moved from the memory to the network, thereby controlling how to obtain data from the memory stack. The memory stack may include a split memory, which is a form of horizontally expanded storage, constructed by a number of storage devices, wherein the storage device acts as a logical pool of storage devices that can be assigned to any server on the network through a network structure. A computing node (e.g., a client device) can access the split memory by establishing a connection with one or more data operators. Whenever a client issues a request, the network stack routes the request to the data operator assigned to the computing node that initiated the data request.

[0014] The database is uniquely positioned to utilize separate memory to address the issues of inefficient data movement and DRAM capacity. Implementations of the NMC disclosed herein may include physically separating query processing from memory buffer management. Typically, a query processing thread accesses a base table by reading the base table from a buffer pool and copying the data to its dedicated workspace. According to implementations disclosed herein, the buffer pool may be placed on a network-attached separate memory, wherein query processing nodes are provided as needed to run queries by reading data from the network-attached buffer pool. Implementations disclosed herein provide multiple advantages, such as, but not limited to: (1) reducing data movement by pushing operators down to separate memory so that processing nodes receive only relevant data; and (2) reducing the memory requirements of compute nodes by centralizing buffer caches in separate memory and removing unnecessary data copies to compute nodes.

[0015] Compared to remote storage, a split memory system provides network attached storage that is distinct from the storage in a compute node (e.g., but not limited to, a client device). Compute nodes in various embodiments may be devices that provide temporary storage, networking, memory, and processing resources that may consume split memory instances. This approach allows split memory to scale independently of the compute or storage capacity of the system and eliminates the need to overprovision one resource to scale another. In split memory systems, network overhead is a bottleneck that limits performance.

[0016] While optimization of overall performance is a motivating factor for utilizing separate memory systems, the energy consequences of such utilization may have equal or greater benefits as the demand for more sustainable IT computing increases. Since NMCs are close to memory nodes, the availability of wide bandwidth interfaces potentially reduces the energy per bit of data used to transmit data between components of separate memory systems. However, the emergence of cost-effective integrated photonic connections in data transmission paths with lower energy per bit of data movement and lossless transmission over any distance (e.g., up to several kilometers) makes energy assessment at a system-wide level more complex and challenging. The complexity will even increase if photonic circuit switching is introduced to direct data traffic. For NMCs where data operators are not fixed functions, the number of operators is typically limited, and the limited number of operators needs to be shared by different tasks. Overall energy efficiency may potentially be a factor in how to effectively manage this limited resource.

[0017] For example, a separate memory system can be distributed on a network structure as interconnected memory nodes, wherein computing nodes access memory nodes for data processing. In the entire system, there may be many variables on a system-wide basis and how much energy is consumed by each component in order to perform computing tasks and / or exchange data between components. Compared with the traditional memory system of the CPU, the determination of energy consumption becomes much more complicated, and the traditional memory system may have a local memory or cache attached to the CPU that extracts data from a central location for CPU processing. In such a traditional system, energy consumption may be relatively low, and in addition, since metrics such as delay, bandwidth, and power consumption are known and fixed, it is very simple to determine. As a result, given a fixed and known metric, it is determined whether the computing task can be executed within the performance criteria defined by the operator. In the case of a distributed memory system that can utilize NMC and data operators, determination becomes more complicated.

[0018] Embodiments of the present disclosure provide mechanisms that can measure the energy consumption effects of NMCs and data operators resulting from performing computations (e.g., in terms of energy per bit of data performed) and data movement between components (e.g., in terms of energy per bit of data transmitted). Embodiments of the present disclosure can also measure the time-consuming (or delayed) effects of performing tasks (e.g., in terms of time). Energy consumption and delay can be used as optimization metrics in a split memory architecture, which can be used to optimize the performance of the split memory architecture in terms of time and energy.

[0019] The present disclosure provides a consumption engine that collects telemetry data related to energy consumption associated with utilizing NMC functions to perform one or more data processing tasks. The telemetry data may include one or more of the following: (i) computing energy in terms of energy consumed when performing one or more tasks and the time required to perform one or more tasks, and (ii) communication energy in terms of energy consumed in transmitting / receiving data and the time required to do so. In an example embodiment, the consumption engine may be included as part of the NMC. However, the present disclosure is not limited to this embodiment. Telemetry data may be collected for each of a separate memory, a memory to NMC interface, a NMC, an NMC to a client interface, a compute node, an NMC to a peer NMC interface, and a peer NMC.

[0020] According to an embodiment of the present disclosure, a modeling engine may also be included, which is configured to use telemetry data to model multiple configurations of a separate memory system for performing one or more data processing tasks. For example, the modeling engine may model multiple configurations based on a data processing request or multiple requests received from a computing node. Each modeling configuration may utilize the data operator resources of the NMC to varying degrees, wherein each model uses a different amount of data operator resources. In an illustrative example, the modeling configuration includes: (a) a baseline consumption model (sometimes referred to as a first consumption model), wherein the NMC is configured to be pass-through (e.g., no data operator resources are consumed, and all calculations are performed at the computing node); and (b) a maximum consumption model (sometimes referred to as a second consumption model), wherein the client calculates minimal or zero, and substantially all computing functions that perform one or more tasks consume the data operator resources of the NMC (e.g., the computing node resource energy consumption is negligible). The modeling engine may generate multiple intermediate model configurations between the baseline consumption model and the maximum consumption model, wherein each intermediate model uses a different amount of data operator resources to perform one or more tasks. The modeling engine may be implemented to output a telemetry consumption coefficient for each modeling configuration. The telemetry consumption coefficients may include a first coefficient for predicting the energy consumed to perform one or more tasks based on each modeling configuration, and a second coefficient for predicting the amount of time to perform one or more tasks based on each modeling scenario. In an example embodiment, the modeling engine may be included as part of the NMC. However, the present disclosure is not limited to such an embodiment.

[0021] According to an embodiment of the present disclosure, an optimization engine may also be included, which is configured to select a modeling configuration from a plurality of modeling configurations for performing one or more data processing tasks. The optimization engine may also assign one or more of a plurality of data operators according to the selected modeling configuration. For example, according to the modeling configuration, the optimization engine may use a telemetry consumption coefficient to optimize the use of NMC and data operators. The trade-off between the time consumed and the energy consumed may be considered as part of the optimization, for example, performing calculations at a faster rate (e.g., less time) generally consumes more energy. Therefore, optimizing a separate memory system may include balancing between minimizing a second coefficient (e.g., time) and minimizing a first coefficient (e.g., energy consumed). For example, depending on the energy consumption or time required for the operator to perform a task, the use of NMC may be partially optimized by referring to the telemetry consumption coefficient and selecting the best modeling configuration. In an example, optimization may be performed based on a data operator, such as by locally optimizing the energy consumption within the NMC by assigning certain functions to the data operator. For example, optimization may include selecting a configuration modeled by a modeling engine that provides the best performance, and assigning a data operator according to the selected configuration. Optimization may also be performed globally, for example, by assigning functionality to peer NMCs (and data operators therein) and / or compute nodes. In an example implementation, the optimization engine may be included as part of the NMC. However, the present disclosure is not limited to such implementation.

[0022] Therefore, the embodiments disclosed herein provide a mechanism for determining the energy consumption and time to complete one or more data processing tasks. If both the energy and the completion time are known, customers and service providers can implement demand and profit shaping. For example, according to the embodiments disclosed herein, telemetry data that can be used as optimization considerations can also be included in the revenue structure of customers and service providers. Thereby improving energy efficiency and providing sustainable computing with higher profits. In addition, the ability to measure the energy consumption of the entire separated storage system can provide customers and service providers with a wise choice of compromise between performance, energy and infrastructure costs. That is, the embodiments disclosed herein can be implemented as a result of measuring the energy consumed and the time spent in the separated storage system in order to reach a solution, and therefore, customers can use the embodiments disclosed herein to optimize the operation of low energy consumption. In another example, a network operator can use the disclosed embodiments to minimize costs and maximize profits in providing resources by a compromise between the time to solve the problem and the energy consumed (compared with the income of the operating equipment).

[0023] As used herein, baseline and maximum in the context of a consumption model (or configuration) refer to the amount of computation performed by the NMC, and not necessarily to predicted or observed energy consumption. That is, the baseline consumption model is a model in which the NMC operates in a straight-through manner, and the maximum consumption model is a model in which substantially all computational functions consume the data operator resources of the NMC (e.g., the maximum computation performed by the NMC). In some cases, the baseline consumption model may be the most energy-efficient model, while in other cases, the maximum consumption model may be the most energy-efficient model. In still other cases, the intermediate consumption model may be the most energy-efficient.

[0024] It should be noted that the terms "optimize," "optimal," and the like as used herein may be used to mean achieving or realizing as efficient or perfect a performance as possible. However, one of ordinary skill in the art reading this document will recognize that perfection is not always achieved. Thus, these terms may also encompass achieving or realizing as good or efficient a performance as possible or a performance that is practical in a given situation, or achieving or realizing a performance that is better than that achievable using other settings or parameters.

[0025] Figure 1 An example architecture 100 is illustrated in which data query operations on memory may be offloaded to a NMC. Figure 1 The system includes a plurality of computing nodes 105 (e.g., a first computing node 105A and a second computing node 105B) connected to a separate storage 108 via a network interface 107. As part of a data operation, the computing node 105 may issue a data query requesting data from the separate storage 108. The computing node 105 may be implemented as any computing device connected to the separate storage 108 via the network interface 107. For example, the computing node 105 may be a client device. As another example, the computing node 105 may be a server having a CPU, a memory, and a network interface. In an example implementation, the computing node 105 may be implemented as Figure 6 In another example, multiple computing nodes may be organized in clusters, where each cluster represents a computing node 105 .

[0026] Separate memory 108 includes a logical pool of memory 110 (eg, memory 110A, memory 110B, memory 110N, etc.). Figure 1Each memory 110 of can be an example separate memory node on the interconnect structure. For example, multiple separate memory nodes 110 can be connected via multiple interconnect structures. Therefore, in some examples, separate memory 108 can be used as a memory separated from the computing node 105 and can be shared between multiple computer nodes 105. In some cases, the separate memory can be shared by all nodes. The network interface 107 can be an example of a fabric interface.

[0027] The separate memory 108 also includes a plurality of dynamic regions 121 (e.g., a first dynamic region 121A, a second dynamic region 121B, and a third dynamic region 121N). Each dynamic region 121 (also referred to herein as NMC) includes one or more data operators 111 (e.g., a first data operator 111A, a second data operator 111B, a third data operator 111C, a fourth data operator 111D, a fifth data operator 111E, and a sixth data operator 111N). The data operator 111 may be a function that is offloaded near the memory to improve the performance of computational operations such as addressing (e.g., pointer tracking, hashing, etc.), data filtering (e.g., projection and view), and computation on data (e.g., compression, encryption, etc.). The data operator may not change the overall processing to be performed, but may be used to relocate the operation of the memory 110 close to the separate memory system 108. In one example, the plurality of data operators 111 include a query operator including: (i) a selection operator configured to filter data according to a set of predicates, (ii) a projection operator configured to reduce the columns returned and reduce memory accesses, (iii) an aggregation operator, (iv) a differentiation operator, (v) a grouping operator configured to combine tuples (e.g., differentiation, group by aggregation), (vi) a regular expression matching operator, (vii) an encryption operator, and (viii) a system support operator configured to process data in situ before sending the data (e.g., encryption / decryption) and perform system optimization tasks (e.g., packing data) to reduce overall network usage. The data operator 111 may be implemented using an ASIC, using an FPGA, a SmartNIC, an ARM, other processors, etc. In an example embodiment, the data operator 111 may be implemented as an instance of a computer system, for example, Figure 6 A computer system 600.

[0028] In some embodiments, each dynamic region 121 includes one or more data storage areas 112 (e.g., data storage area 112A, data storage area 112B, ..., data storage area 112N). The data storage area 112 can store metrics, such as optimization metrics according to the embodiments disclosed herein. The data storage area 112 can also store policies for assigning, loading, and managing data operators 111 loaded into the corresponding dynamic region 121. For example, the data storage area 112 can store metrics of energy consumption per bit and latency metrics, which can be used by the embodiments disclosed herein to optimize the data operators used to perform the requested tasks according to the policies.

[0029] The separate memory 108 can be accessed by one or more of the plurality of computing nodes 105. For example, the first computing node 105A and the second computing node 105B can both access the separate memory 108 and / or one of the first computer node 105A and the second computer node 105B can access the separate memory 108. In one example, the computing node 105A and the computer node 105B can each call a data request in the form of projection and selection of two data queries, which are unloaded to the separate memory 108 as data operators 111 of the corresponding dynamic regions 121, while performing the union and final projection at the computing nodes 105A and 105B. In one example, the separate memory 108 includes a programming interface, which includes a data API for path operations and connection management operations. By connecting the data API to the memory 110, the data operator 111 can be unloaded to the separate memory 108, thereby effectively acting as a plug-in line stream processor.

[0030] Data operator pipelines can be built from individual blocks that implement a given data operator, and provide a standard interface to combine data operators into pipelines. The modular nature of pipelines allows operators to be easily replaced and extended (e.g., by connecting operators). Figure 3 A sample data operator pipeline is provided.

[0031] Figure 21 is a schematic block diagram of an architecture 100 in which the systems and methods described herein may be implemented. The architecture 100 includes a memory stack 204, a data operator stack 206, and a network stack 202. Data is transmitted to and from the memory stack 204 from one or more computing nodes (e.g., computing node 105A, computing node 105B) via the network stack 202 and the data operator stack 206. The memory stack 204 includes a separate memory (e.g., separate memory 108), which includes a memory pool (e.g., memory 110A, memory 110B, ..., memory 110N) connected to a memory management unit 208 via multiple channels (e.g., channel 256A, channel 256B, ..., channel 256N). The data operator stack 206 includes multiple data operators 111 (e.g., data operator 111A, data operator 111B, ..., data operator 111N) and one or more data storage areas 112. The plurality of data operators 111 are connected to the memory management unit 208 and the network interface 107. The plurality of data operators 111 are connected to the memory management unit 208 via a plurality of memory channels 236 (e.g., channels 236A, channels 236B, ..., channels 236N). The channels 236 may be an illustration of a memory interface through which the data operator stack 206 (e.g., an example of the dynamic region 121) is connected to the memory stack 204. The network stack 202 is configured to decode the incoming data stream and pass the data together to the appropriate data operator 111. The network stack 202 includes a network interface 107. The network interface 107 is connected to the plurality of data operators 111 via a plurality of channels 234 (e.g., channels 234A, channels 234B, ..., channels 234N). In one configuration, the network interface 107 is an example of a structure configured to transmit data to each of the plurality of data operators 111 across a plurality of interconnect structures. In this case, the channels 234 may be an example of a fabric interface. The plurality of interconnect structures may be connected to one or more separate memory nodes. According to the embodiments disclosed herein, the network interface 107 may connect the data operator stack 206 to one or more computing nodes 105 (eg, Figure 1 ), as well as connecting to other peer data operator stacks 206. That is, for example, the network interface 107 can act as a client fabric connecting a dynamic zone to a compute node via a client fabric interface, while also acting as a peer fabric connecting a dynamic zone (e.g., dynamic zone 121A) to one or more peer dynamic zones (e.g., second dynamic zones 121B, 121N, etc.).

[0032] The network stack 202 is configured to send / receive data to / from the data operator stack 206. For example, the network stack 202 receives a data query (e.g., from a compute node) and forwards it to the data operator stack 206. The network stack 202 manages all connections between the compute node and the plurality of data operators 111. The network stack 202 receives / sends data via a network interface 107. The network interface 107 allows compute nodes on a network to exchange data in main memory bypassing operating system and CPU resources. In one example, the network interface 107 includes a connection protocol that uses zero-copy networking to read data directly from the main memory of one system and write data directly to the main network of another system, thereby improving performance and throughput by freeing up server resources in a parallel high performance computing (HPC) cluster.

[0033] Operator stack 206 includes dynamic logic necessary for allocating data operators to separate memory.Each data operator 111 can be configured to perform NMC (e.g., near memory processing operation).Data operator stack 206 can process data of multiple computing nodes simultaneously.For example, data operator 111 can process multiple data queries.Data can be processed in stream mode in operator pipeline, wherein each stage of processing is fully pipelined so that different processing stages in each data operator 111 can occur simultaneously.This configuration can be used to utilize both spatial parallelization (e.g., tasks are performed simultaneously by multiple processing units) and pipeline parallelization performed by concurrent dynamic regions.Pipeline parallelization can refer to multiple operators being dependent on each other, and the execution of each operator can overlap with other data operators 111.Both of these can be beneficial to the overall performance of the system.It is through the operator stack that the system can identify the relationship with the previously identified structure and perform optimization of access data. Optimizations may include pre-fetching data to be accessed, caching data in higher level caches to be frequently reused, and / or pre-computing by speculatively updating metadata to reflect upcoming IO, buffer allocations, or other parameters associated with the application and data.

[0034] Multiple data operators 111 may be managed via management operators based on policies and indicators stored in data store 112. In an example, a management operator may be one of operators 111 that is loaded first and, based on being loaded first, is configured to manage other subsequently loaded data operators 111. The management operator monitors the processing load of other data operators and reacts based on policies. The management operator may also provide programming and user interfaces to other tools and system management. In another example, the management operator may be a controller, which may be implemented, for example, as Figure 6 A computing device 600 is provided.

[0035] In one example, the management operator is the first data operator that is started (e.g., opened, started, online, etc.). In a configuration where the first data operator that is started is the management operator, the first operator may be referred to as a "bootstrap operator". The management operator remains open throughout the data operation process. If the management operator crashes, any one of the multiple operators may become the management operator. For example, if the management operator crashes, a non-management operator may become the management operator.

[0036] The data operator stack 206 sends / receives data to / from the memory stack 204 via multiple connections 236. The memory stack 204 implements a pool of memory 110 and can be used as a regular memory, where data is loaded from a storage device as needed. The memory stack 204 is configured to handle memory allocation, address translation, and concurrent access. The memory stack 204 includes a memory management unit 208 for translating addresses to memory. The memory management unit 208 is connected to the memory 110 within the memory stack 204 via multiple channels (e.g., channel 256A, channel 256B, ..., channel 256N, etc.). For example, multiple channels 256 can route the memory 110 to access the memory management unit 208. The memory can be allocated to each channel in a striped mode to optimize the available bandwidth. The operator stack 206 can be connected to the memory stack 204 interface to receive data and metadata from the memory stack 204.

[0037] The computing node can access the split memory by opening a connection to one of the dynamic regions 121 containing one or more data operators 111, each of which can contain one of the possible operator pipelines. When the computing node issues a read request, the network stack 202 routes the request to the dynamic region in the operator stack 206, which contains the data operator 111 assigned to the computing node that initiated the request. The read request is forwarded to the memory stack 204, which converts the virtual address into a physical address in the memory 110, and then issues the actual data request to the memory 110. The computing node can have local directory information that can be used to determine the virtual address of the memory to be accessed. The returned data is streamed back to the dynamic region 121, where the loaded data operator 111 is applied to the data. Finally, the resulting data is forwarded to the network stack 202 and further sent directly to the computing node.

[0038] Figure 3 An example dynamic region 121 of a data operator stack 206 is illustrated. Figure 3The diagram illustrates a general operator pipeline 330 included in a dynamic region 121 that includes a plurality of data operators 332A-332N (collectively referred to herein as data operators 332) that can process data objects. In one example, the plurality of operators 332 may include projection, selection (e.g., predicate selection, regular expression matching), grouping (e.g., differentiation, grouping, and aggregation), and system support (e.g., encryption / decryption). Figure 3 In the illustrative example of , the plurality of operators include a decryption operator 332A, a projection operator 332B, a selection operator 332C, a grouping operator 332D, and a system operator 332N. The operators 332 within the operator pipeline 330 may vary depending on the requested set of queries to be performed. One or more operators 332 may have fixed functions or programmable functions, in which case the functions may be reassigned.

[0039] Each operator pipeline is assigned to a corresponding computing node (e.g., one of the corresponding computing nodes 105). Operator pipeline 330 includes one or more data operators 332, each of which provides partial query processing (e.g., processing of data read operations) for data operations to separate memory. The query can be forwarded to the query request handler in the operator stack by the query request handler 302. The query request handler 302 can request the data object associated with the query from the memory stack (e.g., the memory stack 204). This can be achieved by addressing, which can allow data to be read in both row storage format and column storage format based on a given request. In some embodiments, data can also be read in a graph format or other representation. The data operator 332 for processing data objects can be precompiled into the dynamic area 121 and can be deployed (e.g., loaded) to the dynamic area at runtime. The query request handler 302 can submit the data object to one or more data operators 332 according to the query.

[0040] When a query request arrives, it is first forwarded to the query request handler 302, which requests data from the memory stack. At the same time, any necessary parameters for additional processing are forwarded to the data operators 332 in the pipeline. The data from the memory is processed by these data operators in a streaming manner. Once the processing is completed, the resulting data is sent back to the client via the network stack.

[0041] As an illustrative embodiment, the decryption operator 332A can decrypt the data from the memory stack 204 if the data is encrypted. For this operation, the computing node may be required to provide a specific key for decrypting the ciphertext into plaintext. These keys can be provided with the query request. This can allow the system to provide an additional level of security, which is important in modern split environments.

[0042] The projection operator 332B can return a subset of the data objects. The projection operator 332B can read the table from the separate storage, parse the incoming data stream based on the query parameters describing the tuples and their sizes, and project only the necessary columns into the pipeline for further processing using annotations. This reduces the amount of data provided to subsequent stages and ultimately reduces the amount of overall data movement. The projection operator 332B can use annotations to annotate the tuples with parameters from the requested query. The parameters can indicate which columns are part of the projection stage, the selection stage, and the grouping stage. The projection operator 332B can annotate a subset of the data objects and forward them to the selection operator 332C.

[0043] The selection operator 332C can further filter the data to reduce the amount of data ultimately sent over the network, thereby reducing I / O overhead. The selection operator 332C can use predicate selection, regular expression matching, vectorization or other methods to filter data. Predicate selection can be performed by comparing the value of the attribute of the data object with the constant provided in the query. The annotation from the projection operator 332B can assist in determining what content is evaluated during the predicate matching phase. Regular expression matching can use string matching via multiple parallel engines in the operator stack 206. The performance of this operator can be dominated by the length of the string and does not depend on the complexity of the regular expression used. Vectorization can be performed by reading data in parallel from multiple channels in the operator stack 206. Each tuple can be emitted to a group of selection operators for parallel operations. The number of parallel operators can be selected based on the number of memory channels and the tuple width. Vectorization can be implemented for simpler queries that can be parallelized without data dependence.

[0044] The grouping operator 332D can perform aggregation and eliminate duplicate column entries before the column entries are sent to the client application and device. The grouping operator 332D can hash the value and save the entry in a hash table in the memory stack. In some examples, the hash table can use cuckoo hashing, which has multiple hash tables that can be consulted in parallel. Cuckoo hashing can evict entries from the hash table, and insert these entries into a separate hash table using different functions to reduce conflicts. The grouping operator 332D can group data via aggregation, and dump and clear data entries from the hash table based on the requested aggregation result. Aggregation can produce a specific grouping that can perform most of the processing already in the separated node (this can be determined based on a specific application), without first moving all data to the client, and then fully processing the data.

[0045] The system operator 332N can prepare data filtered by the projection operator, the selection operator, and the grouping operator to be sent to the computing node. The system operator 332N can also encrypt data as needed or as requested by the computing node. The system operator 332N can also pack data based on the annotation column from the projection operator 332B to more efficiently utilize the available network bandwidth. Packing can use overflow buffers to maintain line rates. In the case of vectorization, a round-robin arbiter can be used to combine tuples from each parallel pipeline. The system operator 332N can also include a transmitter unit to generate correct header information in the network stack. The transmitter unit can create RDMA commands without information about the final data size, which can allow filtering in the operator when the final data size is unknown when the request is issued. The transmitter unit can also forward data to the network stack for sending to client applications and devices.

[0046] Figure 4is a schematic block diagram of a split memory system 400 for optimization based on telemetry data according to an embodiment disclosed herein. The split memory system 400 includes an NMC 421 proximate to a memory array 410 via a memory channel 401. The NMC 421 may be implemented as a function integrated into a memory die (e.g., at the bottom of a stack of memory dies in a single packaged component). As another example, the NMC 421 may be implemented as a small chip on a substrate proximate to the memory die. In another example, the NMC 421 may be a packaged component on a memory board proximate to a memory component (e.g., a DIMM or SSD). In yet another example, the NMC 431 may be implemented as a general purpose CPU coupled to its own main memory having instructions stored thereon that, when executed by the CPU, perform the processes and functions disclosed herein. In one example, the NMC 431 may be implemented as a combination of the following: Figure 6 Described computing system 600. In some implementations, NMC 421 may be referred to as a near memory computing node.

[0047] Memory array 410 and NMC 421 may be examples of one of memories 110 and dynamic region 121, respectively. Memory channel 401 may be an example implementation of memory channel 236. NMC 421 is connected to one or more computing nodes 405 via client fabric 406 and to one or more peer NMCs 431 via peer fabric 432. Client fabric 406 may be an example of network interface 107, and one or more computing nodes 405 may be Figure 1 The peer NMC 431 may be an example of an instance of the dynamic zone 121, and the peer structure 432 may be implemented as the network interface 107. For example, Figure 1 As shown, the peer-to-peer structure 432 and the client structure 406 can be unified into a single network. In another example, the peer-to-peer structure 432 and the client structure 406 can be separate and thus implemented as separate networks.

[0048] Each component of the split memory system 400 consumes energy to perform data-related functions on the corresponding component. For example, the memory array 410 can consume energy per bit of data to perform a read operation or a write operation, while consuming static power, static power due to leakage, or ongoing functions such as refresh. The memory channel 401 consumes energy per bit of data transmitted through the interface at a given bandwidth. Similarly, the client structure 406 and the peer structure 432 each consume energy per bit of data transmitted through the interface at a corresponding bandwidth. One or more computing nodes 405 and one or more peer NMCs 431 each also consume energy to perform a read operation or a write operation, while consuming static power due to leakage.

[0049] The NMC 421 also consumes energy during operation and / or idle periods. For example, the NMC 421 includes a memory interface 424 that connects the NMC 421 to the memory channel 401 and a fabric interface 425 that connects the NMC 421 to the client fabric 406 and / or the peer fabric 432. One or more data operators 411 are provided as resources that can be consumed and are communicatively connected between the memory interface 424 and the fabric interface 425 to perform the functions described above. The one or more data operators 411 can be Figure 1 1. An example implementation of a data operator 111 of FIG. 1. In general, a data operator 411 consumes energy to perform assigned functions. A data operator 411 may have fixed functions or programmable functions, in which case these functions may be reassigned. The energy consumed by each data operator 411 depends on the corresponding data operator 411 that is called to perform the assigned function. NMC 421 also consumes static power due to leakage. Memory interface 424 and fabric interface 425 each consume energy per bit of data transmitted through the corresponding interface and consume static power due to leakage.

[0050] NMC 421 Figure 4 4 is shown as including decision points 429a and 429b (collectively referred to herein as decision points 429) of the operation flow. If data operator 411 is not required to perform the operation, or if the resources of data operator 411 are not available, the operation flow passes through NMC 421 via arrow 426. Otherwise, the operation flow calls one or more data operators 411 via arrows 427a and 427b. This operation is described in more detail below.

[0051] Table 1 below provides a non-exhaustive listing of a number of energy consumption metrics (sometimes referred to herein as compute metrics) associated with performing computing tasks.

[0052] Table 1

[0053]

[0054] Each component of the split memory system 400 requires time to perform a function before transferring data to a subsequent component (e.g., a delay for each component). For example, the memory array 410 may have a memory array read or write delay for the amount of time to perform a read operation or a write operation, respectively. The memory channel 401 may have a memory channel delay for the amount of time to perform data transfer between the memory array 410 and the NMC 421. The memory interface 424 may have a memory interface delay for the amount of time to transfer data between the memory channel 401 and the NMC 421. The NMC 421 may have an NMC delay for the amount of time to perform a function on the called data operator 411 (if any). The fabric interface 425 may have a fabric interface delay for the amount of time to transfer data between the NMC 421 and the peer fabric 432 and / or the client fabric 406. The client fabric 406 and the peer fabric 432 may each have a delay for the amount of time to perform data transfer between the NMC 421 and each computing node in the one or more computing nodes 405 or one or more peer NMCs 431.

[0055] Table 2 below provides a non-exhaustive list of several latency metrics.

[0056] Table 2

[0057]

[0058] exist Figure 4 In the illustrative example of , NMC 421 hosts energy consumption engine 422, energy modeling engine 423, and optimization engine 428. In this case, metrics (such as the metrics shown in Tables 1 and 2) can be stored in a data storage area (such as data storage area 112). However, the embodiments disclosed herein are not limited to this configuration. In some embodiments, energy consumption engine 422, energy modeling engine 423, and / or optimization engine 428 can be hosted in another device of split memory system 400. For example, energy consumption engine 422, energy modeling engine 423, and / or optimization engine 428 can be hosted by memory array 410 or an external computing device (such as Figure 6 Server or 600) hosting.

[0059] According to various embodiments disclosed herein, the energy consumption engine 422 can be used to measure energy consumption metrics of the split memory system 400. For example, the energy consumption engine 422 can measure the energy consumed when performing a computing task, and the energy consumed during communication (e.g., data movement between components of the split memory system 400). Table 1 depicts examples of computing energy metrics (e.g., metrics associated with performing a computing task) and communication energy metrics (e.g., energy consumed during data movement), each of which can be measured by the energy consumption engine 422. For example, a metric associated with the memory array 410, the NMC 421, the computing node 405, and / or one or more peer NMCs 431 when performing a function can be referred to as a computing energy metric. A metric associated with the memory channel 401, the client structure 406, and the peer structure 432 when exchanging data can be a communication energy metric. The energy consumption engine 422 can collect energy consumption metrics as telemetry data. In an example embodiment, the NMC 421 may include one or more power sensors 419 configured to collect power (J / s) telemetry data and integrate the collected power over time to generate energy (J) telemetry data, which can then be associated with each transaction energy of the data operator. An illustrative example of the power sensor 419 is an on-die power sensor that generates power in Watts (J / s) and sums it over time to generate energy in Joules.

[0060] In some cases, energy consumption metrics may be pre-stored in, for example, the data store 112. For example, in the case of a data operator 411 having fixed functions (e.g., but not limited to, memset(), memchr(), crypt(), popcount()), the static power overhead (W) and per transaction (Joules / bit) may be saved in the data store 112 and made available to the energy consumption engine 422. For fixed functions, the static power overhead and power per bit may be determined during design and characterization. The energy consumption metrics may be pre-stored in the data store 112.

[0061] In the case of programmable data operators 411, static overhead (W) estimates and per-transaction capacity percentage (Joules / bit) estimates may be initially available to NMC 421 (e.g., stored in data store 112), and once they are captured by, for example, energy consumption engine 422, measurements are used to update them. For example, estimates of static power overhead and per-bit transaction power may be estimated based on the overall maximum and average energy consumption measured during design and characterization, and then prorated based on the percentage of resources used (e.g., if a programmable function uses 50% of the resources in the NMC, the estimate of static power associated with the function will be 50% of the average of the energy utilization measured during design and characterization, or the maximum for a more conservative estimate). When a new programmable data operator is configured, an initial estimate based on the percentage of resources utilized may be stored. As the data operator is utilized, the actual utilized energy may be collected during operation time to improve the estimate. Over time, additional samples may be collected to further improve the estimate, and to account for any potential data dependencies. The estimate may be saved in data store 112 and updated by energy consumption engine 422.

[0062] The energy consumption engine 422 may be used to measure a latency metric of the split memory system 400. For example, the energy consumption engine 422 may measure the amount of time it takes for components of the split memory system 400 to complete a function. Table 2 depicts examples of these latency metrics, each of which may be measured by the energy consumption engine 422. Similar to the energy consumption metric, the latency metric may be estimated and initially available via the data store 112, and may be updated based on the measurements of the energy consumption engine 422.

[0063] The energy consumption engine 422 may tag the communication energy metric with a fingerprint of the communication path. For example, metadata may be attached to the communication energy metric, the communication energy metric including fingerprint data indicating the source of the communication energy metric. In the case of a data request from one or more computing nodes 405, the fingerprint may include information for identifying the communication. In an example, the fingerprint may include an identifier of the one or more computing nodes 405 that issued the request (e.g., any identifying attribute traceable to a low-level assignment, such as, but not limited to, a MAC address, component ID, etc. given the design characteristics of the utilized structure), a local address of the one or more computing nodes 405 (e.g., a local IP address, component ID, etc.), and any remote peer address (e.g., IP address, component ID, etc.) of the one or more computing nodes 405 that may be combined with the requesting one or more computing nodes 405 (if any). In the case of communication from the memory array 410, the fingerprint may include an identifier and a local address of the memory array 410. In the case of communication from the NMC 421, the fingerprint may include an identifier and a local address of the NMC 421. In this way, the communication energy metric may be associated with the source. In the case of one or more peer NMCs 431 , the fingerprint may include a token associated with the given one or more peer NMCs 431 .

[0064] In some embodiments, when the NMC 421 is configured in pass-through mode, the use of fingerprinting communication energy metrics allows for the determination of an energy baseline based on communication. Comparison of the dynamic energy associated with the communication with the total energy consumed by the NMC 421 without data operator participation (e.g., pass-through mode) can provide a static power dissipation metric. For fixed-function data operators, design characterization data can provide time and per-bit energy metrics for the data operator. Comparison of the static dissipation metric with the data operator participation in the operation can provide a dynamic data operator energy estimate that can be used to derive an energy consumption forecast for the programmed data operator energy metric. For example, a comparison of the static dissipation metric with the energy consumed by calling a data operator can indicate the energy consumed by the data operator to perform a programmed function. As an illustrative example, if only the static power (Po) is given, s ), only the average power or idle power is known. If both idle power and load power can be measured, then a particular data operator can be associated (and possibly via fingerprinting) with the energy consumption of a particular client when that particular data operator is used. When a data operator is switched out, a metric can be estimated for each data operator using a similar comparison to the static dissipation. In this way, the NMC static power dissipation metric (Po s ), and the NMC energy consumed by each data operator and each processed bit (Eo).

[0065] The energy modeling engine 423 can be configured to use telemetry data to model multiple computing scenarios of data processing requests executed by the split memory system 400. The energy modeling engine 423 can obtain static overhead (in W or J / s) and each transaction (joule / bit) within the operating life due to bandwidth (bits / second) and latency (s) consumption metrics from the energy consumption engine 422, so that time-based energy consumption can be calculated. For example, the energy modeling engine 423 generates a model of multiple configurations of the split memory system 400 for executing one or more data processing requests (e.g., tasks) from a computing node. Multiple modeling configurations may include a baseline consumption model, a maximum consumption model, and one or more intermediate consumption models. The baseline consumption model may be a configuration in which the NMC 421 operates in a pass-through manner so that data operator resources are not consumed (e.g., data operators are not called), and all computing functions are performed at the computing node. In this configuration, data is transferred from the memory array 410 to one or more computing nodes 405 via arrow 426 through the memory interface 424 and the structure interface 425 without calling data operator resources. In the maximum consumption model, the computing node side calculation can be minimal or zero, and substantially all computing functions are performed by the data operator 411 called by the NMC 421 (for example, as shown by arrows 427a and 427b), so that the computing node resource consumption can be negligible. The intermediate consumption configuration can be a computing function of different degrees performed by the data operator 411 and by the computing node 405 (or one or more peer NMCs 431). For example, the first intermediate consumption configuration can call the first data operator 411 for performing tasks and pass the remaining functions to the computing node 405. The second intermediate consumption configuration can call the first data operator 411 and the second data operator 411. Therefore, each nth intermediate consumption configuration can call n data operators 411. When n is equal to the number of resources of the data operator 411, the model configuration will be the maximum consumption configuration.

[0066] The energy modeling engine 423 simulates each model using the computational energy metrics and communication energy metrics and latency metrics obtained from the energy consumption engine 422, and outputs telemetry consumption coefficients for the modeling configuration. The telemetry consumption coefficients may predict the energy and time consumed to perform the requested task based on each modeling configuration. For example, each modeling configuration may be associated with a pair of telemetry consumption coefficients that may be used to optimize the split memory system 400 in terms of energy and time. For example, the telemetry consumption coefficients may include a first coefficient that predicts the energy consumed to perform the requested task based on each modeling configuration, and a second coefficient that predicts the amount of time used to perform one or more tasks based on each modeling scenario.

[0067] For example, the baseline energy consumption can be modeled by the energy modeling engine 423 as the energy affecting the local memory read / write operations in the memory array 410 and the communication required to move data for the read / write operations. In this case, the data operator 411 of the NMC 421 is bypassed and its energy is zero. The baseline energy consumption can be modeled using the computational energy metric and the communication energy metric as follows:

[0068]

[0069] BaselineNMCEnergy = 0 Equation 2

[0070]

[0071] Among them, Bm r|w =Bm r|w [n][i] Equation 3

[0072] Among them, as described in Table 1 above, Ef T Ecf is the structural interface energy consumed per bit transmitted; T [n][i] is the client structure energy consumed by each computing node [n] to transmit each bit [i]; Pf s is the static power consumed by the fabric interface; BWcf[n][i] is the client fabric bandwidth per bit[i] per compute node[n]; Bc r [n][i] is the number of bits [i] transmitted by each compute node [n] for the read operation; Bc w [n][i] is the number of bits [i] transmitted by each compute node [n] for the write operation; Ea r is the memory array energy consumed by each read operation; Bm r is the number of bits read from the memory array to NMC; Ea w is the memory array energy consumed by each write operation; Bm w is the number of bits written from the NMC to the memory array; Emc T is the memory channel energy consumed per bit transmitted; Em T is the memory interface energy consumed per bit transmitted; Pa s is the static power consumed by the memory array; Pm s is the memory interface static power consumed; and BWmc is the client fabric bandwidth per bit per compute node.

[0073] BaselineEnergyClient nrepresents the predicted total energy consumed by the nth compute node when executing tasks and exchanging data with the NMC 421. BaselineNMCEnergy represents the predicted total energy consumed by the NMC 421, which is assumed to be 0 in this case. BaselineEnergyMemoryArray represents the predicted total energy consumed by the memory array 410 when executing tasks and exchanging data with the NMC 421. The sum of equations 1-3 can represent a first coefficient associated with a baseline consumption configuration (also referred to herein as a first consumption configuration). In this example, the metrics from the nth compute node can be labeled with a fingerprint of the compute node as described above so that the tasks can be tracked by the system.

[0074] In an example maximum energy consumption model for communication-only data operator requests, it can be assumed that client energy consumption is negligible and can be replaced by an NMC model that relies on a per-bit and duration based model. In this scenario, the operation on the memory array 410 can be the same as Equation 3, as the same activities will still occur on the memory array 410. The maximum energy consumption in this example can be modeled as follows:

[0075] MaxEnergyClient n =0 Equation 4

[0076] MaxNMCEnergy=Eo*(Bo r +Bo w )+Po s *Lo s , among which, Bo r|w =Bo r|w [n][i] Equation 5

[0077]

[0078] Wherein, referring to Table 1 and Table 2, Eo is the NMC energy consumed by each data operator to process each bit; Po s is the NMC static power consumed; Lo s is the NMC execution delay; Ea r is the memory array energy consumed per read operation; Bo r is the NMC bit processed by each data operator for read operations; Ea w is the memory array energy consumed by each write operation; Bo w It is the NMC bit processed by each data operator for write operation; Emc T is the memory channel energy consumed per bit transmitted; Em Tis the memory interface energy consumed per bit transmitted; Pa s is the static power consumed by the memory array; Pm s is the memory interface static power consumed; and BWmc is the client fabric bandwidth per bit per compute node.

[0079] MaxEnergyClientn represents the predicted total energy consumed by the nth compute node when executing tasks and exchanging data with the NMC 421, which is assumed to be 0 in this case. MaxNMCEnergy represents the predicted total energy consumed by the NMC 421, for example, based on calling 41 / / to perform all computing functions of the requested task. MaxEnergyMemoryArray represents the predicted total energy consumed by the memory array 410 when executing tasks and exchanging data with the NMC 421. The sum of equations 4-6 can represent a first coefficient associated with a maximum consumption configuration. The metrics from the nth compute node can be tagged with a fingerprint of the compute node as described above so that the task can be tracked through the system.

[0080] As shown above, the NMC energy of Equation 5 can initially be assumed to be zero, as it cancels out the potentially unknown compute node side energy contributions. Based on this initial state, the static contribution and per-bit contribution can be derived through local power telemetry metrics. While this may not provide a complete end-to-end comparison of energy consumption on one or more compute nodes 405 and NMC 421, it allows for a relative comparison of energy costs in NMC 421 to aid in resource optimization.

[0081] For more complex data operators including peer NMC communications, this energy can be modeled using peer structure metrics (e.g., as shown in Tables 1 and 2). For example, the computation energy metric for each peer NMC 431 can be modeled based on multiple called data operators using similar equations for NMC 421 (e.g., Equation 5), and for the communication energy metric, using the metrics of the peer structure 432. Some intermediate modeling configurations can include exploring further configuration options with one or more peer NMCs 431. In the case of a unified structure, the model can be substantially similar to the client structure metric.

[0082] The optimization engine 428 may select a modeling configuration from a plurality of modeling configurations for performing the requested one or more tasks. For example, the optimization engine 428 may obtain a telemetry consumption coefficient and an associated modeling configuration from the energy modeling engine 423 and use the telemetry consumption coefficient to select a modeling configuration to perform the requested one or more tasks. The optimization engine 428 may select a modeling configuration that optimizes the split memory system 400 in terms of energy and completion time to perform the requested one or more tasks. This may include balancing the time consumed and the energy so as to minimize these two coefficients.

[0083] The optimization engine 428 may rank each modeling configuration according to one or more telemetry consumption coefficients. For example, the optimization engine 428 may rank the modeling configurations according to the first coefficients associated therewith, wherein the modeling configurations are ranked from the lowest predicted energy consumption (e.g., the smallest first coefficient) to the largest predicted energy consumption. As another example, the optimization engine 428 may rank the modeling configurations according to the second coefficients associated therewith, wherein the modeling configurations are ranked from the smallest amount of completion time (e.g., the smallest second coefficient) to the largest amount of completion time. That is, the fastest completion time to the slowest completion time. In another example, the first coefficient and the second coefficient may be balanced according to a tradeoff to optimize the split memory system 400 by minimizing the first coefficient and the second coefficient.

[0084] The trade-off between the time consumed and the energy consumed can be considered as part of selecting a modeling configuration. For example, depending on the energy consumption or completion time constraints set in the split memory system 400, the optimization engine 428 can select the telemetry consumption coefficient to make it consistent with the constraints, thereby optimizing the split memory system 400 according to the set constraints. For example, the energy consumption and / or time constraints can be set by the user, which can be set as a standard considered when selecting a modeling configuration. The optimization engine 428 can refer to the telemetry consumption coefficient of each modeling configuration, and the telemetry consumption coefficient can be used to locate one or more modeling configurations that meet the standard. For example, a user can enter the expected completion time for performing the requested task, and the optimization engine 428 can locate one or more modeling configurations with a second coefficient that meets the expected execution time. According to the one or more modeling configurations, the best modeling configuration that provides the lowest energy consumption while meeting the time standard can be selected. As another example, the user can enter the expected energy consumption, which can be used to filter the modeling configuration into one or more modeling configurations that meet the expected energy consumption. The modeling configuration with the fastest execution time (e.g., the lowest second coefficient) can be selected from it. In view of different combinations of energy and time constraints, other embodiments are possible.

[0085] In an example implementation, the optimization engine 428 may assign one or more data operators 411 based on the selected modeling configuration. For example, the optimization engine 428 may obtain a telemetry consumption coefficient and use the coefficient to select a configuration of the split memory system 400 as described above. The use of the data operator 411 may be invoked based on the selected model configuration. The data operator may be assigned or reassigned to configure the NMC 421 based on the selected modeling configuration.

[0086] According to some embodiments, the optimization of the optimization engine 428 can be performed based on operators, for example, by assigning tasks to data operators 411 to locally optimize energy consumption within the NMC 421. For example, the optimization may include assigning data operators 411 within the NMC 421 according to the selected modeling configuration. The optimization based on the data operators of the NMC 421 can be referred to as localized management of the data operators 411. According to this method, the NMC 421 can be optimized by minimizing the energy consumption of the NMC 421, for example, by pushing the computing function back to the computing node 405, thereby achieving local optimization at the expense of global optimization. In this case, the NMC 421 can return an abnormal condition to the requesting computing node 405, which pushes the function back to one or more computing nodes 405. This operation can be completed across any set of fingerprints, such as a requesting client, a local destination address area, and a remote peer address area, or a token provided to a federation of peer NMCs 431. That is, the NMC 421 can push the calculation to any source based on the fingerprint associated with the request.

[0087] Optimization can also be performed globally, for example, by assigning tasks to peer NMCs 431 (and data operators therein). This operation can be referred to as global management of NMC operators. For example, if the computational energy on the compute node side is known, end-to-end energy projection can be used to optimize the total energy consumed on the split memory system 400, for example, by pushing computational functions to one or more peer NMCs 431 to achieve the desired results. In addition, in addition to the bandwidth metric and the total data size in bits, if the average latency metric is also known for the memory channel 401 and the memory array 410, the completion time can also be modeled.

[0088] If both energy and completion time are known, customers and service providers can implement demand and profit shaping. For example, according to the embodiments disclosed herein, telemetry data that can be used as optimization considerations can also be included in the revenue structure of customers and service providers. Thereby allowing for improved energy efficiency and sustainable operations at higher profits. In addition, as described above, the ability to measure the energy consumption of NMC 421 can provide customers and service providers with a wise choice to compromise between performance, energy and infrastructure costs. That is, the separate memory system 400 can be implemented to provide the ability to measure the results of data operations in the separate memory system, and therefore, customers can use the separate memory system 400 to optimize operations to achieve minimum energy usage. In another example, a network operator can use the separate memory system 400 to minimize costs in providing resources by compromising the time to solve the problem with the energy to solve the problem.

[0089] Figure 5 Illustrated are example computing components that can be used to implement energy consumption optimization in a split memory system according to various embodiments. Figure 5 , the computing component 500 may be, for example, a server computer, a controller, or any other similar computing component capable of processing data. Figure 5 In the example implementation of FIG. 5 , computing component 500 includes a hardware processor 502 and a machine-readable storage medium 504 .

[0090] The hardware processor 502 may be one or more central processing units (CPUs), semiconductor-based microprocessors, and / or other hardware devices suitable for fetching and executing instructions stored in the machine-readable storage medium 504. The hardware processor 502 may fetch, decode, and execute instructions (e.g., instructions 506-514) to control processes or operations for energy consumption optimization in a split memory system. As an alternative or in addition to fetching and executing instructions, the hardware processor 502 may include one or more electronic circuits including electronic components for performing the functions of one or more instructions, such as a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or other electronic circuits.

[0091] A machine-readable storage medium, such as machine-readable storage medium 504, may be any electronic, magnetic, optical, or other physical storage device that contains or stores executable instructions. Thus, machine-readable storage medium 504 may be, for example, a random access memory (RAM), a non-volatile RAM (NVRAM), an electrically erasable programmable read-only memory (EEPROM), a storage device, an optical disk, or the like. In some embodiments, machine-readable storage medium 504 may be a non-transitory storage medium, wherein the term "non-transitory" does not encompass transient propagating signals. As described in detail below, machine-readable storage medium 504 may be encoded with executable instructions (e.g., instructions 506-514).

[0092] Hardware processor 502 may execute instructions 506 to receive one or more requests to perform computing functions on data stored at a separate memory. For example, a computing node may issue a request to perform one or more tasks to a memory node (or memory array) of a separate memory system (e.g., separate memory system 400). The requested tasks may be performed on data stored in the memory node by one or more computing functions.

[0093] The hardware processor 502 may execute instructions 508 to collect telemetry data for the split memory, near memory computing and computing nodes near the split memory. For example, as explained above, telemetry data including computational energy consumption metrics and communication energy consumption metrics for each component of the split memory system may be obtained. Near memory computing may include multiple data operators, each of which may be invoked to perform computational functions and thus consume energy.

[0094] The hardware processor 502 may execute instructions 510 to model multiple configurations for executing one or more requests based on telemetry data. For example, instructions 510 may include generating multiple modeling configurations for executing tasks requested by a computing node for a separate memory system. Multiple modeling configurations may include a first consumption model (e.g., a baseline consumption model) in which a data operator is not called, a second consumption model (e.g., a maximum consumption model) in which substantially all computing functions are performed by a data operator, and one or more intermediate consumption models, each of which uses a different number of data operators to perform different degrees of computing functions. In some embodiments, instructions 510 may be executed in response to receiving a request from a computing node.

[0095] Instructions 510 may also include generating a plurality of telemetry consumption coefficients for each modeling configuration. The telemetry consumption coefficient for each modeling configuration may include a first coefficient indicating energy consumption of the corresponding modeling configuration when executing one or more requests, and a second coefficient indicating an amount of time consumed by the corresponding modeling configuration when executing the one or more requests.

[0096] The hardware processor 502 may execute instructions 512 to select a modeling configuration from a plurality of modeling configurations for performing one or more requests. For example, a telemetry consumption coefficient may be referenced and used to select a modeling configuration associated with a telemetry consumption coefficient that optimizes the split memory system in terms of energy and completion time for performing the requested task. As explained above, the selection may be based on minimizing the first coefficient and the second coefficient, and based on a threshold criterion for one or more of energy consumption and completion time. The threshold criterion may be set based on user input.

[0097] Hardware processor 502 may execute instructions 514 to assign one or more of the plurality of data operators according to the selected modeling configuration.

[0098] Figure 6 A block diagram of an example computer system 600 is depicted in which various embodiments described herein may be implemented. Computer system 600 may be an example implementation of architecture 100 or any component thereof. Computer system 600 includes a bus 602 or other communication mechanism for communicating information, one or more hardware processors 604 coupled to bus 602 for processing information. One or more hardware processors 604 may be, for example, one or more general purpose microprocessors.

[0099] The computer system 600 also includes a main memory 606, such as a random access memory (RAM), cache, and / or other dynamic storage device, coupled to the bus 602 for storing information and instructions to be executed by the processor 604. The main memory 606 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by the processor 604. Such instructions, when stored in a storage medium accessible to the processor 604, cause the computer system 600 to become a special-purpose machine customized to perform the operations specified in the instructions.

[0100] The computer system 600 further includes a read only memory (ROM) 608 or other static storage device coupled to the bus 602 for storing static information and instructions for the processor 604. A storage device 610, such as a magnetic disk, optical disk, or USB thumb drive (flash memory drive), is provided and coupled to the bus 602 for storing information and instructions.

[0101] The computer system 600 may be coupled to a display 612, such as a liquid crystal display (LCD) (or touch screen), via the bus 602 for displaying information to a computer user. An input device 614, including alphanumeric and other keys, is coupled to the bus 602 for communicating information and command selections to the processor 604. Another type of user input device is a cursor control 616, such as a mouse, trackball, or cursor direction keys, for communicating direction information and command selections to the processor 604 and for controlling cursor movement on the display 612. In some embodiments, the same direction information and command selections as the cursor control may be implemented via receiving touches on a touch screen without a cursor.

[0102] The computing system 600 may include a user interface module for implementing a GUI, which may be stored in a mass storage device as executable software code executed by one or more computing devices. By way of example, this module and other modules may include components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, programs, subroutines, program code segments, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables.

[0103] Generally, the words "component", "engine", "system", "database", "data store", etc. as used herein may refer to logic implemented in hardware or firmware, or to a collection of software instructions written in a programming language such as Java, C or C++, which may have entry points and exit points. Software components can be compiled and linked into an executable program, installed in a dynamic link library, or written in an interpreted programming language such as BASIC, Perl or Python. It will be understood that software components can be called from other components or from themselves, and / or can be called in response to detected events or interrupts. Software components configured for execution on a computing device can be provided on a computer-readable medium such as an optical disk, a digital video disk, a flash drive, a disk, or any other tangible medium, or can be provided as a digital download (and can be stored originally in a compressed format or an installable format that needs to be installed, decompressed or decrypted before execution). Such software code can be stored in part or in whole on a memory device of an executing computing device for execution by the computing device. Software instructions can be embedded in firmware such as an EPROM. It will be further understood that hardware components may include connected logic units such as gates and flip-flops, and / or may include programmable units such as programmable gate arrays or processors.

[0104] The computer system 600 can implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware, and / or program logic that are combined with the computer system to make or program the computer system 600 into a special-purpose machine. According to one embodiment, the techniques herein are performed by the computer system 600 in response to one or more processors 604 executing one or more sequences of one or more instructions contained in the main memory 606. Such instructions can be read into the main memory 606 from another storage medium (such as storage device 610). Execution of the sequence of instructions contained in the main memory 606 causes the one or more processors 604 to perform the process steps described herein. In alternative embodiments, hard-wired circuits can be used instead of software instructions or in combination with software instructions.

[0105] As used herein, the term "non-transitory medium" and similar terms refer to any medium that stores data and / or instructions that cause a machine to operate in a particular manner. Such non-transitory media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 610. Volatile media include dynamic memory, such as main memory 606. Common forms of non-transitory media include, for example, floppy disks, floppy disks, hard disks, solid-state drives, magnetic tapes or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with a pattern of holes, RAM, PROMs and EPROMs, flash EPROMs, NVRAMs, any other memory chips or boxes, and networked versions of these media.

[0106] Non-transient media are distinct from transmission media but can be used in conjunction with transmission media. Transmission media participate in the transfer of information between non-transient media. For example, transmission media include coaxial cables, copper wire, and optical fiber, including the wires that comprise bus 602. Transmission media can also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.

[0107] Computer system 600 also includes a communication interface 618 coupled to bus 602. Communication interface 618 provides a two-way data communication coupled to one or more network links, and the one or more network links are connected to one or more local networks. For example, communication interface 618 can be an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing data communication connection to the telephone line of the corresponding type. As another example, communication interface 618 can be a local area network (LAN) card for providing data communication connection to compatible LAN (or the WAN components for communicating with WAN). Wireless links can also be implemented. In any such implementation, communication interface 618 sends and receives electrical signals, electromagnetic signals, or optical signals that carry the digital data stream representing various types of information.

[0108] A network link typically provides data communication through one or more networks to other data devices. For example, a network link can provide a connection through a local network to a host computer or to data devices operated by an Internet Service Provider (ISP). The ISP, in turn, provides data communication services through the global packet data communication network now commonly referred to as the "Internet". Both the local network and the Internet use electrical, electromagnetic, or optical signals that carry digital data streams. The signals through the various networks and the signals on the network link and the signals through the communication interface 618 (which carry digital data to and from the computer system 600) are example forms of transmission media.

[0109] Computer system 600 may send messages and receive data, including program code, through one or more networks, network links, and communications interface 618. In the Internet example, a server may transmit the requested code for an application program through the Internet, an ISP, a local network, and communications interface 618. The received code may be executed by processor 604 as it is received, and / or stored in storage device 610 or other non-volatile storage for later execution.

[0110] Each of the processes, methods and algorithms described in the previous sections can be implemented in a code component executed by one or more computer systems or computer processors including computer hardware and automated in whole or in part by these code components. The one or more computer systems or computer processors can also operate to support the execution of related operations in a "cloud computing" environment, or operate as "software as a service (SaaS)". These processes and algorithms can be implemented in part or in whole in a dedicated circuit. The various features and processes described above can be used independently of each other, or can be combined in various ways. Different combinations and sub-combinations are intended to fall within the scope of the present disclosure, and some method boxes or process boxes can be omitted in some embodiments. The methods and processes described herein are also not limited to any particular order, and the boxes or states related to these methods and processes can be executed in other appropriate orders, or can be executed in parallel, or in some other way. Boxes or states can be added to or removed from the disclosed example embodiments. The execution of certain operations or processes can be distributed to computer systems or computer processors so that they do not reside only in a single machine, but are deployed across multiple machines.

[0111] As used herein, circuits can be implemented using any form of hardware, software or a combination thereof. For example, one or more processors, controllers, ASIC, PLA, PAL, CPLD, FPGA, logic components, software routines or other mechanisms can be implemented to form circuits. In an embodiment, various circuits described herein can be implemented as discrete circuits, or the described functions and features can be shared partially or entirely between one or more circuits. Although various features or functional elements can be described or advocated individually as separate circuits, these features and functions can also be shared among one or more common circuits, and this description should not require or imply that separate circuits are needed to implement such features or functions. In the case of using software to implement circuits in whole or in part, this software can be implemented to operate together with a computing system or a processing system (such as computer system 600) that can perform the functions described about this software.

[0112] As used herein, the term "or" may be interpreted in an inclusive or exclusive sense. Furthermore, descriptions of resources, operations, or structures in the singular should not be construed to exclude the plural. Unless expressly stated otherwise, or otherwise understood within the context as used, conditional language (such as, among others, "may," "might," "might," or "could") is generally intended to convey that certain embodiments include and other embodiments do not include certain features, elements, and / or steps.

[0113] Unless expressly stated otherwise, the terms and phrases used in this document and variations thereof should be interpreted as open-ended rather than restrictive. Adjectives such as "traditional," "customary," "normal," "standard," "known," and terms of similar meaning should not be interpreted as limiting the items described to items available for a given time period or before a given time, but should be understood to cover traditional, customary, normal, or standard technologies that may be available or known at any time now or in the future. In some cases, the presence of broad words and phrases (such as "one or more," "at least," "but not limited to," or other similar phrases) should not be understood to mean that narrower situations are intended or required where such broad phrases may not be present.

Claims

1. A near memory computing node close to a separate memory, the near memory computing comprising: a plurality of data operators configured to perform computing functions on data stored at the separate memory in response to one or more requests from the computing nodes; a consumption engine configured to collect telemetry data for the split storage, the near-memory computing, and the computing nodes; a modeling engine configured to model a plurality of configurations for performing the one or more requests based on the telemetry data; as well as An optimization engine configured to select a modeling configuration from a plurality of modeling configurations for executing the one or more requests from the computing nodes and to assign one or more of the plurality of data operators according to the selected modeling configuration.

2. The near memory computing node of claim 1, wherein: The telemetry data includes a computational energy metric indicative of energy consumed by the split memory, the near memory computation, and the compute node.

3. The near memory computing node of claim 2, wherein: The computational energy metric includes energy consumed per bit of data processed and static power consumed for each of the split memory, the near memory computation, and the compute nodes.

4. The near memory computing node of claim 1, wherein: The telemetry data includes a communication energy metric indicative of energy consumed in exchanging data between the split memory and the near memory computation and between the near memory computation and the compute node.

5. The near memory computing node of claim 4, wherein: The communication energy metric includes energy consumed per bit of data transmitted on a memory interface between the separate memory and the near memory computation and on an interconnect interface between the near memory computation and the compute node.

6. The near memory computing node of claim 1, wherein: The plurality of modeling configurations include: a first consumption configuration, wherein the near memory computation is configured in a pass-through mode for executing the one or more requests; a second consumption configuration, wherein the near memory computing is configured to use the plurality of data operators to perform all computing functions for executing the one or more requests; and One or more intermediate consumption configurations, wherein the near memory computing is configured to use the plurality of data operators to perform one or more computing functions for executing the one or more requests and is configured in a pass-through mode for the remaining computing functions.

7. The near memory computing node of claim 1, wherein: The modeling engine is further configured to generate a telemetry consumption coefficient for each of the multiple modeling configurations, the telemetry consumption coefficient comprising a first coefficient indicating energy consumption of the corresponding modeling configuration when executing the one or more requests, and a second coefficient indicating an amount of time consumed by the corresponding modeling configuration when executing the one or more requests.

8. The near memory computing node of claim 7, wherein: The optimization engine is further configured to select a modeling configuration from the plurality of modeling configurations based on minimizing the first coefficient and the second coefficient in the telemetry consumption coefficient.

9. The near memory computing node of claim 7, wherein: The optimization engine is further configured to obtain an optimization criterion defining a threshold of at least one of the first coefficient and the second coefficient, wherein the optimization engine is further configured to select a modeling configuration from the multiple modeling configurations that satisfies the threshold of at least one of the first coefficient and the second coefficient.

10. A method for optimizing energy consumption in a split storage system, the method comprising: receiving one or more requests from a computing node to perform a computing function on data stored at the separate memory; collecting telemetry data for the separate storage, near storage computing proximate to the separate storage, and the computing node; modeling a plurality of configurations for executing the one or more requests based on the telemetry data; selecting a modeling configuration from a plurality of modeling configurations for executing the one or more requests; as well as One or more of a plurality of data operators of the near memory computation are assigned according to the selected modeling configuration.

11. The method of claim 10, wherein: The telemetry data includes a computational energy metric indicative of energy consumed by the split memory, the near memory computation, and the compute node.

12. The method of claim 11, wherein: The computational energy metric includes energy consumed per bit of data processed and static power consumed for each of the split memory, the near memory computation, and the compute nodes.

13. The method of claim 10, wherein: The telemetry data includes a communication energy metric indicative of energy consumed in exchanging data between the split memory and the near memory computation and between the near memory computation and the compute node.

14. The method of claim 13, wherein: The communication energy metric includes energy consumed per bit of data transmitted on a memory interface between the separate memory and the near memory computation and on an interconnect interface between the near memory computation and the compute node.

15. The method of claim 10, wherein: The plurality of modeling configurations include: a first consumption configuration, wherein the near memory computation is configured in a pass-through mode for executing the one or more requests; a second consumption configuration, wherein the near memory computing is configured to use the plurality of data operators to perform all computing functions for executing the one or more requests; and One or more intermediate consumption configurations, wherein the near memory computing is configured to use the plurality of data operators to perform one or more computing functions for executing the one or more requests and is configured in a pass-through mode for the remaining computing functions.

16. The method of claim 10, further comprising: A telemetry consumption coefficient is generated for each of the plurality of modeling configurations, the telemetry consumption coefficient comprising a first coefficient indicating energy consumption of the corresponding modeling configuration when executing the one or more requests, and a second coefficient indicating an amount of time consumed by the corresponding modeling configuration when executing the one or more requests.

17. The method of claim 16, further comprising: A modeling configuration is selected from the plurality of modeling configurations based on minimizing the first coefficient and the second coefficient in the telemetry consumption coefficient.

18. The method of claim 16, further comprising: An optimization criterion defining a threshold value for at least one of the first coefficient and the second coefficient is obtained, wherein selecting the modeling configuration from the plurality of modeling configurations comprises selecting a modeling configuration that satisfies the threshold value for at least one of the first coefficient and the second coefficient.

19. A separate storage system, the system comprising: One or more storage nodes storing data; at least one near memory computing function communicatively coupled to a first memory node of the one or more memory nodes via a memory interface, the at least one near memory computing function comprising one or more data operators; at least one computing node communicatively coupled to the at least one near-memory computing function via a network interface; as well as At least one processor configured to execute instructions stored in the memory to perform the following operations: collecting a plurality of energy consumption metrics indicative of energy consumption of the separate memory system for executing data processing requests; receiving a data processing request from the computing node; generating a plurality of modeled configurations of the split memory system for executing the data processing requests from the compute nodes based on the energy consumption metric; generating a telemetry consumption coefficient for each modeling configuration in the plurality of modeling configurations; as well as The data processing request from the computing node is executed using a modeling configuration selected from the plurality of modeling configurations based on the telemetry consumption factor.

20. The system of claim 19, wherein: The plurality of modeling configurations include: a first consumption configuration, wherein the at least one near memory computing function is configured in a pass-through mode for executing the data processing request; a second consumption configuration, wherein the at least one near memory compute is configured to use the one or more data operators to perform all compute functions for executing the data processing request; and One or more intermediate consumption configurations, wherein the at least one near memory compute is configured to use the one or more data operators to perform one or more compute functions for executing the data processing request and is configured in a pass-through mode for the remaining compute functions.