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

154 results about "Reference counting" patented technology

In computer science, reference counting is a programming technique of storing the number of references, pointers, or handles to a resource, such as an object, a block of memory, disk space, and others.

Bypass destaging of decrement reference count operations with delta log based architecture

In at least one embodiment, processing can include: determining that an inactive decref (decrement reference count) MDL (metadata log) of decref MD (metadata) updates stored in memory is unable to be destaged to a decref tier of non-volatile storage in a first destage phase of a two phase destage process; and responsive to determining that the inactive decref MDL is unable to be destaged to the decref tier, performing bypass destage processing of the inactive decref MDL, wherein said bypass destage processing includes directly applying MD updates of the inactive decref MDL to corresponding MD pages stored persistently in a MD page store and wherein said bypass destage processing omits storing the inactive decref MDL on the decref tier.
Owner:DELL PROD LP

Data processing method and system based on cloud computing

The invention relates to the field of data processing, and discloses a cloud computing-based data processing method, which comprises the following steps of: constructing a reference count management micro-service cluster at a cloud end, receiving a reference count request carrying a count type through an API (Application Program Interface) gateway, and analyzing the reference count request into a structured operation instruction; reading a first state identifier of the referenced object and a second state identifier of the reference object from the distributed cache system according to the metadata snapshot; according to the method, through dynamic scheduling of a reference counting management micro-service cluster and a container arrangement engine, efficient allocation and scheduling of computing resources can be realized, maximization of resource utilization is ensured, resource waste is avoided, and high-speed query capability of a distributed cache system and a memory database is utilized; the state identification of the object can be retrieved at a millisecond level, the system response speed is improved, and the performance requirement under a high-concurrency scene is met.
Owner:SHENYANG WARD INTELLIGENT EQUIPMENT TECHNOLOGY CO LTD

Distributed storage access method initiated by GPU (Graphics Processing Unit) in AI (Artificial Intelligence) scene

The invention relates to a distributed storage access method initiated by a GPU (Graphics Processing Unit) in an AI (Artificial Intelligence) scene. The method comprises the following steps: S100: constructing a software cache module and an I / O (Input / Output) queue module in a GPU memory; s200, the GPU thread queries the target data through the software cache module, reads the target data if the target data is hit, and enters the next step if the target data is not hit; s300, when the I / O request is not hit, the repeated I / O requests initiated by multiple threads are automatically combined to generate a single effective I / O request, and the request is written into an I / O queue module; s400, the user mode distributed storage client monitors the written submission queue, reads the target data and then transmits the target data to the software cache module, and a completion queue of the I / O queue module is updated; and S500, the GPU thread polls the updated completion queue, and updates the reference count of the software cache module after reading the data. The main purpose of the invention is to realize high-throughput and low-delay data transmission without the participation of a CPU (Central Processing Unit).
Owner:KYLIN CORP

ZNS SSD-based repeated data deletion method and system

The invention discloses a repeated data deletion method and system based on ZNS SSD, and belongs to the field of repeated data deletion.The method comprises the steps that a fingerprint index table and a fingerprint updating cache are maintained, three-time opportunity repeated data deletion is achieved, and repeated data search is conducted in the fingerprint index table, the fingerprint updating cache and an address mapping table respectively; an address mapping table, an address reverse mapping table and a reference counting table are maintained, physical space garbage collection / defragmentation and write request merging are achieved, the address mapping table, the address reverse mapping table and the reference counting table conduct garbage collection with partition as granularity when free space is insufficient, and a fingerprint index table is not updated after garbage collection data migration; and instead, the mapping of fingerprints to migration-in physical pages is stored in a fingerprint updating cache, the physical pages are sequentially distributed in partitions by the fingerprint updating cache, normal data write requests and garbage collection data migration write requests are respectively cached, and the write requests which are continuous in sequence are merged and then issued. According to the method, the high-performance and low-cost efficient storage system can be constructed on the basis of the ZNS SSD at relatively low overhead.
Owner:HUAZHONG UNIV OF SCI & TECH

Back-reference data structure for a deduplication storage system

Example implementations relate to deduplication operations in a storage system. An example includes generating a housekeeping work map to delete a backup item stored in a deduplication storage system; selecting a first work entry of the housekeeping work map, where the first work entry identifies a first container index and a first manifest; in response to a selection of the first work entry, loading the first container index into the memory, the first container index comprising a back-reference data structure; identifying, in the back-reference data structure, a back-reference entry indexed to the first manifest; determining, using the back-reference entry indexed to the first manifest, a first set of data units included in the first manifest and that are indexed in the first container index; and decrementing, in the first container index, a set of reference counts for the determined first set of data units.
Owner:HEWLETT PACKARD ENTERPRISE DEV LP

