BMC Parameter Configuration via Interruption Serving Program
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for BMC parameter configuration and taking-effect in Linux systems are inefficient due to high system overhead and resource consumption caused by multithreading and pipeline-based communication, leading to decreased system performance.
Innovation Solution
A method and apparatus that utilize a database to manage parameter-configuring and taking-effect states, where external parameters are written into the database and an interruption serving program is triggered to determine and process changes, eliminating the need for pipeline communication and reducing thread overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If pipeline-based communication and multithreading are used for parameter configuration, then parameter transmission can be achieved between processes, but system overhead increases and resource consumption increases
Solution Approach 1:
The patent extracts the parameter configuration functionality from the complex multithreaded pipeline system and consolidates it into a dedicated configuration process. This process reads parameters from a configuration file and applies them independently, removing the need for multiple threads and pipeline communications while maintaining the parameter configuration capability.
Solution Approach 2:
The configuration file serves as a universal mechanism that can store and transmit multiple types of parameters (network parameters, user parameters, sel/sol parameters) for multiple processes. This single file-based approach replaces the need for separate pipeline communications for each parameter type and process, reducing system overhead while maintaining versatility.
2Adaptability or versatility
If multiple threads are created in different processes to handle parameters, then parameter processing can be distributed, but thread dispatching overhead increases and system performance deteriorates
Solution Approach 1:
The patent extracts the parameter processing logic from multiple threads and consolidates it into a single configuration process. This process reads all parameters from the configuration file and applies them sequentially, eliminating thread creation and dispatching overhead while maintaining the ability to process various parameter types.
Solution Approach 2:
The configuration process independently reads parameters from the configuration file and applies them without requiring other processes or threads to intervene. This self-service approach eliminates the need for inter-process communication and thread coordination, improving system performance while maintaining processing versatility.
Data Source
AI summary
A method and apparatus for BMC-parameter configuring and taking-effect, a device and a medium. The method includes: after a first process receives a first external parameter, modifying a parameter-configuring state corresponding to the first external parameter of a database to be being-configured, and writing the first external parameter into the database, and triggering an interruption serving program at the same time; by using the interruption serving program, determining whether in the database there exists a parameter-configuring state that is being-configured; when in the database there exists the parameter-configuring state that is the being-configured, writing the first external parameter stored in the database into a configuration file; and after the first external parameter is successfully written into the configuration file, acquiring, from the database, a parameter taking-effect state corresponding to the first external parameter, and according to the parameter taking-effect state, performing taking-effect processing.

