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

71 results about "Memory access pattern" patented technology

In computing, a memory access pattern or IO access pattern is the pattern with which a system or program reads and writes memory on secondary storage. These patterns differ in the level of locality of reference and drastically affect cache performance, and also have implications for the approach to parallelism and distribution of workload in shared memory systems. Further, cache coherency issues can affect multiprocessor performance, which means that certain memory access patterns place a ceiling on parallelism (which manycore approaches seek to break).

Matrix calculation adaptive optimization method and system based on ARM architecture

The invention discloses a matrix calculation adaptive optimization method and system based on an ARM architecture. The method comprises the following steps: preprocessing to-be-processed matrix data; performing local activeness calculation and hot spot region identification on the preprocessed matrix data, and determining long-tail distribution characteristics of the matrix; calculating the optimal block size range of the matrix based on the long tail distribution characteristics of the matrix and the multi-level cache capacity parameters in the processor information, and generating an asymmetric block scheme; based on an asymmetric partitioning scheme, establishing a mapping relation between matrix features and optimal partitioning parameters; calculating the calculation density and the memory access mode of each block based on the asymmetric block scheme and the mapping relation, and generating a task scheduling scheme; based on the task scheduling scheme, matrix calculation is executed on the processor, and a final calculation result is output. According to the method, self-adaptive blocking and heterogeneous core scheduling are realized by identifying the long tail distribution characteristics of the matrix, and the performance and energy efficiency of matrix calculation on ARM are improved.
Owner:GUIZHOU UNIVERSITY OF FINANCE AND ECONOMICS

Application aware memory patrol scrubbing techniques

Methods and apparatus for application aware memory patrol scrubbing techniques. The method may be performed on a computing system including one or more memory devices and running multiple applications with associated processes. The computer system may be implemented in a multi-tenant environment, where virtual instances of physical resources provided by the system are allocated to separate tenants, such as through virtualization schemes employing virtual machines or containers. Quality of Service (QoS) scrubbing logic and novel interfaces are provided to enable memory scrubbing QoS policies to be applied at the tenant, application, and / or process level. This QoS policies may include memory ranges for which specific policies are applied, as well as bandwidth allocations for performing scrubbing operations. A pattern generator is also provided for generating scrubbing patterns based on observed or predicted memory access patterns and / or predefined patterns.
Owner:INTEL CORP

On-package memory with universal chiplet interconnect express

This disclosure describes systems, methods, and devices related to enhanced memory integration. The device may include a compute chiplet configured as a System-on-a-Chip (SoC). The device may include a logic die circuitry coupled to the compute chiplet through a high-speed link. The device may include a memory interface that connects the logic die circuitry to on-package memory. The device may include control circuitry within the logic die circuitry configured to treat the on-package memory as a memory-side cache for an off-package memory. The device may dynamically migrate memory pages between the on-package memory and the off-package memory based on memory access patterns. The device may facilitate efficient data management, optimize memory utilization, and support scalable memory architectures for improved performance.
Owner:INTEL CORP

Duplication of tensors for memory allocation in a reconfigurable data processor

A system comprises an array of reconfigurable units including a plurality of pattern compute units (PCUs) and a plurality of pattern memory units (PMUs), and a compiler configured to receive a tensor including a plurality of memory access patterns of a first type (read) and a second type (write) located in a logical memory of the compiler. Each memory access pattern includes a memory access particular to that type. The compiler is configured to create a plurality of duplicates of the tensor and assign one or more contexts of any type to the duplicate tensors, such that no two contexts of the same type are in the same duplicate tensor. The compiler is configured to trim the duplicate tensors to retain portions including its corresponding assigned contexts remove portions that are inconsequential to the assigned contexts and dispatch the assigned contexts from each duplicate tensor to one or more PMUs.
Owner:SAMBANOVA SYSTEMS INC

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

Intelligent comparison and analysis method and system for similarity of examination answer codes

The invention provides an examination answer code similarity intelligent comparison and analysis method and system, and relates to the technical field of educational informationization, and the method comprises the steps: adaptively determining an optimal instrumentation position, collecting an execution path sequence and a memory access mode, and constructing a dynamic behavior feature vector; extracting static structure features and fusing the static structure features with the dynamic features; constructing a similarity measurement model by adopting a feature coding network and an adversarial discrimination network comprising three sub-networks; constructing a multi-level adversarial sample library based on a heuristic rule for adversarial training; and finally identifying and positioning the suspected plagiarism code snippets. According to the method, various plagiarism deformation strategies can be effectively identified, and the accuracy of code plagiarism detection is improved.
Owner:ATA ONLINE (BEIJING) EDUCATION TECH LTD

