Skip to content
Open access

An Automated Evolutionary Modularization Approach for Performance-Aware Parallelization of Sequential Source Code

Sep 2026 · Computers · Vol 15, pp. 606 · 0 citations · 31 references

TL;DR

The public artifact contains five local benchmark fixtures, five comparison methods, 30 retained runs per algorithm–fixture pair, raw outputs, statistical scripts, regenerated figures, Docker support, continuous-integration verification, and a Zenodo DOI, which indicates DTMC-GA achieved the highest aggregate mean modeled speedup.

Abstract

Sequential object-oriented software remains difficult to parallelize because several important decisions are not entirely local. A useful decomposition should consider architectural structure, execution frequency, communication latency, and how much communication can overlap with local computation. In contrast, many traditional modularization methods focus on cohesion, coupling, or communication cost without explicitly considering whether an unavoidable remote call can be issued early enough for part of its latency to be hidden by independent work. DTMC-GA addresses this problem by combining a Discrete-Time Markov Chain (DTMC) execution model, a Distributive Execution Time (DET) estimator, and a Genetic Algorithm (GA) search procedure. Guarded call-use displacement enlarges modeled overlap windows only when the relevant dependence, ordering, and safety conditions are satisfied. The public artifact contains five local benchmark fixtures, five comparison methods, 30 retained runs per algorithm–fixture pair, raw outputs, statistical scripts, regenerated figures, Docker support, continuous-integration verification, and a Zenodo DOI. Within this released five-method panel, DTMC-GA achieved the highest aggregate mean modeled speedup of 2.708 ± 0.329. A more recent NSGA-III comparator was also evaluated using matched fixtures, DTMC–DET inputs, constraints, random seeds, population size, and generation budget. NSGA-III achieved an aggregate mean modeled speedup of 2.737 ± 0.323, 1.07% above DTMC-GA, although none of the five fixture-level paired differences remained significant after Bonferroni correction. A separate sparse-graph scalability study covered 50, 100, 250, 500, 750, and 1000 classes; mean analysis time increased from about 0.024 to 0.286 s, while peak memory rose from about 119.1 to 120.9 MiB. The study also includes an executed OpenCV 4.7.0 calibration using a fixed five-convolution DNN workload. Across 30 matched pairs, native-parallel OpenCV achieved a measured ratio-of-means speedup of 1.8691×. The bounded empirical DTMC-GA/DET rerun over 30 seeds produced a mean modeled speedup of 1.0000× with an SD of 0.0000, giving an absolute modeled-versus-measured difference of 46.50%. Because the measured parallel comparator is OpenCV’s native threaded implementation rather than a DTMC-GA-generated source rewrite, this experiment is interpreted as real-runtime model calibration rather than direct measured DTMC-GA optimized speedup.

Read PDF

Similar papers

#artificial intelligence Preprint Sep 2026

Dynamic Adaptation of the LLM Context for Generating Routines with Coupled Semantics

LLM-based code generation fails when correctness depends on execution-dependent coupling: the meaning of one routine is defined by the runtime behavior of another, a relationship that cannot be resolved from textual descriptions alone. This limitation, which we call static binding, is not confined to explicitly coupled...

Gnaneswar Villuri, Hashmath Shaik, Alex Doboli · 1 citation
#artificial intelligence Review Sep 2026

Is manual software optimization a thing of the past?

This work investigates whether LLM-based agents can autonomously achieve substantial performance improvements in scientific software, including mature implementations that have already been extensively optimized by human developers.

Pavlin G. Poličar, Martin Špendl, Tomaž Hočevar · 0 citations
Preprint Oct 2026

CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization

CodeMeepo is presented, a multi-agent pipeline for complete and efficient migration of large repositories, and achieves the best pass rate on every subject and passes 18% more tests than a state-of-the-art multi-agent baseline using the same model.

Farzad Habibi, Chang-Rong Wu, Jin-Zhou Jiang et al. · 0 citations
Open access 2026

Deployment-Oriented Evaluation of LLM-Generated Optimization Code: Repairability, Compatibility, and Constraint-Coverage in Parallel-Machine Scheduling

GenSE-Scheduler, a deployment-oriented framework for evaluating LLM-generated parallel-machine scheduling code, compares monolithic schedulers with four-stage modular pipelines under typed contracts, sandboxed execution, a failure taxonomy, stage-swap repair, and pre-composition compatibility prediction.

Achraf Ghorbel, Nourchène Elleuch Ben Ayed, Keletso J. Letsholo et al. · 0 citations
Book Open access Oct 2026

Pattern-Guided Static Analysis for APIfication of COBOL Monoliths

Legacy COBOL mainframes resist APIfication due to monolithic structure and scattered logic. We present a novel pipeline that takes code blocks selected and validated by the user, potentially with AI-assisted boundary suggestions, and generates compilable API modules with request/response copybooks. Key innovations incl...

Vini Kanvar, Ashwina Kumar, Keerthi Narayan Raghunath · 1 citation
Book Open access Oct 2026

PL4SA: Optimized Partial Library Selection for Efficient Static Analysis

With the rapid advancements in modern software engineering practices, software applications have become increasingly dependent on external libraries, making the choice between whole-program and application-only analysis more critical: the former often leads to timeouts due to high computational overhead, while the latt...

Guo-Hao Feng, Yi-Fei Lu, Min-Xue Pan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.