如何监视IO队列深度
我正在对NVME SSD上方的数据库进行基准测试。随着时间的推移,我想监视该图中队列中的I/O请求的数量,以查看数据库是否完全利用了队列。
我尝试了iostat
之类的工具,但是avgququs-sz
字段始终为零。我认为这可能是因为NVME SSD具有全新的存储堆栈,而不是常规设备(例如SATA SSD)。
I am benchmarking databases above a NVMe SSD. I want to monitor the number of I/O request in the queue in this figure over time to see if the databases fully take advantage of the queues.
I have tried tools like iostat
, but the avgqu-sz
field is always zero. I think this may be becase NVMe SSD has a completely new storage stack rather than conventional devices (e.g., SATA SSD).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案>解决方案
/sys/kernel/debug/tracing/events/nvme/nvme_setup_cmd ,那么,您可以简要了解NVME驱动程序在做什么。
可以找到此输出中每个字段的说明在这里。
Solution:
I suggest also enable
/sys/kernel/debug/tracing/events/nvme/nvme_setup_cmd
, then, you can briefly understand what is the nvme driver doing.The explanation of each field in this output can be found here.