GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — [CELEBORN-2280] Support celeborn.network.memory.allocator.type to specify netty memory allocator by SteNicholas · Pull Request #3625 · apache/celeborn Conversation
Member
What changes were proposed in this pull request?Support Why are the changes needed?Netty 4.2 introduces Does this PR resolve a correctness bug?No. Does this PR introduce any user-facing change?Introduce How was this patch tested?CI.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Ping @pan3793, @RexXiong, @eolivelli. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Historically, we have had painful experiences with Netty memory management, it would be great if someone has time to run a heavy workload and see if Also cc @cfmcgrady and @AngersZhuuuu, as we had spent a lot of time on this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
BTW, we currently use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Adds a new Celeborn configuration to select the Netty ByteBufAllocator implementation (including Netty 4.2’s AdaptiveByteBufAllocator) and updates network code paths to honor the chosen allocator type.
Changes:
celeborn.network.memory.allocator.type to choose among pooled / unpooled / adaptive allocators.celeborn.network.memory.allocator.pooled flag.Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| docs/migration.md | Adds a migration note for the allocator config change. |
| common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala | Replaces the old pooled boolean config with a new allocator-type config and exposes a typed accessor. |
| common/src/main/java/org/apache/celeborn/common/network/util/NettyUtils.java | Switches allocator instantiation to support pooled/unpooled/adaptive. |
| common/src/main/java/org/apache/celeborn/common/network/util/NettyMemoryAllocatorType.java | Introduces an enum for allocator type selection. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…cify netty memory allocator
3432e59 to
24a1d4e
Compare
There was an error while loading. Please reload this page.
|
@pan3793, IMO, this pull request is aimed to add support for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for words in the migration guide.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…cify netty memory allocator
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Would you have time to compare the performance of these allocators? We are currently using PooledByteBufAllocator with the Memory Merge feature, and it appears to be stable at the moment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@RexXiong, yes. I would like to compare the performance of these netty memory allocators. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merged to main(v0.7.0). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.