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

669 results about "Page table" patented technology

A page table is the data structure used by a virtual memory system in a computer operating system to store the mapping between virtual addresses and physical addresses. Virtual addresses are used by the program executed by the accessing process, while physical addresses are used by the hardware, or more specifically, by the RAM subsystem. The page table is a key component of virtual address translation which is necessary to access data in memory.

Memory access method, program product, equipment and medium

The invention discloses a memory access method, a program product, equipment and a medium, and relates to the technical field of computers, firmware is utilized to determine to-be-reserved physical memory information, the to-be-reserved physical memory information is analyzed and continuously split to obtain physical memory segments, and the physical memory segments are divided and aligned; dividing the virtual address space, and performing alignment processing on the divided virtual address space; performing memory mapping on the processed physical memory segment and a physical address space corresponding to the processed virtual address space; generating a page table by utilizing a physical address space corresponding to the mapped and processed virtual address space; when an access instruction of a user is obtained, the corresponding target physical address space is screened from the page table to determine the mapped target physical memory segment, so that the user accesses the target physical memory segment based on the user mode process, the range and capacity of the memory segment are dynamically configured, the stability of the memory during key load operation is guaranteed, and the memory access performance is improved.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Address mapping method in DPU local storage virtualization

The invention discloses an address mapping method in DPU local storage virtualization, which comprises the following steps: a virtual machine calls a system call interface provided by an address mapping configuration management module on a host side to perform mapping configuration of a virtual machine physical address and a host physical address, and issues the virtual machine physical address and length to a virtual address mapping module of a DPU; the virtual address mapping module manages global direct memory access address resources, firstly allocates a global direct memory access address on a host side, then maps a virtual machine physical address to the allocated global direct memory access address in a mapping page table of the DPU, and returns the virtual machine physical address to the address mapping configuration management module; and the address mapping configuration management module obtains the distributed global direct memory access address, and maps the distributed global direct memory access address to a host physical address in the IOMMU. According to the method, by optimizing address mapping, the efficient and flexible local storage virtualization service can be realized while the data reliability is ensured.
Owner:ZHEJIANG UNIV

Table identification reconstruction method and system, terminal and medium

The invention relates to the field of computer vision, and particularly provides a table recognition reconstruction method and system, a terminal and a medium, and the method comprises the steps: firstly decomposing a large-size table image into a plurality of overlapped sub-images, and carrying out the table structure detection and OCR character recognition of each sub-image through parallel recognition; then, sub-graph recognition results are integrated through a coordinate mapping and confidence coefficient weighted fusion algorithm, and boundary errors are eliminated; then, automatically distinguishing common cells based on an area clustering algorithm, merging the cells and a header region, and reconstructing a complete table logic structure; further understanding header semantics through a natural language model and repairing identification errors; and finally, realizing intelligent splicing and standardized output of the cross-page table. According to the method, the memory limitation of the traditional OCR technology is broken through, an oversized table can be processed, the recognition accuracy of a complex structure is improved, and the digitization efficiency of professional documents such as financial statements and engineering drawings is improved.
Owner:INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD

Large language model low-delay reasoning method based on dynamic reasoning graph optimization

The invention discloses a large language model low-delay reasoning method based on dynamic reasoning graph optimization, and provides a low-delay reasoning method based on dynamic reasoning graph optimization. Constructing a template inference graph which can be rewritten and replayed, and establishing a template library according to input shape vectors; during reasoning, a template is matched with a distance threshold value, and only the attention / feedforward sub-graph is locally recaptured when the distance threshold value exceeds the threshold value; executing a forward execution graph, injecting a key value cache page pointer, numerical value precision and an adapter identifier, and performing playback; dividing the pre-filling and decoding sub-graphs to implement graph-level scheduling; switching the key operator when the key operator operates between a standard / fast kernel and different precisions; page-level backspacing of speculative branches is achieved through a shadow page table and reference counting, and batch and template selection is adjusted in a self-adaptive mode based on online indexes; compared with the prior art, the method has the advantages that the recapture and start overhead is reduced, tail delay and jitter are inhibited, and the hardware utilization rate and the service stability are improved.
Owner:FUJIAN SUDIAN INFORMATION TECH CO LTD

System memory management method and system, electronic equipment and storage medium

According to the system memory management method and system, the electronic equipment and the storage medium provided by the invention, the virtual address information in the access information is extracted, and the virtual address information comprises the target virtual address; under the condition that the target virtual address is determined to be in a first preset virtual address range according to the virtual address information, determining an initial physical address corresponding to an initial virtual address in the first preset virtual address range according to a preset address mapping table; performing physical address calculation processing according to the target virtual address, the initial virtual address and the initial physical address to obtain a target physical address corresponding to the target virtual address; and accessing a system memory based on the target physical address and performing memory management on the system memory. By quickly returning the conversion relation from the virtual address to the physical address in the specified range, the conversion efficiency from the virtual address to the physical address can be improved, a conversion page table does not need to be configured according to MMU granularity, waste of storage space can be reduced, and the address conversion efficiency can be improved.
Owner:BEIJING TSINGMICRO INTELLIGENT TECH CO LTD

Page table prefetching method and device, equipment and storage medium

The invention provides a page table prefetching method and device, equipment and a storage medium, and the method comprises the steps: determining a plurality of historical request interval step lengths and a plurality of historical request directions according to a plurality of continuous historical page table requests of a target process, and determining whether to execute page table prefetching according to each historical request interval step length, each historical request direction and the prefetching configuration information of the target process, and if so, executing page table prefetching on the page table of the target process according to the request address of each historical page table request, the historical request interval step length and the prefetching configuration information. By analyzing the received historical page table request, the page table is prefetched based on the interval step length of the historical request, the direction of the historical request and the prefetching configuration information of the target process, and the page table required to be used subsequently can be cached in the TLB in advance in an idle period, so that the number of translation requests hitting the TLB is increased, and the translation efficiency of the TLB is improved. And the working efficiency of the SMMU is improved.
Owner:PHYTIUM TECH CO LTD

Multi-level page table traversal acceleration method, system, equipment and medium

The invention provides a multi-level page table traversal acceleration method, system and device and a medium, and belongs to the technical field of computers. The method comprises the following steps: inputting a virtual address into a path predictor and a dynamic weight hierarchical cache, and collecting an instruction access proportion, a TLB hit rate and a pre-fetching success rate in real time; performing hash calculation according to a preset bit of the virtual address through a path predictor, and querying a historical record table to obtain a prediction path and a confidence level so as to determine a query range; when the cache is hit, scores of hit entries are calculated, priority ranking and elimination decision making of the cache entries are carried out, and meanwhile, the cache entries are managed by adopting a hybrid replacement algorithm; under a preset condition, starting a prefetch operation through an adaptive prefetch engine, calculating and dynamically expanding a prefetch step length, and preventing memory bandwidth contention through two-stage monitoring; when the instruction access proportion, the TLB hit rate and the prefetching success rate meet conditions, an instruction priority mode is activated, and scores of hit entries are updated by adjusting related calculation parameters.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Non-volatile memory rapid recovery method based on metadata priority and on-demand loading

The invention relates to the technical field of computer system structures and storage, in particular to a non-volatile memory quick recovery method based on metadata priority and on-demand loading. The method comprises the following steps: in response to a system fault signal detected by a voltage monitoring unit, freezing a processor context and traversing a page table structure to extract system configuration information; writing the system configuration information and business data codes in the volatile memory into a nonvolatile medium to generate a persistent state mirror image; analyzing the persistent state mirror image, extracting address conversion metadata, and reconstructing a mapping relation from a virtual address to a physical page frame in a volatile memory; and generating an address mapping table, wherein the physical page frame pointed by the address mapping table is set to be in an existing state but is not associated with the effective service data. According to the method, decoupling of the control flow and the data flow is realized by constructing a virtual ready state, and quick starting of the system and immediate response of key services are realized on the premise of not depending on the total capacity of a memory.
Owner:CHENGDU FUYUNXUN TECHNOLOGY CO LTD +1

GPU (Graphics Processing Unit) virtualized video memory management method and device, storage medium and program product

The invention relates to the technical field of GPUs, in particular to a GPU virtualization video memory management method and device, a storage medium and a program product. The method comprises the steps that a virtual machine transmits a page table root address corresponding to a target application program running in the virtual machine to a host machine; the virtual machine calls the non-memory operation type API in response to the target application program, intercepts calling of the non-memory operation type API and forwards the calling to the host machine; and in the host machine, accessing a video memory area corresponding to a target application program based on the page table root address through the drive of the non-memory operation type API, executing an instruction of the non-memory operation type API, and returning a processing result of the instruction of the non-memory operation type API to the virtual machine. According to the method and the device, the rear-end driver in the host machine can directly access the video memory resources allocated by the virtual machine, so that the resource utilization rate and the task execution efficiency are improved.
Owner:MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD

