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 — feat: Support MPTCP for epoll LinuxSocket by jjz921024 · Pull Request #17091 · netty/netty Conversation
|
|
Could you investigate the behavior of While investigating UDS recently, I found that its behavior isn't entirely consistent with TCP: #17127. Since MPTCP doesn't necessarily follow the same internal code path as TCP in the Linux kernel, I suspect that some CQE flags may not be present in the receive CQEs for MPTCP. If that's the case, it could lead to performance issues in certain scenarios. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@dreamlike-ocean Hi. You're right. I also went through most of the io_uring features and flags that Netty's io_uring transport uses, and verified against Linux 6.17 that MPTCP sockets don't support recv bundle, zero-copy send, and the SOCK_NONEMPTY flag:
So, since these three issues, maybe it's better to land MPTCP support on epoll first and treat io_uring MPTCP as a follow-up? or consider gating these features off (or documenting them) when MPTCP is selected on io_uring, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@dreamlike-ocean thoughts ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think we can implement MPTCP on epoll first. as long as unix-common exposes the relevant syscall, that's enough for us, and we can add MPTCP to io_uring later. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@normanmaurer @dreamlike-ocean Hi, I've removed the MPTCP related changes from the io_uring transport, so this PR is now epoll-only. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Motivation: The MPTCP change replaced the protected `Socket.newSocketStream0(boolean ipv6)` with `newSocketStream0(boolean ipv6, boolean mptcp)`. Revapi reports this as `java.method.numberOfParametersChanged`, and the build fails. The method is protected on a public class, so subclasses outside of Netty may call it. Modification: Re-add `newSocketStream0(boolean ipv6)` and let it delegate to `newSocketStream0(ipv6, false)`. Result: No API break, and the revapi check passes again.
✅ All tests passed ✅🏷️ Commit: 6bc7342 Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jjz921024 can you please sign our ICLA and let me know once done ? https://netty.io/s/icla |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@normanmaurer Done, I've signed the ICLA. Please let me know if you need anything else. |
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.
Implementing MPTCP support in Netty
There was an error while loading. Please reload this page.