Skip to content

[action] [PR:19118] Increase PTF Container Memory Limits#488

Merged
mssonicbld merged 1 commit intoAzure:202503from
mssonicbld:cherry/msft-202503/19118
Jul 3, 2025
Merged

[action] [PR:19118] Increase PTF Container Memory Limits#488
mssonicbld merged 1 commit intoAzure:202503from
mssonicbld:cherry/msft-202503/19118

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Increase the memory and swap limits of the PTF container to 64 GB.

This is necessary for handling the increased memory consumption from the additional exabgp processes as a result of the additional number of VM peers of the larger topologies.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202412
  • 202503
  • 202505

Approach

What is the motivation for this PR?

To prevent the PTF container from running out of memory when setting up a tesbed for a topology with a large number of VMs.

How did you do it?

Increased the memory/swap limits of the PTF docker container in the ansible playbook.

How did you verify/test it?

Ran the setup with the new memory limits and confirmed that the setup now succeeds.

### Description of PR
Increase the memory and swap limits of the PTF container to 64 GB.

This is necessary for handling the increased memory consumption from the additional `exabgp` processes as a result of the additional number of VM peers of the larger topologies.

Summary:
Fixes # (issue)

### Type of change

- [x] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
    - [ ] Skipped for non-supported platforms
- [ ] Test case improvement

### Back port request
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [x] 202412
- [x] 202503
- [x] 202505

### Approach
#### What is the motivation for this PR?
To prevent the PTF container from running out of memory when setting up a tesbed for a topology with a large number of VMs.

#### How did you do it?
Increased the memory/swap limits of the PTF docker container in the ansible playbook.

#### How did you verify/test it?
Ran the setup with the new memory limits and confirmed that the setup now succeeds.
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-mgmt#19118

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld mssonicbld merged commit fbf4b6c into Azure:202503 Jul 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant