Declarative Adaptive Optimization of Task-Based Applications on Heterogeneous Architectures

  • Emanuele De Angelis IASI-CNR
  • Guglielmo De Angelis IASI-CNR
  • Romolo Marotta Tor Vergata University of Rome
  • Federica Montesano IASI-CNR
  • Alessandro Pellegrini Tor Vergata University of Rome
  • Maurizio Proietti IASI-CNR

Resumo


This paper presents a knowledge-based technique for mapping task-based applications onto heterogeneous computing resources using Answer Set Programming (i.e., ASP) for dynamic, multi-objective task allocation. Our method models applications through the Actor Model, considering device constraints, task workloads, and performance factors like computational overload and inter-actor communication costs. By formulating these elements as logical rules, our ASP-based method adapts allocations to changing workloads and system dynamics, nearing the theoretical optimum achievable by an oracle with complete knowledge. Simulation experiments show that our approach significantly outperforms (up to 45%) traditional static partitioning techniques by maximizing throughput and preventing unfruitful migrations. These results highlight the effectiveness of declarative optimization for online allocation in heterogeneous architectures, and suggest that a clear syntax for modelling non-functional metrics eases the extrapolation of a broad set of optimization scenarios.
Palavras-chave: Performance evaluation, Adaptation models, System dynamics, Computational modeling, Answer set programming, Computer architecture, Syntactics, Throughput, Resource management, Optimization, Heterogeneous Architectures, Answer Set Programming, Resource Allocation
Publicado
28/10/2025
ANGELIS, Emanuele De; ANGELIS, Guglielmo De; MAROTTA, Romolo; MONTESANO, Federica; PELLEGRINI, Alessandro; PROIETTI, Maurizio. Declarative Adaptive Optimization of Task-Based Applications on Heterogeneous Architectures. In: WORKSHOP ON APPLICATIONS FOR MULTI-CORE ARCHITECTURES (WAMCA) - INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD), 37. , 2025, Bonito/MS. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2025 . p. 1-11.