System and method for persistent remote direct memory access

By introducing an asynchronous data refresh buffer and auxiliary power supply facilities into the persistent fast memory system, the problem of data inconsistency when the main power supply is lost is solved, and persistent data storage and system reliability are achieved.

CN108459988BActive Publication Date: 2024-08-27INTEL CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201810043889.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-02-17
Filing Date
2018-01-17
Publication Date
2024-08-27
Estimated Expiration
2038-01-17

AI Technical Summary

Technical Problem

In systems that rely on persistent fast memory, a loss of main power can result in an inconsistent state of data between the volatile cache and the memory controller buffer, causing store operations to fail and Remote Direct Memory Access (RDMA) to fail. It is difficult to ensure persistent storage of data when main power is lost.

Method used

Employs an Asynchronous Data Refresh (ADR) buffer and auxiliary power facility to flush data from cache to the ADR buffer when main power is lost and ensure data is written to persistent memory via a dedicated ADR channel, using switches and non-volatile Memory modules such as NVM DIMMs to maintain data consistency and durability.

Benefits of technology

In the event of main power loss, it ensures persistent storage of data, avoids storage operation failures, improves system reliability and data integrity, and ensures the consistency of memory states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108459988B_ABST
    Figure CN108459988B_ABST
Patent Text Reader

Abstract

In an example, a computing device is disclosed that includes: a host fabric interface (HFI) for communicatively coupling to a fabric controller of a fabric; an asynchronous data refresh (ADR) having an auxiliary power supply and an ADR buffer; and a memory controller that includes logic to: directly access persistent fast memory of a remote computing device via the fabric; detect a main power failure event; and flush data from the ADR buffer to the fabric controller.
Need to check novelty before this filing date? Find Prior Art

Description

Summary of the invention

[0001] The present disclosure relates generally to the field of cloud computing and, more particularly, although not exclusively, to a system and method for persistent remote direct memory access. Background Art

[0002] Contemporary computing practices have moved away from hardware-specific computing and toward "the network as the device." Contemporary networks may include data centers that host a large number of general-purpose hardware server devices, such as contained in server racks and controlled by a hypervisor. Each hardware device may run one or more instances of a virtual device (e.g., a workload server or a virtual desktop device).

[0003] In some cases, the virtualized network may also include network function virtualization (NFV), which provides certain network functions as virtual devices. These functions may be referred to as virtual network functions (VNFs). In the past, the functions provided by these VNFs may be provided by custom hardware service devices.

[0004] Thus, in contemporary "cloud" architectures, both network endpoints and network infrastructure may be provided at least in part in a virtualization layer. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] The present disclosure is best understood from the following detailed description when read in conjunction with the accompanying drawings. It is emphasized that, in accordance with standard practice in the industry, various features are not necessarily drawn to scale and are for illustration purposes only. Where a scale is shown, the scale is shown only explicitly or implicitly, and only provides an illustrated example. In other embodiments, the dimensions of various features may be arbitrarily increased or decreased for clarity of discussion.

[0006] Figure 1a is a block diagram of a network according to one or more examples of the present Specification.

[0007] Figure 1b is a block diagram of selected components of a data center in a network according to one or more examples of the present Specification.

[0008] Figure 2 is a block diagram of selected components of an end-user computing device according to one or more examples of the present Specification.

[0009] Figure 3 is a high-level block diagram of a server according to one or more examples of the present specification.

[0010] Figure 4a is a block diagram of a software defined network (SDN) according to one or more examples of the present specification.

[0011] Figure 4b is a block diagram of network function virtualization (NFV) according to one or more examples of the present specification.

[0012] Figure 5 is a block diagram of a platform architecture according to one or more examples of the present specification.

[0013] Figure 6 is a block diagram of a processor according to one or more examples of the present Description.

[0014] Figure 7 is a block diagram of a data center according to one or more examples of the present Specification.

[0015] Figure 8 is a signal flow diagram for remote persistent write according to one or more examples of the present specification.

[0016] Fig. 9 is a flow chart of a method performed by a first computing system according to one or more examples of the present specification.

[0017] Fig.10 is a flow chart of a method performed by a switch fabric according to one or more examples of the present specification.

[0018] Fig.11 is a flow chart of a method performed by a second computing system according to one or more examples of the present specification. DETAILED DESCRIPTION

[0019] The following disclosure provides many different embodiments or examples for realizing different features of the present disclosure. Specific examples of components and arrangements are described below to simplify the present disclosure. Of course, these are only examples and are not intended to be restrictive. In addition, the present disclosure may repeat the reference numerals in various examples. This repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or configurations discussed. Different embodiments may have different advantages, and no particular advantage is necessary for any embodiment.

[0020] Cloud computing and virtualization lead to scenarios where "computers" are difficult to be recognized as separate entities. In the classic architecture, the so-called "von Neumann" machine has a processor, memory, input / output (IO) facilities, and (in subsequent use) non-volatile storage. Although these necessary elements still exist, in contemporary practice, in many cases "data centers are computers". For example, a processor may in fact be a service level agreement (SLA) that guarantees access to one or more cores from a resource pool at a certain minimum time. The storage device may be a virtual disk (VD) of normal size that can be elastically resized, and may include an SLA for a certain storage bandwidth and capacity. For virtual desktop devices, IO can be handled by a web browser (e.g., a basic "Chromebook") running a virtualized desktop application on a remote terminal. And even memory no longer needs to be local to the processor. When the data center structure evolves and becomes faster, it becomes feasible to have a dedicated "memory server" with a pool of very fast and powerful memory that can be allocated to certain processors.

[0021] recent, Companies such as Intel and others have introduced revolutionary memory technologies that further push the boundaries of computing. For example, The "3D Crosspoint" (3DXP) of the company provides memory that is as fast (similar to traditional dynamic random access memory (DRAM)) and bit-addressable, but is also as persistent as non-volatile storage technology (e.g., hard drive or solid-state memory). In other words, 3DXP is "persistent fast memory," or in other words, memory that is faster than traditional non-volatile storage devices, persists without the application of power.

[0022] This is a leap forward from decades of software that relied on a two-tier memory solution with fast memory and slow persistent memory. But relying on persistent fast memory for storage also introduces some new challenges. For example, the system cannot just wait for the "store to memory" (STO) instruction to complete and assume that the data is now persistent. However, the storage may be temporarily somewhere between the volatile cache and the memory controller buffer, and has not yet reached persistence. Because this situation is not visible to the application that issued the STO instruction, in the event that main power is lost before the data reaches persistence, the result may be an inconsistent memory state.

[0023] To address this problem, a secondary or auxiliary power supply facility (e.g., a battery or capacitor with sufficient energy to complete the storage operation) and an asynchronous data refresh (ADR) buffer can be provided to the system. In the event of a loss of primary power, the auxiliary power supply is used to flush data from the cache to the ADR buffer, thereby completing persistent storage.

[0024] However, in the case of a high-speed fabric, even the memory may not be local to the processor. Instead, remote direct memory access (RDMA) can be used to access memory on a second machine, which may have faster or more capable memory, such as persistent flash memory. In the case of RDMA, the data hosted on the second device is mapped as if the data were local memory and can be addressed and used as such. Now, in the case of a loss of main power, several fragments come into play. The cached store operation must go from the local cache to the switch that provides the fabric, and then from the switch to the second device that provides the memory. The store is not successfully completed until the data has been written to the persistent memory on the second device.

[0025] To this end, an ADR buffer may be provided on each of device one, the switch and device two. Now, in the event of a loss of main power, the following sequence of events may occur:

[0026] a. Device one has data in cache that targets persistent fast storage. Using the device's auxiliary power, device one flushes the data from cache to device one's local ADR buffer.

[0027] b. Using auxiliary power, Device One sends data from the ADR buffer to the switch via the Host Fabric Interface (HFI). The switch responds with an acknowledgment (ACK), indicating that the write was successful from Device One's perspective.

[0028] c. At the switch, using auxiliary power, data is received into an ADR buffer. The ADR buffer itself can be non-volatile (e.g., a dual in-line memory module (DIMM) or a non-volatile memory (NVM) DIMM). Therefore, if the auxiliary power fails before the transaction is completed, the data will not be lost.

[0029] d. Once the switch has received the data into its ADR buffer, the switch sends an ACK to device one.

[0030] e. The switch now flushes the data out to device two, which has a destination persistent flash memory. After sending the data to device two, the switch receives an ACK from device two, and from the switch's perspective, the store is complete.

[0031] f. If the switch fails to receive an ACK from device two (e.g., auxiliary power fails before the transaction is completed), the switch may retain the memory and attempt to write out again once power is restored, or may take some other action, such as notifying a system administrator.

[0032] g. On device two, the data is received into the ADR buffer. The data is then flushed out to persistent flash memory, and device two sends an ACK to the switch. The data is now persistently stored and can be restored when main power is restored.

[0033] In describing the present architecture, the following non-exhaustive and non-limiting list of definitions may be helpful.

[0034] A caching agent (CA) is a coherent agent within a node that handles memory requests from cores within the same node. In current architectures, cores use a superqueue (SQ) construct to store interconnect requests on the die sent to the CA (e.g., all the different loads that the core sends to the CA).

[0035] A home agent (HA) is a node cluster responsible for processing memory requests from a cache agent, and is used as a "home" for a portion of the memory address space (a die can have multiple homes with a distributed address space mapping). Depending on the address space that the request targets, the request can go to the local memory of the same node, the request can go through a super path interconnect (UPI) agent (formerly known as QPI or KTI) to route the request to other processors in the same coherent domain, or the request can pass through the HFI to a structure outside the coherent domain. All processors connected by UPI belong to the same coherent domain. A system can include one or more coherent domains, and all coherent domains are connected by a structural interconnect. For example, high performance computing (HPC) or a data center includes N clusters or servers that communicate with each other using a structure. Using a structure (e.g., STL), each coherent domain can expose some address areas to other coherent domains. HFI can provide access to traditional node architectures and can provide access to newer types of resources such as centralized resources and accelerators.

[0036] Systems and methods for persistent remote direct memory access are now described with more particular reference to the accompanying drawings. It should be noted that certain reference numerals may be repeated throughout the drawings to indicate that particular devices or boxes are completely or substantially consistent between the drawings. However, this is not intended to imply any particular relationship between the various disclosed embodiments. In some examples, a type of element may be referenced by a particular reference numeral ("widget 10"), while individual samples or examples of the type may be referenced by hyphenated labels ("first particular widget 10-1" and "second particular widget 10-2").

[0037] Figure 1a 1 is a diagram of a network hierarchy of a network 100 of a cloud service provider (CSP) 102 according to one or more examples of the present disclosure. Figure 1a In the example of FIG. 1 , the network 100 can be configured so that one or more enterprise clients 130 provide services or data to one or more end users 120, and the end users can operate user devices 110 to access information or services via external networks 172. This example considers an embodiment in which the cloud service provider 102 itself is an enterprise that provides third-party "network as a service" (NaaS) to the enterprise clients 130. However, this example is non-limiting. In appropriate embodiments, the enterprise clients 130 and CSP 102 can also be the same or related entities.

