You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a small storage engine and compio seems the best fit for it, however, the project is built from the ground up with Deterministic Simulation Testing (DST) and in order to it use compio I need to have sure that, given the same key, every run goes exactly the same (or at least exactly enough). Idk, if it's in the roadmap but it would be quite useful.
No kernel ensures the completion order when there are more than one tasks awaiting. It's not a psedo random, but a real random event if you take the IO devices into account.
Yeah I know, that's why the simulator doesn't do any real kernel completion, I'm building it with a IO trait which the simulator implements. My question about non-determinism is for cases like this one.
I'm not familiar with compio internals so that's why I asked
Activity
George-Miao commentedon Dec 12, 2025
By key, do you mean Key in compio_driver?
Berrysoft commentedon Dec 14, 2025
No kernel ensures the completion order when there are more than one tasks awaiting. It's not a psedo random, but a real random event if you take the IO devices into account.
el-yawd commentedon Dec 14, 2025
Yeah I know, that's why the simulator doesn't do any real kernel completion, I'm building it with a IO trait which the simulator implements. My question about non-determinism is for cases like this one.
I'm not familiar with compio internals so that's why I asked
Berrysoft commentedon Dec 15, 2025
Well, yes. compio uses select macro in some cases (time and quic, etc.).