Memory architecture supporting both conventional memory access mode and digital in-memory computation processing mode

ActiveUS12361982B2Digital storageConventional memoryComputer architecture
The memory array of a circuit includes sub-arrays with memory cells arranged in a row-column matrix where each row includes a word line and each sub-array column includes a local bit line. A control circuit supports two modes of circuit operation: a first mode where only one word line in the memory array is actuated during a memory read and a second mode where one word line per sub-array are simultaneously actuated during the memory read. An input / output circuit for each column includes inputs to the local bit lines of the sub-arrays, a column data output coupled to the bit line inputs, and a sub-array data output coupled to each bit line input. In memory computation operations are performed in the second mode as a function of feature data and weight data stored in the memory.
Owner:STMICROELECTRONICS INT NV

A cache replacement system and method based on instruction stream and memory access mode learning

The present invention provides a cache replacement system based on instruction stream and memory access mode learning, including a branch prediction module, which predicts the instruction stream and writes it into an instruction fetch address queue; a memory access instruction recording module, which sequentially records the information of the submitted memory access instructions and writes it into its memory access instruction buffer; and simultaneously obtains the memory access instruction sequence through query; a memory access mode learning module, which records the memory access instruction sequence in its memory access history buffer, learns the memory access mode accordingly, and then predicts the memory access physical address of the memory access instruction and writes it into the memory access address queue; a cache replacement decision module, which receives the physical address of the cache replacement candidate and uses it to retrieve the instruction fetch address queue or the memory access address queue, and selects a cache replacement candidate as a kick-out item according to the obtained reuse distance and feeds it back to the first-level cache. The present invention also provides a corresponding method. The cache replacement system of the present invention can avoid the interference of out-of-order execution and cache prefetch, and improve the accuracy of memory access sequence prediction.
Owner:SHANGHAI ADVANCED RES INST CHINESE ACADEMY OF SCI

Obscuring memory access patterns through page remapping

A computer system and associated methods are disclosed for mitigating side-channel attacks using memory page remapping. The computer system includes a main memory and a shared cache, the shared cache implementing cache set associativity determined by a portion of memory addresses of the main memory. Multiple physical memory pages are reserved for mapping to a virtual memory page, the physical memory pages differing in the respective portions of their memory addresses determining cache set associativity. Accesses to the virtual memory page result in a mapping of one of the reserved physical memory pages to the virtual memory page, with remapping events causing different ones of the physical memory pages to become mapped. This remapping results in varying cache set associativity of elements stored in the virtual memory page over time.
Owner:AMAZON TECH INC

Method for compiling computational graph, and related product

A method for compiling a computational graph, and a related product. The method comprises: acquiring a computational graph to be compiled that is expressed by a second intermediate representation, performing forward inference of a shape, and on the basis of the forward inference and tensor data splitting information, obtaining complete shape information; using the complete shape information to determine whether the tensor data splitting information needs to be adjusted; on the basis of a determination result, determining the tensor data splitting information that meets requirements; on the basis of the tensor data splitting information that meets the requirements, performing memory access pattern derivation on operators in the computational graph; on the basis of a derived memory access pattern, determining address-domain-related parameters of instructions involved in loops in code logic of the computational graph; performing pipeline scheduling on the instructions in the loops; and on the basis of the address-domain-related parameters of the instructions involved in the loops and a pipeline scheduling result of the instructions, compiling the computational graph, so as to obtain a binary file recognizable by an intelligent processor.
Owner:SHANGHAI CAMBRICON INFORMATION TECH CO LTD

A method for identifying a pointer chasing memory access pattern

PendingCN122653960AThird partyAlgorithm
The embodiment of the application discloses a kind of identification methods of pointer chasing memory access mode, the execution trajectory of binary instruction generated when target program runs is obtained by binary instrumentation, the execution trajectory of binary instruction is statically analyzed to obtain five-level consistency query result, address dependency relationship category and context stability category are obtained by dynamic analysis, on this basis, value flow causality verification is executed, address dependency relationship category, five-level consistency query result, value flow verification causality result and context stability category are successively combined to carry out multilevel determination, the final determination result of each binary instruction is generated, and whether the binary instruction is pointer chasing memory access mode is confirmed according to the final determination result, without source code, pointer chasing memory access mode can be accurately identified, and multi-level confidence determination is provided, which can be directly applied to commercial software, third-party library and legacy system etc. Source code unavailable scene.
Owner:浙江大学宁波国际科创中心

GPU dynamic memory resource management method and system based on time sequence historical analysis

The invention discloses a GPU dynamic memory resource management method and system based on time sequence historical analysis. According to the method, a CUDAAPI function during running of a deep learning model is intercepted, and an execution history table containing a kernel execution sequence, a memory block size and an address is generated. By comparing two latest execution history tables, calculating a consistency ratio to judge whether a memory access mode is stable or not, so that a memory prefetch strategy is started; and when the GPU memory is insufficient, the memory blocks are exchanged to the CPU memory based on an expelling strategy of reference counting, so that sufficient GPU memory can be available during kernel execution. The system comprises a memory extraction module, a prefetching module and a dynamic decision module, supports dynamic asynchronous memory exchange, and optimizes GPU memory utilization efficiency. The method is suitable for deep learning model training in a GPU memory resource limited environment, a larger-scale deep learning model and training batches can be supported on the GPU with the same configuration, memory waste is reduced, and operation performance is improved.
Owner:TIANJIN UNIVERSITY OF TECHNOLOGY

System on chip supporting data prefetching operation and operation method thereof

A system on chip includes an accelerator configured to generate a demand request for demand data corresponding to a neural network operation based on instructions received from a host processor, and to generate a prefetch request for prefetch data based on a memory access pattern predicted from the neural network operation; a memory controller configured to read the demand data from a memory based on the demand request, and read the prefetch data from the memory based on the prefetch request; and a system cache configured to store at least one of prefetch data and demand data read from the memory as read data, where the accelerator is configured to perform the neural network operation on the read data received from the system cache.
Owner:SAMSUNG ELECTRONICS CO LTD

Computer remote login identification system

The invention relates to the technical field of remote identity authentication, in particular to a computer remote login recognition system. According to the invention, in the remote login interaction, the probability distribution of the packet size can be obtained through the statistical analysis of the packet data, and the abnormal traffic is detected through the comparison of historical data, so that the potential risk caused by large-scale data transmission or traffic mutation is prevented. By calculating the divergence value of the packet size distribution, the abnormal degree of the packet behavior can be accurately identified, and the rationality of the packet interaction mode is ensured. In combination with the analysis of the memory paging access sequence, the memory access mode is divided through the time window, and the influence of the background process is eliminated, so that the detection of the memory access abnormality is more accurate. Through application of a density distribution calculation method, environment abnormity judgment is not limited to a single data point, and the recognition capacity for process behavior mutation and remote control intervention is enhanced by combining access density changes of adjacent time windows.
Owner:JIANGSU SHEHUITONG INTELLIGENT TECH CO LTD +1

Method for efficiently and parallelly generating 10 billion-level unstructured grids at ten thousand core level

The invention provides a method for efficiently and parallelly generating a 10 billion-level unstructured grid at a ten-thousand-core level, which adopts an MPI parallel architecture to realize ten-thousand-core-level calculation, and averagely distributes calculation tasks to each process through a dynamic load balancing technology; a hierarchical communication and memory access mode is designed, grid data are stored in a plurality of process memories in a distributed mode, and limitation of a single-machine memory is effectively overcome; developing a self-adaptive interface matching algorithm, performing local reconstruction on an unmatched grid region, and ensuring that the requirement of local grid quality is met; global grid number reconstruction and boundary condition analysis algorithms are optimized, and a dynamic block hash table technology is adopted to efficiently process 10 billion-level grid matching. According to the method, the technical bottleneck of generation of the complex geometry 10 billion-scale unstructured grids is broken through, efficient generation of the 10 billion-scale unstructured grids is achieved on a domestic supercomputing platform, tests show that generation of 3 billion unit grids can be completed within several hours, and the speed is increased by more than one magnitude compared with a traditional method.
Owner:INST OF MECHANICS CHINESE ACAD OF SCI

Viterbi algorithm searching method and device, medium and program product

The invention relates to the field of algorithms, in particular to a Viterbi algorithm searching method and device, a medium and a program product, and the method comprises the steps: respectively calculating the cost from each state at an n moment to a state 1 at an (n + 1) moment, and obtaining an optimal preorder state; calculating the cost from the state 1 at the n moment to the state 2 to k at the n + 1 moment; respectively calculating the cost from the state 2 at the n moment to the state 2 at the k to the n + 1 moment to obtain an optimal preorder state; respectively calculating the cost from the state 2 at the n moment to the state 3 at the n + 1 moment to the k; and so on, the optimal preorder state of all the states at the n + 1 moment is found. According to the search method, the number of times of search calculation is not increased, but the memory access mode and the cache efficiency are greatly improved, and an experimental structure shows that the calculation time of a new search order is reduced by 30%.
Owner:JINAN UNIVERSITY

