一种用于多核CPU原子操作内存的装置及方法

By introducing a processing module and a status register to manage atomic operation commands in a multi-core CPU, the problems of mutual interference and low efficiency during atomic operations in multi-core CPUs are solved, and efficient execution of atomic operations is achieved.

CN115756767BActive Publication Date: 2026-07-17SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
Filing Date
2022-12-06
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Multi-core CPUs suffer from mutual interference and low operating efficiency when performing atomic operations. Existing technologies use spinlocks to cause other CPU cores that have not acquired the lock to be blocked, resulting in long waiting times.

Method used

An atomic operation memory device and method for multi-core CPUs is proposed. The processing module communicates with each CPU core and memory, uses a status register to monitor and manage the sequential execution of atomic operation commands, and uses a hardware processing module to perform the calculations, thereby freeing up CPU computing time and ensuring the order and efficiency of atomic operations.

Benefits of technology

It effectively solves the mutual interference of multi-core CPUs when performing atomic operations, improves operating efficiency, reduces CPU waiting time, and ensures the order and execution efficiency of atomic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756767B_ABST
    Figure CN115756767B_ABST
Patent Text Reader

Abstract

本发明提出了一种用于多核CPU原子操作内存的装置,包括多核CPU、内存以及处理模块,所述处理模块分别与多核CPU中的每个CPU核以及内存通信连接,用于获取多核CPU中,每个CPU核按照预设原子命令格式写入的原子操作命令,并根据每个CPU核原子操作命令的写入顺序,对内存进行原子操作,本发明还提出了一种用于多核CPU原子操作内存的方法,有效解决由于现有技术造成多核CPU在进行原子操作时相互干扰、运行效率低的问题,有效地降低了多核CPU在进行原子操作时相互干扰,提高了运行效率。
Need to check novelty before this filing date? Find Prior Art