[0038] The enterprise network 170 may be any suitable network or combination of one or more networks running on one or more suitable network protocols, including, by way of non-limiting example, a fabric, a local area network, an intranet, a virtual network, a wide area network, a wireless network, a cellular network, or the Internet (optionally accessed via a proxy, a virtual machine, or other similar security mechanism). The enterprise network 170 may also include one or more servers, firewalls, routers, switches, security devices, antivirus servers, or other useful network devices, which may be virtualized within the data center 142 in the example. In this illustration, for simplicity, the enterprise network 170 is shown as a single network, but in some embodiments, the enterprise network 170 may include a large number of networks, for example, one or more enterprise intranets connected to the Internet, and may include data centers in multiple geographical locations. The enterprise network 170 may also provide access to external networks such as the Internet via an external network 172. The external network 172 may similarly be any suitable type of network.

[0039] The data center 142 may be provided as a virtual cluster, or a cluster of physical servers, running in a hypervisor on a plurality of rack-mounted blade servers, for example. The data center 142 may provide one or more server functions, one or more VNFs, or one or more "micro clouds" to one or more tenants in one or more hypervisors. For example, a virtualized environment such as vCenter may provide the ability to define multiple "tenants," each tenant being functionally separated from each other tenant, and each tenant operating as a single-purpose micro cloud. Each micro cloud may serve different functions and may include multiple virtual machines (VMs) of many different types. In some embodiments, the data center 142 may also provide multi-tenancy, in which a single instance of a function may be provided to multiple tenants, with each tenant's data isolated from the data of each other tenant.

[0040] It should also be noted that some functionality of the user device 110 may also be provided via the data center 142. For example, a micro-cloud may provide a remote desktop hypervisor such as Citrix Workspace that allows the end user 120 to remotely log in to a remote enterprise desktop device and access enterprise applications, workspaces, and data. In this case, the user device 110 may be a "thin client" such as a Google Chromebook that only runs a minimal operating system and still provide the user 120 with useful access to enterprise resources.

[0041] One or more computing devices configured as management console 140 may also run on enterprise network 170. Management console 140 may be a special case of a user device and may provide a user interface for security administrator 150 to define enterprise security and network policies: management console 140 may be enforced on enterprise network 170 and across user devices 110 and data center 142. In an example, management console 140 may run a server-class operating system, such as Linux, Unix, or Windows Server. In another case, management console 140 may be provided as a web interface on a desktop-class machine or may be provided via a VM provisioned within data center 142.

[0042] The network 100 can communicate with external networks 172 across enterprise boundaries 104. Enterprise boundaries 104 can represent physical, logical, or other boundaries. External networks 172 can include, for example, websites, servers, network protocols, and other network-based services. CSP 102 can also communicate with external networks such as A third-party security service provider 190 , such as a security service provider or another security service enterprise, is contracted to provide security services to the network 100 .

[0043] The goal of the enterprise client may be to securely provide network services to the end-user 120 via the data center 142 hosted by the CSP 102. To this end, the CSP 102 may provide certain contractually specified quality of service (QoS) guarantees and / or service level agreements (SLAs). QoS may be a measurement of resource performance and may include factors such as availability, jitter, bit rate, throughput, error rate, and latency, to name a few. An SLA may be a contractually specified agreement that may include QoS factors, as well as factors such as "mean time to recovery" (MTTR) and mean time between failures (MTBF). In general, an SLA may be a higher-level agreement that is more relevant to the overall experience, while QoS may be used to measure the performance of individual components. However, this should not be understood to imply a strict division between QoS metrics and SLA metrics.

[0044] Steering Figure 1b In order to achieve the QoS and SLA requirements specified in the contract, the CSP 102 can provision a certain number of workload clusters 118. In this example, two workload clusters 118-1 and 118-2 are shown, each providing up to 16 rack servers 146 in a chassis 148. These server racks can be arranged in a single data center, or can be located in different geographical data centers. Depending on the agreement specified in the contract, some servers 146 can be specifically dedicated to certain enterprise clients or tenants, while others can be shared.

[0045] Selecting a number of servers for provisioning in a data center is not an easy task for the CSP 102. The CSP 102 may wish to ensure that there are enough servers to handle network capacity and provide for expected equipment failures over time. However, provisioning too many servers 146 can be expensive both in terms of hardware costs and power consumption. Therefore, ideally, the CSP 102 provisions enough servers 146 to serve all of its enterprise clients 130 and meet contractually specified QoS and SLA benchmarks, but without wasting capacity.

[0046] Various devices in the data center 142 can be connected to each other via a switching fabric 174, which can include one or more high-speed routing and / or switching devices. In some cases, the switching fabric 714 can be hierarchical, for example, having a switching fabric 174-1 that processes workload cluster 118-1, a switching fabric 174-2 that processes workload cluster 118-2, and a switching fabric 174-3. This simple hierarchy is shown to illustrate the principle of a hierarchical switching fabric, but it should be noted that this can be significantly simplified compared to a real deployment. In many cases, the hierarchy of the switching fabric 714 can be multifaceted and far more involved. Common network architectures include hub-and-spoke architectures and leaf-spine architectures.

[0047] The structure itself may be provided by any suitable interconnection, such as OmniPath TM 、TrueScale TM , Ultra Path Interconnect (UPI) (formerly known as QPI or KTI), STL, Ethernet, PCI, or PCIe, to name a few. Some of these are better suited for certain types of deployments than others, and choosing the appropriate fabric for the application at hand is a task for those skilled in the art.

[0048] Figure 2 200 according to one or more examples of the present specification. The client device 200 can be any suitable computing device. In various embodiments, the "computing device" can be or include a computer, a workstation, a server, a mainframe, a virtual machine (whether simulated or on a "bare metal" virtual machine monitor), an embedded computer, an embedded controller, an embedded sensor, a personal digital assistant, a laptop computer, a cellular phone, an IP phone, a smart phone, a tablet computer, a convertible tablet computer, a computing device, a network device, a receiver, a wearable computer, a handheld calculator, or any other electronic, microelectronic, or micro-electromechanical device for processing and transmitting data. Any computing device can be designated as a host on the network. Each computing device itself can be referred to as a "local host", and any computing device outside it can be designated as a "remote host". In particular, the user device 110 can be the client device 200, and in a specific example, the client device 200 is a virtual machine configured for RDMA, as described herein.

[0049] The client device 200 includes a processor 210 connected to a memory 220 having executable instructions stored therein for providing at least a software portion of an operating system 222 and a remote direct memory access (RDMA) engine 224. Other components of the client device 200 include a storage device 250, a network interface 260, and a peripheral interface 240. The architecture is provided by way of example only and is intended to be non-exclusive and non-restrictive. In addition, the various parts disclosed are considered to be only logical divisions and do not necessarily represent physically separated hardware and / or software components. Some computing devices, for example, provide a main memory 220 and a storage device 250 in a single physical memory device, and in other cases, for example, in the case of a data center storage pool or a storage server, the memory 220 and / or the storage device 250 are functionally distributed across many physical devices. In the case of a virtual machine or a virtual machine monitor, all or part of the functionality may be provided in the form of software or firmware running on top of a virtualization layer for providing the disclosed logical functionality. In other examples, a device such as network interface 260 may provide only the minimum hardware interface necessary to perform its logical operations, and may rely on a software driver to provide additional necessary logic. Thus, each logic block disclosed herein is broadly intended to include one or more logic elements that are configured and operable to provide the disclosed logical operations of that block.

[0050] As used throughout this specification, "logic elements" may include hardware (including, for example, programmable software, an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA)), external hardware (digital, analog, or mixed signal), software, reciprocating software, services, drivers, interfaces, components, modules, algorithms, sensors, components, firmware, microcode, programmable logic, or objects that can be coordinated to implement logical operations. In addition, some logic elements are provided by tangible, non-transitory computer-readable media having executable instructions stored thereon that are used to instruct a processor to perform a task. Such non-transitory media can include, by non-limiting examples, for example, a hard disk, a solid-state memory or disk, a read-only memory (ROM), a persistent flash memory (PFM) (e.g., 3D crosspoint), external storage, redundant array of independent disks (RAID), redundant array of independent nodes (RAIN), network attached storage (NAS), optical storage, tape drives, backup systems, cloud storage, or any combination of the foregoing. Such media may also include instructions programmed into an FPGA, or encoded in hardware on an ASIC or in a processor.

[0051] In an example, the processor 210 is communicatively coupled to the memory 220 via a memory bus 270-3, which by way of example, may be a direct memory access (DMA) bus. However, other memory architectures are possible, including memory architectures in which the memory 220 communicates with the processor 210 via a system bus 270-1 or some other bus. In a data center environment, the memory bus 270-3 may be or may include a fabric.

[0052] The processor 210 may be communicatively coupled to other devices via the system bus 270-1. As used throughout this specification, a "bus" includes any wired or wireless interconnection, network, connection, structure, bundle, single bus, multiple buses, crossbar network, single-stage network, multi-stage network, or other conductive medium operable to carry data, signals, or power between portions of a computing device or between computing devices. It should be noted that these uses are disclosed by way of non-limiting example only, and some embodiments may omit one or more of the aforementioned buses, while other embodiments may employ additional or different buses.

[0053] In various examples, a "processor" may include any combination of logic elements operable to execute instructions, whether loaded from memory or implemented directly in hardware, including, by way of non-limiting example, a microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), a graphics processing unit (GPU), a programmable logic array (PLA), an application specific integrated circuit (ASIC), or a virtual machine processor. In some architectures, a multi-core processor may be provided in the following situations: the processor 210 may be treated as only one core of a multi-core processor, or may be treated as an entire multi-core processor, as appropriate. In some embodiments, one or more coprocessors may also be provided for special or support functions.

[0054] Processor 210 may be connected to memory 220 via bus 270-3 in a DMA configuration. To simplify the present disclosure, memory 220 is disclosed as a single logical block, but in a physical embodiment may include one or more blocks of any suitable volatile or non-volatile memory technology, including, for example, double data rate random access memory (DDR RAM), static random access memory (SRAM), dynamic random access memory (DRAM), persistent flash memory (PFM) (e.g., 3D Crosspoint (3DXP)), cache, L1 or L2 memory, on-chip memory, registers, flash memory, ROM, optical media, virtual memory area, magnetic or tape storage, etc. Memory 220 can be provided locally, or can be provided elsewhere, for example, in the case of a data center with a 3DXP memory server. In some embodiments, memory 220 may include a relatively low-latency volatile main memory, and storage 250 may include a relatively high-latency non-volatile memory. However, memory 220 and storage 250 do not have to be physically separate devices, and in some examples, may only represent a logical separation of functions. These lines can be particularly blurred in the case where the only long-term memory is battery-backed RAM, or in the case where the main memory is provided as a PFM. It should also be noted that although DMA is disclosed by non-limiting example, DMA is not the only protocol consistent with this specification, and other memory architectures are available.

[0055] An operating system 222 may be provided, but the operating system is not required in all embodiments. For example, for the purpose of speed, efficiency, and resource reservation, some embedded systems run on "bare metal". However, in contemporary systems, even minimalist embedded systems usually include some operating system. In the case of providing an operating system, the operating system 222 may include any appropriate operating system, for example, Microsoft Windows, Linux, Android, Mac OSX, Apple iOS, Unix, etc. Some of the aforementioned may be used more often on a type of device than others. For example, a desktop computer or an engineering workstation may more likely use one of Microsoft Windows, Linux, Unix, or MacOSX. A laptop computer, which is usually a portable, off-the-shelf device with fewer customization options, may more likely run Microsoft Windows or Mac OSX. A mobile device may more likely run Andriod or iOS. Embedded devices often use embedded Linux or a dedicated embedded OS such as VxWorks. However, these examples are not intended to be restrictive.