Reference-based backup

In some implementations, a computer system includes one or more processors and a non-transitory computer-readable medium storing programming for execution by the one or more processors. The programming includes instructions to receive a request to create a second air-gapped backup corresponding to a second transient backup. The second transient backup is subsequent to a first transient backup corresponding to a first air-gapped backup. The programming includes instructions to determine, in response to the request, whether the second transient backup matches the first transient backup, and to create, in response to determining that the second transient backup matches the first transient backup, a database entry for the second air-gapped backup that references the first air-gapped backup. The programming includes instructions to increment, in response to determining that the second transient backup matches the first transient backup, a reference counter for the first air-gapped backup.
Owner:HEWLETT PACKARD ENTERPRISE DEV LP

Duplicated data deletion method, product, computer equipment and storage medium

The invention relates to a duplicated data deletion method, a product, computer equipment and a storage medium. According to the method, the written data object is sliced into the multiple pre-stored data blocks to be stored in the distributed storage system, and the pre-stored data blocks are stored in the daemon process online in a mapping positioning mode; on the basis of an online deduplication mode, the block fingerprints of the pre-stored data blocks in the daemon process are compared with the block fingerprints of the data blocks stored in the storage nodes to identify whether the data are duplicated data or not, and one is added to the reference count corresponding to the block fingerprints corresponding to the duplicated data, so that writing of the duplicated data can be avoided; and the problem of performance reduction caused by a random broadcast mode in a massive small file scene can be avoided by correspondingly deleting the pre-stored data blocks and block fingerprints which are duplicated data in the daemon process, and meanwhile, the problem of performance reduction caused by a complex search process in data balance of the distributed storage system can be avoided by an online deduplication mode.
Owner:JINAN INSPUR DATA TECH CO LTD

Request processing method and apparatus, and device and non-volatile readable storage medium

The present application discloses a request processing method and apparatus, a device, and a non-transitory readable storage medium. When modifying reflink data, in the present application, first reading continuous data including currently modified data from a disk to a cache, then modifying corresponding reflink data in the cache, but not modifying other data in the continuous data, and then allocating a new address for the modified new reflink data in the disk, and mapping the cache address of the new reflink data to the new address, so as to store the new reflink data in the new address, and at the same time reducing the reference count of the corresponding reflink data in the reflink shared tree by one. In this solution, there is only one read operation and one write operation for the disk, so the problem of write amplification is reduced; at the same time, this solution introduces a pre-read mechanism, and subsequent access operations to other data in the continuous data can directly hit the cache, thus improving the efficiency of subsequent operations. The request processing apparatus, device, and non-transitory readable storage medium provided in the present application also have the above-mentioned technical effect.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Method and system for realizing compatible file hard link and S3 shallow copy based on distributed key-value pair

The invention discloses a method and a system for realizing compatible file hard link and S3 shallow copy based on a distributed key-value pair, a file metadata key-value pair is used as a metadata storage main body of a file or a directory, a key consists of a file system ID (Identity), a parent directory ID and a file or directory name, and a value contains metadata information; a reverse index file handle key value pair is introduced to serve as a unique invariant identifier, a key is composed of a file system ID, an initial parent directory ID, an initial file or first N characters of a directory name and a file ID, and a value contains a current file metadata key and a reference count. When files or directories are created and deleted, the files or the directories are located at the same one-key value pair node in a large probability, and one-stage submission is supported to improve performance; hard linking and S3 shallow copying are achieved at the same time, independent file metadata key-value pairs and reverse index file handle key-value pairs are created for the hard linking and the S3 shallow copying, reverse index file handle keys of the target file are recorded by file metadata values of the file metadata key-value pairs, reference counts of the reverse index file handle values of the target file are updated, and performance and compatibility are both considered.
Owner:SANDSTONE DATA TECH CO LTD +1

Information storage sharing method and device, equipment and medium

The invention is suitable for the technical field of display, and particularly relates to an information storage sharing method and device, equipment and a medium. The method comprises the following steps: when detecting that a producer applies for a shared cache, determining an available shared buffer from a shared memory, returning the available shared buffer to the producer, after detecting that the available shared buffer is filled by the producer, acquiring the number of all consumers as a reference count, and storing the reference count in a count management memory, after a data request of any consumer is obtained, the available shared buffer area is returned to the consumer to read production data, one is subtracted from the reference count in the count management memory, all consumers are traversed, and the available shared buffer area is marked as idle when the reference count is zero. According to the method, one producer can correspond to a plurality of consumers, and one-time production can correspond to a plurality of consumers for synchronous consumption, so that more resources and memories are prevented from being occupied, data copying is not needed, and the distribution efficiency is higher.
Owner:SHENZHEN HOLLYLAND TECH CO LTD

