I/O性能优化

原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/11525014.html

Linux 系统的 I/O 栈图

I/O性能指标

根据指标找工具

根据工具查指标

iostat、vmstat、pidstat

  1. 先用 iostat 发现磁盘 I/O 性能瓶颈;
  2. 再借助 pidstat ,定位出导致瓶颈的进程;
  3. 随后分析进程的 I/O 行为;
  4. 最后,结合应用程序的原理,分析这些 I/O 的来源。

Reference

https://time.geekbang.org/column/article/79001

猜你喜欢

转载自www.cnblogs.com/agilestyle/p/11525014.html