Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prunable Pool Allocator #4517

Merged
merged 9 commits into from
Sep 5, 2024
Merged

Prunable Pool Allocator #4517

merged 9 commits into from
Sep 5, 2024

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Aug 29, 2024

Description

Updates the datapath RX buffers (on Windows) to periodically prune items to keep from growing and holding on to too much memory.

Testing

CI/CD

Documentation

N/A

@@ -696,12 +696,6 @@ TEST_F(DataPathTest, InitializeInvalid)
ASSERT_EQ(QUIC_STATUS_INVALID_PARAMETER, Datapath.GetInitStatus());
ASSERT_EQ(nullptr, Datapath.Datapath);
}
if (!UseDuoNic) {
Copy link
Member Author

Choose a reason for hiding this comment

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

This test case is invalid if you have XDP installed locally (which I do).

Copy link
Contributor

Choose a reason for hiding this comment

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

WOW

@nibanks nibanks marked this pull request as ready for review August 31, 2024 16:21
@nibanks nibanks requested a review from a team as a code owner August 31, 2024 16:21
Copy link

codecov bot commented Aug 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.06%. Comparing base (c0a739a) to head (d1f97ad).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4517      +/-   ##
==========================================
- Coverage   86.24%   85.06%   -1.18%     
==========================================
  Files          56       56              
  Lines       15520    15520              
==========================================
- Hits        13385    13202     -183     
- Misses       2135     2318     +183     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nibanks nibanks changed the title Prototype Prunable Pool Allocator Prunable Pool Allocator Sep 2, 2024
@nibanks nibanks merged commit c68abdf into main Sep 5, 2024
469 of 471 checks passed
@nibanks nibanks deleted the prunable-pool-allocs branch September 5, 2024 20:32
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.

3 participants