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

15 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 exchange method and device, computer device and storage medium

ActiveCN116302550Breduce data volumeresume normal operationTerm memoryPage table
The disclosure provides a memory exchange method and device, computer equipment and a storage medium. The method comprises: in response to an out request of a memory block, splitting the memory block into a plurality of memory pages, establishing a page table entry corresponding to each memory page, performing a data out operation on the memory page, and recording a data out position in the page table entry corresponding to the memory page; in response to a page fault request initiated by a process, determining a target memory page corresponding to a virtual address carried in the page fault request, and exchanging data into a memory space of the process according to the data out position recorded in a target page table entry corresponding to the target memory page, so as to be accessed by the process.
Owner:ALIBABA CLOUD COMPUTING CO LTD

Active page replacement method and system based on regional reuse pattern recognition

ActiveCN121233498BTerm memoryWorking set
The application belongs to the technical field of computer memory management, and discloses an active page replacement method and system based on regional reuse mode identification, which comprises the following steps: working set identification based on memory access sample clustering, obtaining memory access samples by sampling the memory access instructions of a process, and clustering the samples to obtain the working set in the current monitoring window in real time; adaptive memory region division based on working set integration, dividing the address space into regions according to virtual address continuity and adaptively splitting / merging; reuse mode identification based on state transition, determining the reuse mode of each region according to the switching between hot and cold states of each region and the state duration; active page replacement and prefetching method based on the reuse mode, prefeteching the regions that will reach the reuse time, and triggering the replacement of the regions that are in the cooling state for a long time. Compared with the existing passive page fault triggering method, the application can reduce the page fault and jitter, reduce the replacement traffic, and improve the application execution efficiency and system throughput.
Owner:HUAZHONG UNIV OF SCI & TECH

Numa system page cache copy management method and system

ActiveCN122132334BRemote memory accessTerm memory
The application provides a NUMA system page cache copy management method and system. The application first generates a read-only copy page in the local memory of an access node through the linkage of target file page cache identification, access subject NUMA node information acquisition and policy copy judgment, thereby avoiding cross-node remote memory access. Then, in combination with local copy priority mapping and page fault triggered by unmapping when process node scheduling is changed, the dynamic adaptation of process scheduling behavior and page mapping relationship is realized. Finally, in the read page fault interrupt process, the page mapping update is completed based on the copy strategy, and the association relationship between the node and the access task is recorded. Without damaging the file page cache semantics, the remote access overhead of the multi-NUMA node system file page cache can be greatly reduced, the problem of continuous remote access caused by process node drift can be solved, and the overall file access performance and running stability in the concurrent scenario can be significantly improved.
Owner:CHINA UNICOM DIGITAL TECNOLOGY CO LTD

Server-free remote memory access performance optimization method based on cross-process memory tracking

PendingCN122086606Aeliminate overheadAchieve shared awarenessResource allocationMemory systemsPathPingRemote memory access
The invention discloses a server-free remote memory access performance optimization method based on cross-process memory tracking, and belongs to the technical field of computer memory management. The method comprises the following steps: designing a memory state table as a unified perception layer for remote memory access of homologous server-free containers, and realizing cross-process tracking of memory page states among different containers; a memory state table query process is embedded into hardware page table traversal, page state query is completed by hardware acceleration, and extra overhead on a memory access key path is eliminated; the remote memory access is merged and optimized based on the memory state table, cached local memory pages are reused in the container creation stage, the same remote memory access requests are merged in the operation stage, and the page missing exception frequency and the network bandwidth contention are reduced. According to the method, extra overhead caused by remote memory access in a server-free environment is effectively reduced, page missing abnormity and network bandwidth contention in a concurrent scene are greatly reduced, and the running performance and the system expandability of memory-intensive server-free applications are remarkably improved.
Owner:HUAZHONG UNIV OF SCI & TECH

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

Electronic device and method for controlling memory swap

