Editor’s introduction
The study evaluates scheduling strategies for five scientific workflows—ranging from event reconstruction to anomaly detection—on the DiRAC DIaL system. The framework integrates Computational Fluid Dynamics with a Physics-Informed Variational Autoencoder to generate synthetic workload data that reflects real thermal behavior, enabling more accurate and physically plausible scheduling decisions. Results show that modest performance reductions—down to 15%—can lead to up to 10% energy savings with only minor increases in turnaround time, around 5–6%. The evidence focuses on specific workflows and a single HPC system, limiting generalizability to broader computing environments or different hardware configurations.
Introduction
Task scheduling plays a pivotal role in determining the trade-offs between turnaround time (TAT) and energy efficiency. Traditional schedulers such as First Come First Serve (FCFS) and Round Robin emphasize fairness and simplicity but do not account for heterogeneous hardware, thermal dynamics, or workload diversity. More advanced heuristics such as Particle Swarm Optimization (PSO) or adaptive autoscaling have reduced energy costs through consolidation or prediction, yet they often incur high computational complexity and lack adaptability at scale. In contrast, we leverage physics-informed generative modeling to create synthetic, thermodynamically consistent data that empowers AI schedulers to learn optimal energy–performance trade-offs without exhaustive experimentation. Domain-specific strategies, including MapReduce-aware scheduling, GPU-aware placement using the energy-delay product (EDP), and DVFS-based offline scheduling, demonstrate effectiveness in narrow contexts but fail to generalize across diverse architectures. As HPC infrastructures continue to scale toward exascale and beyond, sustainability becomes a fundamental constraint—both in terms of energy efficiency and cooling overhead. Any viable scheduling approach must therefore operate effectively across large, heterogeneous environments while maintaining thermal and operational stability.
These gaps create a misalignment between theoretical scheduling models and practical HPC deployment, limiting the impact of current energy-aware strategies. In particular, the absence of thermodynamically grounded data hinders the design of adaptive schedulers capable of balancing energy efficiency with performance.
To address these challenges, we propose a Physics Informed Variational Autoencoder (PIVAE) coupled with Computational Fluid Dynamics (CFD) modeling. CFD provides fine-grained simulations of heat propagation, cooling efficiency, and dynamic power dissipation, while the PIVAE ensures that the synthetic data generated for scheduler training respects thermodynamic constraints. This integration enables the adaptive exploration of operational scenarios that are both statistically valid and physically realistic.
Literature Review
Energy aware scheduling in distributed computing has advanced from early fairness-oriented methods like Round Robin and FCFS to optimization-driven approaches such as PSO-based virtual machines placement, which improved energy use but suffered from scalability issues. Machine learning further refined scheduling: Gupta et al. employed VAEs to model energy patterns, while Iqbal et al. introduced adaptive multi-cloud algorithms. However, these often overlooked hardware constraints such as CPU-GPU interactions and thermal dynamics. Zahir et al. extended scheduling with locality awareness, prefetching, and speculative execution, but without addressing energy footprints. Xie et al. present energy-efficient scheduling algorithms based on DVFS for real-time parallel applications on heterogeneous distributed systems, achieving substantial energy savings under deadline constraints; however, their approach relies on static analytical models and does not account for thermal dynamics or uncertainty in workload behavior. In contrast, our work addresses these limitations by integrating CFD-informed thermal constraints and probabilistic modeling via PI-VAE to enable energy-aware scheduling under realistic, data-driven, and uncertainty-aware operating conditions.
Recent studies have explored predictive and modeling-based methods. Saxena et al. proposed multi-resource prediction for autoscaling, Aldossary et al. used ARIMA to trade off cost and energy, and Dashti et al. applied PSO for consolidation. Other domain-specific solutions include MapReduce profiling, EDP-based GPU job placement, DVFS task scheduling, and ML-driven CPU-GPU co-scheduling with power capping. Swarm intelligence methods have also been reviewed for industrial contexts. However, despite these advances, most existing approaches remain limited by their reliance on statistical or heuristic models that ignore underlying physical processes such as heat transfer and cooling dynamics. As a result, their predictions often lack thermodynamic realism and fail to generalize across heterogeneous HPC environments, motivating the need for a physics-informed, scalable framework such as the proposed CFD-PIVAE system.
At the infrastructure level, virtualization and consolidation remain central, and learning-centric cloud designs reduce carbon footprints, but most approaches neglect dynamic workload and thermal variability. Few works integrate thermal feedback into scheduling, despite its impact on reliability and energy efficiency. CFD offers fine-grained modeling of heat transfer, yet lacks adaptability. To address this, Physics-Informed VAEs (PIVAEs) combine CFD with generative modeling to create thermodynamically consistent synthetic data, enabling realistic exploration of scheduling trade-offs between turnaround time and energy consumption.
Proposed Solution
We propose a physics-informed energy-aware scheduling system for High Performance Computing (HPC) workflows that integrates Computational Fluid Dynamics (CFD) with a Physics Informed Variational Autoencoder (PIVAE). Unlike conventional data-driven methods that rely solely on statistical modeling, this system embeds physical constraints such as thermal dynamics and power dissipation directly into scheduling decisions, ensuring that generated operational configurations remain both realistic and deployable in practice.
The system operates in three stages. First, execution traces are collected from representative workflows under varying CPU frequencies and scheduling strategies. These traces include execution time, energy consumption, and resource utilization metrics, forming the training dataset for the PIVAE. Second, CFD simulations are employed to capture heat dissipation, airflow behavior, and temperature distribution across HPC components under different workload scenarios. Instead of treating CFD outputs as post-analysis artifacts, their temperature-aware power profiles are integrated into the PIVAE’s latent space, constraining the generative process so that synthetic data reflects both statistical workload behavior and thermodynamic feasibility. Finally, the trained PIVAE produces synthetic datasets that extend the configuration space beyond what is feasible through brute-force experimentation, enabling the discovery of operational scenarios that balance turnaround time (TAT) and energy consumption while respecting physical limits.
To connect these modeling capabilities with real scheduling decisions, the system incorporates a scheduling decision module that evaluates workflow requirements and recommends suitable task allocation strategies. We consider six representative schedulers:First Come First Serve (FCFS), which ensures fairness but often neglects efficiency; Locality-Aware Scheduling (LAS), which prioritizes data placement to reduce I/O delays; LAS with Prefetching (LASP), which anticipates overlapping data access patterns; LYNX, which extends locality optimization through predictive prefetching; Speculative-Aware Scheduling (SAS), which uses predictive modeling to enable speculative task execution; and OM-FNN, a machine learning–based approach that leverages optimized feedforward neural networks to predict energy consumption patterns and guide scheduling choices. Together, these schedulers span heuristic-based, predictive, speculative, and learning-driven philosophies, providing a diverse set of strategies through which the system can generate and evaluate physically consistent scheduling scenarios.
Final Energy Model
This model provides a system for analyzing energy consumption in memory and I/O intensive workflows, accounting for processor dynamics, memory and I/O operations, and thermal effects derived from CFD simulations. The priority of the workflows can be used to determine the order in which the workflows are executed, and hence, the order in which the energy consumption is calculated.
When calculating energy consumption for CPU usage in data analysis workflows, the focus is on accurately measuring the energy spent on CPU and I/O operations. Given that CPU energy consumption accounts for a significant proportion, approximately 37%, of the total energy usage as highlighted in earlier sections, this focus enables a precise assessment of energy efficiency across various computational workflows. By employing the calculations for CPU energy consumption (E_CPU), alongside considerations for memory (E_mem), storage (E_storage), and network (E_network) energy expenditures, the primary objective was to aggregate the energy consumption for each workflow.
The scheduling strategies examined within the research context primarily focus on minimizing turnaround times for computational workflows. However, it’s crucial to recognize that these strategies have varying impacts on resource utilization and energy consumption. A scheduling algorithm that excels in reducing turnaround time does not automatically equate to being energy efficient. For instance, efficient scheduling algorithms like speculation or locality aware, while adept at cutting down on turnaround time, tend to be more demanding in terms of computational resources. This higher computational demand invariably leads to increased energy consumption, making these processes more power intensive. In essence, the pursuit of minimized turnaround times through these scheduling strategies must be balanced with considerations for their energy and resource implications, highlighting the complex trade offs involved in optimizing computing workflows.
VAEs for Energy Consumption Modeling
While real-world workflow traces and energy measurements are inherently limited in scope, this challenge directly motivates our approach. The proposed CFD-PIVAE framework addresses data scarcity by generating physically realistic synthetic samples that emulate diverse operational scenarios. This enables the exploration of energy–performance trade-offs beyond what is feasible through conventional empirical experimentation. We have used a Variational Autoencoder (VAE) to generate synthetic data that represents the connection between energy usage and turnaround time. This data helps predict the best configurations that balances energy efficiency and computational performance in the best possible manner.
The dataset contained important parameters such as the number of workflows (N), input data requirements (IR), system usage, turnaround time (TAT), and energy consumption (E) linked to each workflow. Standardizing the dataset ensured consistency among features. We then created the VAE structure by defining the encoder and decoder networks, and selecting the optimal number of layers and activation functions. The loss function, which includes reconstruction loss, was established to direct model optimisation. The VAE was trained by dividing the dataset into training and validation sets. Backpropagation and gradient descent optimisation algorithms were used to iteratively update model parameters in order to minimise the total loss. The optimal configuration for the VAE was determined by tuning hyperparameters and evaluating on the validation set.
Results and discussion
The primary objective of the experiments was to evaluate the performance of the proposed CFD-PIVAE framework in optimizing energy consumption and turnaround time (TAT) across heterogeneous HPC workflows. The analysis focused on quantifying the efficiency of various scheduling strategies—FCFS, LAS, LASP, LYNX, and SAS—when applied to five representative scientific workflows (WF-1 to WF-5) executed on the DiRAC DIaL system. Each configuration was evaluated using CFD-informed thermal and energy measurements to assess the trade-off between reduced energy consumption and sustained computational performance.
The results section begins by comparing these scheduling techniques using real data, highlighting the trade-offs between execution time and energy consumption. This is followed by an evaluation of the proposed ML-based approach, which uses a CFD-PIVAE to generate synthetic workflow data. The impact of these synthetic configurations is analyzed in terms of both energy efficiency and TAT improvement. To validate the effectiveness of the ML-generated solutions, thermal heatmaps of system components are presented, showing before-and-after states with respect to optimization. The section concludes with a detailed explanation of the error handling mechanism for synthetic data generation and an uncertainty quantification strategy, using latent sampling and bootstrap resampling to assess the reliability and robustness of the generated configurations.
Comparison of Scheduling Strategies: Turnaround Time and Energy Consumption (Real Data)
To ensure a fair comparison, all scheduling strategies were implemented within the same workflow execution framework on the DiRAC Data Intensive at Leicester (DIaL) system. The baseline schedulers—FCFS, LAS, LASP, LYNX, and SAS—were developed as plug-ins in the DiRAC orchestration layer using Python bindings over the Slurm API, allowing unified control of job queues, CPU frequency states, and task-level priorities. Each scheduler executed identical workloads and resource constraints so that any observed variations in turnaround time (TAT) and energy consumption were attributable solely to scheduling logic. The proposed CFD-PIVAE scheduler was integrated into this environment to dynamically adjust task allocation and CPU power caps via the RAPL interface at runtime. Every configuration was executed five times, and the reported results represent mean values with deviations below 3%.
In general, FCFS provides predictable but slower task completion as workload scale increases, reflecting its lack of adaptivity. LAS, LASP, and SAS leverage locality and speculative execution to achieve faster completion times, yet at differing energy costs. SAS demonstrates the most balanced trade-off: aggressive speculation enables significant TAT reduction while containing the energy overhead through efficient CPU frequency scaling guided by CFD-PIVAE predictions.
A closer inspection of WF-1 illustrates this contrast. Under LAS, tasks completed in approximately 461.6 ms at an average effective CPU frequency of 1.70 GHz (81% utilization), resulting in a power draw of 1473.5 W and an energy cost of 18.90 kWh. SAS reduced the same workload’s completion time to 317.4 ms by increasing CPU frequency to 2.02 GHz (96% utilization), drawing 2153 W and consuming 18.98 kWh—slightly higher instantaneous power but markedly improved throughput.
Speculative Scheduling: Time and Energy Sweet Spot
In contrast, there is a proportional decrease in energy consumption, indicating that the system is utilising less power as a result of the diminished performance. Notably, the reduction in energy usage is more significant than the rise in TAT. For instance, in the case of SAS, when the CPU is decreased by 20%, the energy consumption is reduced by approximately 12.76%, which surpasses the increase in Turnaround Time (TAT). The observed pattern remains consistent among the other scheduling techniques and configuration reductions, albeit with slight variations in the ratios.
As we decrease the configuration reduction from 20% to 5%, the TAT (turnaround time) progressively decreases, indicating diminishing returns in terms of energy savings compared to time performance. For example, when the CPU is reduced to 95%, the techniques experience an increase in TAT (turnaround time) ranging from approximately 3.05% to 3.90%. Additionally, there is a decrease in energy consumption ranging from about 4.14% to 4.81%. This suggests that once a certain threshold is reached, the amount of energy saved by decreasing CPU performance results in diminishing returns, while still negatively affecting performance.
The findings indicate a trend: a decrease of 15% in operational configuration has a disproportionately smaller effect on the turnaround time (TAT) for processing tasks, but it does significantly decrease energy consumption. The TAT increase across various scheduling techniques is only around 5-6%, which is relatively moderate compared to the energy savings of approximately 9-10%. This suggests that by reducing the CPU usage to 15% of its maximum capacity for similar workflow analysis, a significant portion of its processing efficiency can be maintained while achieving noticeable energy savings.
Conclusions and Future Work
This paper presented a physics-informed, data-driven framework for energy-aware scheduling in High-Performance Computing (HPC) environments, explicitly targeting the joint optimization of energy consumption and turnaround time (TAT). By integrating Computational Fluid Dynamics (CFD) with a Physics-Informed Variational Autoencoder (PI-VAE), the proposed system embeds thermodynamic constraints directly into synthetic data generation, ensuring that predicted scheduling configurations remain both physically plausible and operationally realistic. Unlike purely heuristic or statistical approaches, this integration enables scheduling decisions to be guided by the coupled effects of compute load, energy dissipation, and thermal behavior.
Experimental evaluations across multiple scheduling strategies (FCFS, LAS, LASP, LYNX, SAS, and OM-FNN) demonstrated the effectiveness of the proposed approach in identifying a practical operational sweet spot. Specifically, controlled CPU frequency reductions of approximately 15% achieved energy savings of up to 10%, while incurring only a 5–6% increase in turnaround time. These results highlight that meaningful reductions in energy consumption can be achieved without significantly compromising workflow performance, thereby supporting sustainable HPC operation under realistic performance constraints. Furthermore, bootstrap-based uncertainty quantification validated the statistical consistency of PI-VAE–generated results against real execution data, reinforcing confidence in the robustness and reliability of the proposed framework.
The current implementation primarily targets CPU-intensive scientific workflows, where energy consumption is strongly correlated with computational demand and thermal effects factors that are effectively captured through CFD-based modeling. While workflow scale is varied through task counts, input sizes, and CPU frequency settings to reflect different execution scenarios, this representation does not yet fully encompass memory-intensive or I/O-intensive workflows, whose energy and performance characteristics are influenced by memory bandwidth, data movement, and network behavior. As a result, the present model focuses on representing and optimizing energy–time trade-offs for compute-dominated workloads, rather than all possible HPC workflow classes.


