Skip to content

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

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

[action] [PR:19118] Increase PTF Container Memory Limits#489
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/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 successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit c22f3a0 into Azure:202412 Jul 3, 2025
6 of 14 checks passed
r12f added a commit to r12f/sonic-mgmt.msft that referenced this pull request Jul 3, 2025
StormLiangMS added a commit that referenced this pull request Jul 3, 2025
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