Repository navigation
Conversation
…ir operations with IOSQE_FIXED_FILE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The combination of the TUring write-path experiments (draft, for measurement; the owner decides). It is stacked on #214, so the diff here is #215 (fixed files) on top of the deferred task work. Depends on #214.
Why this combination and not #214 + #213:
Change
SINGLE_ISSUER | DEFER_TASKRUN | TASKRUN_FLAG | R_DISABLED, with the COOP_TASKRUN fallback and the stale-IORING_SQ_TASKRUNdrain fix.Register()/RegisterFile()for poller-driven descriptors,IOSQE_FIXED_FILE, andclose_directin the close chain.R_DISABLED, before the firstWait()) is allowed by the kernel. After the firstWait()only the owner thread can register. In another thread the registration fails with EEXIST, and the descriptor is used as a plain one.A/B (rpi5)
rpi5 (Cortex-A76, Linux 7.3.0-1003-raspi, liburing 2.15, GCC 15.3), Release,
examples/benchontaskset -c 3, withrun_ab.sh. Heads alternate in each repetition. Median (min-max) of 7 repetitions for single N=1024 and of 5 for N=16 and chain100. Cycles/hop = cycles:u + cycles:k of-w 100000minus-w 100.Regression of the readiness pollers (their code does not change):
-a 16, 1-2 repetitions: 0.998-1.008.Checks
test_uring*23/23.