Resonance mitigation for a system-on-chip memory subsystem

A processing device identifies a repeated memory access pattern in a memory access stream of a memory subsystem, the repeated memory access pattern having a memory access pattern frequency, and determines an accumulated value associated with the repeated memory access pattern. The processing device further determines whether the accumulated value satisfies a threshold criterion associated with the memory access pattern frequency, and responsive to determining that the accumulated value satisfies the threshold criterion, causes a delay period to be introduced to the memory access stream to break the repeated memory access pattern.
Owner:SYNOPSYS INC

An equivalence connection query method and device for a ciphertext database

The application relates to an equivalent connection query method and device for a ciphertext database, which comprises the following steps: constructing indexes corresponding to a plurality of tables; wherein the indexes comprise encrypted inverted index tables, and the inverted index tables are generated from original tables; uploading the encrypted indexes and a multi-set Bloom filter to a server; wherein the multi-set Bloom filter is obtained according to all values of inserted connection attribute columns; sending an equivalent connection query request of a user to the server, so that the server returns corresponding equivalent connection query results to the user. Compared with the prior art, the multi-set Bloom filter has shorter solving time and higher efficiency, and can hide the relationship between sets in a table and a Bloom filter, thereby hiding external memory access modes, significantly improving the throughput of data processing, reducing the number of interactions with a trusted execution environment, and effectively solving the problem of large communication overhead.
Owner:XIDIAN UNIV

Duplication of tensors for memory allocation in a reconfigurable data processor

A system comprises an array of reconfigurable units including a plurality of pattern compute units (PCUs) and a plurality of pattern memory units (PMUs), and a compiler configured to receive a tensor including a plurality of memory access patterns of a first type (read) and a second type (write) located in a logical memory of the compiler. Each memory access pattern includes a memory access particular to that type. The compiler is configured to create a plurality of duplicates of the tensor and assign one or more contexts of any type to the duplicate tensors, such that no two contexts of the same type are in the same duplicate tensor. The compiler is configured to trim the duplicate tensors to retain portions including its corresponding assigned contexts remove portions that are inconsequential to the assigned contexts and dispatch the assigned contexts from each duplicate tensor to one or more PMUs.
Owner:SAMBANOVA SYSTEMS INC

Power embedded kernel micro-architecture optimization method for low-carbon mobile terminal

The invention relates to a power embedded kernel micro-architecture optimization method for a low-carbon mobile terminal, and the method comprises the following steps: S1, obtaining multi-source energy consumption and scene data, carrying out the preprocessing, and obtaining a standardized time series data stream; s2, performing joint feature engineering and scene label generation based on the standardized time sequence data stream, and obtaining a feature vector matrix with a scene label; s3, performing short-term prediction on the load, the temperature, the energy consumption and the QoE based on a short-term prediction model according to the feature vector matrix with the scene label; s4, on the basis of prediction, solving an energy efficiency optimal control quantity meeting a preset constraint, and obtaining a resource scheduling decision and a system configuration parameter; and S5, based on the resource scheduling decision and the system configuration parameters, optimizing the memory access mode and the cache strategy based on the graph neural network, and obtaining a dynamic memory partitioning scheme, a cache replacement strategy and a prefetching decision. The energy consumption of the mobile terminal can be obviously reduced.
Owner:FUJIAN YIRONG INFORMATION TECH +1

Memory address bus protection for increased resilience against hardware replay attacks and memory access pattern leakage

Detailed herein are embodiments utilizing a cryptographically authenticated address bus (CAAB) protection that uses an intelligent memory design to prevent attacks on the address bus without detection and eliminate the memory bus as an observability surface for an attacker to do access pattern analysis. Embodiments detailed herein describe an intelligent memory module which has cryptographic capabilities. In some embodiments, a memory controller and an intelligent memory module exchange a key and using this key, the address (on the address bus) is encrypted and integrity protected using authenticated counter mode encryption. The memory controller on receiving a read or a write request encrypts the address (e.g., using pre-generated encrypted counters to minimize cryptographic overheads). A message authentication code (MAC) also gets generated along with the encrypted address to be able to detect modification to the encrypted address.
Owner:INTEL CORP

Efficient coupling parallel method for dense matrix and sparse matrix

The invention discloses a dense matrix and sparse matrix efficient coupling parallel method. The method comprises the following steps: S1, carrying out feature analysis on an input dense matrix and sparse matrix; s2, carrying out adaptive partitioning on the dense matrix and the sparse matrix; s3, creating a uniform matrix descriptor for each matrix block; s4, constructing a calculation dependency graph; s5, executing parallel computing; according to the dense matrix and sparse matrix efficient coupling parallel method, through data rearrangement of self-adaptive hybrid storage and cache perception, the cache hit rate is greatly increased, the bottleneck of memory access mode conflicts in hybrid calculation is overcome, and meanwhile, based on an accurate prediction model and dynamic scheduling, the performance data in the running process are collected. The method has the advantages that combined optimization of computing load and communication is achieved, high load balance and resource utilization rate under large-scale parallel are guaranteed, redundant format conversion overhead is almost eliminated by the aid of unified descriptors and inert conversion strategies, a computing pipeline is smoother, and overall performance is improved remarkably.
Owner:NAT SUPERCOMPUTING WUXI CENT

Memory access mode recognition device and method based on hardware implementation

The invention provides a memory access mode recognition device and method based on hardware implementation, and the device comprises a plurality of parallel memory access mode recognition units, each memory access mode recognition unit is implemented through independent state machine logic, and is configured to dynamically adjust a confidence value according to a memory access trace of an application program, and recognize a memory access mode of a specific type; the plurality of data storage units are connected with the plurality of memory access mode identification units, and part of the memory access mode identification units share the same data storage unit; the confidence counters are used for recording confidence values of the memory access modes by using the program counters as indexes; the control unit is used for coordinating the working time sequence of the memory access mode recognition unit, the data storage unit and the confidence counter; the memory access mode recognition unit, the data storage unit, the confidence counter and the control unit are all realized through the hardware RTL, the memory access mode recognition efficiency is remarkably improved, and hardware resource occupation is reduced.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

System and method using partial just-in-time compilation to resolve memory access pattern problems in hash table probing

A system and method for just in time compilation for hash table probing are disclosed. In one implementation, the method of using just-in-time compilation is used to combine the stages of hash value computation and initial lookup into a single compound operation. In another implementation, the method of using just-in-time compilation is used to combine the stages of a hash table record and input record checking to detect if these records are equal, and if not, fetching the next possible record in the linked list of the per-bucket records.
Owner:ACTIAN CORP

Classification of different types of cache misses

Various examples are provided related to cache miss classification. In one example, a method for classification of cache misses includes detecting a susceptible instruction of a program with frequent cache misses based upon performance monitoring units (PMU) based coarse grain sampling; collecting a memory access pattern of the susceptible instruction using breakpoint-based fine-grain sampling; and classifying a type of cache miss associated with the susceptible instruction. The type of cache miss can be classified as a capacity miss, a conflict miss, or a coherence miss using the memory access pattern of the susceptible instruction.
Owner:UNIV OF MASSACHUSETTS

In-memory protection for neural networks

Technology providing in-memory neural network protection can include a memory to store a neural network, and a processor executing instructions to generate a neural network memory structure having a plurality of memory blocks in the memory, scatter the neural network among the plurality of memory blocks based on a randomized memory storage pattern, and reshuffle the neural network among the plurality of memory blocks based on a neural network memory access pattern. Scattering the neural network model can include dividing each layer of the neural network into a plurality of chunks, for each layer, selecting, for each chunk of the plurality of chunks, one of the plurality of memory blocks based on the randomized memory storage pattern, and storing each chunk in the respective selected memory block. The plurality of memory blocks can be organized into a groups of memory blocks and be divided between stack space and heap space.
Owner:INTEL CORP

Data-oriented particle system task designing and scheduling method and equipment

The invention discloses a data-oriented particle system task designing and scheduling method and equipment, and the method comprises the steps: creating a particle system prototype containing a data area and a task area for each particle system, declaring attributes represented by particles as components in the data area, declaring all tasks executed by the particle system in the task area, and performing task scheduling in the task area; the task constraint of the task area has an execution sequence relationship, and each task operates at least one component; performing dependency analysis on tasks in different task stages in each task area, generating directed acyclic task dependency graphs, adding the directed acyclic task dependency graphs into a plurality of global task blocks divided according to the task stages, and merging the task dependency graphs in each global task block into a unique directed acyclic dependency graph; and merging the unique directed acyclic dependency graphs of all the global task blocks and mapping the unique directed acyclic dependency graphs to a GPU computing task manager to realize highly optimized parallel scheduling execution on the GPU, so that a memory access mode is optimized, the cache utilization rate is improved, and the computing efficiency of the particle system is improved.
Owner:ZHEJIANG UNIV +1