Shared Memory Segment Promotion for Faster System Calls
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The increasing size of shared memory objects in paged-segmented operating systems leads to a significant increase in the number of segments managed by the operating system memory manager, resulting in performance degradation during system call operations.
Innovation Solution
Implementing a user-selected shared memory object autonomic promotion feature that allows for a selected segment size, enabling the operating system to create shared memory objects with larger segments based on predefined criteria without requiring user application modifications.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If the size of shared memory objects increases, then the memory capacity available to applications is improved, but the number of segments that must be managed by the operating system increases, resulting in performance degradation
Solution Approach 1:
The patent applies segmentation by dividing large shared memory objects into smaller segments that can be managed efficiently. The system automatically promotes segments from a first size to a second size based on usage patterns, allowing the memory manager to handle fewer, larger segments when appropriate, thereby reducing management overhead while still supporting large memory objects when needed.
Solution Approach 2:
The patent implements dynamic segment size adjustment through automatic promotion and demotion mechanisms. Segments can be promoted from a first size to a second size based on criteria such as memory object size thresholds or usage frequency, and demoted when no longer needed. This dynamic adaptation allows the system to optimize segment management performance based on actual workload conditions.
2Adaptability or versatility
If the number of segments managed by the operating system increases, then the flexibility and granularity of memory management is improved, but the complexity of segment management increases, leading to performance suffering
Solution Approach 1:
The patent implements self-service through automatic segment promotion and demotion mechanisms. The memory manager autonomously evaluates segments against predefined criteria (such as size thresholds or usage patterns) and automatically promotes segments from a first size to a second size when appropriate, without requiring manual intervention or complex management logic from the application or system administrator.
Solution Approach 2:
The patent changes the parameter of segment size dynamically based on system conditions. Segments are promoted from a first size to a second size when they meet specific criteria (such as exceeding a size threshold or demonstrating persistent usage patterns), and demoted when criteria are no longer met. This parameter change allows the system to reduce management complexity by consolidating segments when appropriate while maintaining flexibility when needed.
Data Source
AI summary
A system and methods are provided for implementing a selected segment size of a shared memory object in a paged-segmented operating system. A user selected shared memory object autonomic promotion feature enables a selected segment size of a shared memory object for a user application. A paged-segmented operating system receiving a request for a shared memory object of a user application, accesses the user selected shared memory object autonomic promotion feature to identify a user selection. An identified user selection is evaluated with secondary criteria for the request shared memory object for the user application and a segment size is set. The operating system creates a shared memory object with the set segment size for the user application. Enabling shared memory objects to be supported by a large segment size reduces the number of segments used for a single shared memory object and application performance can be significantly improved.


