rickyma opened a new pull request, #1780: URL: https://github.com/apache/incubator-uniffle/pull/1780
### What changes were proposed in this pull request? Introduce configs to reduce the chunkSize of the gRPC internal Netty's PooledByteBufAllocator to reduce memory usage on the server-side. When enabling Netty, the changes for gRPC internal Netty's configs will be as follows: `io.netty.allocator.pageSize`: 8192 -> 4096 (bytes) `io.netty.allocator.maxOrder`: 11 -> 3 `io.netty.allocator.smallCacheSize`: 128 -> 1024 Note: `chunkSize` = `pageSize` * 2^`maxOrder`, Thus, the `io.netty.allocator.chunkSize`: 2MB -> 32KB ### Why are the changes needed? For https://github.com/apache/incubator-uniffle/issues/1773. ### Does this PR introduce _any_ user-facing change? No. This PR will not change anything when using GRPC. It will only take effect when using GRPC_NETTY. Adds configs: `rss.rpc.netty.pageSize`, `rss.rpc.netty.maxOrder`, `rss.rpc.netty.smallCacheSize` ### How was this patch tested? Existing tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
