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

chunkserver 是否有计划使用io_uring来提高性能 #2904

Closed
yunwoniu opened this issue Nov 17, 2023 · 3 comments
Closed

chunkserver 是否有计划使用io_uring来提高性能 #2904

yunwoniu opened this issue Nov 17, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@yunwoniu
Copy link

General Question

现在chunkserver 使用了aio,后面是否有计划使用io_uring来提高性能呢?

@yunwoniu yunwoniu added the question Further information is requested label Nov 17, 2023
@aspirer
Copy link
Contributor

aspirer commented Nov 17, 2023

暂时没有,之前测试过,发现性能提升不大,可能跟我们架构或者ext4的用法有关。如果你感兴趣的话可以做一些demo测试。

@aspirer aspirer closed this as completed Nov 17, 2023
@yunwoniu
Copy link
Author

yunwoniu commented Nov 18, 2023

image

我在裸盘上用fio测试过,测试结果https://note.youdao.com/s/NqBulfsD
使用-sqthread_poll=1 ,对性能的提升还是比aio强的,你这边的测试具体是怎么测试的?@aspirer

@aspirer
Copy link
Contributor

aspirer commented Dec 8, 2023

我们是基于chunkserver+client整体测试的集群效果,发现瓶颈不在于读写ext4中的chunkfile所用的方式,io_uring是比aio有一定的提升(我印象中是5~10%),但涉及到IO操作流程的修改较多,并且主要瓶颈不在这块,就没有实际开发。

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

No branches or pull requests

3 participants