US11836083B2 - Memory Access Tracking Using A Peripheral Device - Google Patents
Computing techniques generally observe entry to memory pages by hardware or software. Memory-web page monitoring is useful in a large variety of use-circumstances, e.g., in migration of Virtual Machines (VMs) between physical compute nodes, in web page-swapping between a memory and a storage machine, in various caching schemes, to name only some examples. An embodiment of the current invention that's described herein provides a compute node together with a memory, a processor and a peripheral system. Direct Memory Access (DMA), and to notify the processor of the second memory pages which are accessed utilizing DMA. In nonetheless another embodiment, the peripheral gadget is to notify the processor of the second reminiscence pages by reporting respective addresses of the second memory pages. Using a peripheral machine, a number of second reminiscence pages are accessed immediately within the reminiscence using Direct Memory Access (DMA), and the processor is notified of the second memory pages which can be accessed utilizing DMA.
A number of memory pages are accessed immediately, the peripheral device using Direct Memory Access (DMA), and the processor is notified of the memory pages which are accessed using DMA. FIG. 2 is a stream chart that schematically illustrates a way for monitoring reminiscence pages, in accordance with an embodiment of the present invention. FIG. Three is a block diagram that schematically illustrates migration of a Virtual Machine (VM) between compute nodes, in accordance with an embodiment of the present invention. Embodiments of the current invention which are described herein present improved strategies and systems for tracking memory-web page access in a compute node. "dirty pages," and the 2 terms are used interchangeably herein. "dirty web page," and the definition of when a web page is now not considered soiled, might differ relying on the applying. CPU of the compute node. DMA into the CPU memory. Such partial monitoring of dirty pages is problematic and should lead to knowledge inconsistency and iTagPro tracker suboptimal performance.
In this method, the processor is ready to completely track all dirty pages in the reminiscence, iTagPro tracker regardless of the entity that rendered these pages dirty. Several examples are described herein. FIG. 1 is a block diagram that schematically illustrates a compute node 20 that tracks dirty pages in accordance with an embodiment of the present invention. FIG. 1 is relatively generic, in the sense that it isn't utility-specific and is applicable to varied varieties of compute nodes and peripheral devices. Several concrete examples are described additional under. Compute node 20 could comprise, for instance, a server in a data middle, a workstation, ItagPro or any other suitable type of compute node. Node 20 comprises a processor 24 and a reminiscence 28 . 24 comprises a Central Processing Unit (CPU), however the processor might alternatively comprise a Graphics Processing Unit (GPU) some other suitable type of processor. Memory 28 comprises a Random-Access Memory (RAM) in the current instance, however might alternatively comprise another suitable sort of memory.
Node 20 further includes a peripheral machine 32 that communicates with processor 24 and with reminiscence 28 over a peripheral interface 36 . Peripheral device 32 may comprise, ItagPro for instance, a community adapter equivalent to an Ethernet Network Interface Controller (NIC), an InfiniBand Host Channel Adapter (HCA), a sensible-NIC, a knowledge Processing Unit (DPU), a network-enabled GPU, or any other appropriate type of community adapter. 32 might comprise a storage device, such as a Solid-State Drive (SSD) or a Small Computer System Interface (SCSI) disk. Peripheral interface 36 might comprise, for instance, a Peripheral Component Interconnect express (PCIe) bus. 24 runs software forty that, amongst different tasks, accesses memory pages forty four in memory 28 . Software forty could comprise, for example, a hypervisor, one or more VMs, a number of functions ("apps"), an OS, and/or every other appropriate sort of software. Software 40 might learn and/or write memory pages 44 , iTagPro tracker as applicable. 44 are also referred to simply as "pages," for brevity.