[0056] The storage device 250 may be any kind of memory 220, or may be a separate non-volatile memory device. The storage device 250 may include one or more non-transitory computer-readable media, which include, by way of non-limiting example, a hard disk drive, a solid-state drive, an external storage device, a redundant array of independent disks (RAID), a redundant array of independent nodes (RAIN), a network attached storage device, an optical storage device, a tape drive, a backup system, a cloud storage device, or any combination of the foregoing. The storage device 250 may be or may include, a database or data stored in other configurations, and may include a stored copy of operating software, such as an operating system 222 and a software portion of an RDMA engine 224. In some examples, the storage device 250 may be a non-transitory computer-readable storage medium, which includes hardware instructions or logic encoded into processor instructions or on an ASIC. Many other configurations are also possible and are intended to be covered within the broad scope of this description.

[0057] A network interface 260 may be provided for communicatively coupling the client device 200 to a wired or wireless network. As used throughout this specification, a "network" may include any communication platform or medium operable to exchange data or information within or between computing devices, including, by way of non-limiting example, Ethernet; WiFi; fabric; point-to-point local networks; an Internet architecture that provides electronic interaction capabilities to computing devices; a plain old telephone system (POTS) that computing devices can use to perform transactions, where computing devices can be assisted by a human operator, or where computing devices can manually enter data into a telephone or other suitable electronic device; any packet data network (PDN) that provides a communication interface or exchange between any two nodes in the system; or any local area network (LAN), metropolitan area network (MAN), wide area network (WAN), wireless local area network (WLAN), virtual private network (VPN), intranet, or any other suitable architecture or system that facilitates communication in a network or telephone environment. It is noted that in some environments, the network interface 260 may be or may include a host fabric interface (HFI).

[0058] In one example, the RDMA engine 224 is operable to perform the computer-implemented methods described in this specification. The RDMA engine 224 may include one or more tangible non-transitory computer-readable media having executable instructions stored thereon, which are operable to instruct a processor to provide the RDMA engine 224. The RDMA engine 224 may also include a processor having corresponding memory instructions that instruct the processor to perform the desired method. As used throughout this specification, an "engine" includes any combination of one or more similar or dissimilar types of logical elements that are operable and configured to perform one or more methods or functions of the engine. In some cases, the RDMA engine 224 may include a special integrated circuit that is designed to perform a method or a portion thereof, and may also include software instructions that are operable to instruct a processor to perform a method. In some cases, the RDMA engine 224 may run as a "daemon" process. A "daemon" may include any program or sequence of executable instructions, whether implemented in hardware, software, firmware, or any combination thereof, that runs as a background process, a terminated and resident program, a service, a system extension, a control panel, a boot process, a BIOS subroutine, or any similar program that runs without direct user interaction. In some embodiments, the daemon process may run with elevated privileges in a "driver space" associated with ring 0, 1, or 2 in a protection ring architecture. It should be noted that the RDMA engine 224 may also include other hardware and software, including, by way of non-limiting example, configuration files, registry entries, and interactive or user mode software.

[0059] In one example, the RDMA engine 224 includes executable instructions stored on a non-transitory medium that are operable to perform methods according to the present specification. At an appropriate time, for example, upon booting the client device 200 or upon a command from the operating system 222 or user 120, the processor 210 can retrieve a copy of the instructions from the storage device 250 and load the copy into the memory 220. The processor 210 can then iteratively execute the instructions of the RDMA engine 224 to provide the desired method.

[0060] The peripheral interface 240 may be configured to interface with any auxiliary device that is connected to the client device 200 but is not necessarily part of the core architecture of the client device 200. The peripheral device is operable to provide extended functionality to the client device 200 and may or may not be entirely dependent on the client device 200. In some cases, the peripheral device may itself be a computing device. The peripheral device may include, by way of non-limiting examples, input and output devices such as a display, a terminal device, a printer, a keyboard, a mouse, a modem, a data port (e.g., serial, parallel, USB, FireWire, etc.), a network controller, an optical medium, an external storage device, a sensor, a transducer, an actuator, a controller, a data acquisition bus, a camera, a microphone, a speaker, or an external storage device.

[0061] In one example, peripheral device comprises display adapter 242, audio driver 244 and input / output (IO) driver 246.Display adapter 242 can be configured to provide human-readable visual output, for example, command line interface (CLI) or graphical desktop, and this graphical desktop is for example Microsoft Windows, Apple OSX desktop or desktop based on Unix / Linux X Window system.Display adapter 242 can provide output in any suitable format, and this output is for example coaxial output, composite video, component video, VGA or digital output such as DVI or HDMI by non-limiting example.In some examples, display adapter 242 can comprise hardware graphics card, and this hardware graphics card can have its own memory and its own graphics processing unit (GPU).Audio driver 244 can provide interface for audible sound, and can comprise hardware sound card in some examples. Sound output may be provided, by way of non-limiting example, in analog (e.g., 3.5 mm stereo jack), component ("RCA") stereo, or in a digital audio format such as S / PDIF, AES3, AES47, HDMI, USB, Bluetooth, or Wi-Fi audio. Note that in embodiments where client device 200 is a virtual machine, peripherals may be provided remotely by a device used to access the virtual machine.

[0062] Figure 3 is a block diagram of a server device 300 according to one or more examples of the present specification. The server device 300 may be a combination of Figure 2 Any suitable computing device as described. In general, Figure 2 The definitions and examples can be considered to apply equally to Figure 3, unless otherwise specifically stated. Server device 300 is described separately herein to illustrate that in certain embodiments, logical operations may be divided along a client-server model, wherein client device 200 provides certain localized tasks and server device 300 provides certain other centralized tasks.

[0063] It should be noted that Figure 3 The server device 300 of FIG. 300 specifically illustrates the classic "von Neumann architecture" aspects of the server device 300 focusing on functional blocks. Other diagrams herein (e.g., the following Figure 4a , Figure 4b and Figure 5 ) may illustrate other aspects of the client or server device, focusing more on the virtualization aspect. These illustrated embodiments are not intended to be mutually exclusive or to imply that they must be different. Rather, the various views and diagrams are intended to illustrate different angles and aspects of these devices.

[0064] In a specific example, server device 300 may be a storage server as described herein.

[0065] The server device 300 includes a processor 310 connected to a memory 320 having executable instructions stored therein for providing at least the software portion of an operating system 322 and a memory server engine 324. Other components of the server device 300 include a storage device 350 and a host architecture interface 360. Figure 2 As described in , each logic block may be provided by one or more similar or dissimilar logic elements.

[0066] In an example, processor 310 is communicatively coupled to memory 320 via a memory bus 370-3, which may be, for example, a direct memory access (DMA) bus. Processor 310 may be communicatively coupled to other devices via system bus 370-1.

[0067] Processor 310 may be connected to memory 320 via DMA bus 370-3 in a DMA configuration or via any other suitable memory configuration. Figure 2 As discussed in , memory 320 may include one or more logic elements of any suitable type. Memory 320 may include persistent fast memory, such as 3DXP, etc.

[0068] The storage device 350 may be any type of memory 320, or may be a combination of Figure 2The storage device 350 may be or may include a database or data stored in other configurations, and may include a stored copy of operating software such as the operating system 322 and the software portion of the memory server engine 324.

[0069] A host fabric interface 360 ​​may be provided for communicatively coupling the server device 300 to a wired or wireless network including a host fabric. The host fabric may include a conversion interface for communicatively coupling nodes in a cloud or cloud-like environment. Here, HFI 360 is used by way of example, but any other suitable network interface (as discussed in conjunction with network interface 260) may be used.

[0070] The storage server engine 324 is Figure 2 The engine described in and, in one example, includes one or more logic elements operable to perform the computer-implemented methods described in this specification. The software portion of the memory server engine 324 may run as a daemon process.

[0071] The memory server engine 324 may include one or more non-transitory computer-readable media having executable instructions stored thereon operable to instruct a processor to provide the memory server engine 324. At an appropriate time, for example, upon booting the server device 300 or upon a command from the operating system 322 or a user 120 or security administrator 150, the processor 310 may retrieve a copy of the memory server engine 324 (or a software portion thereof) from the storage device 350 and load the copy into the memory 320. The processor 310 may then iteratively execute the instructions of the memory server engine 324 to provide the desired method.

[0072] Figure 4a is a block diagram of a software defined network 400. In a software defined network (SDN), the data plane is separated from the control plane to achieve certain advantages. SDN is just one type of virtualization, shown here to represent one option for network setup.

[0073] Figure 4bThe network function virtualization shown in is a second non-limiting type of network virtualization, often regarded as an addition or improvement to SND, but sometimes regarded as a separate entity. NFV was originally regarded as a method for providing reduced capital expenditure (Capex) and operating expenses (Opex) for telecommunications services, which relies heavily on fast, single-target service devices. An important feature of NFV is to replace proprietary, dedicated hardware devices with virtual devices running on commercial off-the-shelf (COTS) hardware in a virtualized environment. In addition to Capex and Opex savings, NFV provides a more agile and adaptable network. When the network load changes, virtual network functions (VNFs) can be supplied ("started") or removed ("stopped") to meet network needs. For example, at high load times, more load balancer VNFs can be started to distribute services to more workload servers (which can be virtual machines themselves). When more suspicious services are experienced, additional firewalls or deep packet inspection (DPI) devices may be required.

[0074] Because NFV started as a telecom feature, many NFV examples focus on telecom. However, NFV is not limited to telecom services. Broadly speaking, NFV includes one or more VNFs running within a network function virtualization infrastructure (NFVI). Often, VNFs are directly inserted service functions separated from workload servers or other nodes (in many cases, the functions of workload types have long been virtualized). These VNFs can be bolted together into a service chain, which can be defined by a virtual subnet and can include a series of network services that provide behind-the-scenes work, such as security, logging, accounting, etc. In one example, an incoming packet is passed through a series of services in a service chain, one or more of which are provided by VNFs, while each of those functions in the past can be provided by custom hardware in a physical service device. Because NFV can be started and stopped to meet demand, the allocation of hardware and other resources can be made more efficiently. Processing resources can be allocated to meet the maximum demand, while using physical service devices, only wasting any unused capacity on the device, and increasing capacity to meet the requirements required by inserting physical (expensive) custom service devices.

[0075] Figure 4a and Figure 4b The illustration of this in FIG. 4 may be considered more functional, whereas the illustration of FIG. 1 may be more of a high-level logical layout of the network. However, it should be understood that SDN 400 ( Figure 4a )、NFVI 404( Figure 4b ) and the enterprise network 100 may be the same network, or may be separate networks.

[0076] exist Figure 4a 1 , SDN 400 may include an SDN controller 410, a plurality of network devices 430, and a plurality of host devices 440. Some or all of SDN controller 410, network devices 430, and host devices 440 may be embodied within data center 142 of FIG. 1 , or may otherwise form part of enterprise network 170.

[0077] The SDN is controlled by an SDN controller 410. The SDN controller 410 is communicatively coupled to a plurality of network devices 430. In particular, ND1 430-1, ND2 430-2, and ND5 430-5 are directly communicatively coupled to the SDN controller 410. The network devices as well as ND3 430-3 and ND4 430-4 are not directly coupled to the SDN controller 410 but are coupled to the SDN controller 410 via intermediate devices such as ND2 430-2 and ND5 430-5.

[0078] Some of the network devices 430 are also communicatively coupled directly to host devices 440. In particular, network device ND1 is directly coupled to host A 440-1, which has an IP address of 10.0.0.10 and a MAC address of FA:16:3:01:61:8. Network device ND2 430-2 is directly coupled to host B 440-2, which has an IP address of 10.0.0.20 and a MAC address of FA:16:3:01:63:B3. Network device ND5 430-5 is directly coupled to host D 440-3, which has an IP address of 10.0.0.30 and a MAC address of FA:16:3:01:54:83.

[0079] The network devices 430 may be configured to perform various network functions, such as, by way of non-limiting example, load balancing, firewall, deep packet inspection (DPI), DNS, anti-virus, or any other suitable network function. The specific interconnection arrangement between the network devices 430 and from the network devices 430 to the host devices 440 may be determined by the specific network configuration and needs. Thus, Figure 4a The specific configurations should be understood as merely illustrative examples.

[0080] Each network device 430 may have multiple ingress or egress interfaces, such as physical Ethernet or fabric ports. In an example, each interface may have a label or a new name, such as P1, P2, P3, P4, P5, etc. Therefore, certain aspects of the network layout may be determined by detecting which device is connected to which interface. For example, network device ND1 430-1 has an ingress interface for receiving instructions and communicating with SDN controller 410. ND1 430-1 also has an interface P1 communicatively coupled to host A 440-1. ND1 430-1 has an interface P2 communicatively coupled to ND2 430-2. In the case of ND2 430-2, ND2 430-2 is also coupled to ND1 430-1 on its own interface P2, and is coupled to host B 440-2 via interface P1. ND2 430-2 is communicatively coupled to intermediate devices ND3 430-3 and ND4 430-4 via interfaces P3 and P4, respectively.Additional interface definitions are visible throughout the figure.

[0081] When traffic flows from one interface to another, a flow table may be defined for the traffic. The use of the flow table enables a network device such as ND2 430-2 to determine where to send a packet next after receiving the packet.

[0082] For example, the following flow table may be defined for ND1 430-1-ND4 430-4.

[0083] Entrance I / F Source MAC Destination Mac Source IP Destination IP action P1 Any fa:16:3e:01:54:a3 Any 10.0.0.30 P2

[0084] Table 1. ND1 flow rules

[0085] Entrance I / F Source MAC Destination Mac Source IP Destination IP action P2 Any fa:16:3e:01:54:a3 Any 10.0.0.30 P4

[0086] Table 2. ND2 flow rules

[0087] Entrance I / F Source MAC Destination Mac Source IP Destination IP action P1 Any fa:16:3e:01:54:a3 Any 10.0.0.30 P3

[0088] Table 3. ND3 flow rules

[0089] Entrance I / F Source MAC Destination Mac Source IP Destination IP action P3 Any fa:16:3e:01:54:a3 Any 10.0.0.30 P1

[0090] Table 4. ND4 flow rules

[0091] Figure 4b is a block diagram of a network function virtualization (NFV) architecture according to one or more examples of the present specification. Like SDN, NFV is a subset of network virtualization. Therefore, it can be defined Figure 4b The network shown in Figure 4a network, or you can define Figure 4a Outside the network Figure 4bIn other words, some parts of the network may rely on SDN, while other parts (or the same parts) may rely on NFV.

[0092] exist Figure 4b In the example of FIG4 , NFV orchestrator 402 manages many VNFs running on NFVI 404. NFV requires non-trivial resource management, such as allocating a very large pool of computing resources among the appropriate number of instances of each VNF, managing connections between VNFs, determining the number of instances of each VNF to allocate, and managing memory, storage, and network connections. This may require complex software management, thus requiring NFV orchestrator 402.

[0093] It should be noted that the NFV orchestrator 402 itself is typically virtualized (rather than a dedicated hardware device). The NFV orchestrator 402 can be integrated into an existing SDN system, where an operations support system (OSS) manages the SDN. The NFV orchestrator can interact with a cloud resource management system (e.g., OpenStack) to provide the NFV orchestrator. There are many commercially available, existing, proprietary, and open source solutions for NFV orchestrators and management (sometimes referred to as NFV MANO). In addition to the NFV orchestrator 402, the NFV MANO can also include functions such as virtualized infrastructure management (VIM) and VNF administrators.

[0094] NFVI 404 may include hardware, software, and other infrastructure for enabling VNFs to run. This may include, for example, a rack or racks of blade or slot servers (including, for example, processors, memory, and storage), one or more data centers, other hardware resources distributed across one or more geographic locations, hardware switches, network interfaces. NFVI 404 may also include a software architecture that enables a hypervisor to run and is managed by NFV orchestrator 402. NFVI 402 may include NFVI points of presence (NFVI-PoPs) where VNFs are deployed by operators.

[0095] Running on NFVI 404 are a number of virtual machines, each of which in this example is a VNF providing a virtual service device. As non-limiting and illustrative examples, these include VNF 1 411, which is a firewall; VNF 2 412, which is an intrusion detection system; VNF 3 414, which is a load balancer; VNF 4 416, which is a router; VNF 5 418, which is a session border controller; VNF 6 420, which is a deep packet inspection (DPI) service; VNF 7 422, which is a network address translation (NAT) module; VNF 8 424, which provides call security associations; and VNF 9 426, which is a second load balancer that is spun up to meet the increased demand.

[0096] Firewall 411 is a security device that monitors and controls (both incoming and outgoing) traffic based on matching the traffic to a list of "firewall rules". Firewall 411 can be a barrier between a relatively trusted (e.g., internal) network and a relatively untrusted network (e.g., the Internet). Once traffic passes detection by firewall 411, the traffic can be forwarded to other parts of the network.

[0097] Intrusion detection 412 monitors the network for malicious activity or policy violations. The events that occur can be reported to the security administrator 150, or collected and analyzed by a security information and event management (SIEM) system. In some cases, intrusion detection 412 can also include anti-virus or anti-malware scanners.

[0098] Load balancers 414 and 426 can outsource traffic to a group of substantially identical workload servers for distributing the work in a fair manner. In one example, the load balancer supplies many "buckets" of traffic and assigns each bucket to a workload server. Incoming traffic is assigned to buckets based on factors such as a hash of the source IP address. Because the hash is assumed to be fair and evenly distributed, each workload server receives a reasonable amount of traffic.

[0099] Router 416 forwards packets between networks or subnetworks. For example, router 416 may include one or more ingress interfaces and multiple egress interfaces, each of which is associated with a resource, subnetwork, virtual private network, or other division. When a business enters on an ingress interface, router 416 determines where the business should go and routes the packet to an appropriate egress interface.

[0100] Session border controller 418 controls Voice over IP (VoIP) signaling and media flows to establish, make and terminate calls. In this context, a "session" refers to a communication event (e.g., a "call"). A "border" refers to the distinction between two different parts of a network (similar to a firewall).

[0101] DPI device 420 provides deep packet inspection, which includes inspecting not only the headers, but also the contents of the packets to search for potentially unwanted content (PUC), such as protocol non-compliance, malware, viruses, spam, or intrusions.

[0102] NAT module 422 provides network address translation services for remapping one IP address space into another IP address space (eg, mapping addresses within a private subnet onto the larger Internet).

[0103] Call security association 424 creates a security association for a call or other session (see session border controller 418 above). Maintaining this security association can be critical because if the security association is broken, the call may be lost.

[0104] 4 shows that many VNFs are provisioned and present within the NFVI 404. This diagram does not necessarily show any relationship between the VNFs and the larger network.

[0105] Figure 5A block diagram of components of a computing platform 500 according to one or more examples of the present specification is shown. In the described embodiment, the computing platform 500 includes multiple platforms 502 and a system management platform 506 coupled together by a network 508. In other embodiments, the computer system may include any suitable number of (i.e., one or more) platforms. In some embodiments (e.g., when the computer system includes only a single platform), all or part of the system management platform 506 may be included on the platform 502. The platform 502 may include platform logic 510 having one or more central processing units (CPUs) 512, memory 514 (which may include any number of different modules), a chipset 516, a communication interface 518, and any other suitable hardware and / or software for executing a virtual machine monitor 520, or other operating systems capable of executing workloads associated with applications running on the platform 502. In some embodiments, the platform 502 may be used as a host platform for one or more client systems 522 that invoke these applications. Computing platform 500 may represent any suitable computing environment, such as a high performance computing environment, a data center, a communications service provider infrastructure (e.g., one or more portions of an evolved packet core), a memory computing environment, a computing system for a vehicle (e.g., an automobile or an airplane), an Internet of Things environment, an industrial control system, other computing environments, or combinations thereof.

[0106] In various embodiments of the present disclosure, the accumulated stress and / or the rate at which stress accumulates to multiple hardware resources (e.g., cores and non-cores) are monitored, and an entity of the computing platform 500 (e.g., a system management platform 506, a virtual machine monitor 520, or other operating system) can assign hardware resources of the platform logic 510 to execute workloads based on the stress information. For example, the system management platform 506, the virtual machine monitor 520 or other operating system, or the CPU 512 can determine one or more cores to be used to schedule the workload thereon based on the stress information. In some embodiments, self-diagnostic capabilities can be combined with stress monitoring to more accurately determine the health of hardware resources. Such embodiments can allow optimization in deployments that include network function virtualization (NFV), software defined networks (SDN), or mission critical applications. For example, stress information can be queried during the initial placement of a virtual network function (VNF), or for migration from one platform to another in order to improve reliability and capacity.

[0107] Each platform 502 may include platform logic 510. Platform logic 510 includes, among other logic, functionality to enable platform 502, one or more CPUs 512, memory 514, one or more chipsets 516, and communication interface 518. Although three platforms are shown, computing platform 500 may include any suitable number of platforms. In various embodiments, platform 502 may reside on a circuit board mounted in a chassis, rack, or other suitable structure that includes multiple platforms coupled together via a network 508 (which may include, for example, a rack or backplane switch).

[0108] Each of the CPUs 512 may include any suitable number of processor cores and supporting logic (e.g., non-cores). The cores may be coupled to each other, to memory 514, to at least one chipset 516, and / or to communication interface 518 via one or more controllers resident on the CPU 512 and / or chipset 516. In a particular embodiment, the CPU 512 is embodied in a socket that is permanently or removably coupled to the platform 502. Figure 2 CPU 512 is described in further detail. Although four CPUs are shown, platform 502 may include any suitable number of CPUs.

[0109] Memory 514 may include any form of volatile or non-volatile memory, including but not limited to magnetic media (e.g., one or more tape drives), optical media, random access memory (RAM), read-only memory (ROM), flash memory, removable media, or any other suitable local or remote memory component. Memory 514 may be used by platform 502 for short-term, medium-term, and / or long-term storage. Memory 514 may store any suitable data or information utilized by platform logic 510, including software embedded in a computer-readable medium, and / or encoded logic incorporated into hardware or encoded logic stored otherwise (e.g., firmware). Memory 514 may store data used by the core of CPU 512. In some embodiments, memory 514 may also include storage of instructions that can be executed by the core of CPU 512 or other processing elements (e.g., logic residing on chipset 516) to provide functionality associated with manageability engine 526 or other components of platform logic 510. Additionally or alternatively, the chipsets 516 may each include a memory that may have any of the characteristics described herein with respect to the memory 514. The memory 514 may also store the results and / or intermediate results of various calculations and determinations performed by the CPU 512 or processing elements on the chipset 516. In various embodiments, the memory 514 may include one or more modules of system memory coupled to the CPU through a memory controller (which may be external to the CPU 512 or integrated with the CPU 512). In various embodiments, one or more specific modules of the memory 514 may be dedicated to a specific CPU 512 or other processing device, or may be shared across multiple CPUs 512 or other processing devices.

[0110] In various embodiments, memory 514 may store stress information (e.g., accumulated stress values ​​associated with hardware resources of platform logic 510 in non-volatile memory such that when power is lost, the accumulated stress values ​​are maintained). In particular embodiments, the hardware resources may include non-volatile memory (e.g., on the same die as the particular hardware resource) for storing accumulated stress values ​​for the hardware resources.

[0111] The platform 502 may also include one or more chipsets 516 that include any suitable logic for supporting the operation of the CPU 512. In various embodiments, the chipset 516 may reside on the same die or package as the CPU 512 or reside on one or more different dies or packages. Each chipset may support any suitable number of CPUs 512. The chipset 516 may also include one or more controllers for coupling other components of the platform logic 510 (e.g., a communication interface 518 or a memory 514) to the one or more CPUs. Additionally or alternatively, the CPU 512 may include an integrated controller. For example, the communication interface 518 may be directly coupled to the CPU 512 via an integrated IO controller residing on each CPU.

[0112] In the depicted embodiment, each chipset 516 also includes a manageability engine 526. The manageability engine 526 may include any suitable logic for supporting the operation of the chipset 516. In particular embodiments, the manageability engine 526 (which may also be referred to as an innovation engine) is capable of collecting real-time telemetry data from the chipset 516, the CPU 512 and / or memory 514 managed by the chipset 516, other components of the platform logic 510, and / or various connections between components of the platform logic 510. In various embodiments, the collected telemetry data includes the stress information described herein.

[0113] In various examples, the manageability engine 526 operates as an out-of-band asynchronous computing agent that can interface with various elements of the platform logic 510 to collect telemetry data with no or minimal disruption to processes running on the CPU 512. For example, the manageability engine 526 may include a dedicated processing element 527 (e.g., a processor, controller, or other logic) on the chipset 516 that provides the manageability engine 526 (e.g., by executing software instructions), thereby preserving processing cycles of the CPU 512 for operations associated with the workload performed by the platform logic 510. Furthermore, the dedicated logic for the manageability engine 526 may operate asynchronously with respect to the CPU 512 and may aggregate at least some of the telemetry data without increasing the load on the CPU.

[0114] The manageability engine 526 can process the telemetry data it collects (specific examples of stress information processing are provided herein). In various embodiments, the manageability engine 526 reports the data it collects and / or the results of its processing to other elements in the computer system, such as one or more virtual machine monitors 520 or other operating systems and / or system management software (which can run on any suitable logic such as the system management platform 506). In some embodiments, the telemetry data is updated and reported to one or more of these entities on a regular basis. In certain embodiments, critical events such as a core accumulating an excessive amount of stress can be reported in advance of the normal interval for reporting telemetry data (e.g., a notification can be sent immediately upon detection).

[0115] In various embodiments, manageability engine 526 may include programmable code that may be configured to set up a particular chipset 516 to manage which CPU 512 and / or which telemetry data is collected.

[0116] Each of the chipset 516 also includes a communication interface 528. The communication interface 528 can be used for signaling and / or data communication between the chipset 516 and one or more IO devices, one or more networks 508, and / or one or more devices coupled to the network 508 (e.g., the system management platform 506). For example, the communication interface 528 can be used to send and receive network services such as data packets. In a specific embodiment, the communication interface 528 includes one or more physical network interface controllers (NICs), also known as network interface cards or network adapters. The NIC may include an electronic circuit system for communicating using any suitable physical layer and data link layer standards such as Ethernet (e.g., defined by the IEEE 802.3 standard), Fiber Channel, InfiniBand, Wi-Fi, or other suitable standards. The NIC may include one or more physical ports that can be coupled to a cable (e.g., an Ethernet cable). The NIC may enable communication between any suitable element of the chipset 516 (e.g., a manageable engine 526 or a switch 530) and another device coupled to the network 508. In some embodiments, network 508 may include a switch with bridging and / or routing functionality that is external to platform 502 and operable to couple various NICs to each other that are distributed (e.g., on different platforms) throughout computing platform 500. In various embodiments, the NIC may be integrated with the chipset (i.e., may be on the same integrated circuit or circuit board as the rest of the chipset logic), or may be integrated on a different integrated circuit or circuit board that is electromechanically coupled to the chipset.

[0117] In particular embodiments, the communication interface 528 may allow communication of data associated with management and monitoring functions performed by the manageability engine 526 (e.g., between the manageability engine 526 and the system management platform 506). In various embodiments, the manageability engine 526 may utilize elements of the communication interface 528 (e.g., one or more NICs) to report telemetry data (e.g., to the system management platform 506) in order to preserve the use of the NICs of the communication interface 518 for operations associated with workloads performed by the platform logic 510. In some embodiments, the communication interface 528 may also allow IO devices (e.g., disk drives, other NICs, etc.) that are integrated with the platform or external to the platform to communicate with the CPU cores.

[0118] Switch 530 may be coupled to various ports of communication interface 528 (e.g., provided by a NIC) and may exchange data between these ports and various components of chipset 516 (e.g., one or more Peripheral Component Interconnect Express (PCIe) lanes coupled to CPU 512). Switch 530 may be a physical or virtual (e.g., software) switch.

[0119] The platform logic 510 may include an additional communication interface 518. Similar to the communication interface 528, the communication interface 518 may be used for communication of signaling and / or data between the platform logic 510 and one or more networks 508 and one or more devices coupled to the network 508. For example, the communication interface 518 may be used to send and receive network services such as data packets. In a particular embodiment, the communication interface 518 includes one or more physical NICs. These NICs may enable communication between any suitable element of the platform logic 510 (e.g., CPU 512 or memory 514) and another device coupled to the network 508 (e.g., an element of another platform or a remote computing device coupled to the network 508 via one or more networks). In a particular embodiment, the communication interface 518 may allow devices external to the platform (e.g., disk drives, other NICs, etc.) to communicate with the CPU core. In various embodiments, the NIC of the communication interface 518 may be coupled to the CPU via an IO controller (which may be external to the CPU 512 or integrated with the CPU 512).

[0120] The platform logic 510 may receive and execute any suitable type of workload. The workload may include any request to utilize one or more resources of the platform logic 510, such as one or more cores or associated logic. For example, the workload may include a request to instantiate a software component such as an IO device driver 524 or a client system 522; a request to process a network packet received from a virtual machine 532 or a device external to the platform 502 (e.g., a network node coupled to the network 508); a request to execute a process or thread associated with a client system 522, an application running on the platform 502, a virtual machine monitor 520, or other operating system running on the platform 502; or other suitable processing requests.

[0121] In various embodiments, the platform 502 can execute any number of client systems 522. A client system can include a single virtual machine (e.g., virtual machine 532a or 532b) or multiple virtual machines operating together (e.g., virtual network function (VNF) 534 or service function chain (SFC) 536). As described, various embodiments can include various types of client systems 522 present on the same platform 502.

[0122] The virtual machine 532 can emulate a computer system using its own dedicated hardware. The virtual machine 532 can run a guest operating system on top of the hypervisor 520. The components of the platform logic 510 (e.g., CPU 512, memory 514, chipset 516, and communication interface 518) can be virtualized so that it appears to the guest operating system that the virtual machine 532 has its own dedicated components.

[0123] A virtual machine 532 may include a virtualized NIC (vNIC) that is used by the virtual machine as its network interface. A vNIC may be assigned a media access control (MAC) address or other identifier, thus allowing multiple virtual machines 532 to be individually addressable in a network.

[0124] In some embodiments, the virtual machine 532b may be paravirtualized. For example, the virtual machine 532b may include an enhanced driver (e.g., providing higher performance, or having a higher bandwidth interface for underlying resources, or higher capacity provided by the hypervisor 520). For example, the enhanced driver may have a faster interface for the underlying virtual switch for higher network performance than the default driver.

[0125] VNF534 may include a software implementation of a functional building block with defined interfaces and behaviors that can be deployed in a virtualized infrastructure. In a specific embodiment, VNF 534 may include one or more virtual machines 532 that together provide specific functions (e.g., wide area network (WAN) optimization, virtual private network (VPN) termination, firewall operation, load balancing operation, security functions, etc.). VNF 534 running on platform logic 510 may provide the same functionality as traditional network components implemented by dedicated hardware. For example, VNF 534 may include components for executing any suitable NFV workload, such as virtualized evolved packet core (vEPC) components, mobile management entities, third generation partnership project (3GGP) control and data plane components, etc.

[0126] An SFC 536 is a group of VNFs 534 organized as a chain for performing a series of operations such as network packet processing operations. Service function chaining may provide the ability to define an ordered list of network services (e.g., firewall, load balancer) that are stitched together in a network to create a service chain.

[0127] A virtual machine monitor 520 (also referred to as a virtual machine monitor) may include logic for creating and running a guest system 522. The virtual machine monitor 520 may present the guest operating system run by the virtual machine with the virtual operating platform (i.e., it appears to the virtual machine that the virtual machine is running on a separate physical node when in fact the virtual machine is merged onto a single hardware platform) and manage the execution of the guest operating system by the platform logic 510. The services of the virtual machine monitor 520 may be provided by virtualization in software, or by virtualization of hardware-assisted resources requiring minimal software intervention, or both. Multiple instances of various guest operating systems may be managed by the virtual machine monitor 520. Each platform 502 may have a separate instantiation of the virtual machine monitor 520.

[0128] The hypervisor 520 may be a native or bare metal hypervisor that runs directly on the platform logic 510 to control the platform logic and manage the guest operating system. Alternatively, the hypervisor 520 may be a hosted hypervisor that runs on a host operating system and abstracts the guest operating system from the host operating system. Various embodiments may include one or more non-virtualized platforms 502, in which case any suitable features or functions of the hypervisor 520 described herein may be applied to the operating system of the non-virtualized platform.

[0129] The hypervisor 520 may include a virtual switch 538 that may provide virtual switching and / or routing functionality to the virtual machines of the client system 522. The virtual switch 538 may include a logical switching structure that couples the vNICs of the virtual machines 532 to each other, thereby creating a virtual network through which the virtual machines can communicate with each other. The virtual switch 538 may also be coupled to one or more networks (e.g., network 508) via the physical NIC of the communication interface 518 to allow communication between the virtual machine 532 and one or more network nodes external to the platform 502 (e.g., virtual machines running on different platforms 502, or nodes coupled to the platform 502 via the Internet or other networks). The virtual switch 538 may include software elements executed using components of the platform logic 510. In various embodiments, the hypervisor 520 can communicate with any suitable entity (e.g., an SDN controller) that can cause the hypervisor 520 to reconfigure parameters of the virtual switch 538 in response to changing conditions in the platform 502 (e.g., the addition or removal of virtual machines 532, or the identification of optimizations that can be made to enhance platform performance).

[0130] The hypervisor 520 may also include resource allocation logic 544, which may include logic for determining allocation of platform resources based on telemetry data (which may include stress information). The resource allocation logic 544 may also include logic for communicating with various components of the platform logic 510 entity of the platform 502 (e.g., components of the platform logic 510) to implement such optimizations. For example, the resource allocation logic 544 may direct which hardware resources of the platform logic 510 to use for executing a workload based on the stress information.

[0131] Any suitable logic may make one or more of these optimization decisions. For example, the system management platform 506, the hypervisor 520 or other operating system's resource allocation logic 544, or other logic of the platform 502 or computing platform 500 may make such decisions (alone or in conjunction with other elements of the platform 502). In certain embodiments, the system management platform 506 may communicate with the hypervisor 520 (using in-band or out-of-band communications) to specify optimizations that should be used in order to satisfy policies stored in the system management platform.

[0132] In various embodiments, the system management platform 506 may receive telemetry data from the multiple platforms 502 and manage workload placement across the multiple platforms 502. The system management platform 506 may communicate with the hypervisor 520 (e.g., in an out-of-band manner) or other operating systems of the various platforms 502 to implement workload placement directed by the system management platform.

[0133] The elements of platform logic 510 may be coupled together in any suitable manner. For example, a bus may couple any of the components together. The bus may include any known interconnect, such as a multi-drop bus, a mesh interconnect, a ring interconnect, a point-to-point interconnect, a serial interconnect, a parallel bus, a coherent (e.g., cache coherent) bus, a layered protocol architecture, a differential bus, or a radio transceiver logic (GTL) bus.

[0134] The elements of computing platform 500 can be coupled together in any suitable manner, for example, through one or more networks 508. Network 508 can be any suitable network or a combination of one or more networks running using one or more suitable network protocols. A network can represent a series of nodes, points and interconnected communication paths for receiving and sending packets of information propagated through a communication system. For example, a network can include one or more firewalls, routers, switches, security devices, antivirus servers or other useful network devices. The network provides a communication interface between a source and / or a host, and can include any local area network (LAN), wireless local area network (WLAN), metropolitan area network (MAN), intranet, extranet, Internet, wide area network (WAN), virtual private network (VPN), cellular network or any other suitable architecture or system that promotes communication in a network environment. The network can include any number of hardware or software elements coupled to each other (and communicating) through a communication medium. In various embodiments, client system 522 can communicate with nodes outside computing platform 500 through network 508.

[0135] Figure 6 A block diagram of a central processing unit (CPU) 600 according to certain embodiments is shown. Although CPU 600 describes a specific configuration, the core and other components of CPU 600 can be arranged in any suitable manner. CPU 600 can include any processor or processing device, for example, a microprocessor, an embedded processor, a digital signal processor (DSP), a network processor, an application processor, a coprocessor, a system on a chip (SOC), or other devices for executing code. In the described embodiment, CPU 600 includes four processing elements (core 630 in the described embodiment), which can include asymmetric processing elements or symmetric processing elements. However, CPU 600 can include any number of processing elements, which can be symmetric or asymmetric.

[0136] In one embodiment, a processing element refers to hardware or logic for supporting a software thread. Examples of hardware processing elements include: thread units, thread slots, threads, process units, contexts, context units, logical processors, hardware threads, cores, and / or any other element that can maintain the state of a processor such as an execution state or an architecture state. In other words, in one embodiment, a processing element refers to any hardware that can be independently associated with a code, such as a software thread, an operating system, an application, or other code. A physical processor (or processor slot) typically refers to an integrated circuit that may include any number of other processing elements, such as cores or hardware threads.

[0137] A core may refer to logic located on an integrated circuit that is capable of maintaining an independent architectural state, wherein each independently maintained architectural state is associated with at least some dedicated execution resources. A hardware thread may refer to any logic located on an integrated circuit that is capable of maintaining an independent architectural state, wherein the independently maintained architectural states share access to execution resources. As can be seen, when certain resources are shared and others are dedicated to an architectural state, the line between the nomenclature of a hardware thread and a core overlaps. Often, an operating system treats a core and a hardware thread as a separate logical processor in which the operating system can schedule operations on each logical processor separately.

[0138] The physical CPU 600 may include any suitable number of cores. In various embodiments, the core may include one or more out-of-order processor cores or one or more in-order processor cores. However, the core may be selected individually from any type of core such as: a native core, a software-managed core, a core suitable for executing a native instruction set architecture (ISA), a core suitable for executing a translated ISA, a co-designed core, or other known cores. In a heterogeneous core environment (i.e., an asymmetric core), some form of translation such as binary translation may be utilized to schedule or execute code on one or both cores.

[0139] In the depicted embodiment, core 630A includes an out-of-order processor having a front end unit 670 that is used to fetch incoming instructions, perform various processing (e.g., caching, decoding, branch prediction, etc.), and pass the instructions / operations to an out-of-order (OOO) engine 680. The OOO engine 680 performs further processing on the decoded instructions.

[0140] The front end unit 670 may include a decoding module coupled to the instruction fetch logic for decoding the extracted elements. In one embodiment, the instruction fetch logic includes a separate sequencer associated with the thread slot of the core 630. Typically, the core 630 is associated with a first ISA that defines / specifies instructions executable on the core 630. Machine code instructions that are part of the first ISA often include a portion of the instruction (referred to as an opcode) that references / specifies the instruction or operation to be performed. The decoding module may include circuitry that recognizes these instructions based on the opcode of the instruction and passes the decoded instructions in the pipeline for processing as defined by the first ISA. For example, in one embodiment, the decoder may include logic designed for or suitable for recognizing specific instructions such as transactional instructions. As a result of the recognition by the decoder, the architecture of the core 630 takes specific, predefined actions to perform tasks associated with the appropriate instructions. It is important to note that any of the tasks, blocks, operations, and methods described herein may be executed in response to a single or multiple instructions; some of the instructions may be new instructions or old instructions. In one embodiment, the decoder of the core 630 recognizes the same ISA (or a subset thereof). Alternatively, in a heterogeneous core environment, the decoders of one or more cores (eg, core 630B) may recognize a second ISA (either a subset of the first ISA or a different ISA).

[0141] In the depicted embodiment, the out-of-order engine 680 includes a dispatch unit 682 for receiving decoded instructions in the form of one or more microinstructions or internal instructions from the front end unit 670 and dispatching the decoded instructions to appropriate resources such as registers. Next, the instructions are provided to a reservation station 684, which reserves resources and schedules the resources for execution on one of a plurality of execution units 686A-686N. Various types of execution units may be present, including, for example, an arithmetic logic unit (ALU), a load and store unit, a vector processing unit (VPU), a floating point execution unit, etc. The results from these different execution units are provided to a re-order buffer (ROB) 688, which takes the unordered results and returns the results to the correct program order.

[0142] In the depicted embodiment, both the front end unit 670 and the out-of-order engine 680 are coupled to different levels of the memory hierarchy. Particularly shown is an instruction level cache 672, which in turn is coupled to a mid-level cache 676, which in turn is coupled to a last level cache 695. In one embodiment, the last level cache 695 is implemented in an on-chip (sometimes referred to as an uncore) unit 690. The uncore 690 can communicate with a system memory 699, which is implemented via an embedded dynamic random access memory (eDRAM) in the depicted embodiment. Various execution units 686 within the out-of-order engine 680 communicate with a first level cache 674, which also communicates with a mid-level cache 676. Additional cores 630B-630D can also be coupled to the last level cache 695.

[0143] In various embodiments, uncore 690 (sometimes referred to as a system agent) may include any suitable logic that is not part of core 630. For example, uncore 690 may include one or more of a last level cache, a cache controller, an on-die memory controller coupled to system memory, a processor interconnect controller (e.g., a Hyperpath interconnect or similar controller), an on-die IO controller, or other suitable on-die logic.

[0144] In certain embodiments, the non-core 690 may be in a voltage domain and / or frequency domain that is separate from the voltage domain and / or frequency domain of the core. That is, the non-core 690 may be powered by a power supply voltage different from the power supply voltage used to power the core, and / or may operate at a frequency different from the operating frequency of the core.

[0145] The CPU 600 may also include a power control unit (PCU) 640. In various embodiments, the PCU 640 may control the power supply voltage and operating frequency applied to each of the cores (on a per-core basis) and the non-cores. The PCU 640 may also instruct the core or non-core to enter an idle state (wherein no voltage and clock are supplied) when not executing a workload.

[0146] In various embodiments, the PCU 640 may detect one or more stress characteristics of hardware resources such as cores and uncores. The stress characteristic may include an indication of the amount of stress placed on the hardware resource. As an example, the stress characteristic may be a voltage or frequency applied to the hardware resource; a power level, current level, or voltage level sensed at the hardware resource; a temperature sensed at the hardware resource; or other suitable measurement. In various embodiments, when sensing a stress characteristic at a particular moment in time, multiple measurements (e.g., at different locations) of a particular stress characteristic may be performed. In various embodiments, the PCU 640 may detect stress characteristics at any suitable interval.

[0147] In various embodiments, PCU 640 may include a microcontroller that executes embedded firmware for performing various operations associated with stress monitoring described herein. In one embodiment, PCU 640 uses hardware to perform some or all of the PCU functions described herein without executing software instructions. For example, PCU 640 may include fixed and / or programmable logic to perform the functions of the PCU.

[0148] In various embodiments, PCU 640 is a separate component from core 630. In certain embodiments, PCU 640 runs at a clock frequency that is different from the clock frequency used by core 630. In some embodiments where the PCU is a microcontroller, PCU 640 executes instructions according to an ISA that is different from the ISA used by core 630.

[0149] In various embodiments, the CPU 600 may also include a non-volatile memory 650 for storing stress information (e.g., stress characteristics, increased stress values, accumulated stress values, stress accumulation rates, or other stress information) associated with the core 630 or the non-core 690 so that the stress information is maintained when power is lost.

[0150] Figure 7 is a block diagram of a data center configured for remote direct memory access (RDMA) and asynchronous data refresh (ADR) according to one or more examples of the present specification.

[0151] In this example, system 1 710-1 is connected to system 2 710-2 via switch 774 in an RDMA configuration. The two systems can be peer systems in a data center, or system 2 can be, for example, a storage server that provides remote access to storage such as 3DXP as described above. In this example, system 1 710-1 accesses remote storage on system 2 710-2, but the systems can work just as easily in reverse. In this particular example, system 2 provides local storage 722-2, which can be persistent fast storage. System 1 can also have local storage 722-1, which can be volatile storage or can be persistent storage.

[0152] During the course of an RDMA operation, system 1 710-1 issues a storage command to its own local persistent storage 722-1. Two different volatile areas where storage is placed before reaching storage are the cache hierarchy (shown as cache 706-1) and the internal buffers of the memory controller 720-1. For the purposes of this specification, both cache 706-1 and the internal buffers of the memory controller 720-1 can be considered "volatile caches," meaning that they are areas where data can be temporarily stored, and when power is removed, the data stored therein is lost.

[0153] In normal operation, if a store is in cache 706, it can be flushed out by the use of an instruction such as CLFLUSHOPT and a memory fetch instruction such as SFENCE. Therefore, issuing these two instructions ensures that the store is no longer in cache 706.

[0154] But after the storage is cleared out of the cache 706, the storage can still be placed in the memory controller buffer, which is also volatile. Therefore, in the event of power loss, it is necessary to use ADR 722 to ensure that the data is stored to persistent fast memory. As shown in the specific view of ADR 722, an auxiliary power supply 780 (e.g., a capacitor or a small battery) is provided with ADR buffer 782. The auxiliary power supply 780 is selected to have sufficient stored energy so that in the event of a main power failure or removal (e.g., a catastrophic power loss, or a user-initiated or scheduled shutdown, pause, or restart), there is sufficient power to clear the data in the volatile cache to persistence. With this feature, application software can freely assume that all storage is persistent once it is executed.

