Per-Processor Memory Buffer Bitmaps for Multiprocessor Contention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Multiprocessor systems face contention issues with existing memory subpool arrangements, which affect efficient memory allocation and usage tracking.
Innovation Solution
Pre-allocating memory buffers for each processor in a multiprocessor system and implementing a metadata bitmap to track the usage state of each buffer, allowing for efficient allocation and deallocation of memory resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If existing memory subpool arrangements are used in multiprocessor systems, then memory allocation can be performed, but contention issues arise affecting efficient memory allocation and usage tracking
Solution Approach 1:
The patent segments the memory management system by creating per-processor memory buffers and per-processor bitmaps. Each processor has its own dedicated memory buffer pool and corresponding bitmap, dividing the shared memory management task into independent per-processor units. This segmentation eliminates contention by allowing each processor to manage its own memory buffers without interfering with others.
Solution Approach 2:
The patent introduces a bitmap as an intermediary data structure between the memory buffer and the processor. The bitmap acts as a mediator that tracks the usage state of memory buffers, providing a clear and contended-free mechanism for monitoring memory allocation status. Each processor's bitmap serves as a local intermediary that eliminates the need for global synchronization.
2Productivity
If per-processor memory buffers with bitmap metadata are implemented, then contention is reduced and memory management efficiency improves, but device complexity increases
Solution Approach 1:
The patent creates a simplified copy of the memory buffer metadata in the form of a bitmap for each processor. Instead of maintaining complex global metadata structures, each processor has a local bitmap copy that tracks only its own buffer usage. This copying approach simplifies the overall system by replacing complex shared metadata management with simple per-processor bitmaps.
Solution Approach 2:
The patent implements preliminary allocation of memory buffers to each processor during system initialization. By pre-allocating and binding memory buffers to specific processors before actual work begins, the system eliminates runtime allocation contention. The bitmap is also pre-configured to track these pre-allocated buffers, establishing the management structure in advance.
Data Source
AI summary
Aspects of the present invention include a method, system and computer program product that implements a memory management scheme for each processor in a multiprocessor system. The method includes pre-allocating, for each processor in a multiprocessor system, a set of memory buffers; and implementing a metadata bitmap for each pre-allocated set of memory buffers, wherein the metadata bitmap for each pre-allocated set of memory buffers comprises a plurality of bits, and wherein each of the plurality of bits is indicative of a usage state of a corresponding one of the memory buffers within each pre-allocated set of memory buffers.


