Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce io_uring,using liburing,tested on kernel 6.1 #445

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

firear
Copy link
Contributor

@firear firear commented Oct 19, 2023

No description provided.

@ithewei
Copy link
Owner

ithewei commented Oct 23, 2023

非常感谢你的贡献!
我需要点时间认真review和测试下。
另外你做过分别使用epoll和iouring的性能对比数据吗?

@firear
Copy link
Contributor Author

firear commented Oct 26, 2023

用pingpong echo简单测试结果如下:
epollserver epollclient:
Running 10s test @ 127.0.0.1:2000
2 threads and 100 connections, send 1024 bytes each time
total readcount=1906725 readbytes=1952486400
throughput = 186 MB/s

epollserver uringclient:
2 threads and 100 connections, send 1024 bytes each time
total readcount=1866482 readbytes=1911277568
throughput = 182 MB/s

uringserver epollclient:
Running 10s test @ 127.0.0.1:2000
2 threads and 100 connections, send 1024 bytes each time
total readcount=1976892 readbytes=2024337408
throughput = 193 MB/s

uringserver uringclient:
2 threads and 100 connections, send 1024 bytes each time
total readcount=1927291 readbytes=1973545984
throughput = 188 MB/s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants