hustcat.github.io
hustcat.github.io copied to clipboard
Why IO utils can reach to 100% when xfs has performance issue
Hi: 无意中看到这个博客,很感谢作者高质量的文章。 看到这个文章https://github.com/hustcat/hustcat.github.io/blob/master/_posts/2015-04-08-xfs-performance-problem.md,有点不能理解,为什么xfs的性能问题,会导致磁盘的利用率计算出来是100%呢? 磁盘的利用率应该是从block layer开始的统计,如果xfs上产生性能问题,请求到不了block layer,理论上不应该是100%的使用率才对。不知道怎么理解这个数据呢?希望能够解惑下,谢谢。
@hustcat @yeyin
看了下ioutil的计算,只要有IO请求在处理,就会给对应设备加上io_tick。因为xfs的性能问题,导致了io请求几乎串行到block层,所以ioutil算出来会是100%。