Feat/multi gpu support#351
Merged
DanteNiewenhuis merged 16 commits intoJul 15, 2025
Merged
Conversation
Extends the Parquet export functionality to support an arbitrary number of GPUs. This change introduces a new function `withGpuColumns` to `ComputeExportConfig` that dynamically generates the necessary export columns based on the number of GPUs. The existing hardcoded GPU columns are replaced by a new `gpuColumns` function that generates a set of export columns based on the index of the GPU. This enhancement allows users to collect detailed telemetry data for each GPU present in the simulated environment, improving the accuracy and granularity of performance analysis.
Refactors the GPU statistics reporting mechanism to provide a single, aggregated view instead of a list of individual statistics. This change simplifies data access and reduces complexity in downstream processing, allowing for clearer and more efficient analysis of GPU usage. The task export columns are updated to reflect this change.
6bfe654 to
bb9ec42
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #351 +/- ##
============================================
+ Coverage 62.54% 62.62% +0.07%
Complexity 51 51
============================================
Files 354 354
Lines 12223 12256 +33
Branches 1250 1236 -14
============================================
+ Hits 7645 7675 +30
- Misses 4132 4146 +14
+ Partials 446 435 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Addresses an issue where GPU columns were populated with null values. The changes ensure that default values are used when GPU data is unavailable, preventing null values from appearing in telemetry tables and tests.
Adds the power draw of individual GPUs to the exported host statistics. This allows for more detailed analysis of power consumption at the GPU level.
DanteNiewenhuis
approved these changes
Jul 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces comprehensive multi-GPU support to the OpenDC datacenter simulation platform, enabling simulation of modern GPU-accelerated workloads with arbitrary numbers of GPUs per node. The implementation extends the telemetry export system to capture detailed per-GPU metrics and refactors the GPU statistics reporting mechanism for improved performance analysis.
Implementation Notes ⚒️
External Dependencies 🍀
Breaking API Changes⚠️