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

--block-io doesnt capture NVMe device read/writes. #290

Closed
cvonelm opened this issue Jun 1, 2023 · 1 comment · Fixed by #310
Closed

--block-io doesnt capture NVMe device read/writes. #290

cvonelm opened this issue Jun 1, 2023 · 1 comment · Fixed by #310

Comments

@cvonelm
Copy link
Member

cvonelm commented Jun 1, 2023

As experimentation showed, the issue with NVMe is not faulty handling of block I/0 events but merely not enough block_bio_* events happening for the expected work load, especially for reads but partially also for writes.

As this presentation puts it: there are now "Dedicated read queues" for NVMe devices, which sounds to me like NVMes are bypassing the block layer. (which is sensible, because the block layer is big, slow and made with spinning platters in mind)

There are nvme_setup_cmd and nvme_complete_rq tracepoints specifically for NVMe, but one might want to look for a unified solution.

@cvonelm
Copy link
Member Author

cvonelm commented Mar 12, 2024

Further research showed that we were just hooking into the wrong tracepoints. With #310 we capture the complete block I/O traffic.

Closing as NVMes were not at the heart of the problem

@cvonelm cvonelm closed this as completed Mar 12, 2024
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 a pull request may close this issue.

1 participant