Disclosed is an electronic device comprising: a memory including a volatile memory and a non-volatile memory, and for storing instructions; and at least one processor. The instructions may cause the electronic device to: detect a page fault indicating that data corresponding to a page requested to be read does not exist in the volatile memory; identify, on the basis of detecting the page fault, that the data corresponding to the page is stored in a first storage block in the non-volatile memory through a memory swap; determine whether a read operation for the first storage block is possible, on the basis of identifying that the data corresponding to the page is stored in the first storage block; obtain the data corresponding to the page from the non-volatile memory through the read operation for the first storage block on the basis of identifying that the read operation for the first storage block is possible; store the data corresponding to the page in the volatile memory; and put the read operation for the first storage block on standby until a previous read operation for the first storage block is completed, on the basis of identifying that the read operation for the first storage block is not possible.
Owner:SAMSUNG ELECTRONICS CO LTD

A memory management method and apparatus based on a cloud management platform

A memory management method and apparatus based on a cloud management platform are disclosed, relating to the field of cloud computing technology. The cloud management platform acquires and responds to a first request, determining a first virtualization instance from among the virtualization instances deployed in a first computing node. The cloud management platform acquires storage information of a first free storage unit of the first virtualization instance, and then reclaims the first free storage unit from the first virtualization instance based on this information. The first request instructs the reclamation of free storage units occupied by virtualization instances in the first computing node, and the first virtualization instance is determined based on the number of page faults of virtualization instances deployed in the first computing node. By proactively determining the first virtualization instance from among the virtualization instances deployed in the first computing node, the cloud management platform reduces the time spent reclaiming free storage units in the first computing node, thereby improving the efficiency of free storage unit reclamation.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

A code segment huge page allocation processing method and system

The application provides a code segment large page allocation processing method and system, the method comprises the following steps: in response to a page directory level page fault exception of a code segment, obtaining a virtual address interval corresponding to the page fault exception, pre-allocating a continuous physical memory block according to the virtual address interval, and establishing a corresponding page table item mapping to generate a preliminary large page; adding a mark to a virtual memory area corresponding to the preliminary large page and adding the virtual memory area to a preset check queue, tracking a free memory interval in the preliminary large page, and adding the preliminary large page with a free memory interval size exceeding a preset threshold to a reuse waiting queue; when a subsequent code segment triggers a page fault exception, matching a preliminary large page meeting a condition from the reuse waiting queue, and establishing a mapping between a free memory interval of the matched preliminary large page and a virtual address interval of the subsequent code segment. The application reduces memory fragmentation through large page allocation and reuse, thereby realizing copy-free large page conversion through a preliminary code segment large page to reduce memory access delay.
Owner:联通云数据有限公司 +1

A method and apparatus for obtaining page fault information

The application relates to a page error information acquisition method and device. In the case of an event that may cause the page error information to be lost, the page error information can be stored in the local of a page display end at least, so that the possibility of the page error information being lost is reduced. In addition, since the reading and writing speed of the page display end for the locally stored data is high, the time consumed for storing the page error information in the local of the page display end can obviously affect the experience of a user. Further, the specified file in the specification is stored in a page server in advance. When the page server sends a page information file to the page display end, the specified file is sent to the page display end, so that the page display end can effectively process the monitored page error information in the whole page display process, and the comprehensiveness of the page error information acquisition is improved.
Owner:BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD

Page fault exception problem processing method and device, computer device, readable storage medium and program product

The application relates to a page fault exception problem processing method and device, computer equipment, a computer readable storage medium and a computer program product. The method is applied to a user state driving module of a graphics processing system, the graphics processing system comprises a kernel state driving module and the user state driving module; the method comprises the following steps: in response to a page fault exception event trigger instruction, obtaining a processor virtual address of a page fault exception from a shared memory area; wherein the shared memory area refers to a shared storage area of the kernel state driving module and the user state driving module; according to the processor virtual address, performing a query in an interval tree structure to obtain a resource interval node corresponding to the processor virtual address; wherein the interval tree structure is used for storing allocation information of the resource interval node by taking a start address of a processor virtual address interval as a key value; and performing page fault exception processing according to the resource interval node. The method can accurately locate and process the page fault exception problem.
Owner:GLENFLY TECH CO LTD

Mechanical and electrical equipment fault diagnosis system and method based on knowledge graph

