如何识别Linux服务器上的I / O瓶颈?

你如何确定你的Linux服务器的性能是受I / O限制的,也许更重要的是哪个进程或进程正在产生问题?

    我写了一个全面的指南来跟踪Linux系统上的工作性能瓶颈: http : //web.archive.org/web/20101028025942/https : //anchor.com.au/hosting/development/HuntingThePerformanceWumpus 。 涵盖的内容超出了你的要求,但它(希望)会帮助你追踪你看到的问题,而不pipe实际的来源。

    顶部有一个叫做“iowait”的字段。 如果你的系统看到很多,你知道一些事情。 还有iotop!

    Package: iotop: Description: simple top-like I/O monitor iotop does for I/O usage what top(1) does for CPU usage. It watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and displays a table of current I/O usage by processes on the system. Handy for answering the question "Why is my disk churning so much?". Homepage: http://guichaz.free.fr/iotop/ 

    IoTop可能是你正在寻找的。

    使用一些linux基本命令可以发现I / O瓶颈。并且也调查和比较它们的输出。 阅读: 了解Linux IO