Caching a memory descriptor for plural input / output requests

Caching a memory descriptor across input / output (I / O) requests. Based at least on receiving a request from a buffer consumer to register a buffer, a memory descriptor describing a layout of a set of physical memory pages assigned to the buffer is created. Creating the memory descriptor includes assigning and locking the set of physical memory pages to the memory descriptor. For each I / O request of a plurality of I / O requests on the buffer, at least a subset of the memory descriptor for use by the I / O request is returned, and a reference count is used to track the I / O request as pending on the memory descriptor. Later, the memory descriptor is destroyed, including unlocking the set of physical memory pages, based at least on the reference count indicating that there is no pending I / O request on the memory descriptor.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Automatic distributed memory management method based on reference counting

The invention belongs to the technical field of distributed memory management systems, and discloses an automatic distributed memory management method based on reference counting. The method comprises the steps that a memory allocation path comprises a fast path and a slow path; in the fast path, the client side distributes a local free block from the page, and if the local free block does not exist, the client side enters the slow path to distribute the memory; during memory allocation, a client accessing a memory pool allocates a storage object in a memory allocation page and marks the storage object as used, then a free block is searched for to-be-allocated data information of the client or the accessed storage object, and an address of the free block is written into the storage object. According to the method, the remote distributed shared memory is layered in a manner of continuously dividing the remote distributed shared memory, and the remote distributed shared memory is used for storing the space distributed to the client and accelerating the distributed related information. Users can directly access the allocated space, while intermediate objects and structures are transparent thereto.
Owner:TSINGHUA UNIVERSITY

Remote descriptor to enable remote direct memory access (RDMA) transport of a serialized object

Technologies for enabling remote direct memory access (RDMA) transport of serialized objects in streaming pipelines are described. One method of a first computing device that stores a serialized object in a first memory can generate a remote descriptor associated with the serialized object. The remote descriptor uniquely identifies the location of the serialized object and a reference count token. The first computing device sends the remote descriptor to a second computing device in the data center over a network fabric. The second computing device uses the remote descriptor to obtain the contiguous block from the first memory for storage at a second memory associated with the second computing device. The value of the reference count token can be updated by receiving a message from the second computing device, and the remote descriptor can be released responsive to the value of the reference count token satisfying a threshold value.
Owner:NVIDIA CORP

Reference management method and garbage collection method

ActiveCN119088561Aprevent misidentificationAvoid nulling exceptionsResource allocationError detection/correctionSoftware engineeringDatabase
The invention discloses reference management and garbage collection of application data. The application data reference management method comprises the steps that when it is detected that target application data is referenced by a target variable, and the target variable belongs to a target variable type, a logic address of the target application data is written into a physical address of the target variable; and taking the logic address corresponding to the physical address of the target variable as a reference address, and writing the reference address into a reference address table. According to the technical scheme, the reference address table is used for managing application data reference which is not recorded in the reference array, the application data are prevented from being mistakenly regarded as junk data and deleted, null exception caused by reference of the inexistent application data is avoided, the reference address table records the reference address instead of the logic address of the application data, and the application data can be stored in the application data. Content in an application data reference counter or a reference address table is prevented from being synchronously modified when the reference relation is cleared, and application execution efficiency is guaranteed.
Owner:BEIJING TONGFANG MICROELECTRONICS

Adaptive tracking of data patterns for deduplication

In some implementations, a memory apparatus may receive a command to write data to volatile memory of the memory system. The memory apparatus may compare the data to one or more data patterns to identify whether the data matches a data pattern of the one or more data patterns. The memory apparatus may increment a reference counter associated with the data pattern based on identifying that the data matches the data pattern. The memory apparatus may write, based on identifying that a measure flag associated with the data pattern is set, the data to the volatile memory.
Owner:MICRON TECHNOLOGY INC

UNLOADING FROM INTERDEPENDENT SHARED LIBRARIES

This describes the unloading of shared resources. A shared library correlation table (SLCT) is generated in a simulated resource. During a close function, selecting an entry in the SLCT decrements the reference counter of the selected entry, checks the state of the selected entry based on the reference counter, and removes its associated container from memory if the state of the selected entry indicates that the container is not a shared resource, thus preventing segmentation errors.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Inline service handling for deduplication storage system

