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

cle*_*tus 34 linux performance tuning io

您如何确定 Linux 服务器的性能受 I/O 限制,也许更重要的是,哪个或哪些进程导致了问题?

wom*_*ble 31

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

  • 现在已经正确修复了链接。营销人员不理解“稳定链接”的概念...... (2认同)

jld*_*ger 16

顶部有一个名为“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/
Run Code Online (Sandbox Code Playgroud)