PendingCN122432070ACache invalidationPhysical layer
The application is mechanical and electrical equipment fault diagnosis system and method based on knowledge graph, relates to mechanical and electrical equipment fault diagnosis technical field, and includes: atlas certainty partition module; memory continuity allocation module; boundary edge pruning index module; certainty multi-hop query execution module.In the application, the certainty coding mechanism based on the equipment physical bill of materials tree maps the physical hierarchical assembly relationship of the mechanical and electrical equipment into the binary semantic identification of nodes, and the continuous memory partition and linear storage layout are realized on the basis, the random memory access of the fault diagnosis is completely converted into sequential memory access, the processor hardware prefetch characteristics are fully adapted, and the occurrence probability of cache miss, page table cache invalidation and page fault interruption is reduced.
Owner:YUNNAN OPEN UNIV +1

Multi-backend disaggregated memory system and its optimized control method

A multi-backend disaggregated memory system and its optimized control method, comprising: an intelligent multi-backend disaggregated memory management and control module and a data swapper of multi-backend disaggregated memory, and wherein: the intelligent multi-backend disaggregated memory management and control module analyzes and processes calls that cause page faults and trigger page swapping, to obtain switch instruction information and parameter regulation instruction information; the data swapper of multi-backend disaggregated memory receives the switch instruction information and parameter adjustment instruction information, adjust system parameters configuration, runs applications on the multi-backend disaggregated memory software system, and releases resources after the execution ends. By supporting the memory swap strategy and system architecture of multiple heterogeneous disaggregated memory backends, the present invention realizes parallel access of multiple far memory paths to improve data throughput, and at the same time analyzes application characteristics to implement intelligent backend switching and data swap parameter adjustment.
Owner:SHANGHAI JIAOTONG UNIV

Numa system page cache copy management method and system

PendingCN122132334AMemory adressing/allocation/relocationRemote memory accessTerm memory
This application provides a method and system for managing page cache replicas in a NUMA system. First, by linking target file page cache identification, NUMA node information acquisition of the accessing entity, and policy-based replica judgment, a read-only replica page is generated in the local memory of the accessing node, avoiding cross-node remote memory access. Then, by combining local replica priority mapping and page fault triggering during process node scheduling changes, dynamic adaptation between process scheduling behavior and page mapping relationships is achieved. Finally, during the read page fault interruption process, page mapping is updated based on the replica strategy, and the association between nodes and access tasks is recorded. This significantly reduces the overhead of remote access to file page caches in multi-NUMA node systems without disrupting the semantics of file page caches, while simultaneously solving the problem of continuous remote access caused by process node drift, significantly improving the overall file access performance and operational stability in concurrent scenarios.
Owner:CHINA UNICOM DIGITAL TECNOLOGY CO LTD

Method for implementing sub-page function of virtual machine monitor

The method for realizing the sub-page function of a virtual machine monitor comprises the following steps: registering each sub-page space as an analog MMIO device, and applying a virtual address space for each MMIO device; establishing a permanent page table under the virtual address space EL2 for each sub-page space; when the virtual machine monitor establishes IPAs for each guest machine, removing the address range of the sub-page space, so that the guest machine generates a page fault when accessing the sub-page device, thereby entering the virtual machine monitor; intercepting the IO of the guest machine and extracting and calculating the corresponding MMIO device number of the accessed physical address, and directly performing sub-page access by using the virtual address space EL2 corresponding to the MMIO device. The present application guarantees the safe isolation and sandbox function of the guest machine through permission checking. The high-efficiency access of the sub-page is realized by the method of establishing a permanent page table. The safety of the sub-page function is guaranteed, and the virtualization loss rate is greatly reduced.
Owner:KYLIN CORP

Systems and methods for on-demand loading of metadata

Systems and methods for on-demand loading of metadata. In some embodiments, in response to receiving a page fault service request from an operating system kernel, at least one first physical page may be allocated in an application memory for a virtual address indicated in the page fault service request. Metadata may be loaded into at least one second physical page in a metadata memory, wherein: the at least one second physical page in the metadata memory corresponds to the at least one first physical page in the application memory; and the metadata loaded into the at least one second physical page corresponds to application data loaded into the at least one first physical page.
Owner:DOVER MICROSYSTEMS INC