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

io_u: make rate-submit in inline mode even #1751

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qsqx
Copy link

@qsqx qsqx commented Apr 12, 2024

In inline submit mode, threads wait until all previous IOs finish upon reaching rate limits, which may exceed the expected wait time and result in batch or uneven submissions.

Handle completion events in usec_sleep() when necessary and no longer call io_u_quiesce() before sleeping in rate_ddir() to achieve smoother fix-rate submission as in offload mode.

In `inline` submit mode, threads wait until all previous IOs finish upon
reaching rate limits, which may exceed the expected wait time and result
in batch or uneven submissions.

Handle completion events in usec_sleep() when necessary and no longer call
io_u_quiesce() before sleeping in rate_ddir() to achieve smoother fix-rate
submission as in `offload` mode.

Signed-off-by: wanghonghao <[email protected]>
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.

1 participant