Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

146 results about "Page fault" patented technology

A page fault (sometimes called #PF, PF or hard fault) is a type of exception raised by computer hardware when a running program accesses a memory page that is not currently mapped by the memory management unit (MMU) into the virtual address space of a process. Logically, the page may be accessible to the process, but requires a mapping to be added to the process page tables, and may additionally require the actual page contents to be loaded from a backing store such as a disk. The processor's MMU detects the page fault, while the exception handling software that handles page faults is generally a part of the operating system kernel. When handling a page fault, the operating system generally tries to make the required page accessible at the location in physical memory, or terminates the program in case of an illegal memory access.

Memory pre-loading processing method, and device and storage medium

Provided in the present application are a memory pre-loading processing method, and a device and a storage medium. The method comprises: a virtual machine manager collecting a plurality of pieces of historical page fault information that are generated by a target application program in a client; on the basis of a plurality of client virtual addresses that are included in the plurality of pieces of historical page fault information, determining a target client virtual address to be accessed when a page fault occurs in the target application program next time; on the basis of the target client virtual address and a storage address of a target client system page table corresponding to the target application program, determining a target host machine virtual address corresponding to the target client virtual address; and controlling a host machine operating system to allocate a target host machine physical address corresponding to the target host machine virtual address, and loading data, which corresponds to the target host machine virtual address, into the target host machine physical address. By means of loading, into a memory in advance, data corresponding to a target client virtual address in which a page fault may occur in the future, an access delay duration caused by the page fault is shortened.
Owner:HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD

Multi-rear-end separated memory system and optimization control method thereof

The invention relates to a multi-back-end separated memory system and an optimization control method thereof, the multi-back-end separated memory system comprises an intelligent far memory multi-back-end management control module and a multi-back-end far memory switch, the intelligent far memory multi-back-end management control module analyzes and processes calling of page errors and page switching triggering, and the multi-back-end far memory switch is used for switching the multi-back-end far memory switch. Switching instruction information and parameter regulation and control instruction information are obtained; and the multi-rear-end remote memory exchanger receives and executes the switching instruction information and the parameter regulation and control instruction information, runs applications on the separated memory architecture and the multi-rear-end remote memory software system, and releases resources after running is finished. By supporting a memory exchange strategy and a system architecture of a plurality of heterogeneous far-end separated memory rear ends, parallel access of a plurality of paths of far memories is realized to improve data throughput, application characteristics are analyzed, and intelligent rear end switching and data exchange parameter adjustment are realized; parallel access of a plurality of memory exchange back-end devices, fine-grained parameter configuration of a remote memory data access path, real-time switching of a plurality of memory exchange back-ends and an intelligent control and management method of the remote memory access path can be realized.
Owner:SHANGHAI JIAOTONG UNIV

Methods and apparatuses for remote direct memory access page fault handling

A method for performing a remote direct memory access (RDMA) read command includes reserving a memory space in a buffer to receive data associated with an address range, sending a RDMA read instruction to a remote module to request the data, and receiving the data from the remote module. A method for performing a RDMA write command includes receiving from a remote module a request to send command requesting to send data associated with an address range, reserving a memory space in a buffer to receive data associated with the address range, sending a RDMA read instruction to the remote module, and receiving the data from the remote module.
Owner:HUAWEI TECH CO LTD

Heterogeneous memory page migration device and method and readable storage medium

The invention discloses a heterogeneous memory page migration device and method and a readable storage medium, and relates to the technical field of data processing, the heterogeneous memory page migration device comprises a first computing unit, a migration unit and a memory unit, and the migration unit comprises a communicator and a processor; a communicator configured to receive an address translation request; the processor is configured to transmit page contents of a remote page to a local memory frame according to a remote physical frame number in a first page table item when determining that the target page in the address conversion request is the remote page, and replace the remote physical frame number in the first page table item with a local physical frame number; and the communicator is further configured to return the second page table item to the first computing unit, so that the problem of relatively long time consumption when the computing unit accesses a remote page and triggers a page error in the related technology is solved, and the time consumption for migrating the heterogeneous memory page is saved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Memory Migration and Page Fault Avoidance

Accessing information associated with a virtual memory address by receiving a virtual memory address, translating the virtual memory address into a nominal physical memory address, receiving the nominal physical memory address at a memory migrator, and using the memory migrator to determine an old physical memory address corresponding to the nominal physical memory address and access the information at the old physical memory address or a new physical memory address. The accessing operation may be performed as part of migrating the information from an old physical memory location corresponding the old physical memory address to a new physical memory location corresponding to the new physical memory address.
Owner:GOOGLE LLC

Data processing system and dynamic memory allocation method

A data processing system and a dynamic memory allocation method, relating to the technical field of data storage. The data processing system comprises a host and a data processing device, and a virtual machine runs on the host. The data processing device can determine a virtual machine address associated with the virtual machine, and send first page fault information to the host when it is determined that the virtual machine address is an invalid virtual machine address, such that the host allocates a host physical address to the virtual machine according to the first page fault information. Therefore, the problem of page fault in the process that the data processing device directly accesses a virtual machine memory can be solved, such that the host does not need to allocate a fixed memory to the virtual machine when creating the virtual machine, and can allocate a memory to the virtual machine when the virtual machine has a page fault, thereby realizing dynamic memory allocation. Moreover, the phenomenon that most of the memory is in an idle state for a long time after the virtual machine applies for the memory can be reduced, and the effective utilization rate of the host memory is improved.
Owner:HUAWEI TECH CO LTD

Shared memory management method, virtual machine monitor, and computing device

Shared memory management methods and apparatuses are provided. In an implementation, an apparatus comprises a virtual machine monitor, a virtual machine, and a trusted execution environment (TEE). The virtual machine monitor is configured to determine, based on the address information, whether a first address is comprised in the shared memory when a page fault occurs in response to the trusted part requests to access the first address, and in response to determining that the first address is comprised in the shared memory, send an interrupt notification to the virtual machine. The virtual machine is configured to: in response to the interrupt notification and determining, based on the address information, that the first address is comprised in the shared memory, validate a first page table entry in the first page table, and return a response message to the virtual machine monitor, wherein the first page table entry comprises address mapping information of a first page that comprises the first address.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Thread scheduling method and device, electronic equipment and storage medium

The invention discloses a thread scheduling method and device, electronic equipment and a storage medium, and belongs to the technical field of operating systems. The method comprises the steps that a DSM PF event of a virtual machine is monitored, and the DSM PF event is triggered when a plurality of threads access the same shared memory page in a cross-node mode; according to the DSM PF events, an inter-thread incidence matrix is constructed, and the inter-thread incidence matrix is used for quantifying the number of times of triggering the DSM PF events between any two threads; the thread graph structure is divided to generate a thread grouping scheme with the aim of minimizing the number of DSM PF events between different grouping threads, the vertex of the thread graph structure represents the threads, and the adjacency matrix of the thread graph structure is the incidence matrix between the threads.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Memory management method, terminal device, chip, and computer-readable storage medium

Embodiments of the present application relate to the technical field of memory management, and in particular to a memory management method, a terminal device, a chip, and a computer-readable storage medium. The method comprises: when a first process is started, applying for a process virtual memory for the first process; when a first thread of the first process is created, determining a memory estimation value of the first thread during running, wherein the first thread is a first thread created for the first process; on the basis of the memory estimation value, determining a first virtual memory for the first thread from the process virtual memory; and establishing a mapping relationship between the first virtual memory and a first physical memory, wherein the first physical memory comprises K physical huge pages, and K is greater than or equal to 1 and is an integer. The technical solution provided in the embodiments of the present application can reduce page faults occurring during running of the first process, reducing the number of times an electronic device applies for a physical memory when trapping to a kernel mode from a user mode, thereby reducing the memory allocation latency, and improving user experience.
Owner:HUAWEI TECH CO LTD

Memory management method and electronic device

PCT designated stageWO2026045870A1Memory systemsComputer architecturePhysical address
The present application discloses a memory management method and an electronic device. The method is executed by an electronic device. In the method, a hardware accelerator detects a first event, the first event indicating that the probability of a page fault occurring in a first DMA memory used by a first application is greater than a first threshold; in response to the first event, the hardware accelerator performs one or more of the following operations: checking and killing a first process of the first application; and writing first data of the first application in a disk into the first DMA memory, and updating a first memory page table, the first memory page table comprising a mapping of a virtual address on the hardware accelerator side to a physical address on the first DMA memory side. During implementation of the present application, the hardware accelerator can handle a page fault that may occur in the DMA memory, thereby improving efficiency of memory management.
Owner:HUAWEI TECH CO LTD

Random read tracking in non-volatile memory devices

The present disclosure relates to systems, apparatuses, methods, and non-transitory computer-readable media including a non-volatile memory and a controller operatively coupled to the non-volatile memory. The controller is to determine information on a number of errors for a page for reading data stored in the page of the non-volatile memory, and the data is read using a first read threshold. The controller is to determine a second read threshold based at least in part on the first read threshold and the number of page errors for the page and apply the second read threshold for subsequently reading data stored on the page according to a decision rule.
Owner:KIOXIA CORP

Hypercall method and apparatus for kernel-mode program of extended berkeley packet filter

A hypercall method and apparatus for a kernel-mode program of an enhanced Berkeley packet filter are disclosed. The method is applied to a virtual machine monitor, comprises: acquiring, in response to a virtualization page fault triggered by the kernel-mode program, a memory address where the virtualization page fault is triggered; determining whether the memory address of the virtualization page fault is consistent with a memory address corresponding to a page fault key in a mapping table; reading, from the mapping table, a page fault value mapped by the page fault key if the memory address of the virtualization page fault is consistent with the memory address corresponding to the page fault key, wherein the page fault value comprises a function type of a hypercall written by the kernel-mode program; and executing, based on the function type indicated by the page fault value, the hypercall of the function type.
Owner:CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD

Memory management method and module, chip, electronic device, and storage medium

A memory management method and module, a chip, an electronic device, and a storage medium. The memory management method comprises: scanning memory pages to which virtual addresses of a discontinuous memory mapping space are mapped to acquire a compressible memory page as a first memory page; compressing memory data in the first memory page to acquire corresponding memory compressed data; storing the memory compressed data in a data storage module, the data storage module being located in memory space outside the discontinuous memory mapping space; after storing the memory compressed data in the data storage module, releasing the first memory page; and setting the corresponding virtual address as a page fault address. The memory utilization is improved.
Owner:AMLOGIC (SHANGHAI) CO LTD

Address translation

A memory management unit comprises an interface to receive an address translation request from a device, specifying a first address to be translated, and translation circuitry to translate the first address into a second address, wherein the translation is based on page table information corresponding to the first address. In response to the translation circuitry performing the translation without identifying a page fault associated with the first address, the interface is configured to send an address translation response to the device, the address translation response comprising the second address. The memory management unit comprises page request issuing circuitry responsive to the translation circuitry, in response to the address translation request, identifying a page fault associated with the first address, to issue a page request requesting that the page table information corresponding to the first address is updated to correct the page fault.
Owner:ARM LTD

Data transmission method, device, storage medium, and program product

Embodiments of the present disclosure provide a data transmission method, a device, a storage medium, and a program product. The embodiments of the present disclosure provide a software-implemented RDMA memory page fault solution: when acquiring data from a remote memory, a remote end maps a page-faulted virtual memory into a specific physical memory region, allows for the occurrence of a memory page fault in an RDMA process, and adds a memory page fault processing flow between a local end and the remote end to implement memory page fault processing; and when writing data into the remote memory, the remote end provides a shared virtual memory and a private virtual memory and exposes the shared virtual memory to the local end, the local end writes data into the shared virtual memory, and then a remote control object migrates the data to the private virtual memory, wherein memory page faults are allowed to occur and be processed during the migration. Since memory page faults are allowed to occur and page fault processing is supported, dynamic allocation of physical memory resources is supported during the RDMA process, thereby improving the utilization of memory resources while leveraging the advantages of RDMA.
Owner:CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD +1

Virtual data lake remote file mapping method and system

The invention discloses a virtual data lake remote file mapping method and system, which are applied to the technical field of data processing, and the method comprises the following steps: creating a proxy file with the same size as a remote file in a local system, and establishing a mapping directory table of the proxy file and the remote file; when a computing node accesses the memory space mapped by the proxy file to trigger missing page interruption, reading corresponding remote data from a remote host according to the mapping directory table and a remote direct memory access technology, and storing the remote data in a memory missing page; two files to be fused are mapped into the same process space at the same time, and data fusion is carried out; through core technologies such as proxy file mapping, missing page drive loading and RDMA transmission, efficient access and zero copy fusion of remote data are realized, and frequent network requests are reduced.
Owner:SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Compressed cache memory with decompress on fault

An embodiment of an integrated circuit may comprise, coupled to a core, a hardware decompression accelerator, a compressed cache, a processor and communicatively coupled to the hardware decompression accelerator and the compressed cache, and memory and communicatively coupled to the processor, wherein the memory stores microcode instructions which when executed by the processor causes the processor to store a first address to a decompression work descriptor, retrieve a second address where a compressed page is stored in the compressed cache from the decompression work descriptor at the first address in response to an indication of a page fault, and send instructions to the hardware decompression accelerator to decompress the compressed page at the second address. Other embodiments are disclosed and claimed.
Owner:INTEL CORP

Page missing exception processing method, device and equipment

The invention relates to a method for processing a missing page exception, which comprises the following steps of: creating a plurality of processing modules for processing the missing page exception, and enabling the plurality of processing modules to be in a dormant state; when at least one missing page exception occurs in the memory access operation of the computing device, awakening at least one processing module in the plurality of processing modules based on the number of the missing page exceptions in the at least one missing page exception; wherein the number of the missing page exceptions in the at least one missing page exception is greater than or equal to the number of the processing modules in the at least one processing module; the processing modules except at least one processing module in the multiple processing modules continue to be in the dormant state; the at least one processing module is used for processing at least one missing page exception. According to the method, the missing page exception processing efficiency can be improved.
Owner:HUAWEI TECH CO LTD

Adaptive unified memory management method and system for large-scale graphs

An adaptive, large graph-oriented unified memory management method is proposed; according to the order of priorities of different types of graph data structure in a graph computing application, whether the current GPU memory is full is sequentially determined by means of GPU memory checking; whether the size of current graph data exceeds the available memory capacity of the GPU is determined by means of data overflow checking; and then a unified memory management policy is configured; the method uses different graph algorithms based on the characteristics of graph data structure and the size of the available GPU memory; the method can significantly improve the performance of processing large graphs, which exceed the video memory capacity under a unified memory architecture, including improving GPU bandwidth utilization, reducing the number of page faults and the overhead of processing page faults, and speeding up the execution of graph computing programs.
Owner:SHANGHAI JIAOTONG UNIV

Memory Page Processing Method and Device, Apparatus, and Storage Medium

According to a memory page processing method, after a memory page is allocated to a virtual address that causes a page fault, the allocated memory page is pre-padded with first data, and then the memory page padded with the first data is accessed. Subsequently, if data in the memory page is migrated to a cache, the first data padded in the memory page is also migrated to the cache. If the data in the memory page is evicted from the cache to a memory, the evicted cache data may also include the first data.
Owner:HUAWEI TECH CO LTD

Method and Apparatus for Processing Page Fault in Memory Access

A method for processing a page fault in memory access includes: sending a first access request, where the first access request is used to access memory, and the first access request includes a first virtual address; receiving the first access request, and sending a first response, where the first response carries page fault information, and the page fault information indicates a fault type of a page fault corresponding to the first virtual address; and receiving the first response, to process a related access request based on the fault type indicated by the page fault information carried in the first response.
Owner:HUAWEI TECH CO LTD

Page table sharing method and page fault exception processing method

Embodiments of the present specification provide a page table sharing method and a page fault exception processing method, wherein the page table sharing method comprises: in response to an access request of a first process accessing memory, allocating a plurality of virtual memory areas for the first process; for a target virtual memory area in the plurality of virtual memory areas, allocating a shadow virtual memory area, wherein the shadow virtual memory area is used to share a virtual memory area of a second process having the same attribute as the target virtual memory area; and determining a target shared page table corresponding to the shadow virtual memory area. By introducing the design of page table sharing for common shared memory, the process can use the page table sharing function without reserving memory in advance, thereby improving the universality of page table sharing. By allocating a plurality of virtual memory areas for the first process, the coverage of page table sharing is improved, and the introduction of the shadow virtual memory area simplifies the positioning of the shared page table and reduces the page table overhead of the shared memory.
Owner:HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD

Memory migration and page fault avoidance

Accessing information associated with a virtual memory address by receiving a virtual memory address, translating the virtual memory address into a nominal physical memory address, receiving the nominal physical memory address at a memory migrator, and using the memory migrator to determine an old physical memory address corresponding to the nominal physical memory address and access the information at the old physical memory address or a new physical memory address. The accessing operation may be performed as part of migrating the information from an old physical memory location corresponding the old physical memory address to a new physical memory location corresponding to the new physical memory address.
Owner:GOOGLE LLC

Technologies for preventing fault exception probing

The present application relates to devices and components, including apparatus, systems, and methods for scheduling delivery and execution of page fault or permission fault exceptions. A memory management unit may receive a virtual address associated with an execution mode and initiate a virtual-to-physical translation operation. The MMU may detect a first condition associated with a search of the virtual address in a translation lookaside buffer (TLB). In response to the detection of the first condition, MMU may start a timer. MMU may detect a fault exception associated with the translation operation of the virtual address and determine that a second condition is satisfied. In response to detecting the second condition, the MMU or the reorder buffer exception monitor may deliver the fault exception based on the timer.
Owner:SIFIVE INC

Exception handling for debugging in a graphics environment

An apparatus to facilitate exception handling for debugging in a graphics environment is disclosed. The apparatus includes load store pipeline hardware circuitry to: in response to a page fault exception being enabled for a memory access request received from a thread of the plurality of threads, allocate a memory dependency token correlated to a scoreboard identifier (SBID) that is included with the memory access request; send, to memory fabric of the graphics processor, the memory access request comprising the memory dependency token; receive, from the memory fabric in response to the memory access request, a memory access response comprising the memory dependency token and indicating occurrence of a page fault error condition and fault details associated with the page fault error condition; and return the SBID associated with the memory access response and fault details of the page fault error condition to a debug register of the thread.
Owner:INTEL CORP

Fault resilient transactional processing device

Embodiments of the present disclosure are directed to apparatuses, systems, and techniques for a fault resilient transactional processing device for a virtualized system. A request is received at a device connected to a computing system hosting one or more clients to initiate a transaction involving a direct memory access (DMA) operation for accessing data associated with the one or more clients. A page fault associated with execution of a DMA operation of a transaction is detected. A transaction fault handling protocol is selected from a set of transaction fault handling protocols to initiate to address the detected page fault. The selected transactional fault handling protocol is caused to be executed to address the detected page fault.
Owner:MELLANOX TECHNOLOGIES LTD(IL)

Intelligent freezing method and device for memory repeated missing page

The invention provides an intelligent freezing method and device for memory repeated and missing pages. The device comprises three components, namely a daemon process, process freezing based on repeated and missing page driving and memory sensing dynamic unfreezing. And the daemon process is responsible for communicating with the system module. And freezing a process to which the background application program causing the repeated missing page belongs based on the process freezing of the repeated missing page drive. Memory aware dynamic thawing maintains a heartbeat in the system. Each heartbeat cycle is divided into two stages, namely a freezing stage and an unfreezing stage. When each period starts, the selected application program is frozen and then unfrozen. And monitoring a memory pressure state. And when the memory pressure is increased, the freezing period is prolonged. Otherwise, shortening. It does not require invasive modifications to mobile applications and hardware infrastructure. The result of experimental evaluation by using real equipment shows that the user experience can be remarkably improved. Specifically, compared with the prior art, the method has the advantage that the frame rate per second is averagely improved by 1.57 times.
Owner:江淮前沿技术协同创新中心 +1

Computing system, memory page fault processing method and storage medium

The embodiment of the present application provides a computing system, a memory page fault processing method and a storage medium. In the embodiment of the present application, a page fault request service component is added to the pass-through device side, and a page fault request driver is added to the virtual machine management node. The page fault request service component and the page fault request driver cooperate with each other to realize the asynchronous recovery of large-block IO memory page faults corresponding to large-block data, and the pass-through device can asynchronously access the recovered memory pages. Compared with the existing synchronous page fault request recovery method, there is no need to wait for all memory pages corresponding to large-block data to be recovered, which helps to reduce the IO memory page fault recovery time, thereby reducing the delay of the pass-through device accessing memory.
Owner:ALIBABA (CHINA) CO LTD

Front-end resource disaster recovery method, electronic equipment, storage medium and program product

The invention discloses a front-end resource disaster recovery method, electronic equipment, a storage medium and a program product, and relates to the technical field of Internet, comprising the steps of uniformly gathering disaster recovery decision logic from a client to a server, solving the inherent problems of'black box ', difficulty in operation and maintenance and poor consistency of a client scheme, and improving the disaster recovery efficiency. A foundation is laid for constructing an observable and manageable disaster recovery infrastructure; the'health state information 'is combined with the'network address scheduling strategy', so that the failover occurs before the user request is processed; the resource link in the hypertext markup language document is available, so that the performance loss and the experience lagging caused by waiting for overtime loading of the front-end script are eliminated; the uniform resource locators of all the static resources are uniformly replaced in one-time server rendering, so that all the static resources in the page are ensured to be from the same content distribution network address, and page errors caused by mismatching of resource versions are avoided.
Owner:BEIJING BAILONG MAYUN TECH CO LTD