Skip to content

[Test] Cap OSU collective message size at 8K on burstable-network instances - #7619

Closed
hanwen-cluster wants to merge 1 commit into
aws:developfrom
hanwen-cluster:developsep10
Closed

hanwen-cluster wants to merge 1 commit into
aws:developfrom
hanwen-cluster:developsep10

Conversation

@hanwen-cluster

Copy link
Copy Markdown
Contributor

Description of changes

On 500 x c5.xlarge the collectives above 8K are bandwidth bound and run above the instance's 1.25 Gbps network baseline, so the result tracks EC2 burst credits rather than the software under test. In the perf history, those tests show most noises, and don't give clear signals of performance degradation

Tests

  • test_osu has been passed

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hanwen-cluster
hanwen-cluster requested review from a team as code owners September 10, 2026 20:20
@hanwen-cluster
hanwen-cluster force-pushed the developsep10 branch 2 times, most recently from 444f0cf to 35674db Compare September 10, 2026 20:22
assert_no_errors_in_logs(remote_command_executor, scheduler, skip_ice=True)


def _has_burstable_network(instance_info):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[minor] why two loops on cards?
Can't we just do a single loop with something like?

    for card in network_info.get("NetworkCards"):
        if "BaselineBandwidthInGbps" in card and "PeakBandwidthInGbps" in card:
            return card["BaselineBandwidthInGbps"] < card["PeakBandwidthInGbps"]

CONFIRMATION_REPETITIONS = 2

# Largest collective message size run on instance types with a burstable network.
BURSTABLE_NETWORK_MAX_MESSAGE_SIZE = 8192

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did we come with this value?
Doesn't it depend on the specific bandwidth cap of the instance type?

…IXES

We were not correctly excluding instance types like g2, and generated failures in test_essential_features in some regions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants