TECHNOLOGIES FOR ACCELERATING DATA WRITES
Technologies for accelerating data writes include a managed node that includes a network interface controller that includes a power loss protected buffer and non-volatile memory. The managed node is to receive, through the network interface controller, a write request from a remote device. The write request includes a data block. The managed node is also to write the data block to the power loss protected buffer of the network interface controller, and send, in response to receipt of the data block and prior to a write of the data block to the non-volatile memory, an acknowledgement to the remote device. The acknowledgement is indicative of a successful write of the data block to the non-volatile memory. The managed node is also to write, after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory. Other embodiments are also described and claimed.
The present application claims the benefit of U.S. Provisional Patent Application No. 62/365,969, filed Jul. 22, 2016, U.S. Provisional Patent Application No. 62/376,859, filed Aug. 18, 2016, and U.S. Provisional Patent Application No. 62/427,268, filed Nov. 29, 2016.
BACKGROUNDIn a typical cloud-based computing environment (e.g., a data center), compute nodes execute workloads (e.g., applications, processes, services, etc.) on behalf of customers. As the workloads are executed, requests may be issued to write and/or read blocks of data to one or more data storage devices (e.g., non-volatile memory) which may be remotely located from the one or more processors executing the corresponding workloads. For a typical write request, the data block may be sent through a network of the data center to one or more remotely located data storage devices. A processor local to each data storage device coordinates writing the received data block to the data storage device and, afterwards, sends an acknowledgement message back through the network indicating that the data block was successfully written to the data storage device. Once the workload receives acknowledgement that the data block has been safely written, the workload proceeds with other operations. However, the process of writing the data block to each data storage device consumes time and, as such, can adversely affect the quality of service of the workload.
The concepts described herein are illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not necessarily drawn to scale. Where considered appropriate, reference labels have been repeated among the figures to indicate corresponding or analogous elements.
While the concepts of the present disclosure are susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will be described herein in detail. It should be understood, however, that there is no intent to limit the concepts of the present disclosure to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives consistent with the present disclosure and the appended claims.
References in the specification to “one embodiment,” “an embodiment,” “an illustrative embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include that particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. Additionally, it should be appreciated that items included in a list in the form of “at least one A, B, and C” can mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B, and C). Similarly, items listed in the form of “at least one of A, B, or C” can mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B, and C).
The disclosed embodiments may be implemented, in some cases, in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on a transitory or non-transitory machine-readable (e.g., computer-readable) storage medium, which may be read and executed by one or more processors. A machine-readable storage medium may be embodied as any storage device, mechanism, or other physical structure for storing or transmitting information in a form readable by a machine (e.g., a volatile or non-volatile memory, a media disc, or other media device).
In the drawings, some structural or method features may be shown in specific arrangements and/or orderings. However, it should be appreciated that such specific arrangements and/or orderings may not be required. Rather, in some embodiments, such features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of a structural or method feature in a particular figure is not meant to imply that such feature is required in all embodiments and, in some embodiments, may not be included or may be combined with other features.
The illustrative data center 100 differs from typical data centers in many ways. For example, in the illustrative embodiment, the circuit boards (“sleds”) on which components such as CPUs, memory, and other components are placed are designed for increased thermal performance In particular, in the illustrative embodiment, the sleds are shallower than typical boards. In other words, the sleds are shorter from the front to the back, where cooling fans are located. This decreases the length of the path that air must to travel across the components on the board. Further, the components on the sled are spaced further apart than in typical circuit boards, and the components are arranged to reduce or eliminate shadowing (i.e., one component in the air flow path of another component). In the illustrative embodiment, processing components such as the processors are located on a top side of a sled while near memory, such as dual in-line memory modules (DIMMs), are located on a bottom side of the sled. As a result of the enhanced airflow provided by this design, the components may operate at higher frequencies and power levels than in typical systems, thereby increasing performance. Furthermore, the sleds are configured to blindly mate with power and data communication cables in each rack 102A, 102B, 102C, 102D, enhancing their ability to be quickly removed, upgraded, reinstalled, and/or replaced. Similarly, individual components located on the sleds, such as processors, accelerators, memory, and data storage drives, are configured to be easily upgraded due to their increased spacing from each other. In the illustrative embodiment, the components additionally include hardware attestation features to prove their authenticity.
Furthermore, in the illustrative embodiment, the data center 100 utilizes a single network architecture (“fabric”) that supports multiple other network architectures including Ethernet and Omni-Path. The sleds, in the illustrative embodiment, are coupled to switches via optical fibers, which provide higher bandwidth and lower latency than typical twisted pair cabling (e.g., Category 5, Category 5e, Category 6, etc.). Due to the high bandwidth, low latency interconnections and network architecture, the data center 100 may, in use, pool resources, such as memory, accelerators (e.g., graphics accelerators, FPGAs, application specific integrated circuits (ASICs), etc.), and data storage drives that are physically disaggregated, and provide them to compute resources (e.g., processors) on an as needed basis, enabling the compute resources to access the pooled resources as if they were local. The illustrative data center 100 additionally receives usage information for the various resources, predicts resource usage for different types of workloads based on past resource usage, and dynamically reallocates the resources based on this information.
The racks 102A, 102B, 102C, 102D of the data center 100 may include physical design features that facilitate the automation of a variety of types of maintenance tasks. For example, data center 100 may be implemented using racks that are designed to be robotically-accessed, and to accept and house robotically-manipulatable resource sleds. Furthermore, in the illustrative embodiment, the racks 102A, 102B, 102C, 102D include integrated power sources that receive a greater voltage than is typical for power sources. The increased voltage enables the power sources to provide additional power to the components on each sled, enabling the components to operate at higher than typical frequencies.
In various embodiments, dual-mode optical switches may be capable of receiving both Ethernet protocol communications carrying Internet Protocol (IP packets) and communications according to a second, high-performance computing (HPC) link-layer protocol (e.g., Intel's Omni-Path Architecture's, Infiniband) via optical signaling media of an optical fabric. As reflected in
MPCMs 916-1 to 916-7 may be configured to provide inserted sleds with access to power sourced by respective power modules 920-1 to 920-7, each of which may draw power from an external power source 921. In various embodiments, external power source 921 may deliver alternating current (AC) power to rack 902, and power modules 920-1 to 920-7 may be configured to convert such AC power to direct current (DC) power to be sourced to inserted sleds. In some embodiments, for example, power modules 920-1 to 920-7 may be configured to convert 277-volt AC power into 12-volt DC power for provision to inserted sleds via respective MPCMs 916-1 to 916-7. The embodiments are not limited to this example.
MPCMs 916-1 to 916-7 may also be arranged to provide inserted sleds with optical signaling connectivity to a dual-mode optical switching infrastructure 914, which may be the same as—or similar to—dual-mode optical switching infrastructure 514 of
Sled 1004 may also include dual-mode optical network interface circuitry 1026. Dual-mode optical network interface circuitry 1026 may generally comprise circuitry that is capable of communicating over optical signaling media according to each of multiple link-layer protocols supported by dual-mode optical switching infrastructure 914 of
Coupling MPCM 1016 with a counterpart MPCM of a sled space in a given rack may cause optical connector 1016A to couple with an optical connector comprised in the counterpart MPCM. This may generally establish optical connectivity between optical cabling of the sled and dual-mode optical network interface circuitry 1026, via each of a set of optical channels 1025. Dual-mode optical network interface circuitry 1026 may communicate with the physical resources 1005 of sled 1004 via electrical signaling media 1028. In addition to the dimensions of the sleds and arrangement of components on the sleds to provide improved cooling and enable operation at a relatively higher thermal envelope (e.g., 250 W), as described above with reference to
As shown in
In another example, in various embodiments, one or more pooled storage sleds 1132 may be included among the physical infrastructure 1100A of data center 1100, each of which may comprise a pool of storage resources that is available globally accessible to other sleds via optical fabric 1112 and dual-mode optical switching infrastructure 1114. In some embodiments, such pooled storage sleds 1132 may comprise pools of solid-state storage devices such as solid-state drives (SSDs). In various embodiments, one or more high-performance processing sleds 1134 may be included among the physical infrastructure 1100A of data center 1100. In some embodiments, high-performance processing sleds 1134 may comprise pools of high-performance processors, as well as cooling features that enhance air cooling to yield a higher thermal envelope of up to 250 W or more. In various embodiments, any given high-performance processing sled 1134 may feature an expansion connector 1117 that can accept a far memory expansion sled, such that the far memory that is locally available to that high-performance processing sled 1134 is disaggregated from the processors and near memory comprised on that sled. In some embodiments, such a high-performance processing sled 1134 may be configured with far memory using an expansion sled that comprises low-latency SSD storage. The optical infrastructure allows for compute resources on one sled to utilize remote accelerator/FPGA, memory, and/or SSD resources that are disaggregated on a sled located on the same rack or any other rack in the data center. The remote resources can be located one switch jump away or two-switch jumps away in the spine-leaf network architecture described above with reference to
In various embodiments, one or more layers of abstraction may be applied to the physical resources of physical infrastructure 1100A in order to define a virtual infrastructure, such as a software-defined infrastructure 1100B. In some embodiments, virtual computing resources 1136 of software-defined infrastructure 1100B may be allocated to support the provision of cloud services 1140. In various embodiments, particular sets of virtual computing resources 1136 may be grouped for provision to cloud services 1140 in the form of SDI services 1138. Examples of cloud services 1140 may include—without limitation—software as a service (SaaS) services 1142, platform as a service (PaaS) services 1144, and infrastructure as a service (IaaS) services 1146.
In some embodiments, management of software-defined infrastructure 1100B may be conducted using a virtual infrastructure management framework 1150B. In various embodiments, virtual infrastructure management framework 1150B may be designed to implement workload fingerprinting techniques and/or machine-learning techniques in conjunction with managing allocation of virtual computing resources 1136 and/or SDI services 1138 to cloud services 1140. In some embodiments, virtual infrastructure management framework 1150B may use/consult telemetry data in conjunction with performing such resource allocation. In various embodiments, an application/service management framework 1150C may be implemented in order to provide quality of service (QoS) management capabilities for cloud services 1140. The embodiments are not limited in this context.
As shown in
The managed nodes 1260 may execute the workloads, such as in virtual machines or containers, on behalf of a user of the client device 1220. As the workloads are executed, requests may be issued to write data, referred to herein as data blocks, and/or read data blocks. Given that the physical data storage resources 205-1 may be located on a different sled 204-1 than the compute resources (e.g., one or more processors) 205-4 used by a managed node 1260 to execute a workload, the requests may be transmitted through the network 1230 from the compute resources 205-4 to one or more physical storage resources 205-1. The storage resources 205-1 of the managed node 1260 may receive, with a network interface controller, a request that includes a data block to be written, write the data block to a power loss protected buffer (e.g., volatile memory) of the network interface controller, and send an acknowledgement message back through the network 1230 indicative of successful storage of the data block to non-volatile memory, and subsequently write the data block to the non-volatile memory. In some embodiments, a master storage sled of physical storage resources may write the data block to the power loss protected buffer, and to dynamic random access memory (DRAM), and coordinate replication of the data block in one or more “follower” storage sleds. Further, in some embodiments, in storing the data block, one or more of the storage sleds may encrypt and shard (e.g., partition) the data block. By sending the acknowledgement when the data block is in the power loss protected buffer of the network interface controller, rather than after the data block has actually been written to the relatively slower non-volatile memory of the one or more physical storage resources 205-1, the managed node 1260 reduces the amount of time that the workload waits for the acknowledgement and improves the overall quality of service (e.g., latency, throughput, etc.) provided by the workload.
Referring now to
The CPU 1302 may be embodied as any type of processor capable of performing the functions described herein. The CPU 1302 may be embodied as a single or multi-core processor(s), a microcontroller, or other processor or processing/controlling circuit. In some embodiments, the CPU 1302 may be embodied as, include, or be coupled to a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), reconfigurable hardware or hardware circuitry, or other specialized hardware to facilitate performance of the functions described herein. As discussed above, the managed node 1260 may include resources distributed across multiple sleds and in such embodiments, the CPU 1302 may include portions thereof located on the same sled or different sled. Similarly, the main memory 1304 may be embodied as any type of volatile (e.g., dynamic random access memory (DRAM), etc.) or non-volatile memory or data storage capable of performing the functions described herein. In some embodiments, all or a portion of the main memory 1304 may be integrated into the CPU 1302. In operation, the main memory 1304 may store various software and data used during operation, such as data blocks and a map of locations of data blocks among different data storage devices of the managed node 1260 and/or other managed nodes 1260, operating systems, applications, programs, libraries, and drivers. As discussed above, the managed node 1260 may include resources distributed across multiple sleds and in such embodiments, the main memory 1304 may include portions thereof located on the same sled or different sled.
The I/O subsystem 1306 may be embodied as circuitry and/or components to facilitate input/output operations with the CPU 1302, the main memory 1304, and other components of the managed node 1260. For example, the I/O subsystem 1306 may be embodied as, or otherwise include, memory controller hubs, input/output control hubs, integrated sensor hubs, firmware devices, communication links (e.g., point-to-point links, bus links, wires, cables, light guides, printed circuit board traces, etc.), and/or other components and subsystems to facilitate the input/output operations. In some embodiments, the I/O subsystem 1306 may form a portion of a system-on-a-chip (SoC) and be incorporated, along with one or more of the CPU 1302, the main memory 1304, and other components of the managed node 1260, on a single integrated circuit chip.
The communication circuitry 1308 may be embodied as any communication circuit, device, or collection thereof, capable of enabling communications over the network 1230 between the managed node 1260 and another compute device (e.g., the orchestrator server 1240 and/or one or more other managed nodes 1260). The communication circuitry 1308 may be configured to use any one or more communication technology (e.g., wired or wireless communications) and associated protocols (e.g., Ethernet, Bluetooth®, Wi-Fi®, WiMAX, etc.) to effect such communication.
The illustrative communication circuitry 1308 includes a network interface controller (NIC) 1310, which may also be referred to as a host fabric interface (HFI). The NIC 1310 may be embodied as one or more add-in-boards, daughtercards, network interface cards, controller chips, chipsets, or other devices that may be used by the managed node 1260 to connect with another compute device (e.g., the orchestrator server 1240 and/or physical resources of one or more managed nodes 1260). In some embodiments, the NIC 1310 may be embodied as part of a system-on-a-chip (SoC) that includes one or more processors, or included on a multichip package that also contains one or more processors. In some embodiments, the NIC 1310 may include a processor (not shown) local to the NIC 1310. In such embodiments, the local processor of the NIC 1310 may be capable of performing one or more of the functions of the CPU 1302 described herein. Additionally, the NIC 1310 includes a power loss protected buffer 1312 which may be embodied as any volatile local memory device that, when a power loss imminent condition is detected, may write any data present in the power loss protected buffer to non-volatile memory (e.g., to one or more of the data storage devices 1314). The power loss protected buffer 1312 may include an independent power supply, such as capacitors or batteries that allow the power loss protected buffer 1312 to operate for a period of time even after power to the managed node 1260 has been interrupted. As discussed above, the managed node may include resources distributed across multiple sleds and in such embodiments, the communication circuitry 1308 may include portions thereof located on the same sled or different sled. In the illustrative embodiment, the NIC 1310 in every sled having physical storage resources 205-1 (e.g., data storage devices 1314) includes the power loss protected buffer 1312.
The one or more illustrative data storage devices 1314, may be embodied as any type of devices configured for short-term or long-term storage of data such as, for example, solid-state drives (SSDs), hard disk drives, memory cards, and/or other memory devices and circuits. Each data storage device 1314 may include a system partition that stores data and firmware code for the data storage device 1314. Each data storage device 1314 may also include an operating system partition that stores data files and executables for an operating system. In the illustrative embodiment, each data storage device 1314 includes non-volatile memory. Non-volatile memory may be embodied as any type of data storage capable of storing data in a persistent manner (even if power is interrupted to the non-volatile memory). For example, the non-volatile memory may be embodied as Flash memory (e.g., NAND memory). In other examples, the non-volatile memory may be embodied as any combination of memory devices that use chalcogenide phase change material (e.g., chalcogenide glass), or other types of byte-addressable, write-in-place non-volatile memory, ferroelectric transistor random-access memory (FeTRAM), nanowire-based non-volatile memory, phase change memory (PCM), memory that incorporates memristor technology, magnetoresistive random-access memory (MRAM) or Spin Transfer Torque (STT)-MRAM.
Additionally, the managed node 1260 may include a display 1316. The display 1316 may be embodied as, or otherwise use, any suitable display technology including, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, a cathode ray tube (CRT) display, a plasma display, and/or other display usable in a compute device. The display 1316 may include a touchscreen sensor that uses any suitable touchscreen input technology to detect the user's tactile selection of information displayed on the display including, but not limited to, resistive touchscreen sensors, capacitive touchscreen sensors, surface acoustic wave (SAW) touchscreen sensors, infrared touchscreen sensors, optical imaging touchscreen sensors, acoustic touchscreen sensors, and/or other type of touchscreen sensors.
Additionally or alternatively, the managed node 1260 may include one or more peripheral devices 1318. Such peripheral devices 1318 may include any type of peripheral device commonly found in a compute device such as speakers, a mouse, a keyboard, and/or other input/output devices, interface devices, and/or other peripheral devices.
The client device 1220 and the orchestrator server 1240 may have components similar to those described in
As described above, the client device 1220, the orchestrator server 1240 and the managed nodes 1260 are illustratively in communication via the network 1230, which may be embodied as any type of wired or wireless communication network, including global networks (e.g., the Internet), local area networks (LANs) or wide area networks (WANs), cellular networks (e.g., Global System for Mobile Communications (GSM), 3G, Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), etc.), digital subscriber line (DSL) networks, cable networks (e.g., coaxial networks, fiber networks, etc.), or any combination thereof.
Referring now to
In the illustrative environment 1400, the network communicator 1420, which may be embodied as hardware, firmware, software, virtualized hardware, emulated architecture, and/or a combination thereof as discussed above, is configured to facilitate inbound and outbound network communications (e.g., network traffic, network packets, network flows, etc.) to and from the managed node 1260, respectively and to accelerate data writes requested through the network 1230. To do so, the network communicator 1420 is configured to receive and process data packets from one system or computing device (e.g., the orchestrator server 1240, a managed node 1260, etc.) and to prepare and send data packets to another computing device or system (e.g., another managed node 1260). Accordingly, in some embodiments, at least a portion of the functionality of the network communicator 1420 may be performed by the communication circuitry 1308, and, in the illustrative embodiment, by the NIC 1310. In the illustrative embodiment, the network communicator 1420 includes a buffer manager 1422, which, in the illustrative embodiment, is configured to store a received data block from a write request in the power loss protected buffer 1312, send an early acknowledgement message through the network 1230 in response to the write request, indicating that the data block has been written to non-volatile memory, and coordinate writing the data block to the non-volatile memory (e.g., from the buffer data 1402 to the persistent data 1404).
The data manager 1430, which may be embodied as hardware, firmware, software, virtualized hardware, emulated architecture, and/or a combination thereof as discussed above, is configured to manage writing and reading of data to resources of the managed node 1260 (e.g., the data storage devices 1314) and/or to and from other managed nodes 1260. To do so, in the illustrative embodiment, the data manager 1430 includes a local data servicer 1432, a remote data servicer 1434, and a map manager 1436. The local data servicer 1432, in the illustrative embodiment, is configured to write data blocks and associated keys to the one or more data storage devices 1314 of the managed node 1260 and/or read data blocks from the one or more data storage devices 1314 of the managed node 1260. The remote data servicer 1434, in the illustrative embodiment, is configured to write data blocks and/or read data blocks to and from the data storage devices 1314 of one or more other managed nodes 1260 by issuing corresponding requests and receiving corresponding responses through the network 1230. The map manager 1436, in the illustrative embodiment, is configured to track where data blocks are stored among the data storage devices 1314 of the managed node 1260 and/or other managed nodes 1260. In doing so, the map manager 1436 may store keys in association with location identifiers, such as unique identifiers of data storage devices 1314 in which the data blocks are stored, and/or logical block addresses of the data blocks.
It should be appreciated that each of the local data servicer 1432, the remote data servicer 1434, and the map manager 1436 may be separately embodied as hardware, firmware, software, virtualized hardware, emulated architecture, and/or a combination thereof and may be distributed across multiple sleds. For example, the local data servicer 1432 may be embodied as a hardware component, while the remote data servicer 1434 and the map manager 1436 are embodied as virtualized hardware components or as some other combination of hardware, firmware, software, virtualized hardware, emulated architecture, and/or a combination thereof.
Referring now to
Subsequently, in block 1520, the storage sled of the managed node 1260 sends an acknowledgement from the network interface controller 1310 of the storage sled to the remote device (e.g., the sled with compute resources) that originally sent the write request. Subsequently, or if the storage sled determined at block 1522 that a write request was not received, the storage sleds of the managed node 1260 determine whether to write one or more data blocks from their power loss protected buffer 1312 to their non-volatile memory (e.g., one or more of the data storage devices 1314), as indicated in block 1522. The storage sleds may write the data block immediately, or may write the data block to non-volatile memory based on one or more conditions, as described herein. For example, a storage sled of the managed node 1260 may determine whether the number of data blocks present in its power loss protected buffer 1312 satisfies a predefined threshold (e.g., is at least four data blocks), as indicated in block 1524. Additionally or alternatively, the storage sled of the managed node 1260 may determine whether the amount of unused (e.g., free) memory in the power loss protected buffer 1312 satisfies a predefined threshold (e.g., the amount of free memory is less than the size of a data block), as indicated in block 1526. A storage sled of the managed node 1260 may, additionally or alternatively, determine whether a predefined time interval has elapsed, as indicated in block 1528. For example, a storage sled of the managed node 1260 may be configured to write any previously unwritten data blocks from the power loss protected buffer 1312 to the non-volatile memory every second, or at any other time interval. As indicated in block 1530, in determining whether to write the data blocks from the power loss protected buffer 1312 to the non-volatile memory, a storage sled of the managed node 1260 may determine whether a power loss imminent condition is present (e.g., power to the NIC 1310 has been interrupted and the NIC 1310 is operating on reserve energy stored in a capacitor or other energy storage device). Subsequently, the method 1500 advances to block 1532 of
Referring now to
Subsequently, or if the storage sleds of the managed node 1260 determined in block 1532 not to write any data blocks, the managed node 1260 may receive a request to read a data block, as indicated in block 1546. In doing so, the managed node 1260 may receive a request from another managed node 1260 (e.g., a requestor managed node 1260), as indicated in block 1548. Alternatively, the managed node 1260 may receive the request from the present managed node 1260 executing the workload, as indicated in block 1550. In receiving the request, the managed node 1260 may receive the key associated with the data block to be read, as indicated in block 1552. In block 1554, the managed node 1260 determines whether a read request has been received. If not, the method 1500 returns to block 1502 of
Referring now to
If the managed node 1260 instead determined that the data block was found in the power loss protected buffer 1312 or the DRAM 1304, or as stated above, if the managed node 1260 determined that the data block is present in the non-volatile memory, the managed node 1260, in block 1570, reads the data block from the corresponding location where the data block was determined to exist. In doing so, the managed node 1260 may read the data block from the non-volatile memory (e.g., the one or more data storage devices 1314), as indicated in block 1572. Alternatively, the managed node 1260 may read the data block from the power loss protected buffer 1312 or DRAM 1304, as indicated in block 1574. Subsequently, in block 1576, the managed node 1260 returns the read data block in response to the read request. After the managed node 1260 has returned the data block in response to the read request, the method 1500 loops back to block 1502 of
Illustrative examples of the technologies disclosed herein are provided below. An embodiment of the technologies may include any one or more, and any combination of, the examples described below.
Example 1 includes a managed node to accelerate data writes, the managed node comprising a network interface controller that includes a power loss protected buffer; non-volatile memory; and a network communicator to receive, through the network interface controller, a write request from a remote device, wherein the write request includes a data block, write the data block to the power loss protected buffer of the network interface controller, and send, in response to receipt of the data block and prior to a write of the data block to the non-volatile memory, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and a data manager to write, after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
Example 2 includes the subject matter of Example 1, and wherein the power loss protected memory comprises volatile memory coupled to a temporary power source.
Example 3 includes the subject matter of any of Examples 1 and 2, and wherein the network communicator is further to determine whether a power loss imminent condition is present; and wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
Example 4 includes the subject matter of any of Examples 1-3, and wherein the network communicator is further to determine whether a predefined time interval has elapsed; and wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
Example 5 includes the subject matter of any of Examples 1-4, and wherein the network communicator is further to determine whether the number of data blocks present in the power loss protected buffer satisfies a predefined threshold; and wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the number of data blocks present in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 6 includes the subject matter of any of Examples 1-5, and wherein the network communicator is further to determine whether an amount of unused memory in the power loss protected buffer satisfies a predefined threshold; and wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the amount of unused memory in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 7 includes the subject matter of any of Examples 1-6, and wherein the network communicator is further to forward the data block to a follower storage sled for storage.
Example 8 includes the subject matter of any of Examples 1-7, and wherein to write the data block to the non-volatile memory comprises to write the data block in association with a key, wherein the key uniquely identifies the data block in the non-volatile storage.
Example 9 includes the subject matter of any of Examples 1-8, and wherein to receive the data block comprises to receive the data block with an associated key in the power loss protected buffer; and to write the data block to the non-volatile memory further comprises to store a location of the data block in a data map in association with the key
Example 10 includes the subject matter of any of Examples 1-9, and wherein the data manager is further to determine whether a request to read the data block has been received; determine, in response to the request to read the data block, a location of the data block; and read the data block from the determined location.
Example 11 includes the subject matter of any of Examples 1-10, and wherein to receive the request to read the data block comprises to receive a request that includes a key associated with the data block; to determine the location of the data block comprises to search a data map that is indicative of keys and corresponding locations in the non-volatile memory; and to read the data block comprises to read the data block from the non-volatile memory.
Example 12 includes the subject matter of any of Examples 1-11, and wherein to determine the location of the data block comprises to determine whether the data block is present in the power loss protected buffer; and read, in response to a determination that the data block is present in the power loss protected buffer, the data block from the power loss protected buffer.
Example 13 includes the subject matter of any of Examples 1-12, and wherein the data manager is further to shard and encrypt the data block for storage on multiple storage sleds.
Example 14 includes the subject matter of any of Examples 1-13, and wherein the network communicator is further to receive an indication from one or more follower storage sleds that the data block has been written to non-volatile memory; and send, in response to receipt of the one or more indications, a notification to the follower storage sleds to free the data block from a power loss protected buffer of each follower storage sled.
Example 15 includes a method for accelerating data writes, the method comprising receiving, by a managed node through a network interface controller of the managed node, a write request from a remote device, wherein the write request includes a data block; writing, by the managed node, the data block to a power loss protected buffer of the network interface controller; sending, by the managed node, in response to receipt of the data block and prior to a write of the data block to a non-volatile memory of the managed node, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and writing, by the managed node after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
Example 16 includes the subject matter of Example 15, and wherein writing the data block to a power loss protected buffer comprises writing the data block to volatile memory of the network interface controller, wherein the volatile memory is coupled to a temporary power source.
Example 17 includes the subject matter of any of Examples 15 and 16, and further including determining, by the managed node, whether a power loss imminent condition is present; and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
Example 18 includes the subject matter of any of Examples 15-17, and further including determining, by the managed node, whether a predefined time interval has elapsed; and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
Example 19 includes the subject matter of any of Examples 15-18, and further including determining, by the managed node, whether the number of data blocks present in the power loss protected buffer satisfies a predefined threshold; and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that the number of data blocks present in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 20 includes the subject matter of any of Examples 15-19, and further including determining, by the managed node, whether an amount of unused memory in the power loss protected buffer satisfies a predefined threshold; and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that the amount of unused memory in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 21 includes the subject matter of any of Examples 15-20, and further including forwarding the data block to one or more follower storage sleds for storage.
Example 22 includes the subject matter of any of Examples 15-21, and wherein writing the data block to the non-volatile memory comprises writing the data block in association with a key, wherein the key uniquely identifies the data block in the non-volatile storage.
Example 23 includes the subject matter of any of Examples 15-22, and wherein receiving the data block comprises receiving the data block with an associated key in the power loss protected buffer; and writing the data block to the non-volatile memory further comprises storing a location of the data block in a data map in association with the key.
Example 24 includes the subject matter of any of Examples 15-23, and further including determining, by the managed node, whether a request to read the data block has been received; determining, by the managed node and in response to the request to read the data block, a location of the data block; and reading, by the managed node, the data block from the determined location.
Example 25 includes the subject matter of any of Examples 15-24, and wherein receiving the request to read the data block comprises receiving a request that includes a key associated with the data block; determining the location of the data block comprises searching a data map that is indicative of keys and corresponding locations in the non-volatile memory; and reading the data block comprises reading the data block from the non-volatile memory.
Example 26 includes the subject matter of any of Examples 15-25, and wherein determining the location of the data block comprises determining whether the data block is present in the power loss protected buffer; and reading, in response to a determination that the data block is present in the power loss protected buffer, the data block from the power loss protected buffer.
Example 27 includes the subject matter of any of Examples 15-26, and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing the data block to flash memory.
Example 28 includes the subject matter of any of Examples 15-27, and wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing the data block to one or more solid state drives.
Example 29 includes one or more computer-readable storage media comprising a plurality of instructions that, when executed by a managed node, cause the managed node to perform the method of any of Examples 15-28.
Example 30 includes a managed node comprising means for receiving, through a network interface controller of the managed node, a write request from a remote device, wherein the write request includes a data block; means for writing the data block to a power loss protected buffer of the network interface controller; means for sending, in response to receipt of the data block and prior to a write of the data block to a non-volatile memory of the managed node, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and means for writing, after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
Example 31 includes the subject matter of Example 30, and wherein the means for writing the data block to a power loss protected buffer comprises means for writing the data block to volatile memory of the network interface controller, wherein the volatile memory is coupled to a temporary power source.
Example 32 includes the subject matter of any of Examples 30 and 31, and further including means for determining whether a power loss imminent condition is present; and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
Example 33 includes the subject matter of any of Examples 30-32, and further including means for determining whether a predefined time interval has elapsed; and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
Example 34 includes the subject matter of any of Examples 30-33, and further including means for determining whether the number of data blocks present in the power loss protected buffer satisfies a predefined threshold; and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing, in response to a determination that the number of data blocks present in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 35 includes the subject matter of any of Examples 30-34, and further including means for determining whether an amount of unused memory in the power loss protected buffer satisfies a predefined threshold; and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing, in response to a determination that the amount of unused memory in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
Example 36 includes the subject matter of any of Examples 30-35, and further including means for forwarding the data block to one or more follower storage sleds for storage.
Example 37 includes the subject matter of any of Examples 30-36, and wherein the means for writing the data block to the non-volatile memory comprises means for writing the data block in association with a key, wherein the key uniquely identifies the data block in the non-volatile storage.
Example 38 includes the subject matter of any of Examples 30-37, and wherein the means for receiving the data block comprises means for receiving the data block with an associated key in the power loss protected buffer; and the means for writing the data block to the non-volatile memory further comprises means for storing a location of the data block in a data map in association with the key.
Example 39 includes the subject matter of any of Examples 30-38, and further including means for determining whether a request to read the data block has been received; means for determining, in response to the request to read the data block, a location of the data block; and means for reading the data block from the determined location.
Example 40 includes the subject matter of any of Examples 30-39, and wherein the means for receiving the request to read the data block comprises means for receiving a request that includes a key associated with the data block; the means for determining the location of the data block comprises means for searching a data map that is indicative of keys and corresponding locations in the non-volatile memory; and the means for reading the data block comprises means for reading the data block from the non-volatile memory.
Example 41 includes the subject matter of any of Examples 30-40, and wherein the means for determining the location of the data block comprises means for determining whether the data block is present in the power loss protected buffer; and means for reading, in response to a determination that the data block is present in the power loss protected buffer, the data block from the power loss protected buffer.
Example 42 includes the subject matter of any of Examples 30-41, and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing the data block to flash memory.
Example 43 includes the subject matter of any of Examples 30-42, and wherein the means for writing the data block from the power loss protected buffer to the non-volatile memory comprises means for writing the data block to one or more solid state drives.
Claims
1. A managed node to accelerate data writes, the managed node comprising:
- a network interface controller that includes a power loss protected buffer;
- non-volatile memory; and
- a network communicator to receive, through the network interface controller, a write request from a remote device, wherein the write request includes a data block, write the data block to the power loss protected buffer of the network interface controller, and send, in response to receipt of the data block and prior to a write of the data block to the non-volatile memory, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and
- a data manager to write, after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
2. The managed node of claim 1, wherein the power loss protected memory comprises volatile memory coupled to a temporary power source.
3. The managed node of claim 1, wherein the network communicator is further to determine whether a power loss imminent condition is present; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
4. The managed node of claim 1, wherein the network communicator is further to determine whether a predefined time interval has elapsed; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
5. The managed node of claim 1, wherein the network communicator is further to determine whether the number of data blocks present in the power loss protected buffer satisfies a predefined threshold; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the number of data blocks present in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
6. The managed node of claim 1, wherein the network communicator is further to determine whether an amount of unused memory in the power loss protected buffer satisfies a predefined threshold; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the amount of unused memory in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
7. The managed node of claim 1, wherein the network communicator is further to forward the data block to a follower storage sled for storage.
8. The managed node of claim 1, wherein to write the data block to the non-volatile memory comprises to write the data block in association with a key, wherein the key uniquely identifies the data block in the non-volatile storage.
9. The managed node of claim 1, wherein:
- to receive the data block comprises to receive the data block with an associated key in the power loss protected buffer; and
- to write the data block to the non-volatile memory further comprises to store a location of the data block in a data map in association with the key
10. The managed node of claim 1, wherein the data manager is further to:
- determine whether a request to read the data block has been received;
- determine, in response to the request to read the data block, a location of the data block; and
- read the data block from the determined location.
11. The managed node of claim 10, wherein:
- to receive the request to read the data block comprises to receive a request that includes a key associated with the data block;
- to determine the location of the data block comprises to search a data map that is indicative of keys and corresponding locations in the non-volatile memory; and
- to read the data block comprises to read the data block from the non-volatile memory.
12. One or more computer-readable storage media comprising a plurality of instructions that, when executed by a managed node, cause the managed node to:
- receive, through a network interface controller of the managed node, a write request from a remote device, wherein the write request includes a data block;
- write the data block to a power loss protected buffer of the network interface controller;
- send, in response to receipt of the data block and prior to a write of the data block to a non-volatile memory of the managed node, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and
- write, after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
13. The one or more computer-readable storage media of claim 12, wherein to write the data block to a power loss protected buffer comprises to write the data block to volatile memory of the network interface controller, wherein the volatile memory is coupled to a temporary power source.
14. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to:
- determine whether a power loss imminent condition is present; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
15. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to determine whether a predefined time interval has elapsed; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
16. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to determine whether the number of data blocks present in the power loss protected buffer satisfies a predefined threshold; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the number of data blocks present in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
17. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to determine whether an amount of unused memory in the power loss protected buffer satisfies a predefined threshold; and
- wherein to write the data block from the power loss protected buffer to the non-volatile memory comprises to write, in response to a determination that the amount of unused memory in the power loss protected buffer satisfies the predefined threshold, the data block to the non-volatile memory.
18. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to forward the data block to one or more follower storage sleds for storage.
19. The one or more computer-readable storage media of claim 12, wherein to write the data block to the non-volatile memory comprises to write the data block in association with a key, wherein the key uniquely identifies the data block in the non-volatile storage.
20. The one or more computer-readable storage media of claim 12, wherein:
- to receive the data block comprises to receive the data block with an associated key in the power loss protected buffer; and
- to write the data block to the non-volatile memory further comprises to store a location of the data block in a data map in association with the key.
21. The one or more computer-readable storage media of claim 12, wherein the plurality of instructions, when executed, cause the managed node to:
- determine whether a request to read the data block has been received;
- determine, in response to the request to read the data block, a location of the data block; and
- read the data block from the determined location.
22. A method for accelerating data writes, the method comprising:
- receiving, by a managed node through a network interface controller of the managed node, a write request from a remote device, wherein the write request includes a data block;
- writing, by the managed node, the data block to a power loss protected buffer of the network interface controller;
- sending, by the managed node, in response to receipt of the data block and prior to a write of the data block to a non-volatile memory of the managed node, an acknowledgement to the remote device, wherein the acknowledgement is indicative of a successful write of the data block to the non-volatile memory; and
- writing, by the managed node after the acknowledgement has been sent, the data block from the power loss protected buffer to the non-volatile memory.
23. The method of claim 22, wherein writing the data block to a power loss protected buffer comprises writing the data block to volatile memory of the network interface controller, wherein the volatile memory is coupled to a temporary power source.
24. The method of claim 22, further comprising:
- determining, by the managed node, whether a power loss imminent condition is present; and
- wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that a power loss imminent condition is present, the data block to the non-volatile memory.
25. The method of claim 22, further comprising determining, by the managed node, whether a predefined time interval has elapsed; and
- wherein writing the data block from the power loss protected buffer to the non-volatile memory comprises writing, in response to a determination that the predefined time interval has elapsed, the data block to the non-volatile memory.
Type: Application
Filed: Dec 30, 2016
Publication Date: Jan 25, 2018
Inventor: Steven C. Miller (Livermore, CA)
Application Number: 15/395,765