You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "zhengchenyu (via GitHub)" <gi...@apache.org> on 2024/09/25 07:43:53 UTC
[PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
zhengchenyu opened a new pull request, #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146
### What changes were proposed in this pull request?
The server-side supports choosing Netty's ByteBufAllocator.
### Why are the changes needed?
Fix: #2145
### Does this PR introduce _any_ user-facing change?
Introduce rss.server.netty.pooled.allocator.enabled to choose allocator.
### How was this patch tested?
test in cluster.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on PR #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146#issuecomment-2373340464
The Uniffle server does not support `PooledByteBufAllocator` for now. You can refer to https://github.com/apache/incubator-uniffle/pull/1534.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on PR #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146#issuecomment-2373611665
Yes, you are right.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [uniffle]
Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #2146:
URL: https://github.com/apache/uniffle/pull/2146#issuecomment-2809262347
> I need this feature. I found that in our production environment, memory allocation and deallocation are very slow on the machines with large memory(1.5T). We will reserve sufficient memory, so I think the risk of OOM is relatively low for us. So I think this feature can be used as an option. cc @rickyma @zhengchenyu @jerqi @zuston
Make sense to me. Let @zhengchenyu take a deep look.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [uniffle]
Posted by "xianjingfeng (via GitHub)" <gi...@apache.org>.
xianjingfeng commented on PR #2146:
URL: https://github.com/apache/uniffle/pull/2146#issuecomment-2809039275
I need this feature. I found that in our production environment, memory allocation and deallocation are very slow on machines with large memory(1.5T). We will reserve sufficient memory, so I think the risk of OOM is relatively low for us. So I think this feature can be used as an option. cc @rickyma @zhengchenyu @jerqi @zuston
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "zhengchenyu (via GitHub)" <gi...@apache.org>.
zhengchenyu commented on PR #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146#issuecomment-2373501137
> The Uniffle server does not support `PooledByteBufAllocator` for now. You can refer to #1534.
Thanks for you quick reply! It is just a draft.
I think you mean that if we used pooled allocator, we allocate chunkSize, but it is not matched with usedMemory in uniffle, then may result to OOM. Am I correct in my understanding?
If so, just close this pr.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146#issuecomment-2373368304
## Test Results
2 744 files - 46 2 744 suites - 46 5h 8m 4s :stopwatch: - 16m 25s
1 019 tests ± 0 1 016 :white_check_mark: + 1 1 :zzz: ±0 2 :x: - 1
12 562 runs - 102 12 541 :white_check_mark: - 97 15 :zzz: ±0 6 :x: - 5
For more details on these failures, see [this check](https://github.com/apache/incubator-uniffle/runs/30630237304).
Results for commit 84ab3d46. ± Comparison against base commit 8f4494b6.
[test-results]:data:application/gzip;base64,H4sIAAzF82YC/03Myw7CIBCF4VdpWLtgpkCpL2O4JsReDIVV47sL2mKX55vJvxMfJreRe4cDY7eObDmk67Y5qhTWpQhIJiuVe6ofQGE852PLxvxM/O0ZXtUaeBWmmm7gYlxjEVok5uVbRS7wmK2KnEGzo8pPOKri3NeoWec5pDKIZEr3lgmre0AAgV4qrTRQNXpnpaOeDr1ETt4fcXBipxQBAAA=
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "zhengchenyu (via GitHub)" <gi...@apache.org>.
zhengchenyu closed pull request #2146: [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator.
URL: https://github.com/apache/incubator-uniffle/pull/2146
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#2145] feat(server): The server-side supports choosing Netty's ByteBufAllocator. [incubator-uniffle]
Posted by "zhengchenyu (via GitHub)" <gi...@apache.org>.
zhengchenyu commented on PR #2146:
URL: https://github.com/apache/incubator-uniffle/pull/2146#issuecomment-2373635927
> Yes, you are right.
Thanks for your reply! I will revert it in our repo, then I'm trying to use mimalloc that you talked about earlier.
--
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: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org