The developer has opted against dynamic load balancing for multi-threaded data processing on IBM i systems. The primary reasons include the resource costs of starting and stopping processes, the risk of resource-draining oscillation between adding and removing workers, and the complexity of optimizing configurations for systems that rely on fixed worker counts.
Instead, a statistical analysis tool has been developed to interpret raw logs and provide configuration recommendations. By running tests with different worker counts and analyzing metrics like throughput, worker idle time, and queue saturation, developers can identify the optimal balance without the overhead of automated runtime adjustments.
The tool evaluates performance based on several key metrics, including the actual throughput in portions per second and total worker time. It provides actionable feedback, such as whether to increase or decrease the number of workers, and monitors system stability parameters like MPALVSEC and MPIDLSEC to prevent premature worker termination.
Users can launch the utility via the DSPMPQSTAT command on IBM i. The tool allows for the analysis of recent runs, providing a clear view of system performance and helping developers avoid common pitfalls like excessive worker counts that increase resource consumption without improving processing speed.






