mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #321] 关于io-uring队列深度使用的讨论 #201
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Alexanderchens on GitHub (Aug 14, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/321
3FS/src/storage/aio
/AioReadWorker.cc
在这一步部分的代码当中,对于iouring的提交和收割,你们是这么写的:
也就是基本遵循(一次提交,对应一次io收割)。
这一步似乎写成两个轮询的线程会有更高的效率?因为在现有实现下,对于ssd队列深度的使用基本等于一次提交的子请求数量。如果改写成在两个线程中进行:
此时,第二次提交的批量请求,也能够直接投入到sqe环中,而由另一个线程进行不断收割IO,队列深度的利用率和整体io效率也许会更高?
@qum1nzhennan commented on GitHub (Jul 18, 2026):
确实