Systems, methods, and apparatus for caching on a storage device

A method may include determining that data is related to an operation of an operating system; determining a score for the data; and writing the data to memory media based on the score. The data may include at least one page table. The at least one page table may include one or more entries; the one or more entries corresponds to data accessed above a threshold; and the method may further include writing data corresponding to the data accessed above a threshold from storage media to the memory media and / or storing data corresponding to the data accessed above a threshold in the memory media. The one or more entries may correspond to data accessed below a threshold; and the method may further include modifying data corresponding to the data accessed below a threshold from the memory media to storage media.
Owner:SAMSUNG ELECTRONICS CO LTD

Memory management method, device and equipment applied to server-free data center

The invention relates to a memory management method and device applied to a server-free data center, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: in response to a virtual memory application instruction, performing virtual memory allocation in a local computing resource pool to obtain a virtual address space; in response to the virtual address access instruction, acquiring cache information of the computing resource pool, and triggering missing page interruption under the condition that data corresponding to the virtual address is not hit in the cache information; the cache information comprises locally cached cache data and page table information; acquiring physical memory resources in a memory resource pool according to the virtual address and the page table information under the condition of triggering missing page interruption of the anonymous page; and updating the page table information and the cache information according to the physical memory resources. By adopting the method, the processing delay of the data center can be reduced while the decoupled memory management logic is used for improving the resource utilization rate.
Owner:PURPLE MOUNTAIN LAB

Excitation generation method and device and medium

The invention relates to the technical field of computers, in particular to an incentive generation method and device and a medium, and the incentive generation method comprises the following steps: distributing a first number of multiple physical addresses, and distributing a second number of multiple page table entry addresses; for each virtual address in a third number of virtual addresses needing to be generated, selecting a corresponding target physical address from the plurality of physical addresses and selecting at least one target page table entry address for the target physical address from the plurality of page table entry addresses, determining page table item data and storing the page table item data in a target page table item to generate a corresponding virtual address; and generating excitation for verifying the memory management unit. According to the excitation generation method and device disclosed by the embodiment of the invention, the medium can realize dynamic simulation of flexible allocation of the memory address, strengthen randomized verification of the address and improve the verification coverage rate of the mapping relationship between the page table entries at all levels.
Owner:SHANGHAI BIREN TECH CO LTD

Hot upgrade method of virtual machine monitor (VMM), computer equipment, computer readable medium and program product

The invention provides a hot upgrade method for a virtual machine monitor (VMM), which comprises the following steps of: pausing the operation of a virtual machine, storing state information of an original VMM, and reserving a kernel-based virtual machine KVM extension page table and a memory management structure of the original VMM; reserving a page global directory and a virtual memory area VMA corresponding to a virtual machine RAM area according to the memory management structure, and refreshing a process address space described by the memory management structure into a new VMM execution program so as to complete switching of the original VMM into the new VMM; and executing the new VMM, recovering the state information to the new VMM, and inheriting the KVM extension page table by the new VMM to recover the operation of the virtual machine. The invention further provides computer equipment, a computer readable medium and a computer program product.
Owner:ZTE CORP

Memory access method and device, storage medium and program product

The invention discloses a memory access method and device, a storage medium and a program product, and relates to the technical field of memory access, comprising: monitoring memory access information of a target memory; the memory access information comprises a missing page address sequence during memory access, an address distribution characteristic when an address conversion failure event occurs in an address conversion lookaside buffer, a cross-node access event and a virtual memory access frequency; determining corresponding target feature information; the target feature information comprises spatial locality, thermal density, access dispersion and unbalance degree data; and determining a current memory access mode based on the target feature information, and determining a target access strategy from preset memory access strategies configured with different memory page table prefetching rules to access the memory. The memory access feature information is quantified through the memory access information, the corresponding memory access mode is determined, and the corresponding memory page table prefetching rule is executed, so that the traversal delay of the multi-level page table can be reduced, and the memory access performance is improved by fully utilizing the memory bandwidth.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Video memory management method and device, electronic equipment and storage medium