[0155] But in the case of RDMA, the problem is more complicated. For local devices, having the necessary power is not enough to manage their own storage. A series of powered devices may be required to ensure that data reaches persistence remotely. In the RDMA path shown (shown with dotted lines), an application on system 1 710-1 can issue a "put" or "store" to system 2 710-2. When an application on system 1 710-1 issues a persistent store to system 2 710-2, the application can issue CLFLUSHOPT and SFENCE to ensure that the storage is no longer in the CPU cache of system 1 710-1. Similarly, ADR 770-2 on system 2 can handle storage residing in the volatile cache of system 2 710-2. But when power is removed, storage can still be placed in the HFI 770-1 of system 1 710-1, in the structure itself (e.g., on switch 774), or in the HFI 770-2 of system 2 710-2.

[0156] To ensure persistence, a mechanism provides software control and visibility of retained data when writing to persistent storage on a remote node. This can be thought of as "ADR over RDMA". The mechanism includes the addition of a capacitive power supply to overlay the HFI (which may be integrated with the processor in some contemporary systems), the addition of a persistent buffer in the switch, and the addition of new data flows.

[0157] In one example, there may be dedicated ADR channels within the architecture. These dedicated channels may be dedicated software channels or ports, or these dedicated channels may be dedicated hardwired channels. These channels may be specifically dedicated to facilitate guaranteed bandwidth to transfer remote memory storage.

[0158] Each HFI 770 includes an ADR 772 that includes an ADR buffer 782 sized according to the bandwidth of a dedicated ADR channel so that in the event of a power failure, remote persistent memory requests from node 1 710-1 to switch 774 are guaranteed to reach switch ADR 772-3. Once a storage request arrives at switch 774, the request is first stored in ADR 772-3 and can then be moved to an intermediate non-volatile location such as NVM DIMM 748. From this point, the data can be sent to node 2 710-2 using regular channels and existing flows (including ADR 772-2 in node 2).

[0159] In some embodiments, HA can be used to detect remote memory requests that target persistent fast memory.Once the remote persistent write is saved to ADR 772, an acknowledgement (ACK) can be sent back to the core and application.

[0160] Further in certain embodiments, the system 710 switch 774 may have one or more dedicated fabric channels, or fixed guaranteed bandwidth, for remote writes. The ADR 772 may be sized to ensure that the ADR buffer 782 is flushed out to the switch 774 in the event of a power failure.

[0161] It is noted that while the ADR 772 ensures that RDMA requests can be flushed out in the event of a local power failure, a datacenter-wide power failure may cause the loss of data "in flight" (e.g., still resident on the switch). Therefore, the use of the NVM DIMM 748 and ADR 772-3 is provided to mitigate such losses. In one example, the data is stored in the NVM DIMM 748 for a few seconds while a larger auxiliary power source such as a generator or uninterruptible power supply (UPC) takes over. Once operational power is restored, the data can then be sent from the NVM DIMM 748 to the system 2 710-2 in a seamless manner.

[0162] Once the data is delivered to system 2 710-2, ADR 77202 can help ensure that the data is durably stored there even in the event of a power loss.

[0163] Figure 8 710-2 is a signal flow diagram of an RDMA persistent storage operation according to one or more examples of the present specification. This flow can be useful both in normal operation and in the event of a power loss. In this example, core 702-1 of system 1 710-1 executes a program and uses RDMA to access remote persistent fast storage of system 2 710-2. Switch 774 provides a fabric between the two systems.

[0164] At operation 1, core 702-1 issues a remote persistent store instruction directed to cache 706-1. Cache 706-1 may be a volatile cache, and thus further may need to propagate the data before reaching persistence. Therefore, at operation 2, cache 706-1 writes the data out to ADR 772-1 of system 1 710-1.

[0165] Once the data is written to ADR 772-1, at operation 3, ADR 772-1 issues a remote persistent storage instruction to switch 774. At operation 4, switch 774 stores the data in NVM DIMM 748. Now, from the perspective of system 1 710-1, the remote persistent storage has been successful. In other words, the data has been delivered to switch 774 and has achieved persistence within switch 774, so that ADR 772-1 has completed its purpose.

[0166] When the switch 774 has stored the data in the NVM DIMM 748, the switch may issue an ACK to the ADR 772-1 (operation 5), indicating that the data has reached persistence. The ADR 772-1 may then propagate the ACK to the cache 706-1 (operation 6), and ultimately to the core 702-1 (operation 7). Thus, from the perspective of the system 1 710-1, the remote persistent storage has been successful.

[0167] In some embodiments, if core 702-1 fails to receive a proper ACK, an exception may be thrown or some other remedial action may be taken.

[0168] Returning to switch 774, switch 774 must either keep the data in its own non-volatile memory, or propagate the data out to system 2 710-2 and make sure system 710-2 has successfully stored the data. Therefore, at operation 8, switch 774 propagates the remote persistent storage out to system 2 710-2.

[0169] System 2 710-2 receives the remote persistent storage into ADR 772-2. At operation 9, ADR 772-2 issues a memory write to memory controller 720-2. Once ADR 772 issues the memory write, memory controller 720-2 stores the data in persistent flash memory 722-2.

[0170] At operation 10 , the memory controller 720 - 2 sends an ACK to the ADR 772 - 2 . Now, the ADR 772 - 2 is confident that the data has been successfully written to the remote persistent memory, and at operation 11 , the ADR 772 - 2 sends an ACK to the switch 774 .

[0171] Once switch 774 has received the ACK from ADR 772-2, switch 774 is confident that the data has been durably written and normal operation can resume.

[0172] But if, for example, the power to ADR 772-2 fails before the persistent write is completed, then ADR 772-2 cannot send an ACK to switch 774. If switch 774 does not receive an ACK, then switch 774 maintains the data in the switch's own persistent storage, such as NVM DIMM 748. When power is restored, then switch 774 can take remedial action. For example, the switch can try again to write the data out to system 2 710-2, or in some cases, a notification can be provided to a system administrator to alert the administrator of the failed system write. The system administrator can then take additional actions.

[0173] Fig. 9 is a flow chart of a method 900 performed by system 1 710 - 1 to perform ADR via RDMA according to one or more examples of the present specification.

[0174] In block 902, the primary power supply 904 fails or is removed, for example, a restart event, a pause, a power outage, or due to a catastrophic power failure, and system 1 710-1 detects the primary power supply failure.

[0175] In block 906 , system 1 710 - 1 flushes its volatile cache to the ADR 772 - 1 , which includes the ADR buffer 782 and the auxiliary power supply 780 .

[0176] In block 908, ADR 772-1 flushes the ADR buffer out to fabric 774 via HFI 770-1. System 1 710-1 then waits for an ACK from fabric 774.

[0177] In decision block 912, system 710-1 determines whether it has received the appropriate ACK 910 from fabric 774. If no ACK is received, then in block 999 the remote persistent storage write fails and an exception is raised or some remedial action may be taken.

[0178] On the other hand, if an ACK is received, then in block 998, the remote persistent storage write is successful from the perspective of system 1 710-1.

[0179] Fig.10 is a flow chart of a method 1000 performed by the switch 774 according to one or more examples of the present specification.

[0180] In block 1002, the main power supply 1004 fails as described above, and the switch 774 detects the power failure, indicating that persistent data needs to be protected.

[0181] In block 1006, switch 774 receives RDMA data from system 1 710-1. The data is initially received into ADR 772-3 of switch 774.

[0182] In block 1008, switch 774 writes the RDMA data to NVM DIMM 748. This ensures that the data in NVM DIMM 748 is not lost even if the auxiliary power fails before the remote persistent write is completed.

[0183] In block 1010, switch 774 sends an ACK to system 1 710-1 indicating to system 1 710-1 that the write was successful (from the perspective of system 1 710-1).

[0184] In block 1012, switch 774 flushes the RDMA data out to node 2 710-2. Switch 774 then waits for an ACK from system 710-2.

[0185] In decision block 1016, if the ACK 1014 is not received, then in block 1099, remote persistent storage to system 2 710-2 has failed and some remedial action may be taken as described above.

[0186] On the other hand, if ACK 1014 is received, then in block 1098, the store to system 2 710-2 is successful.

[0187] Fig.11 is a flow chart of method 1100 performed by system 2 710 - 2 according to one or more examples of the present specification.

[0188] In block 1102 , system 2 710 - 2 detects a power failure of the primary power supply 1103 .

[0189] In block 1104, system 2 710-2 receives RDMA data from fabric 774 using auxiliary power within ADR 772-2.

[0190] In 1106, system 2 710-2 writes the data to its persistent flash memory 722-2.

[0191] In block 1108 , system 2710 - 2 sends an ACK to switch 774 once the data has been successfully written to the persistent flash memory.

[0192] In box 1199, the method ends.

[0193] The features of several embodiments are summarized above so that those skilled in the art can better understand the various aspects of the present disclosure. Those skilled in the art should recognize that they can easily use the present disclosure as a basis for designing or modifying other processes and structures for performing the same purpose and / or achieving the same advantages as the embodiments introduced herein. Those skilled in the art should also recognize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and they can make various changes, substitutions and modifications herein without departing from the spirit and scope of the present disclosure.

[0194] All or part of any hardware element disclosed herein can be easily provided in a system on chip (SoC) including a central processing unit (CPU) package. SoC represents an integrated circuit (IC) that integrates the elements of a computer or other electronic system into a single chip. Therefore, for example, a client device or a server device can be provided in whole or in part in a SoC. SoC can include digital, analog, mixed signal, and wireless frequency functions, all of which can be provided on a single chip substrate. Other embodiments may include a multi-chip module (MCM) having a plurality of chips that are located in a single electronic package and are configured to interact closely with each other through the electronic package. In various other embodiments, the computing functionality disclosed herein can be implemented in one or more silicon cores in an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and other semiconductor chips.

[0195] It should also be noted that, in certain embodiments, some of the components may be omitted or merged. In general, the arrangement described in the diagrams may be more logical in its representation, and the physical architecture may include various permutations, combinations, and / or mixing of these elements. It should be noted that countless possible design configurations may be used to achieve the operational purposes outlined herein. Therefore, the associated infrastructure has a large number of alternative arrangements, design options, device possibilities, hardware configurations, software implementations, and device options.

[0196] In general sense, any processor of suitable configuration can execute any type of instruction associated with data to achieve the operation described herein.Any processor disclosed herein can convert an element or object (e.g., data) from one state or object to another state or object.In another example, some activities outlined herein can be realized using fixed logic or programmable logic (e.g., software and / or computer instructions executed by a processor), and the element identified herein can be some types of programmable processors, programmable digital logic (e.g., field programmable gate array (FPGA), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)), including digital logic, software, code, electronic instruction, flash memory, optical magnetic disk, CD-ROM, DVD ROM, magnetic card or optical card ASIC, other types of machine-readable media suitable for storing electronic instructions, or any suitable combination thereof.

[0197] In operation, the storage device may store information in any suitable type of tangible, non-transitory storage medium (e.g., random access memory (RAM), read-only memory (ROM), field programmable gate array (FPGA), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.), software, hardware (e.g., processor instructions or microcode), or, where appropriate and based on specific needs, in any other suitable component, device, element, or object. In addition, the information tracked, sent, received, or stored in the processor may be provided in any database, register, table, cache, queue, control list, or storage structure based on specific needs and implementations, all of which may be referenced in any suitable time frame. Any of the memories or storage elements disclosed herein should be interpreted as being encompassed within the broad terms "memory" and "storage device", as appropriate. Non-transitory storage media herein are expressly intended to include any non-transitory dedicated or programmable hardware configured to provide the disclosed operations or to cause the processor to perform the disclosed operations.

