You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "dao-jun (via GitHub)" <gi...@apache.org> on 2023/11/22 19:44:10 UTC

[PR] Introduce I/O URing for netty4 remoting [dubbo]

dao-jun opened a new pull request, #13406:
URL: https://github.com/apache/dubbo/pull/13406

   ## What is the purpose of the change
   
   Support I/O Uring
   
   ## Brief changelog
   
   
   ## Verifying this change
   
   
   <!-- Follow this checklist to help us incorporate your contribution quickly and easily: -->
   
   ## Checklist
   - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
   - [ ] Each commit in the pull request should have a meaningful subject line and body.
   - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   - [ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
   - [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/dubbo-samples) project.
   - [ ] Add some description to [dubbo-website](https://github.com/apache/dubbo-website) project if you are requesting to add a feature.
   - [ ] GitHub Actions works fine on your own branch.
   - [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide).
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1846460467

   > > > > What are the advantages of I/O URing?
   > > > 
   > > > 
   > > > Please see: https://man.archlinux.org/man/io_uring.7.en
   > > 
   > > 
   > > This is a comparison from the kernel level. I wonder what benefit it would bring to Dubbo?
   > 
   > Generally speaking, it provides higher-performance, I/O uring is an async I/O mechanism, unlike select/poll/epoll_wait, it reduces the number of system calls.
   > 
   > `cq` in I/O uring is user mode memory, so reading to `cq` will not cause the current thread to trapped into kernel mode.
   
   Can you pls provide a benchmark result of it?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1831854717

   What are the advantages of I/O URing?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "dao-jun (via GitHub)" <gi...@apache.org>.
dao-jun commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1863953427

   @AlbumenJ I don't have a linux machine, but I found this: https://github.com/netty/netty/issues/10622#issuecomment-701241587


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1837737234

   > > What are the advantages of I/O URing?
   > 
   > Please see: https://man.archlinux.org/man/io_uring.7.en
   
   This is a comparison from the kernel level. I wonder what benefit it would bring to Dubbo?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "dao-jun (via GitHub)" <gi...@apache.org>.
dao-jun commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1837137654

   > What are the advantages of I/O URing?
   
   Please see: https://man.archlinux.org/man/io_uring.7.en


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] Introduce I/O URing to netty4 remoting [dubbo]

Posted by "dao-jun (via GitHub)" <gi...@apache.org>.
dao-jun commented on PR #13406:
URL: https://github.com/apache/dubbo/pull/13406#issuecomment-1842037734

   > > > What are the advantages of I/O URing?
   > > 
   > > 
   > > Please see: https://man.archlinux.org/man/io_uring.7.en
   > 
   > This is a comparison from the kernel level. I wonder what benefit it would bring to Dubbo?
   
   Generally speaking, it provides higher-performance, I/O uring is an async I/O mechanism, unlike select/poll/epoll_wait, it reduces the number of system calls.
   
   `cq` in I/O uring is user mode memory, so reading to `cq` will not cause the current thread to trapped into kernel mode.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org