The invention discloses inline internal affair handling of a deduplication storage system. Example implementations relate to data deduplication operations in a storage system. Examples include receiving a stream of data units to be stored in persistent storage of a deduplication storage system; loading a first container index into memory to index one or more data units included in the stream; updating the first container index to indicate a storage location of a first data unit included in the stream; reading a manifest list in the first container index to identify a first manifest indexed by the first container index; and decreasing a reference count of a second data unit in response to determining that the identified first manifest is included in a first backup item that has been marked as deleted while the first container index remains loaded into the memory to index the one or more data units.
Owner:HEWLETT PACKARD ENTERPRISE DEV LP

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

A BMC updating method based on a single firmware instance and a computer device

PendingCN123177846ATerm memoryIdenticon
The application provides a BMC updating method based on a single firmware instance and a computer device, comprising: reading firmware files from a disk to a memory asynchronously through a static singleton mode; registering firmware data to a reference container and assigning a unique reference identifier, establishing a mapping relationship between the reference identifier and the firmware data, and initializing a reference count; creating an updating task instance for each BMC device to be updated, each updating task instance holding a reference identifier and obtaining firmware data from the reference container through the reference identifier; writing the firmware data to a target device through an updating service interface of the BMC and obtaining a corresponding task identifier; polling a task state based on the task identifier, detecting whether a task state query URI is migrated, automatically updating the URI to a migrated URI if the URI is migrated, and continuing polling until the task is completed; and reducing the reference count after each updating task instance is completed, and automatically removing the firmware data from the reference container and releasing the memory when the reference count is zero.
Owner:POWERLEADER COMPUTER SYST CO LTD

Inline housekeeping for a deduplication storage system

Example implementations relate to deduplication operations in a storage system. An example includes receiving a stream of data units to be stored in a persistent storage of a deduplication storage system; loading a first container index into the memory to index one or more data units included in the stream; updating the first container index to indicate a storage location of a first data unit included in the stream; reading a manifest list in the first container index to identify a first manifest indexed by the first container index; and, while the first container index remains loaded in the memory to index the one or more data units, in response to a determination that the identified first manifest is included in the first backup item that has been marked for deletion, decrementing a reference count of a second data unit.
Owner:HEWLETT PACKARD ENTERPRISE DEV LP

Preventing garbage object accumulation on minimal runtimes while supporting an implicit deallocation programming experience

Computer-implemented techniques for preventing garbage object accumulation on minimal runtimes. The techniques include checking whether source code written in a source programming language that does not require the programmer to explicitly program when deallocation happens can run within a runtime that provides little or no support for implicit deallocation. At the same time, the techniques ensure that objects in minimal runtimes are deallocated in a timely manner. In one aspect, the techniques encompass generating a compile-time alert (e.g., an error or warning message) to a programmer of source code or halting compilation of the source code upon detecting a data type definition in the source code with the potential for reference cycles. With the techniques, the programmer is provided with an implicit deallocation experience while producing program fragments that interoperate with minimal runtimes that provide no or only minimal support for implicit deallocation (e.g., provide only reference counting).
Owner:TEMPER SYSTEMS INC

Read lock operation method, write lock operation method and system

The embodiments of the present application disclose a read lock operation method, a write lock operation method and a system. The read lock operation method includes: setting a private reference count corresponding to each core; when threads of different cores read the same data, performing read lock and read lock operations with the private reference counts corresponding to the different cores. Utilizing the embodiments of the present application, when threads of different cores read the same data, the private reference counts corresponding to the core can be independently operated. The private reference counts corresponding to these different cores do not need to be synchronized between the cores, so the execution efficiency is improved. Moreover, the scalability of the read lock is also improved, that is, no matter how many core threads concurrently add and read locks, the time for adding and reading locks will hardly increase, thereby improving the execution efficiency.
Owner:BEIJING OCEANBASE TECHNOLOGY CO LTD

Handling memory accounting when suspending and resuming virtual machines to / from volatile memory

Techniques that enable a hypervisor to (1) maintain shared memory pages and (2) handle memory accounting for VMs that are suspended to and resumed from the volatile memory of a host system are provided. Regarding (1), the hypervisor can maintain shared memory pages in volatile memory across the suspend-to-memory and resume-from-memory operations, without having to save their reference counts. Regarding (2), the hypervisor can keep track of the volatile memory reserved and consumed by VMs as they are suspended and resumed, without erroneously double counting that memory.
Owner:VMWARE INC

Data transfer system and image processing device

The embodiment of the invention provides a data transfer system and an image processing device. According to the data circulation system, the public cache module is arranged, so that the upstream module can call the cache blocks which are divided in advance from the public cache module to cache the target data. And the downstream module can search the cache block through the preset identifier issued by the upstream module to obtain the target data. By introducing a reference counting mechanism, write protection can be set for the called cache block, and the public cache module can release the cache block only when the reference times of the cache block return to zero from a non-zero number. Therefore, one-to-many transmission between the upstream module and the downstream module can be realized, the control logic of the target data acquisition process is reduced, and the data circulation efficiency is improved.
Owner:AXERA SEMICON (SHANGHAI) CO LTD

Request-level consistency control method and system for dynamic configuration hot update

The present disclosure relates to a request-level consistency control method and system for dynamic configuration hot update. The method comprises: organizing configuration content into multiple versioned configuration snapshots, establishing a corresponding reference count for each versioned configuration snapshot, and setting a candidate version; enhancing a configuration reading path in a service node by plugging so as to be able to perform a configuration reading operation according to a bound version; in response to receiving a service request, creating an activation token for the service request, obtaining a current candidate version as the bound version, writing the bound version into the activation token, and increasing the reference count of the bound version; during processing of the service request, when configuration needs to be read, reading a configuration value from a corresponding versioned configuration snapshot according to the bound version in the activation token; and in response to the processing of the service request being completed, decreasing the reference count of the bound version by one.
Owner:HEBEI HAPPY CONSUMPTION FINANCE CO LTD

System and method for expanding the lifetime of virtual entries in data storage systems

A method, computer program product, and computing system for expanding the lifetime of virtual entries in a data storage system. A deduplication function of a virtual layer of a data storage system is monitored, a reference count of a virtual entry is incremented when a data page is written to a physical layer of the data storage system and the reference count of the virtual entry is decremented when a data page is deleted from the virtual layer. The virtual entry in the virtual layer is maintained when the reference count reaches a predetermined value and the virtual entry is reclaimed when a predetermined action of the data storage system is to be performed.
Owner:DELL PROD LP

Off-heap memory reclamation methods, devices, equipment, and products

This application discloses a method, apparatus, device, and product for off-heap memory reclamation, relating to the field of memory management technology. The method includes: providing off-heap memory space to several running threads for reference, obtaining memory reference results, and creating object descriptors based on the memory reference results; creating local reference stacks through the several running threads based on the object descriptors, and updating a cross-thread reference table based on the memory reference results; collecting reference records from the local reference stacks and the cross-thread reference table; and reclamating the off-heap memory space when the reference records show that the local stack count is zero and the cross-thread reference table has no record, thereby obtaining a memory reclamation result. This solves the problem of high synchronization overhead and uncertain reclamation timing for multi-threaded reference counting in off-heap memory, leading to performance degradation, and improves the efficiency of off-heap memory reclamation.
Owner:CHINA MERCHANTS BANK

Data recovery method and electronic device

PendingCN123030138ATime delaysData Corruption
The application discloses a data recycling method and an electronic device, and relates to the technical field of storage, which comprises marking reference levels of data blocks according to reference counting and identifying sharing degrees of the data blocks; generating level distribution by counting the number and / or space occupation of the data blocks in each reference level in a group to obtain the sharing degree composition in the group; determining a comprehensive score based on the level distribution, space usage rate and running load, wherein the comprehensive score is positively correlated with the space usage rate, negatively correlated with the load, positively correlated with the proportion of low levels and negatively correlated with the proportion of high levels, so that the score of the group with low levels, tight space and low load is higher; and determining whether to recycle by comparing the comprehensive score with a score threshold, so that the data blocks with high scores are recycled preferentially, unnecessary migration of high sharing hotspot blocks is avoided, the probability of conflict between recycling and host access is reduced, the increase of time delay and the risk of data damage and loss are reduced, and the stability and data security of the storage system are improved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Value log memory mapping management method and system supporting concurrent index construction

The invention discloses a value log memory mapping management method and system supporting concurrent index construction, and the method comprises the steps: carrying out the partitioning of a value log file, and obtaining a plurality of blocks with a fixed size; defining a block mapping array, wherein each element in the block mapping array records the mapping state of each block of the value log file; introducing a lock array corresponding to the block mapping array, wherein each lock in the lock array corresponds to the entry indexes of the plurality of blocks; when a task needs to read data of a certain offset of the value log file, calculating a value log block id according to the offset; searching whether a slot position corresponding to the block mapping array is empty or not according to the value log block id, and locking a corresponding position of the lock array only when the slot position is empty; after locking succeeds, file mapping operation is executed; when the block is not subjected to the offset, the data of the offset is not accessed within a period of time, that is, the state that the reference count of the block is 0 exceeds the preset duration, the timed cleaning mechanism can actively remove memory mapping at the corresponding position of the block mapping array, and related system resources are released.
Owner:JIANGSU DAMENG DATABASE CO LTD