[0198] The computer program logic that implements all or part of the functionality described herein is embodied in various forms, including but not limited to, source code form, computer executable form, machine instructions or microcode, programmable hardware, and various intermediate forms (e.g., forms generated by assemblers, compilers, linkers, or locators). In an example, the source code includes a series of computer program instructions, which are implemented in various programming languages ​​(e.g., object code, assembly language) or high-level languages ​​(such as OpenCL, FORTRAN, C, C++, JAVA, or HTML) for use with various operating systems or operating environments, or implemented in hardware description languages ​​(e.g., Spice, Verilog, and VHDL). The source code can define and use various data structures and communication messages. The source code can be in a computer executable form (e.g., via an interpreter), or the source code can be converted into (e.g., via a translator, assembler, or compiler) a computer executable form, or converted into an intermediate form such as a byte code. Where appropriate, any of the foregoing can be used to establish or describe an appropriate discrete or integrated circuit, whether sequential, combined, state machine or other.

[0199] In one example, the circuit of any number of diagrams can be implemented on the board of the associated electronic device. The board can be a general circuit board, which can hold various components of the internal electronic system of the electronic device, and further provide connectors for other peripheral devices. More specifically, the board can provide an electrical connection, through which other components of the system can communicate electrically. Any suitable processor and memory can be appropriately coupled to the board based on specific configuration needs, processing requirements, and calculation design. Other components such as external storage devices, additional sensors, controllers for audio / video display, and peripheral devices can be attached to boards such as plug-in cards via cables, or integrated into the board itself. In another example, the circuit of the diagram can be implemented as an independent module (e.g., a device with associated components and circuit systems configured to perform specific applications or functions) into the dedicated hardware of the electronic device, or as an insertion module into the dedicated hardware of the electronic device.

[0200] It should be noted that, using many examples provided herein, interactions can be described with respect to two, three, four or more electronic components. However, this is done only for the purpose of clarity and example. It should be appreciated that the system can be merged or reconfigured in any suitable manner. According to similar design alternatives, any one of the components, modules and elements of the drawings shown can be combined in various possible configurations, all of which are within the broad scope of this specification. In some cases, it may be easier to describe one or more of the functionality of a given set of flows by only citing a limited number of electrical components. It should be appreciated that the circuits of the diagrams and their teachings are easily scalable and can accommodate a large number of components, as well as more complex / precise arrangements and configurations. Therefore, the examples provided should not limit the scope or hinder the extensive teaching of the circuit, because the circuit may be applied to a large number of other architectures.

[0201] Many other changes, substitutions, variations, alterations, and modifications may be ascertained by those skilled in the art, and it is contemplated that the present disclosure encompasses all such changes, substitutions, variations, alterations, and modifications that fall within the scope of the appended claims. To assist the United States Patent and Trademark Office (USPTO), and otherwise any reader of any patent issued under this application, in interpreting the appended claims, the inventors wish to point out that the inventors: (a) do not intend any of the appended claims to invoke paragraph six (6) of 35 U.S.C. Section 112 (former AIA) or paragraph (f) of the same section (later AIA), as they exist as of the filing date, unless the words "for the following unit" or "for the following step" are specifically used in a particular claim; and (b) do not intend any statement in this specification to limit the present disclosure in any manner not otherwise expressly reflected in the appended claims.

[0202] Example Implementations

[0203] In one example, a computing device is disclosed that includes: a host fabric interface (HFI) for communicatively coupling to a fabric controller of a fabric; an asynchronous data refresh (ADR) that includes an auxiliary power supply and an ADR buffer; and a memory controller that includes logic for: directly accessing persistent fast memory of a remote computing device via the fabric; detecting a main power failure event; and flushing data from the ADR buffer to the fabric controller.

[0204] Examples are also disclosed, further comprising a cache, and wherein the memory controller is further configured to flush data from the cache to the ADR buffer.

[0205] Examples are also disclosed wherein the memory controller logic is further operable to receive an acknowledgement (ACK) from the fabric controller.

[0206] Examples are also disclosed wherein the memory controller logic is further operable to designate the data as having been successfully written.

[0207] Examples are also disclosed that further include local persistent fast storage.

[0208] Examples are also disclosed wherein the memory controller logic is further operable to: receive data from the fabric controller into an ADR buffer after detecting a main power failure event; and flush the ADR buffer out to persistent flash memory.

[0209] Examples are also disclosed wherein the memory controller logic is further operable to send an acknowledgement to the fabric controller.

[0210] Examples are also disclosed, further including a dedicated ADR channel on the HFI.

[0211] Examples are also disclosed wherein the dedicated ADR channel is a hardware channel.

[0212] Examples are also disclosed wherein the dedicated ADR channel is a software channel.

[0213] Also disclosed is an example of a persistent fast memory server comprising: a host fabric interface (HFI) for communicatively coupling to a fabric controller of a fabric; persistent fast memory; an asynchronous data refresh (ADR) comprising an auxiliary power supply and an ADR buffer; and a memory controller comprising logic for: providing remote direct memory access (RDMA) to a remote host via the fabric; detecting a main power failure event; receiving data from the fabric controller into the ADR buffer; and flushing the ADR buffer out to the persistent fast memory.

[0214] Examples are also disclosed wherein the memory controller logic is further operable to send an acknowledgement to the fabric controller.

[0215] Examples are also disclosed, further including a dedicated ADR channel on the HFI.

[0216] Examples are also disclosed wherein the dedicated ADR channel is a hardware channel.

[0217] Examples are also disclosed wherein the dedicated ADR channel is a software channel.

[0218] Examples are also disclosed wherein the memory controller logic is further operable to: directly access a persistent fast memory of a remote computing device via the fabric; and flush data from the ADR buffer to the fabric controller upon detecting a remote power failure event.

[0219] Examples are also disclosed, further comprising a cache, and wherein the memory controller is further configured to flush data from the cache to the ADR buffer.

[0220] Examples are also disclosed wherein the memory controller logic is further operable to receive an acknowledgement (ACK) from the fabric controller.

[0221] Examples are also disclosed wherein the memory controller logic is further operable to designate the data as having been successfully written.

[0222] Also disclosed is an example of a method of providing storage to a remote persistent flash memory, the method comprising: a fabric controller communicatively coupled to a fabric; directly accessing the persistent flash memory of a remote computing device via the fabric, including writing data to a local asynchronous data refresh (ADR) buffer; detecting a main power failure event; accessing an auxiliary power supply; and flushing data from the ADR buffer to the fabric controller.

[0223] Examples are also disclosed that further include flushing data from the cache to an ADR buffer.

[0224] Examples are also disclosed that further include receiving an acknowledgement (ACK) from the fabric controller.

[0225] Examples are also disclosed that further include designating the data as having been successfully written.

[0226] Examples are also disclosed that further include accessing a local persistent fast memory.

[0227] Examples are also disclosed, further comprising: receiving data from the fabric controller into an ADR buffer after detecting a main power failure event; and flushing the ADR buffer out to persistent flash memory.

[0228] Examples are also disclosed that further include sending an acknowledgement to a fabric controller.

[0229] Examples are also disclosed that further include accessing a dedicated ADR channel on the fabric.

[0230] Examples are also disclosed wherein the dedicated ADR channel is a hardware channel.

[0231] Examples are also disclosed wherein the dedicated ADR channel is a software channel.

[0232] Also disclosed is an example of a network switch comprising: a switching fabric for providing remote direct memory access (RDMA) from a first system to a second system, wherein the second system comprises persistent fast memory; an asynchronous data refresh (ADR) comprising an ADR buffer and an auxiliary power supply; and logic for detecting a main power failure; receiving RDMA data from the first system; and flushing the RDMA data out to the second system.

[0233] Examples are also disclosed, further comprising a local persistent memory, wherein receiving the RDMA data from the first system comprises receiving the RDMA data into the local persistent memory.

[0234] Examples are also disclosed wherein the logic is further operable to send an acknowledgement to the first system.

[0235] Examples are also disclosed wherein the logic is further configured to receive an acknowledgement from the second system.

[0236] Examples are also disclosed wherein logic is further operable to designate the RDMA data as having been successfully written.

[0237] Examples are also disclosed wherein the logic is further to determine that an acknowledgement was not received from the second system and to take remedial action.

Claims

1. A computing device, comprising: a host fabric interface HFI for communicatively coupling to a fabric controller of a switch fabric, wherein the switch fabric is used to couple the computing device to a remote computing device; an asynchronous data refresh ADR module including an auxiliary power supply and an ADR buffer; and A memory controller comprising logic to: Directly accessing the persistent fast memory of the remote computing device via the switch fabric; Detection of main power failure events; flushing data from the ADR buffer to a fabric controller of the switch fabric with the aid of the auxiliary power supply; and An acknowledgement (ACK) is received from the fabric controller, wherein the ACK indicates that the data has been stored in a non-volatile memory of the switch fabric.

2. The computing device of claim 1 , further comprising a cache, and wherein: The memory controller is further configured to flush data from the cache to the ADR buffer.

3. The computing device according to claim 2, wherein: The memory controller logic is further for designating the data as having been successfully written. The computing device of claim 1 , further comprising a local persistent fast memory.

5. The computing device according to claim 4, wherein: The memory controller logic is further configured to: storing data received from the fabric controller in the ADR buffer after a main power failure event is detected; and The ADR buffer is flushed out to the local persistent flash memory.

6. The computing device according to claim 5, wherein: The memory controller logic is further configured to send an acknowledgment to the fabric controller, the acknowledgment indicating that the data has been stored in the local persistent flash memory.

7. The computing device of any one of claims 1-6, further comprising a dedicated ADR channel on the HFI.

8. The computing device according to claim 7, wherein: The dedicated ADR channel is a hardware channel.

9. The computing device according to claim 7, wherein: The dedicated ADR channel is a software channel.

10. A method for accessing a persistent fast memory of a remote computing device by a computing device, the method comprising: a fabric controller communicatively coupled to a switch fabric, wherein the switch fabric is used to couple the computing device to the remote computing device; Directly accessing the persistent fast memory of the remote computing device via the switching structure includes writing data into a local asynchronous data refresh (ADR) buffer; Detection of main power failure events; Access auxiliary power; flushing the data from the ADR buffer to a fabric controller of the switch fabric with the aid of the auxiliary power supply; and An acknowledgement (ACK) is received from the fabric controller, wherein the ACK indicates that the data has been stored in a non-volatile memory of the switch fabric.

11. The method of claim 10, further comprising flushing data from a cache to the ADR buffer.

12. The method of claim 10, further comprising designating the data as having been successfully written.

13. The method according to any one of claims 10 to 12, further comprising accessing a local persistent fast memory.

14. The method according to claim 13, further comprising: storing data received from the fabric controller in the ADR buffer after detecting a main power failure event; as well as The ADR buffer is flushed out to the local persistent flash memory.

Citation Information

Patent Citations

  • Method, system, and chip of implementing software transportation

    CN101004682A

  • Control unit for fluidic systems

    CN102419576A

  • Storage gateway activation process

    CN103748548A

  • Instructions To Mark Beginning and End Of Non Transactional Code Region Requiring Write Back To Persistent Storage

    CN104050112A

  • Hybrid memory device

    CN105247617A