{"id":6025,"date":"2022-06-17T09:47:16","date_gmt":"2022-06-17T01:47:16","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=6025"},"modified":"2022-06-17T17:05:39","modified_gmt":"2022-06-17T09:05:39","slug":"understand-iowait","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/understand-iowait.html","title":{"rendered":"\u7406\u89e3 %IOWAIT (%WIO)"},"content":{"rendered":"
\n

\u672c\u6587\u7531lrxjmw.cn\u56e2\u961f\u6210\u5458\u9b4f\u4e3d\u733f<\/span>\u6574\u7406\u53d1\u5e03\uff0c\u539f\u6587\u6765\u81ea\uff1aLinux Performance<\/a>\u3002<\/p>\n<\/div>\n

%iowait<\/strong> \u662f \u201csar -u<\/strong>\u201d \u7b49\u5de5\u5177\u68c0\u67e5CPU\u4f7f\u7528\u7387\u65f6\u663e\u793a\u7684\u4e00\u4e2a\u6307\u6807\uff0c\u5728Linux\u4e0a\u663e\u793a\u4e3a %iowait\uff0c\u5728\u6709\u7684Unix\u7248\u672c\u4e0a\u663e\u793a\u4e3a %wio\uff0c\u542b\u4e49\u90fd\u662f\u4e00\u6837\u7684,\u8fd9\u4e2a\u6307\u6807\u5e38\u5e38\u88ab\u8bef\u8bfb\uff0c\u5f88\u591a\u4eba\u628a\u5b83\u5f53\u4f5cI\/O\u95ee\u9898\u7684\u5f81\u5146\uff0c\u6211\u81ea\u5df1\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u5c31\u4f1a\u9047\u5230\u5bf9 %iowait \u7d27\u5f20\u516e\u516e\u7684\u5ba2\u6237\uff0c\u4e0d\u5f97\u4e0d\u8d39\u5c3d\u5507\u820c\u53cd\u590d\u89e3\u91ca\uff0c\u4e8b\u5b9e\u4e0a\u8fd9\u4e2a\u6307\u6807\u6240\u542b\u7684\u4fe1\u606f\u91cf\u975e\u5e38\u5c11\uff0c\u4e0d\u80fd\u5355\u72ec\u7528\u6765\u5224\u65ad\u7cfb\u7edf\u6709\u6ca1\u6709I\/O\u95ee\u9898\uff0c\u5728\u6b64\u6211\u4eec\u8be6\u7ec6\u63a2\u8ba8\u4e00\u4e0b\u5b83\u771f\u6b63\u7684\u542b\u4e49\uff0c\u5148\u4eceman page\u4e0a\u7684\u89e3\u91ca\u5f00\u59cb\uff1a<\/p>\n

09:35:06 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle\r\n09:35:07 AM     all      0.00      0.00      0.00      0.00      0.00    100.00\r\n09:35:08 AM     all      0.51      0.00      2.53     13.13      0.00     83.84\r\n09:35:09 AM     all      1.54      0.00      7.69     39.49      0.00     51.28\r\n09:35:10 AM     all      2.04      0.00      9.18     39.80      0.00     48.98\r\n09:35:11 AM     all      1.02      0.00      7.65     40.31      0.00     51.02<\/pre>\n

\u4e0b\u9762\u662fman page\u4e2d\u7684\u90e8\u5206\u89e3\u91ca\uff1a<\/p>\n

 <\/p>\n