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

Reduce big message RPC allocations #19390

Merged
merged 3 commits into from Apr 1, 2024

Conversation

klauspost
Copy link
Contributor

Description

Adds 32 -> 96KB RPC buffers. When we know the size needed fetch the appropriate buffers.

Add separate rpc call for inline data that will fetch a buffer for the inline data before unmarshal.

Should replace #19386

Motivation and Context

Reduce allocations and slice resizing

How to test this PR?

Perform uploads with inline data sizes.

Types of changes

  • Optimization (provides speedup with no functional changes)

…ppropriate buffers.

Use `ODirectPoolSmall` buffers for inline data in PutObject.

Add separate rpc call for inline data that will fetch a buffer for the inline data before unmarshal.

Should replace minio#19386
@klauspost
Copy link
Contributor Author

Seems like a typo check test just went crazy ;)

@harshavardhana

This comment was marked as resolved.

@harshavardhana harshavardhana merged commit b435806 into minio:master Apr 1, 2024
20 checks passed
@klauspost klauspost deleted the grid-add-32kb-buffers branch April 2, 2024 09:10
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.

None yet

2 participants