The invention relates to a video memory management method and device, electronic equipment and a storage medium, the method is applied to a GPU drive in a virtual machine, and the method comprises the steps that when it is detected that the remaining amount of a GPU video memory is lower than a set remaining amount threshold value, cold pages in a GPU page table are recognized; wherein the cold page is a page table item which is not accessed in a recent preset time interval; and under the condition that the cold page is a video memory, replacing a physical address corresponding to the virtual address in the cold page to a physical address in a system memory so as to replace video memory data corresponding to the cold page to the system memory. The embodiment of the invention can improve the overall utilization rate of the video memory.
Owner:MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD

Memory management method and device, electronic equipment and readable storage medium

The embodiment of the invention provides a memory management method and device, electronic equipment and a readable storage medium. The method comprises the following steps: based on a client virtual address to be accessed, accessing a page table corresponding to the client virtual address; under the condition that the currently accessed current page table item belongs to the large page table item, determining a client physical memory large page corresponding to the client virtual address as a target physical memory page based on the current page table item; under the condition that the current page table item does not belong to the large page table item, determining a next-level page table item pointed by the current page table item as a new current page table item, and executing the operation of determining the client physical memory large page corresponding to the client virtual address as a target physical memory page based on the current page table item again; obtaining a memory access state of the target physical memory page; if the memory access state represents that the target physical memory page meets the preset memory access requirement, the memory access attribute of the target physical memory page is written into a preset cache table. And the address conversion efficiency of the translator is improved.
Owner:LOONGSON TECH CORP

Equipment access method, device and equipment based on address space identifier

The invention discloses an equipment access method, device and equipment based on address space identification. The method is applied to simplifying an equipment memory management unit and comprises the steps of establishing each single-level range table; acquiring an equipment access request, reading an address space identifier and a virtual address from the equipment access request, and matching a corresponding target range table from each single-level range table based on the address space identifier; and calculating a target physical address according to the target range table and the virtual address, and establishing equipment access based on the target physical address. By replacing a traditional multi-level page table with a single-level structure, the data structure design of address mapping is simplified, the dynamic configuration complexity is reduced, and hardware formal verification is facilitated. Through direct matching of the address space identifier, the traditional steps of analyzing the equipment identity identifier and querying the external table item are omitted, and the external memory access frequency is reduced. By calculating the target physical address and establishing access, the hardware address conversion logic is simplified, the hardware implementation cost and power consumption are reduced, and the data transmission efficiency is improved.
Owner:SHANGHAI SMARTLOGIC TECHNOLOGY LTD

Configuration method and device of system memory management unit, equipment and storage medium

The invention provides a system memory management unit configuration method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: distributing corresponding external equipment for each virtual machine according to a preset configuration file, and storing the external equipment in a preset table recording the information of the external equipment; acquiring a numerical value of a first specified data bit of a table item corresponding to the distributed external equipment, before the virtual machine is started, setting the numerical value of the first specified data bit as a preset value, and after the virtual machine is started, adjusting the numerical value of the first specified data bit as a first numerical value, the method comprises the following steps: when a virtual machine accesses a memory through an input operation of an external device, obtaining a physical address of the input operation, obtaining a target memory address matched with the physical address of the input operation from a corresponding relationship between the physical address recorded in a page table corresponding to the virtual machine to which the external device belongs and the memory address, and according to the target memory address, storing the target memory address in the external device; and the memory is accessed by the input operation, so that the probability of unsafe memory access is reduced.
Owner:BEIJING INSTITUTE OF OPEN SOURCE CHIP

Read-as-x property for page of memory address space

Processing circuitry (4) performs data processing in response to instructions. Memory management circuitry (28) controls access to memory based on page table information capable of associating a given page of memory address space with a read-as-X property indicative that reads to an address in the given page of memory address space should be treated as returning a specified value X. In response to determining, for a read request issued to read a read target value for a read target block of memory address space, that at least part of the read target block corresponds to a page associated with the read-as-X property, the memory management circuitry (28) controls the specified value X to be returned to the processing circuitry (4) as at least part of the read target value. This enables large regions of memory address space to be treated as storing a specified value without needing to commit physical memory for those regions.
Owner:ARM LTD

ARMv8-based virtual machine interrupt straight-through routing method

The invention discloses an ARMv8-based virtual machine interrupt through routing method, which comprises the following steps that: a Hypervisor directly routes a physical interrupt to an EL1 through configuration, sets a top page table address of a vCPU (Virtual Central Processing Unit) and a Hypervisor control register at the same time, and sets a vcpudid flag bit for indicating whether the vCPU adopts a virtual interrupt injection mechanism or a physical interrupt through routing mechanism; and judging whether an interrupt through routing condition is met or not so as to determine whether an interrupt through routing mechanism or a virtual interrupt injection mechanism is adopted, periodically judging whether a switching condition is met or not when the interrupt through routing mechanism is adopted, and switching from the interrupt through routing mechanism to the virtual interrupt injection mechanism if the switching condition is met. The method is compatible with two interrupt controller specifications of GICv2 and GICv3, supports the virtual machine and the hypervisor to respectively and independently respond to respective corresponding interrupt requests, and meanwhile, the method has the capability of dynamically switching an interrupt routing mechanism during the system operation period, so that the flexibility of interrupt processing and the expandability of the system are improved.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA

Memory allocation method and device

The embodiment of the invention provides a memory allocation method and device.The method comprises the steps that under the condition that page table page allocation is determined to be conducted on a target page table of a target process, a resource binding mechanism corresponding to the target process is obtained; according to a memory node binding constraint in the resource binding mechanism, determining a target memory node corresponding to the target process, and allocating a page table page for the target page table at the target memory node; when it is determined that the local memory of the target memory node is insufficient, so that the page table page allocation fails, a target physical page in the local memory is migrated to a first remote memory node, and the step of allocating the page table page to the target page table at the target memory node continues to be executed until the page table page allocation succeeds. By forcibly distributing the pages of the page table at the target memory node and combining with an intelligent memory migration mechanism, the performance loss caused by remote access of the page table is fundamentally eliminated.
Owner:ALIBABA CLOUD COMPUTING CO LTD

PCIe ECAM address mapping optimization method and system

The invention discloses a PCIe ECAM address mapping optimization method and system, and belongs to the technical field of operating system optimization, and the method comprises the steps: formulating a PCIe device region division rule, and dividing a PCIe device into a high-frequency access region device and a low-frequency access region device according to the device distribution condition in a PCIe bus topology based on the rule; the page table allocation comprises static page table pre-allocation and dynamic page table allocation adjustment, based on PCIe device area division, devices in a high-frequency access area are subjected to centralized memory mapping with a large page as the granularity, and devices in a low-frequency access area are subjected to independent memory mapping with a small page as the granularity; and setting an access frequency threshold, monitoring the access frequency of the PCIe equipment configuration space when the system runs, and merging or splitting the page table through the memory management unit. The number of page table items can be remarkably reduced, the hit rate of the TLB is increased, and the overall memory access efficiency of a system is improved.
Owner:SHANDONG INSPUR SCI RES INST 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

System startup memory detection method and device, equipment and storage medium

The embodiment of the invention discloses a system startup memory detection method and device, equipment and a storage medium, and the method comprises the steps: calculating the maximum value of a Hypervisor early virtual address mapping range according to the initial address of Hypervisor operation before a final page table takes effect; when the dynamic allocation pool is utilized to allocate the memory page, determining a virtual address range of the allocated memory page by utilizing a base address of the allocated memory page, and detecting whether the virtual address range of the allocated memory page exceeds a maximum value of a Hypervisor early virtual address mapping range or not; and when the maximum value of the Hypervisor early virtual address mapping range is exceeded, outputting an error prompt, and returning a memory error. Compared with a traditional estimation mode, the probability that estimation is inaccurate due to the fact that dynamic allocation changes is reduced, the memory errors can be accurately detected in advance before the system crashes, and a developer can conveniently locate the reason of crashes.
Owner:KYLIN CORP

Hardware-assisted page table management system and method, medium, program product and terminal

ActiveCN119621608ARealize transparent conversionReduce conversion overheadMemory architecture accessing/allocationMemory systemsMemory cellEngineering
The invention provides a hardware auxiliary page table management system and method, a medium, a program product and a terminal. Efficient address translation is achieved through cooperative work of a memory management unit and a memory unit. Comprising the key steps of conversion backup buffer hit detection, guest page table lookup, page traversal cache lookup and the like. After receiving the access instruction, the memory management unit executes detection through a conversion backup buffer hit detection module; and if not, a guest page table search module obtains a corresponding host physical address. And the system executes search in the page traversal cache module, accesses a second-level cache of the memory unit when necessary, and stores a search result into a cache line in a preset format. Transparent conversion of the client page table address in the cache is achieved in a hardware assisting mode, and a complete shadow page table item life cycle management scheme is provided.
Owner:SHANGHAI JIAOTONG UNIV

Video memory management method and device, electronic equipment, storage medium and program product

The invention relates to a video memory management method and device, electronic equipment, a storage medium and a program product. The method comprises the steps that a target user memory context corresponding to a target user process is created, and the target user memory context is used for managing a target virtual address space corresponding to the target user process and a target video memory space corresponding to the target user process; for at least two pieces of GPU firmware used for executing a task of the target user process, virtual address subspaces in the target virtual address space are distributed to the at least two pieces of GPU firmware; and for any one of the at least two pieces of GPU firmware, the GPU firmware updates the page table information of the firmware memory context corresponding to the GPU firmware according to the page table information of the target user memory context and the virtual address subspace corresponding to the GPU firmware.
Owner:MOORE THREADS TECH CO LTD

Unified memory and data transmission system and management method of FPGA heterogeneous platform

The invention relates to the technical field of computer system structures, in particular to a unified memory and data transmission system and management method for an FPGA heterogeneous platform, and the system comprises a CPU component which is used for detecting and initializing an FPGA component, constructing a globally unified virtual address space view, managing a global page table, maintaining a mapping table, managing PCIe communication and processing exceptions; the FPGA component is used for PCIe DMA data transmission, conversion from a virtual address to a physical address, striped on-chip storage and storage of user acceleration function logic implementation; and the PCIe bus is used for data transmission of the CPU component and the FPGA component. Physical memory resources of the CPU component and the FPGA component are integrated and dynamically mapped to a unified virtual address space in a software and hardware cooperation mode, a simple, safe and flexible unified memory system and management method are provided, and efficient memory management and data transmission between the CPU and the FPGA are achieved.
Owner:YANGZHOU WANFANG ELECTRONICS TECH

Substitute address verification method and system based on dynamic page table

The invention discloses a substitute address verification method and system based on a dynamic page table. The method comprises the steps of determining a target constraint condition of a basic variable in a current instance based on a preset configuration specification through a page table generation component, and randomizing the basic variable based on the target constraint condition to generate a target page table and a target storage address corresponding to a target virtual address; storing the target page table to a target storage address of an internal memory based on a preset storage rule, and determining an expected physical address corresponding to the target virtual address based on the target page table; determining a target page table in an internal memory based on the target virtual address through an address management module, and determining a basic physical address corresponding to the target virtual address based on a preset reduced instruction set substitution rule and the target page table; and comparing and processing the expected physical address and the basic physical address through a verification module to generate a verification result. Through the technical scheme of the invention, the substitution address can be verified, and the verification efficiency and accuracy of the substitution address are improved.
Owner:TAICHU (HANGZHOU) INTEGRATED CIRCUIT CO LTD

Memory allocation method and device for directly accessing memory device

The invention discloses a memory allocation method and device for a direct access memory device, and relates to the technical field of servers. The method comprises the following steps: in response to a memory access request of a user process, allocating virtual address information to the user process; obtaining a physical address range of the direct access memory device, wherein the physical address range comprises physical address sub-regions corresponding to a plurality of memory channels respectively; establishing an interleaving mapping relationship between the virtual address information and physical address sub-regions corresponding to the memory channels respectively; and writing an interleaving mapping relationship between the virtual address information and the plurality of physical address sub-regions into a page table, and processing a memory access request of the user process according to the interleaving mapping relationship in the page table. The method can improve the memory access speed of the server.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Method for accelerating secure metadata access in secure memory system, memory controller and system

The invention discloses a method for accelerating secure metadata access in a secure memory system, a memory controller and a system, and belongs to the field of secure memory systems, and the method comprises the following steps: when a page table item corresponding to a logic page where data accessed by a processor is located does not hit a TLB, obtaining the page table item from a memory page table, extracting a physical page address from the page table item, and storing the physical page address in a memory; a counter corresponding to a physical page where the data to be accessed is located and a father node of the counter in the integrity tree are prefetched through the physical page address; adding a replacement dirty block address in a miss request sent by the last level of cache, after receiving the miss request containing a field of the replacement dirty block address, executing conventional memory reading and decryption, positioning a counter corresponding to the replacement dirty block address, and performing prefetching by using an idle memory bandwidth; in addition to the secure metadata cache, the prefetching queue is maintained to temporarily store the prefetched metadata. The cache hit rate of the security metadata in the security memory system can be improved, and the performance overhead caused by the cache miss can be reduced.
Owner:HUAZHONG UNIV OF SCI & TECH