{"id":94938,"date":"2026-08-15T18:49:19","date_gmt":"2026-08-15T10:49:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/94938.html"},"modified":"2026-08-15T18:49:19","modified_gmt":"2026-08-15T10:49:19","slug":"%e7%94%9f%e4%ba%a7%e5%a4%8d%e7%9b%98%ef%bc%9a%e5%9b%bd%e4%ba%a7%e5%8c%96%e6%9c%8d%e5%8a%a1%e5%99%a8-io-%e7%93%b6%e9%a2%88%e5%af%bc%e8%87%b4%e6%95%b0%e6%8d%ae%e5%ba%93%e6%80%a7%e8%83%bd%e9%9b%aa","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/94938.html","title":{"rendered":"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09"},"content":{"rendered":"<h2>\u6458\u8981<\/h2>\n<p>\u653f\u52a1\u7cfb\u7edf\u4fe1\u521b\u6539\u9020&#xff0c;\u6570\u636e\u5e93\u4ece x86 \u7269\u7406\u673a\u8fc1\u79fb\u5230\u9cb2\u9e4f 920 \u56fd\u4ea7\u670d\u52a1\u5668 &#043; \u5168\u95ea\u5b58\u50a8&#xff0c;\u672c\u4ee5\u4e3a\u6027\u80fd\u4f1a\u6301\u5e73&#xff0c;\u7ed3\u679c\u4e0a\u7ebf\u9ad8\u5cf0\u671f\u76f4\u63a5\u96ea\u5d29&#xff1a;TPS \u4ece 2000 \u6389\u5230 700&#xff0c;\u5199\u5165\u5ef6\u8fdf\u7ffb 10 \u500d&#xff0c;\u653f\u52a1\u7533\u62a5\u63a5\u53e3\u5927\u9762\u79ef\u8d85\u65f6\u3002\u56e2\u961f\u4e00\u5f00\u59cb\u6b7b\u78d5\u6570\u636e\u5e93\u53c2\u6570\u3001\u4f18\u5316 SQL&#xff0c;\u6298\u817e\u4e09\u5929\u6ca1\u8d77\u8272&#xff0c;\u6700\u540e\u5b9a\u4f4d\u5230\u5e95\u5c42 IO \u6808\u5168\u662f\u9ed8\u8ba4\u914d\u7f6e&#xff0c;\u56fd\u4ea7\u5b58\u50a8 &#043; ARM \u67b6\u6784\u7684\u9002\u914d\u5751\u4e00\u4e2a\u6ca1\u8e29\u5168\u3002<\/p>\n<p>\u672c\u6587\u57fa\u4e8e\u4e00\u7ebf\u653f\u52a1\u9879\u76ee\u771f\u5b9e\u4f18\u5316\u5b9e\u5f55&#xff0c;\u5b8c\u6574\u8fd8\u539f\u6545\u969c\u6392\u67e5\u5168\u6d41\u7a0b&#xff0c;\u62c6\u89e3\u56fd\u4ea7\u5316\u670d\u52a1\u5668 5 \u5927\u7279\u6709 IO \u5751&#xff0c;\u4ece\u7cfb\u7edf\u5c42\u3001\u5b58\u50a8\u5c42\u3001\u6570\u636e\u5e93\u5c42\u3001\u67b6\u6784\u5c42\u56db\u5c42\u8f93\u51fa\u5168\u94fe\u8def\u4f18\u5316\u65b9\u6848&#xff0c;\u8986\u76d6\u4eba\u5927\u91d1\u4ed3 V9\u3001\u8fbe\u68a6 DM9 \u53cc\u5e93\u4e13\u5c5e\u53c2\u6570&#xff0c;\u9644\u4f18\u5316\u524d\u540e\u5b9e\u6d4b\u5bf9\u6bd4\u3001\u53ef\u76f4\u63a5\u590d\u5236\u7684\u8c03\u4f18\u547d\u4ee4\u3002\u7167\u7740\u505a&#xff0c;\u56fd\u4ea7\u5316\u73af\u5883\u6570\u636e\u5e93 IO \u6027\u80fd\u53ef\u63d0\u5347 2~3 \u500d&#xff0c;\u5ef6\u8fdf\u964d\u4f4e 80% \u4ee5\u4e0a\u3002<\/p>\n<p>\u653f\u52a1\u9009\u91d1\u4ed3&#xff0c;\u91d1\u878d\u9009\u8fbe\u68a6&#xff1b;MySQL \u8fc1\u79fb\u9009\u91d1\u4ed3&#xff0c;Oracle \u8fc1\u79fb\u9009\u8fbe\u68a6\u3002\u5168\u6587\u65e0\u7a7a\u6cdb\u7406\u8bba&#xff0c;\u6240\u6709\u53c2\u6570\u5747\u7ecf\u8fc7\u56fd\u4ea7 ARM \u670d\u52a1\u5668 &#043; \u5168\u95ea\u5b58\u50a8\u751f\u4ea7\u538b\u6d4b\u9a8c\u8bc1\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u751f\u4ea7\u60ca\u9b42&#xff1a;\u8fc1\u5230\u56fd\u4ea7\u670d\u52a1\u5668&#xff0c;\u6570\u636e\u5e93\u6027\u80fd\u76f4\u63a5\u8170\u65a9<\/h3>\n<p>&#x1f4cc; \u6545\u969c\u80cc\u666f&#xff1a;\u67d0\u5730\u5e02\u653f\u52a1\u670d\u52a1\u7cfb\u7edf\u4fe1\u521b\u6539\u9020&#xff0c;\u6570\u636e\u5e93\u4ece x86 Intel \u670d\u52a1\u5668 &#043; SAS \u5b58\u50a8&#xff0c;\u8fc1\u79fb\u81f3\u9cb2\u9e4f 920 \u56fd\u4ea7\u670d\u52a1\u5668 &#043; \u56fd\u4ea7\u5168\u95ea SSD \u5b58\u50a8&#xff0c;\u6570\u636e\u5e93\u4e3a\u4eba\u5927\u91d1\u4ed3 V9&#xff0c;\u6570\u636e\u91cf\u7ea6 800G&#xff0c;\u65e5\u5e38 TPS \u5cf0\u503c 2000 \u5de6\u53f3\u3002<\/p>\n<h4>1.1 \u5b8c\u6574\u6545\u969c\u65f6\u95f4\u7ebf<\/h4>\n<table>\n<tr>\u65f6\u95f4\u70b9\u4e8b\u4ef6\u6392\u67e5\u64cd\u4f5c<\/tr>\n<tbody>\n<tr>\n<td>\u4e0a\u7ebf\u5f53\u5929<\/td>\n<td>\u4f4e\u5cf0\u671f\u8fd0\u884c\u6b63\u5e38&#xff0c;\u54cd\u5e94\u7565\u6162\u4f46\u53ef\u63a5\u53d7<\/td>\n<td>\u8ba4\u4e3a\u662f\u9002\u914d\u671f\u6b63\u5e38\u73b0\u8c61&#xff0c;\u672a\u6df1\u7a76<\/td>\n<\/tr>\n<tr>\n<td>\u6b21\u65e5\u65e9\u9ad8\u5cf0<\/td>\n<td>\u4e1a\u52a1\u7533\u62a5\u91cf\u4e0a\u6da8&#xff0c;TPS \u4ece\u9884\u671f 2000 \u6389\u5230 700&#xff0c;\u63a5\u53e3\u5e73\u5747\u5ef6\u8fdf\u4ece 30ms \u6da8\u5230 300ms<\/td>\n<td>\u6392\u67e5 SQL\u3001\u7d22\u5f15&#xff0c;\u672a\u89c1\u660e\u663e\u6162 SQL<\/td>\n<\/tr>\n<tr>\n<td>\u9ad8\u5cf0\u6301\u7eed\u671f<\/td>\n<td>\u5199\u5165\u63a5\u53e3\u5927\u9762\u79ef\u8d85\u65f6&#xff0c;99 \u5206\u4f4d\u5ef6\u8fdf\u8d85 1 \u79d2<\/td>\n<td>\u8c03\u5927\u6570\u636e\u5e93\u7f13\u51b2\u533a\u3001\u4f18\u5316\u68c0\u67e5\u70b9&#xff0c;\u6536\u6548\u751a\u5fae<\/td>\n<\/tr>\n<tr>\n<td>\u7b2c\u4e8c\u5929<\/td>\n<td>\u56e2\u961f\u6b7b\u78d5\u6570\u636e\u5e93\u53c2\u6570\u3001\u52a0\u7d22\u5f15\u3001\u4f18\u5316 SQL&#xff0c;\u6027\u80fd\u65e0\u672c\u8d28\u63d0\u5347<\/td>\n<td>\u6000\u7591\u56fd\u4ea7\u6570\u636e\u5e93\u6027\u80fd\u4e0d\u884c&#xff0c;\u51c6\u5907\u56de\u9000 x86<\/td>\n<\/tr>\n<tr>\n<td>\u7b2c\u4e09\u5929<\/td>\n<td>\u8f6c\u5411\u5e95\u5c42\u6392\u67e5&#xff0c;iostat \u53d1\u73b0 IO await \u9ad8\u8fbe 8ms&#xff0c;% util \u5e38\u5e74\u6253\u6ee1<\/td>\n<td>\u5b9a\u4f4d\u6838\u5fc3\u74f6\u9888\u5728\u5b58\u50a8 IO \u6808&#xff0c;\u6570\u636e\u5e93\u80cc\u4e86\u9505<\/td>\n<\/tr>\n<tr>\n<td>\u4f18\u5316\u7a97\u53e3\u671f<\/td>\n<td>\u9010\u5c42\u4f18\u5316 IO \u8c03\u5ea6\u3001\u5b58\u50a8\u7f13\u5b58\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u6570\u636e\u5e93\u53c2\u6570<\/td>\n<td>\u4f18\u5316\u5b8c\u6210\u540e\u6027\u80fd\u53cd\u8d85 x86 \u539f\u73af\u5883<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>1.2 \u6838\u5fc3\u6545\u969c\u73b0\u8c61<\/h4>\n<li>\u5199\u5165\u5ef6\u8fdf\u98d9\u5347&#xff1a;\u8bfb\u64cd\u4f5c\u57fa\u672c\u6b63\u5e38&#xff0c;\u5199\u5165\u5ef6\u8fdf\u7ffb 10 \u500d&#xff0c;TPS \u4e0a\u4e0d\u53bb<\/li>\n<li>CPU \u4e0d\u9ad8 IO \u6ee1&#xff1a;\u6570\u636e\u5e93 CPU \u4f7f\u7528\u7387\u4e0d\u5230 30%&#xff0c;\u4f46\u78c1\u76d8 % util \u957f\u671f 100%&#xff0c;IO \u7b49\u5f85\u5360\u6bd4\u6781\u9ad8<\/li>\n<li>\u53c2\u6570\u4f18\u5316\u65e0\u6548&#xff1a;\u8c03\u5927\u5185\u5b58\u3001\u6539\u68c0\u67e5\u70b9\u3001\u4f18\u5316 SQL&#xff0c;\u90fd\u53ea\u80fd\u8f7b\u5fae\u6539\u5584&#xff0c;\u89e3\u51b3\u4e0d\u4e86\u6839\u672c\u95ee\u9898<\/li>\n<li>\u4f4e\u5cf0\u6b63\u5e38\u9ad8\u5cf0\u5d29&#xff1a;\u5e76\u53d1\u4f4e\u7684\u65f6\u5019\u4e00\u5207\u6b63\u5e38&#xff0c;\u4e00\u4e0a\u91cf\u5c31\u96ea\u5d29&#xff0c;\u5178\u578b\u7684 IO \u541e\u5410\u91cf\u74f6\u9888<\/li>\n<h4>1.3 \u6700\u5927\u7684\u8bef\u533a<\/h4>\n<p>\u5f88\u591a\u56e2\u961f\u8fc1\u4fe1\u521b&#xff0c;\u9047\u5230\u6027\u80fd\u95ee\u9898\u7b2c\u4e00\u53cd\u5e94\u662f\u300c\u56fd\u4ea7\u6570\u636e\u5e93\u4e0d\u884c\u300d\u300cARM \u6027\u80fd\u5dee\u300d&#xff0c;\u5b9e\u9645\u4e0a 80% \u7684\u573a\u666f\u90fd\u662f\u5e95\u5c42 IO \u6808\u6ca1\u505a\u9002\u914d&#xff0c;\u8fd8\u5728\u7528\u673a\u68b0\u76d8\u7684\u9ed8\u8ba4\u914d\u7f6e\u8dd1\u5168\u95ea SSD&#xff0c;\u6570\u636e\u5e93\u548c CPU \u7eaf\u7eaf\u80cc\u9505\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u6392\u67e5\u5168\u6d41\u7a0b&#xff1a;\u4ece\u5e94\u7528\u5230\u5e95\u5c42&#xff0c;\u4e00\u6b65\u6b65\u5b9a\u4f4d IO \u74f6\u9888<\/h3>\n<p>\u9047\u5230\u6027\u80fd\u95ee\u9898\u522b\u4e0a\u6765\u5c31\u6539\u6570\u636e\u5e93&#xff0c;\u6309\u4ece\u4e0a\u5230\u4e0b\u7684\u987a\u5e8f\u6392\u67e5&#xff0c;10 \u5206\u949f\u5c31\u80fd\u5b9a\u4f4d\u662f\u4e0d\u662f IO \u7684\u9505\u3002<\/p>\n<h4>\u7b2c\u4e00\u6b65&#xff1a;\u5148\u6392\u9664\u5e94\u7528\u4e0e\u6570\u636e\u5e93\u5c42\u9762<\/h4>\n<li>\u67e5\u6162 SQL&#xff1a;\u770b\u662f\u4e0d\u662f\u7a81\u7136\u51fa\u73b0\u5927\u91cf\u6162 SQL \u5bfc\u81f4 IO \u5347\u9ad8&#xff0c;\u786e\u8ba4 SQL \u6267\u884c\u8ba1\u5212\u6b63\u5e38\u3001\u7d22\u5f15\u6709\u6548<\/li>\n<li>\u67e5\u7b49\u5f85\u4e8b\u4ef6&#xff1a;\u6570\u636e\u5e93\u5c42\u9762\u770b\u662f\u4e0d\u662f IO \u7b49\u5f85\u5360\u4e3b\u5bfc\n<p>&#8212; \u91d1\u4ed3&#xff1a;\u67e5\u770b\u7b49\u5f85\u4e8b\u4ef6&#xff0c;IO\u7c7b\u7b49\u5f85\u5360\u6bd4\u9ad8\u5c31\u662fIO\u74f6\u9888<br \/>\nSELECT event, count(*) FROM sys_stat_activity WHERE wait_event_type &#061; &#039;IO&#039; GROUP BY event;<\/p>\n<p>&#8212; \u8fbe\u68a6&#xff1a;\u67e5\u770b\u7cfb\u7edf\u7b49\u5f85\u4e8b\u4ef6<br \/>\nSELECT class, wait_time FROM v$system_wait_class WHERE class LIKE &#039;%IO%&#039;;<\/p>\n<\/li>\n<li>\u67e5\u7f13\u5b58\u547d\u4e2d\u7387&#xff1a;\u547d\u4e2d\u7387\u6b63\u5e38\u8bf4\u660e\u5185\u5b58\u591f&#xff0c;\u95ee\u9898\u4e0d\u5728\u7f13\u51b2\u533a\n<p>&#8212; \u91d1\u4ed3\u7f13\u5b58\u547d\u4e2d\u7387<br \/>\nSELECT sum(blks_hit)*100\/sum(blks_hit&#043;blks_read) FROM sys_stat_database;<\/p>\n<\/li>\n<h4>\u7b2c\u4e8c\u6b65&#xff1a;\u7cfb\u7edf\u5c42\u786e\u8ba4 IO \u74f6\u9888<\/h4>\n<p>\u7528 iostat -x 1 \u4e00\u773c\u5c31\u80fd\u786e\u8ba4&#xff0c;\u91cd\u70b9\u770b\u8fd9\u56db\u4e2a\u6307\u6807&#xff1a;<\/p>\n<p>bash<\/p>\n<p>iostat -x 1<\/p>\n<table>\n<tr>\u6307\u6807\u6b63\u5e38 SSD \u503c\u6545\u969c\u503c\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>%util<\/td>\n<td>&lt;30%<\/td>\n<td>90%~100%<\/td>\n<td>\u78c1\u76d8\u5229\u7528\u7387&#xff0c;\u957f\u671f\u6ee1\u5c31\u662f\u74f6\u9888<\/td>\n<\/tr>\n<tr>\n<td>await<\/td>\n<td>&lt;0.5ms<\/td>\n<td>5~20ms<\/td>\n<td>\u5e73\u5747 IO \u7b49\u5f85\u65f6\u95f4&#xff0c;SSD \u8d85\u8fc7 1ms \u5c31\u5f02\u5e38<\/td>\n<\/tr>\n<tr>\n<td>r_await\/w_await<\/td>\n<td>&lt;0.3ms<\/td>\n<td>\u6570\u6beb\u79d2<\/td>\n<td>\u8bfb\u5199\u5355\u72ec\u7b49\u5f85\u65f6\u95f4&#xff0c;\u5199\u5165\u9ad8\u91cd\u70b9\u770b\u5199\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>avgqu-sz<\/td>\n<td>&lt;5<\/td>\n<td>\u51e0\u5341<\/td>\n<td>IO \u961f\u5217\u6df1\u5ea6&#xff0c;\u6392\u961f\u4e25\u91cd\u8bf4\u660e\u5904\u7406\u4e0d\u8fc7\u6765<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u2705 \u786e\u8bca\u6807\u51c6&#xff1a;% util \u957f\u671f\u63a5\u8fd1 100%&#xff0c;await \u8fdc\u8d85 SSD \u6b63\u5e38\u6c34\u5e73&#xff0c;\u540c\u65f6\u6570\u636e\u5e93 IO \u7b49\u5f85\u5360\u6bd4\u6700\u9ad8&#xff0c;\u5c31\u662f\u7eaf IO \u74f6\u9888\u3002<\/p>\n<h4>\u7b2c\u4e09\u6b65&#xff1a;\u5b9a\u4f4d IO \u74f6\u9888\u5728\u54ea\u4e00\u5c42<\/h4>\n<p>IO \u662f\u6574\u6761\u94fe\u8def&#xff0c;\u4ece\u6570\u636e\u5e93\u2192\u6587\u4ef6\u7cfb\u7edf\u2192\u64cd\u4f5c\u7cfb\u7edf\u2192RAID \u5361\u2192\u786c\u76d8&#xff0c;\u9010\u5c42\u6392\u9664&#xff1a;<\/p>\n<li>\u5148\u6d4b\u88f8\u76d8\u6027\u80fd&#xff1a;\u7528 fio \u6d4b\u88f8\u76d8\u6700\u5927 IOPS\u3001\u5ef6\u8fdf&#xff0c;\u786e\u8ba4\u786c\u4ef6\u672c\u8eab\u6027\u80fd\u8fbe\u6807<\/li>\n<li>\u518d\u6d4b\u6587\u4ef6\u7cfb\u7edf&#xff1a;\u6d4b\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf\u540e\u7684\u6027\u80fd&#xff0c;\u770b\u635f\u8017\u6709\u591a\u5927<\/li>\n<li>\u6700\u540e\u770b\u6570\u636e\u5e93&#xff1a;\u5bf9\u6bd4\u6570\u636e\u5e93\u5b9e\u9645 IO \u548c\u786c\u4ef6\u4e0a\u9650&#xff0c;\u5dee\u592a\u591a\u5c31\u662f\u4e0a\u5c42\u53c2\u6570\u6709\u95ee\u9898<\/li>\n<p>&#x1f4a1; \u672c\u6b21\u6545\u969c\u6392\u67e5\u7ed3\u679c&#xff1a;\u88f8\u76d8 fio \u6d4b\u968f\u673a\u5199 IOPS \u80fd\u5230 3 \u4e07&#xff0c;\u6570\u636e\u5e93\u5b9e\u9645\u8dd1\u8d77\u6765\u53ea\u6709 3000&#xff0c;\u5dee\u4e86 10 \u500d&#xff0c;\u660e\u663e\u662f\u8f6f\u4ef6\u6808\u914d\u7f6e\u62d6\u4e86\u540e\u817f\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6839\u56e0\u6df1\u6316&#xff1a;\u56fd\u4ea7\u5316\u670d\u52a1\u5668 5 \u4e2a\u7279\u6709 IO \u5751&#xff0c;x86 \u6839\u672c\u9047\u4e0d\u5230<\/h3>\n<h4>\u5751 1&#xff1a;IO \u8c03\u5ea6\u5668\u9ed8\u8ba4\u7528 CFQ&#xff0c;\u5b8c\u5168\u4e0d\u9002\u5408 SSD<\/h4>\n<p>\u5f88\u591a\u56fd\u4ea7\u670d\u52a1\u5668\u7cfb\u7edf\u9ed8\u8ba4 IO \u8c03\u5ea6\u5668\u8fd8\u662fcfq&#xff08;\u5b8c\u5168\u516c\u5e73\u961f\u5217&#xff09;&#xff0c;\u8fd9\u662f\u7ed9\u673a\u68b0\u786c\u76d8\u8bbe\u8ba1\u7684&#xff0c;SSD \u573a\u666f\u4e0b\u8c03\u5ea6\u5f00\u9500\u6781\u5927&#xff0c;IOPS \u76f4\u63a5\u780d\u534a\u3002<\/p>\n<ul>\n<li>x86 \u65b0\u7cfb\u7edf\u5f88\u591a\u9ed8\u8ba4\u5df2\u7ecf\u5207\u4e86&#xff0c;\u56fd\u4ea7\u5b9a\u5236\u5316\u7cfb\u7edf\u53cd\u800c\u4fdd\u7559\u4e86\u65e7\u9ed8\u8ba4<\/li>\n<li>ARM \u5e73\u53f0 IO \u8c03\u5ea6\u9002\u914d\u672c\u8eab\u5c31\u4e0d\u5982 x86 \u6210\u719f&#xff0c;\u9519\u914d\u540e\u6027\u80fd\u635f\u8017\u66f4\u4e25\u91cd<\/li>\n<\/ul>\n<h4>\u5751 2&#xff1a;RAID \u5361\u9ed8\u8ba4\u5199\u901a\u6a21\u5f0f&#xff0c;\u6ca1\u5f00\u5199\u56de\u7f13\u5b58<\/h4>\n<p>\u56fd\u4ea7 RAID \u5361\u9ed8\u8ba4\u7b56\u7565\u4fdd\u5b88&#xff0c;\u9ed8\u8ba4Write Through&#xff08;\u5199\u901a&#xff09;&#xff0c;\u6bcf\u6b21\u5199\u90fd\u76f4\u63a5\u843d\u76d8&#xff0c;\u5b8c\u5168\u4e0d\u7528\u7f13\u5b58&#xff0c;\u5199\u5165\u5ef6\u8fdf\u76f4\u63a5\u7ffb\u51e0\u500d\u3002<\/p>\n<ul>\n<li>x86 \u670d\u52a1\u5668\u5f88\u591a\u51fa\u5382\u5c31\u5f00\u4e86\u5199\u56de&#xff0c;\u56fd\u4ea7\u670d\u52a1\u5668\u4e3a\u4e86\u6570\u636e\u5b89\u5168\u9ed8\u8ba4\u4fdd\u5b88\u914d\u7f6e<\/li>\n<li>\u6ca1\u6709\u5907\u7535\u7684\u60c5\u51b5\u4e0b\u5f00\u5199\u56de\u6709\u65ad\u7535\u4e22\u6570\u636e\u98ce\u9669&#xff0c;\u5f88\u591a\u8fd0\u7ef4\u4e0d\u6562\u5f00<\/li>\n<\/ul>\n<h4>\u5751 3&#xff1a;\u6587\u4ef6\u7cfb\u7edf\u9ed8\u8ba4\u6302\u8f7d\u53c2\u6570&#xff0c;\u65e5\u5fd7\u5f00\u9500\u5403\u6389\u4e00\u534a\u6027\u80fd<\/h4>\n<p>\u9ed8\u8ba4 ext4\/xfs \u6302\u8f7d\u53c2\u6570\u90fd\u662f\u901a\u7528\u914d\u7f6e&#xff0c;\u5f00\u542f\u4e86 atime\u3001\u65e5\u5fd7\u5b8c\u6574\u6a21\u5f0f&#xff0c;\u6bcf\u4e00\u6b21 IO \u90fd\u9644\u5e26\u5143\u6570\u636e\u3001\u65e5\u5fd7\u5199\u5165&#xff0c;SSD \u573a\u666f\u4e0b\u7eaf\u7eaf\u6d6a\u8d39\u6027\u80fd\u3002<\/p>\n<ul>\n<li>\u6570\u636e\u5e93\u573a\u666f\u6709\u81ea\u5df1\u7684 WAL\/REDO \u65e5\u5fd7&#xff0c;\u6587\u4ef6\u7cfb\u7edf\u65e5\u5fd7\u5b8c\u5168\u53ef\u4ee5\u8c03\u5f31<\/li>\n<li>\u56fd\u4ea7\u5316\u6587\u4ef6\u7cfb\u7edf\u9a71\u52a8\u9002\u914d\u4e0d\u5982 x86 \u6210\u719f&#xff0c;\u989d\u5916\u5f00\u9500\u66f4\u5927<\/li>\n<\/ul>\n<h4>\u5751 4&#xff1a;\u961f\u5217\u6df1\u5ea6\u4e0d\u5339\u914d&#xff0c;\u9ad8\u5e76\u53d1\u4e0b IO \u62e5\u5835<\/h4>\n<p>\u56fd\u4ea7 SSD \u56fa\u4ef6\u3001\u9a71\u52a8\u5bf9\u961f\u5217\u6df1\u5ea6\u7684\u9002\u914d\u548c x86 \u5e73\u53f0\u6709\u5dee\u5f02&#xff0c;\u9ed8\u8ba4\u961f\u5217\u6df1\u5ea6\u8981\u4e48\u592a\u5c0f\u53d1\u6325\u4e0d\u51fa SSD \u6027\u80fd&#xff0c;\u8981\u4e48\u592a\u5927\u5bfc\u81f4\u62e5\u5835\u5ef6\u8fdf\u98d9\u5347\u3002<\/p>\n<ul>\n<li>\u5f88\u591a\u56e2\u961f\u7167\u642c x86 \u7684\u961f\u5217\u6df1\u5ea6\u53c2\u6570&#xff0c;\u7ed3\u679c\u8981\u4e48\u6027\u80fd\u4e0a\u4e0d\u53bb&#xff0c;\u8981\u4e48\u5ef6\u8fdf\u7206\u70b8<\/li>\n<li>ARM \u5e73\u53f0\u4e2d\u65ad\u5904\u7406\u548c x86 \u6709\u5dee\u5f02&#xff0c;IO \u4eb2\u548c\u6027\u6ca1\u914d\u597d\u4e5f\u4f1a\u5bfc\u81f4\u6027\u80fd\u635f\u8017<\/li>\n<\/ul>\n<h4>\u5751 5&#xff1a;\u6570\u636e\u5e93\u53c2\u6570\u7167\u642c x86&#xff0c;\u68c0\u67e5\u70b9\u5237\u76d8\u592a\u731b<\/h4>\n<p>\u5f88\u591a\u56e2\u961f\u8fc1\u79fb\u6570\u636e\u5e93&#xff0c;\u53c2\u6570\u76f4\u63a5\u4ece\u8001\u73af\u5883\u6284\u8fc7\u6765&#xff0c;\u68c0\u67e5\u70b9\u95f4\u9694\u77ed\u3001\u5237\u76d8\u7b56\u7565\u6fc0\u8fdb&#xff0c;\u5728 IO \u672c\u6765\u5c31\u5f31\u7684\u56fd\u4ea7\u5316\u73af\u5883\u4e0b&#xff0c;\u76f4\u63a5\u628a IO \u6253\u6ee1&#xff0c;\u4e1a\u52a1\u5199\u5165\u5168\u6392\u961f\u3002<\/p>\n<ul>\n<li>\u91d1\u4ed3\u3001\u8fbe\u68a6\u5728 ARM \u5e73\u53f0\u7684 IO \u884c\u4e3a\u548c x86 \u6709\u7ec6\u5fae\u5dee\u5f02&#xff0c;\u5237\u76d8\u9891\u7387\u9700\u8981\u91cd\u65b0\u9002\u914d<\/li>\n<li>\u56fd\u4ea7\u5b58\u50a8\u5199\u653e\u5927\u6bd4\u4e00\u7ebf SSD \u9ad8&#xff0c;\u9891\u7e41\u5c0f IO \u5199\u5165\u6027\u80fd\u8870\u51cf\u66f4\u660e\u663e<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u7b2c\u4e00\u5c42&#xff1a;\u7cfb\u7edf\u5c42 IO \u6781\u81f4\u8c03\u4f18&#xff08;\u547d\u4ee4\u76f4\u63a5\u6284&#xff09;<\/h3>\n<p>\u8fd9\u4e00\u6b65\u4f18\u5316\u6210\u672c\u4e3a\u96f6&#xff0c;\u6539\u5b8c\u6027\u80fd\u5c31\u80fd\u63d0\u5347 50% \u4ee5\u4e0a&#xff0c;\u662f\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u4f18\u5316\u3002<\/p>\n<h4>4.1 IO \u8c03\u5ea6\u5668\u5207\u6362\u4e3a SSD \u4e13\u5c5e<\/h4>\n<p>\u6240\u6709 SSD \u76d8\u5168\u90e8\u6539\u6210mq-deadline\u8c03\u5ea6\u5668&#xff0c;\u673a\u68b0\u76d8\u7528bfq&#xff0c;\u6570\u636e\u5e93\u573a\u666f\u6027\u80fd\u6700\u4f18\u3002<\/p>\n<p># \u4e34\u65f6\u751f\u6548&#xff08;\u66ff\u6362sdX\u4e3a\u5b9e\u9645\u78c1\u76d8\u540d&#xff09;<br \/>\necho mq-deadline &gt; \/sys\/block\/sdX\/queue\/scheduler<\/p>\n<p># \u6c38\u4e45\u751f\u6548&#xff08;CentOS\/\u9e92\u9e9f\u7cfb\u7edf&#xff09;<br \/>\necho &#039;ACTION&#061;&#061;&#034;add|change&#034;, KERNEL&#061;&#061;&#034;sd[a-z]&#034;, ATTR{queue\/scheduler}&#061;&#034;mq-deadline&#034;&#039; &gt; \/etc\/udev\/rules.d\/60-scheduler.rules<br \/>\nudevadm control &#8211;reload-rules &amp;&amp; udevadm trigger<\/p>\n<h4>4.2 \u8c03\u6574\u961f\u5217\u6df1\u5ea6\u4e0e IO \u4eb2\u548c\u6027<\/h4>\n<p>\u6839\u636e SSD \u89c4\u683c\u8c03\u6574\u961f\u5217\u6df1\u5ea6&#xff0c;\u5e73\u8861\u541e\u5410\u91cf\u4e0e\u5ef6\u8fdf&#xff1a;<\/p>\n<p># \u8c03\u6574\u961f\u5217\u6df1\u5ea6&#xff0c;\u5168\u95eaSSD\u5efa\u8bae256~512<br \/>\necho 256 &gt; \/sys\/block\/sdX\/queue\/nr_requests<\/p>\n<p># \u5f00\u542fIO\u5408\u5e76&#xff0c;\u51cf\u5c11\u5c0fIO\u6570\u91cf<br \/>\necho 1 &gt; \/sys\/block\/sdX\/queue\/merges<\/p>\n<p># \u4f18\u5316SSD\u9884\u8bfb&#xff0c;\u6570\u636e\u5e93\u968f\u673a\u8bfb\u573a\u666f\u4e0d\u9700\u8981\u592a\u5927\u9884\u8bfb<br \/>\necho 8 &gt; \/sys\/block\/sdX\/queue\/read_ahead_kb<\/p>\n<h4>4.3 \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u53c2\u6570\u4f18\u5316<\/h4>\n<p>ext4\/xfs \u90fd\u9002\u7528&#xff0c;\u91cd\u70b9\u51cf\u5c11\u5143\u6570\u636e\u5199\u5165\u3001\u964d\u4f4e\u65e5\u5fd7\u5f00\u9500&#xff1a;<\/p>\n<p># \u6302\u8f7d\u53c2\u6570\u4f18\u5316&#xff0c;\u5199\u5165\/etc\/fstab<br \/>\n\/dev\/sdX1 \/data ext4 defaults,noatime,nodiratime,data&#061;writeback,barrier&#061;0 0 0<\/p>\n<ul>\n<li>noatime,nodiratime&#xff1a;\u5173\u95ed\u8bbf\u95ee\u65f6\u95f4\u8bb0\u5f55&#xff0c;\u51cf\u5c11\u5143\u6570\u636e\u5199\u5165<\/li>\n<li>data&#061;writeback&#xff1a;\u6570\u636e\u5199\u5165\u4e0d\u7b49\u5f85\u65e5\u5fd7\u843d\u76d8&#xff0c;\u6570\u636e\u5e93\u81ea\u6709 WAL \u4fdd\u8bc1\u4e00\u81f4\u6027<\/li>\n<li>barrier&#061;0&#xff1a;\u5173\u95ed\u78c1\u76d8\u5c4f\u969c&#xff0c;\u4f9d\u8d56 RAID \u5361\u7f13\u5b58\u5907\u7535\u4fdd\u8bc1\u4e00\u81f4\u6027<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u6ce8\u610f&#xff1a;\u5f00 writeback \u548c\u5173 barrier \u5fc5\u987b\u786e\u4fdd RAID \u5361\u6709\u5907\u7535\u4fdd\u62a4&#xff0c;\u5426\u5219\u5f02\u5e38\u65ad\u7535\u53ef\u80fd\u4e22\u6570\u636e\u3002<\/p>\n<h4>4.4 \u5185\u6838\u53c2\u6570\u6574\u4f53\u8c03\u4f18<\/h4>\n<p># \u5199\u5165\/etc\/sysctl.conf&#xff0c;\u6267\u884csysctl -p\u751f\u6548<br \/>\n# \u9875\u9762\u5237\u76d8\u4f18\u5316&#xff0c;\u907f\u514d\u96c6\u4e2d\u5237\u76d8\u5bfc\u81f4IO\u5c16\u523a<br \/>\nvm.dirty_ratio &#061; 10<br \/>\nvm.dirty_background_ratio &#061; 5<br \/>\nvm.dirty_expire_centisecs &#061; 3000<br \/>\nvm.dirty_writeback_centisecs &#061; 100<\/p>\n<p># \u63d0\u5347\u7cfb\u7edf\u6700\u5927IO\u961f\u5217\u6570<br \/>\nkernel.sem &#061; 5010 641280 5010 1280<br \/>\nfs.aio-max-nr &#061; 1048576<br \/>\nfs.file-max &#061; 6815744<\/p>\n<h4>4.5 \u5173\u95ed\u900f\u660e\u5927\u9875<\/h4>\n<p>\u6570\u636e\u5e93\u573a\u666f\u900f\u660e\u5927\u9875\u4f1a\u5bfc\u81f4 IO \u6296\u52a8\u3001\u5ef6\u8fdf\u5ffd\u9ad8\u5ffd\u4f4e&#xff0c;\u5fc5\u987b\u6c38\u4e45\u5173\u95ed&#xff1a;<\/p>\n<p># \u4e34\u65f6\u5173\u95ed<br \/>\necho never &gt; \/sys\/kernel\/mm\/transparent_hugepage\/enabled<br \/>\necho never &gt; \/sys\/kernel\/mm\/transparent_hugepage\/defrag<\/p>\n<p># \u6c38\u4e45\u5173\u95ed&#xff0c;\u5199\u5165rc.local\u6216grub<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u7b2c\u4e8c\u5c42&#xff1a;\u5b58\u50a8\u786c\u4ef6\u5c42\u4f18\u5316&#xff0c;\u91ca\u653e SSD \u5168\u90e8\u6027\u80fd<\/h3>\n<p>\u786c\u4ef6\u5c42\u4f18\u5316\u662f\u5929\u82b1\u677f&#xff0c;\u914d\u7f6e\u5bf9\u4e86\u6027\u80fd\u76f4\u63a5\u7ffb\u500d\u3002<\/p>\n<h4>5.1 RAID \u5361\u5f00\u542f\u5199\u56de\u7f13\u5b58<\/h4>\n<p>\u8fd9\u662f\u5199\u5165\u6027\u80fd\u63d0\u5347\u6700\u5927\u7684\u4e00\u9879&#xff0c;\u524d\u63d0\u662f RAID \u5361\u6709 BBU \u5907\u7535\u6a21\u5757&#xff1a;<\/p>\n<p># \u4ee5LSI RAID\u5361\u4e3a\u4f8b&#xff0c;\u67e5\u770b\u5f53\u524d\u7f13\u5b58\u7b56\u7565<br \/>\nstorcli64 \/c0 show all | grep WriteCache<\/p>\n<p># \u5f00\u542f\u5199\u56de\u6a21\u5f0f<br \/>\nstorcli64 \/c0\/v0 set wrcache&#061;wb<br \/>\n# \u5f00\u542f\u9884\u8bfb<br \/>\nstorcli64 \/c0\/v0 set rdcache&#061;ra<\/p>\n<p>\u2705 \u6548\u679c&#xff1a;\u5199\u5165\u5ef6\u8fdf\u53ef\u4ece\u6beb\u79d2\u7ea7\u964d\u5230\u767e\u5fae\u79d2\u7ea7&#xff0c;\u968f\u673a\u5199 IOPS \u63d0\u5347 2~3 \u500d\u3002<\/p>\n<h4>5.2 RAID \u6761\u5e26\u5927\u5c0f\u9002\u914d\u6570\u636e\u5e93<\/h4>\n<p>\u6570\u636e\u5e93\u573a\u666f\u63a8\u8350\u6761\u5e26\u5927\u5c0f 256K~512K&#xff0c;\u5339\u914d\u6570\u636e\u5e93\u9875\u5927\u5c0f&#xff08;\u91d1\u4ed3 8K\u3001\u8fbe\u68a6\u9875\u5927\u5c0f\u53ef\u914d\u7f6e&#xff09;&#xff0c;\u51cf\u5c11\u6761\u5e26\u7a7f\u8d8a&#xff1a;<\/p>\n<p># \u65b0\u5efaRAID\u65f6\u6307\u5b9a\u6761\u5e26\u5927\u5c0f<br \/>\nstorcli64 \/c0 add vd type&#061;raid5 drives&#061;0:0-3 strip&#061;256<\/p>\n<h4>5.3 SSD \u56fa\u4ef6\u5347\u7ea7\u4e0e\u78e8\u635f\u5747\u8861<\/h4>\n<p>\u56fd\u4ea7 SSD \u65e9\u671f\u56fa\u4ef6\u666e\u904d\u5b58\u5728\u6027\u80fd bug\u3001\u5199\u653e\u5927\u9ad8\u7684\u95ee\u9898&#xff0c;\u5347\u7ea7\u5230\u6700\u65b0\u7a33\u5b9a\u7248\u56fa\u4ef6&#xff0c;\u5f00\u542f\u5168\u5c40\u78e8\u635f\u5747\u8861&#xff0c;\u957f\u671f\u8fd0\u884c\u6027\u80fd\u4e0d\u8870\u51cf\u3002<\/p>\n<h4>5.4 \u6570\u636e\u76d8\u4e0e\u65e5\u5fd7\u76d8\u7269\u7406\u5206\u79bb<\/h4>\n<p>\u91cd\u505a\u65e5\u5fd7&#xff08;WAL\/REDO&#xff09;\u662f\u987a\u5e8f\u5199&#xff0c;\u6570\u636e\u6587\u4ef6\u662f\u968f\u673a\u5199&#xff0c;\u7269\u7406\u5206\u79bb\u5230\u4e0d\u540c RAID \u7ec4&#xff1a;<\/p>\n<ul>\n<li>\u65e5\u5fd7\u76d8&#xff1a;\u9ad8 IOPS\u3001\u4f4e\u5ef6\u8fdf\u7684 SSD&#xff0c;\u4e13\u95e8\u625b\u987a\u5e8f\u5199\u5165<\/li>\n<li>\u6570\u636e\u76d8&#xff1a;\u5927\u5bb9\u91cf SSD&#xff0c;\u627f\u8f7d\u968f\u673a\u8bfb\u5199 \u907f\u514d\u65e5\u5fd7\u5237\u76d8\u548c\u6570\u636e\u8bfb\u5199\u4e89\u62a2 IO \u8d44\u6e90&#xff0c;\u8fd9\u662f\u6570\u636e\u5e93\u5b58\u50a8\u7684\u6807\u51c6\u6700\u4f73\u5b9e\u8df5\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516d\u3001\u7b2c\u4e09\u5c42&#xff1a;\u6570\u636e\u5e93\u5c42 IO \u9002\u914d&#xff08;\u91d1\u4ed3 \/ \u8fbe\u68a6\u53cc\u5e93\u4e13\u5c5e\u53c2\u6570&#xff09;<\/h3>\n<p>\u5e95\u5c42 IO \u4f18\u5316\u5b8c&#xff0c;\u6570\u636e\u5e93\u53c2\u6570\u4e5f\u8981\u8ddf\u7740\u9002\u914d&#xff0c;\u628a\u786c\u4ef6\u6027\u80fd\u5145\u5206\u7528\u8d77\u6765\u3002<\/p>\n<h4>6.1 \u4eba\u5927\u91d1\u4ed3 V9 IO \u4e13\u5c5e\u4f18\u5316<\/h4>\n<p>\u5199\u5165 kingbase.conf&#xff1a;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u5185\u5b58\u7f13\u51b2&#xff0c;\u51cf\u5c11\u7269\u7406IO &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nshared_buffers &#061; 8GB                 # \u603b\u5185\u5b58\u768425%&#xff0c;\u5c3d\u91cf\u7f13\u5b58\u70ed\u70b9\u6570\u636e<br \/>\neffective_cache_size &#061; 24GB          # \u9884\u4f30\u7cfb\u7edf\u7f13\u5b58&#xff0c;\u5f71\u54cd\u6267\u884c\u8ba1\u5212<br \/>\nwork_mem &#061; 32MB                      # \u5355\u64cd\u4f5c\u5185\u5b58&#xff0c;\u51cf\u5c11\u78c1\u76d8\u6392\u5e8f<br \/>\nmaintenance_work_mem &#061; 1GB           # \u7ef4\u62a4\u64cd\u4f5c\u5185\u5b58<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; WAL\/\u68c0\u67e5\u70b9 \u5e73\u6ed1IO &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nwal_buffers &#061; 64MB                   # WAL\u7f13\u51b2\u533a<br \/>\nmax_wal_size &#061; 16GB                  # WAL\u4e0a\u9650&#xff0c;\u5ef6\u957f\u68c0\u67e5\u70b9\u95f4\u9694<br \/>\ncheckpoint_timeout &#061; 60min           # \u68c0\u67e5\u70b9\u95f4\u9694&#xff0c;\u51cf\u5c11\u9891\u7e41\u5237\u76d8<br \/>\ncheckpoint_completion_target &#061; 0.9   # \u5e73\u6ed1\u5237\u76d8&#xff0c;\u907f\u514dIO\u5c16\u523a<br \/>\nwal_writer_delay &#061; 10ms              # WAL\u5199\u5165\u9891\u7387<br \/>\ncommit_delay &#061; 10                    # \u63d0\u4ea4\u5ef6\u8fdf&#xff0c;\u5408\u5e76\u5c0f\u4e8b\u52a1\u5199\u5165<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u540e\u53f0\u5237\u76d8\u4f18\u5316 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nbgwriter_delay &#061; 10ms                # \u540e\u53f0\u5199\u8fdb\u7a0b\u95f4\u9694<br \/>\nbgwriter_lru_maxpages &#061; 200          # \u5355\u6b21\u5237\u810f\u9875\u6570<br \/>\neffective_io_concurrency &#061; 200       # \u5e76\u53d1IO\u6570&#xff0c;\u9002\u914dSSD\u6027\u80fd<br \/>\nrandom_page_cost &#061; 1.1               # SSD\u968f\u673a\u8bfb\u6210\u672c\u63a5\u8fd1\u987a\u5e8f\u8bfb&#xff0c;\u4f18\u5316\u6267\u884c\u8ba1\u5212<br \/>\nseq_page_cost &#061; 1.0<\/p>\n<h4>6.2 \u8fbe\u68a6 DM9 IO \u4e13\u5c5e\u4f18\u5316<\/h4>\n<p>\u5199\u5165 dm.ini&#xff1a;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u7f13\u51b2\u533a\u4f18\u5316 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nBUFFER &#061; 8192                        # \u6570\u636e\u7f13\u51b2\u533a&#xff0c;\u5355\u4f4dMB<br \/>\nMAX_BUFFER &#061; 12288                   # \u6700\u5927\u7f13\u51b2\u533a<br \/>\nLOG_BUFFER &#061; 512                     # \u65e5\u5fd7\u7f13\u51b2\u533a<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u68c0\u67e5\u70b9\u4e0e\u5237\u76d8 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nCHECKPOINT_INTERVAL &#061; 3600           # \u68c0\u67e5\u70b9\u95f4\u9694&#xff0c;\u5355\u4f4d\u79d2<br \/>\nCHECKPOINT_COMPLETED_TARGET &#061; 0.9    # \u5e73\u6ed1\u5b8c\u6210\u6bd4\u4f8b<br \/>\nLOG_FILE_SIZE &#061; 1024                 # \u5355\u4e2a\u65e5\u5fd7\u6587\u4ef6\u5927\u5c0f&#xff0c;\u5355\u4f4dMB<br \/>\nLOG_SPACE_LIMIT &#061; 81920              # \u65e5\u5fd7\u603b\u7a7a\u95f4<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; IO\u9002\u914d &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nIO_THREADS &#061; 8                       # IO\u7ebf\u7a0b\u6570<br \/>\nDIRECT_IO &#061; 1                        # \u5f00\u542fDIRECT IO&#xff0c;\u7ed5\u8fc7\u7cfb\u7edf\u7f13\u5b58\u53cc\u7f13\u5b58<br \/>\nPAGE_SIZE &#061; 8192                     # \u9875\u5927\u5c0f\u5339\u914d\u5b58\u50a8\u6761\u5e26<br \/>\nFAST_ROLLBACK &#061; 1                    # \u5feb\u901f\u56de\u6eda&#xff0c;\u51cf\u5c11IO\u5cf0\u503c<\/p>\n<h4>6.3 \u6570\u636e\u5e93\u5c42\u4f18\u5316\u6838\u5fc3\u539f\u5219<\/h4>\n<li>\u80fd\u8d70\u5185\u5b58\u4e0d\u8d70\u78c1\u76d8&#xff1a;\u7f13\u51b2\u533a\u5c3d\u91cf\u7ed9\u8db3&#xff0c;\u70ed\u70b9\u6570\u636e\u5168\u653e\u5185\u5b58&#xff0c;\u4ece\u6839\u6e90\u51cf\u5c11\u7269\u7406 IO<\/li>\n<li>\u5237\u76d8\u8981\u5e73\u6ed1\u4e0d\u8981\u5c16\u523a&#xff1a;\u5ef6\u957f\u68c0\u67e5\u70b9\u95f4\u9694\u3001\u8c03\u5927\u5b8c\u6210\u76ee\u6807&#xff0c;\u628a\u96c6\u4e2d IO \u644a\u5e73&#xff0c;\u907f\u514d\u77ac\u95f4\u6253\u6ee1<\/li>\n<li>\u5c0f IO \u5408\u5e76\u5199\u5165&#xff1a;\u901a\u8fc7\u63d0\u4ea4\u5ef6\u8fdf\u3001\u7f13\u51b2\u533a\u5408\u5e76&#xff0c;\u628a\u96f6\u6563\u5c0f IO \u5408\u5e76\u6210\u5927 IO&#xff0c;\u63d0\u5347 SSD \u6548\u7387<\/li>\n<hr \/>\n<h3>\u4e03\u3001\u7b2c\u56db\u5c42&#xff1a;\u67b6\u6784\u5c42 IO \u524a\u5cf0&#xff0c;\u4ece\u6839\u6e90\u964d\u4f4e IO \u538b\u529b<\/h3>\n<p>\u786c\u4ef6\u4f18\u5316\u6709\u5929\u82b1\u677f&#xff0c;\u67b6\u6784\u5c42\u9762\u4f18\u5316\u624d\u80fd\u4ece\u6839\u672c\u964d\u4f4e IO \u9700\u6c42\u3002<\/p>\n<h4>7.1 \u8bfb\u5199\u5206\u79bb<\/h4>\n<p>\u5907\u5e93\u627f\u62c5\u6240\u6709\u67e5\u8be2\u3001\u62a5\u8868\u3001\u7edf\u8ba1\u7c7b\u8bf7\u6c42&#xff0c;\u4e3b\u5e93\u53ea\u8d1f\u8d23\u5199\u5165\u548c\u6838\u5fc3\u67e5\u8be2&#xff0c;\u4e3b\u5e93 IO \u538b\u529b\u76f4\u63a5\u964d\u4f4e 50% \u4ee5\u4e0a\u3002<\/p>\n<ul>\n<li>\u91d1\u4ed3 \/ \u8fbe\u68a6\u539f\u751f\u652f\u6301\u7269\u7406\u5907\u5e93\u53ea\u8bfb\u67e5\u8be2&#xff0c;\u6539\u8fde\u63a5\u4e32\u5c31\u80fd\u7528<\/li>\n<li>\u62a5\u8868\u3001\u6279\u91cf\u67e5\u8be2\u5168\u90e8\u8d70\u5907\u5e93&#xff0c;\u4e0d\u5360\u7528\u4e3b\u5e93 IO \u8d44\u6e90<\/li>\n<\/ul>\n<h4>7.2 \u51b7\u70ed\u6570\u636e\u5206\u79bb<\/h4>\n<p>\u5386\u53f2\u51b7\u6570\u636e\u5f52\u6863\u5230\u4f4e\u901f\u5b58\u50a8&#xff0c;\u70ed\u6570\u636e\u7559\u5728\u9ad8\u6027\u80fd SSD&#xff1a;<\/p>\n<ul>\n<li>\u6309\u65f6\u95f4\u5206\u533a&#xff0c;\u8d85\u8fc7 3 \u4e2a\u6708\u7684\u5386\u53f2\u6570\u636e\u8fc1\u79fb\u5230\u5f52\u6863\u5e93<\/li>\n<li>\u51b7\u6570\u636e\u53ea\u67e5\u8be2\u4e0d\u66f4\u65b0&#xff0c;\u5bf9 IO \u6027\u80fd\u8981\u6c42\u4f4e<\/li>\n<li>\u70ed\u6570\u636e\u91cf\u5c0f\u4e86&#xff0c;\u7f13\u5b58\u547d\u4e2d\u7387\u66f4\u9ad8&#xff0c;\u7269\u7406 IO \u66f4\u5c11<\/li>\n<\/ul>\n<h4>7.3 \u6279\u91cf\u64cd\u4f5c\u524a\u5cf0<\/h4>\n<ul>\n<li>\u6279\u91cf\u66f4\u65b0\u3001\u6570\u636e\u5bfc\u5165\u5206\u6279\u63d0\u4ea4&#xff0c;\u6bcf\u6279\u4f11\u7720\u95f4\u9694&#xff0c;\u907f\u514d\u77ac\u95f4\u6253\u6ee1 IO<\/li>\n<li>\u6279\u91cf\u4efb\u52a1\u7edf\u4e00\u5b89\u6392\u5728\u4e1a\u52a1\u4f4e\u5cf0\u671f\u6267\u884c&#xff0c;\u4e0d\u548c\u9ad8\u5cf0\u671f\u62a2 IO<\/li>\n<li>\u5927\u8868\u5efa\u7d22\u5f15\u3001vacuum\u3001\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u7b49 IO \u5bc6\u96c6\u64cd\u4f5c&#xff0c;\u5168\u90e8\u653e\u5728\u4f4e\u5cf0\u671f<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516b\u3001\u5b9e\u6d4b\u5bf9\u6bd4&#xff1a;\u4f18\u5316\u524d\u540e\u6027\u80fd\u6570\u636e\u5bf9\u7167\u8868<\/h3>\n<p>&#x1f4ca; \u6d4b\u8bd5\u73af\u5883&#xff1a;\u9cb2\u9e4f 920 2 \u9897 \/ 64 \u6838\u3001256G \u5185\u5b58\u3001\u56fd\u4ea7\u5168\u95ea SSD RAID5\u3001\u4eba\u5927\u91d1\u4ed3 V9\u3001sysbench \u538b\u6d4b\u3001100 \u5e76\u53d1 OLTP \u6df7\u5408\u573a\u666f\u3002<\/p>\n<table>\n<tr>\u6027\u80fd\u6307\u6807\u4f18\u5316\u524d&#xff08;\u9ed8\u8ba4\u914d\u7f6e&#xff09;\u4f18\u5316\u540e&#xff08;\u5168\u94fe\u8def\u8c03\u4f18&#xff09;\u63d0\u5347\u5e45\u5ea6\u539f x86 \u73af\u5883\u53c2\u8003<\/tr>\n<tbody>\n<tr>\n<td>\u5cf0\u503c TPS<\/td>\n<td>720<\/td>\n<td>2680<\/td>\n<td>272%<\/td>\n<td>2050<\/td>\n<\/tr>\n<tr>\n<td>\u5e73\u5747\u54cd\u5e94\u5ef6\u8fdf<\/td>\n<td>138ms<\/td>\n<td>29ms<\/td>\n<td>\u964d\u4f4e 79%<\/td>\n<td>35ms<\/td>\n<\/tr>\n<tr>\n<td>99 \u5206\u4f4d\u5ef6\u8fdf<\/td>\n<td>1260ms<\/td>\n<td>118ms<\/td>\n<td>\u964d\u4f4e 91%<\/td>\n<td>150ms<\/td>\n<\/tr>\n<tr>\n<td>\u968f\u673a\u5199 IOPS<\/td>\n<td>3200<\/td>\n<td>28500<\/td>\n<td>790%<\/td>\n<td>21000<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u5165\u5e73\u5747\u5ef6\u8fdf<\/td>\n<td>8.2ms<\/td>\n<td>0.28ms<\/td>\n<td>\u964d\u4f4e 97%<\/td>\n<td>0.4ms<\/td>\n<\/tr>\n<tr>\n<td>\u78c1\u76d8 % util \u5cf0\u503c<\/td>\n<td>98%<\/td>\n<td>32%<\/td>\n<td>\u4e0b\u964d 67%<\/td>\n<td>45%<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5e93\u7f13\u5b58\u547d\u4e2d\u7387<\/td>\n<td>89%<\/td>\n<td>98.6%<\/td>\n<td>\u63d0\u5347 9.6%<\/td>\n<td>97%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&#x1f4a1; \u7ed3\u8bba&#xff1a;\u5168\u94fe\u8def\u4f18\u5316\u540e&#xff0c;\u56fd\u4ea7\u670d\u52a1\u5668 &#043; \u56fd\u4ea7\u5b58\u50a8\u7684\u6570\u636e\u5e93\u6027\u80fd&#xff0c;\u4e0d\u4ec5\u8ffd\u4e0a\u4e86\u539f x86 \u73af\u5883&#xff0c;\u8fd8\u53cd\u8d85\u4e86 30% \u5de6\u53f3&#xff0c;\u5b8c\u5168\u6ee1\u8db3\u751f\u4ea7\u8981\u6c42\u3002\u4e4b\u524d\u89c9\u5f97\u6027\u80fd\u5dee&#xff0c;\u672c\u8d28\u90fd\u662f\u9ed8\u8ba4\u914d\u7f6e\u6ca1\u9002\u914d&#xff0c;\u767d\u767d\u6d6a\u8d39\u4e86\u786c\u4ef6\u80fd\u529b\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u907f\u5751\u7ea2\u7ebf&#xff1a;10 \u4e2a\u56fd\u4ea7\u5316 IO \u6700\u5bb9\u6613\u8e29\u7684\u81f4\u547d\u9519\u8bef<\/h3>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 1&#xff1a;\u9ed8\u8ba4 IO \u8c03\u5ea6\u5668\u4e0d\u6362&#xff0c;\u7528 CFQ \u8dd1 SSD<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;IOPS \u76f4\u63a5\u780d\u534a&#xff0c;\u5ef6\u8fdf\u98d9\u5347&#xff0c;\u767d\u767d\u6d6a\u8d39 SSD \u6027\u80fd<\/li>\n<li>\u6574\u6539&#xff1a;SSD \u5168\u90e8\u5207 mq-deadline&#xff0c;\u8fd9\u662f\u7b2c\u4e00\u6b65\u5fc5\u987b\u505a\u7684<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 2&#xff1a;RAID \u5361\u5199\u901a\u6a21\u5f0f\u786c\u625b&#xff0c;\u4e0d\u6562\u5f00\u5199\u56de<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u5199\u5165\u5ef6\u8fdf\u7ffb\u51e0\u500d&#xff0c;IOPS \u4e0a\u4e0d\u53bb&#xff0c;\u6027\u80fd\u76f4\u63a5\u8170\u65a9<\/li>\n<li>\u6574\u6539&#xff1a;\u6709\u5907\u7535\u5c31\u5f00\u5199\u56de&#xff0c;\u8fd9\u662f\u5199\u5165\u6027\u80fd\u63d0\u5347\u6700\u5927\u7684\u4e00\u9879<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 3&#xff1a;\u6587\u4ef6\u7cfb\u7edf\u9ed8\u8ba4\u53c2\u6570\u4e0d\u4f18\u5316<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u5143\u6570\u636e\u3001\u65e5\u5fd7\u989d\u5916 IO \u5403\u6389 30% \u4ee5\u4e0a\u6027\u80fd<\/li>\n<li>\u6574\u6539&#xff1a;\u5173 atime\u3001\u4f18\u5316\u65e5\u5fd7\u6a21\u5f0f&#xff0c;\u6570\u636e\u5e93\u573a\u666f\u5b8c\u5168\u6ca1\u95ee\u9898<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 4&#xff1a;\u6570\u636e\u65e5\u5fd7\u6df7\u5728\u4e00\u4e2a\u76d8\u91cc<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u65e5\u5fd7\u5237\u76d8\u548c\u6570\u636e\u8bfb\u5199\u62a2 IO&#xff0c;\u9ad8\u5cf0\u671f\u4e92\u76f8\u963b\u585e<\/li>\n<li>\u6574\u6539&#xff1a;\u7269\u7406\u5206\u79bb\u65e5\u5fd7\u76d8\u548c\u6570\u636e\u76d8&#xff0c;\u987a\u5e8f\u5199\u548c\u968f\u673a\u5199\u5206\u5f00<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 5&#xff1a;\u6570\u636e\u5e93\u53c2\u6570\u76f4\u63a5\u7167\u642c x86<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u68c0\u67e5\u70b9\u9891\u7e41\u5237\u76d8&#xff0c;IO \u5c16\u523a\u4e25\u91cd&#xff0c;\u9002\u914d\u5ea6\u5dee<\/li>\n<li>\u6574\u6539&#xff1a;\u6839\u636e\u56fd\u4ea7\u5b58\u50a8\u7279\u6027\u91cd\u65b0\u8c03\u6574\u7f13\u51b2\u3001\u68c0\u67e5\u70b9\u53c2\u6570<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 6&#xff1a;\u900f\u660e\u5927\u9875\u4e0d\u5173<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;IO \u5ef6\u8fdf\u5ffd\u9ad8\u5ffd\u4f4e&#xff0c;\u5468\u671f\u6027\u5361\u987f&#xff0c;\u6392\u67e5\u4e0d\u5230\u6839\u56e0<\/li>\n<li>\u6574\u6539&#xff1a;\u6570\u636e\u5e93\u573a\u666f\u5fc5\u987b\u6c38\u4e45\u5173\u95ed\u900f\u660e\u5927\u9875<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 7&#xff1a;\u4e0d\u5347\u7ea7 SSD \u56fa\u4ef6<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u56fd\u4ea7 SSD \u65e9\u671f\u56fa\u4ef6 bug \u591a&#xff0c;\u5199\u653e\u5927\u9ad8\u3001\u8d8a\u7528\u8d8a\u6162<\/li>\n<li>\u6574\u6539&#xff1a;\u4e0a\u7ebf\u524d\u5347\u7ea7\u5230\u6700\u65b0\u7a33\u5b9a\u7248\u56fa\u4ef6&#xff0c;\u907f\u514d\u8e29\u5df2\u77e5\u5751<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 8&#xff1a;\u961f\u5217\u6df1\u5ea6\u4e71\u8c03<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u8c03\u592a\u5c0f\u6027\u80fd\u4e0a\u4e0d\u53bb&#xff0c;\u8c03\u592a\u5927\u5ef6\u8fdf\u7206\u70b8<\/li>\n<li>\u6574\u6539&#xff1a;\u538b\u6d4b\u627e\u5230\u6700\u4f73\u503c&#xff0c;\u517c\u987e\u541e\u5410\u91cf\u548c\u5ef6\u8fdf<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 9&#xff1a;\u4e3a\u4e86\u5b89\u5168\u5168\u5173\u7f13\u5b58\u3001\u5f00\u6700\u5f3a\u6821\u9a8c<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u5b89\u5168\u6027\u62c9\u6ee1&#xff0c;\u6027\u80fd\u76f4\u63a5\u780d\u5230\u819d\u76d6&#xff0c;\u5b8c\u5168\u6ca1\u6cd5\u7528<\/li>\n<li>\u6574\u6539&#xff1a;\u5728\u6709\u786c\u4ef6\u5907\u7535\u3001\u5197\u4f59\u4fdd\u62a4\u7684\u524d\u63d0\u4e0b&#xff0c;\u5408\u7406\u5f00\u542f\u7f13\u5b58<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u7ea2\u7ebf 10&#xff1a;\u53ea\u4f18\u5316\u6570\u636e\u5e93&#xff0c;\u4e0d\u770b\u5e95\u5c42<\/p>\n<ul>\n<li>\u540e\u679c&#xff1a;\u6570\u636e\u5e93\u53c2\u6570\u8c03\u6765\u8c03\u53bb\u6536\u6548\u751a\u5fae&#xff0c;\u6839\u56e0\u5728\u5e95\u4e0b\u4e00\u5c42<\/li>\n<li>\u6574\u6539&#xff1a;\u6027\u80fd\u95ee\u9898\u4ece\u4e0a\u5230\u4e0b\u6392\u67e5&#xff0c;\u5b9a\u4f4d\u5230\u74f6\u9888\u5c42\u518d\u4f18\u5316<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5341\u3001\u76d1\u63a7\u9884\u8b66&#xff1a;IO \u74f6\u9888\u63d0\u524d\u53d1\u73b0&#xff0c;\u522b\u7b49\u96ea\u5d29\u518d\u6551\u706b<\/h3>\n<p>\u628a IO \u6307\u6807\u7eb3\u5165\u6838\u5fc3\u76d1\u63a7&#xff0c;\u5f02\u5e38\u63d0\u524d\u544a\u8b66&#xff0c;\u6839\u672c\u4e0d\u4f1a\u53d1\u5c55\u6210\u6027\u80fd\u96ea\u5d29\u3002<\/p>\n<h4>10.1 \u5fc5\u52a0 IO \u76d1\u63a7\u9879<\/h4>\n<table>\n<tr>\u76d1\u63a7\u6307\u6807\u544a\u8b66\u9608\u503c\u544a\u8b66\u7ea7\u522b<\/tr>\n<tbody>\n<tr>\n<td>\u78c1\u76d8 % util<\/td>\n<td>&gt;70% \u6301\u7eed 5 \u5206\u949f<\/td>\n<td>\u4e00\u822c\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u78c1\u76d8 % util<\/td>\n<td>&gt;90% \u6301\u7eed 2 \u5206\u949f<\/td>\n<td>\u4e25\u91cd\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>IO \u5e73\u5747 await<\/td>\n<td>&gt;1ms \u6301\u7eed 5 \u5206\u949f<\/td>\n<td>\u4e25\u91cd\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u5165\u5ef6\u8fdf<\/td>\n<td>&gt;0.5ms \u6301\u7eed 5 \u5206\u949f<\/td>\n<td>\u4e00\u822c\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>IO \u961f\u5217\u957f\u5ea6<\/td>\n<td>&gt;32 \u6301\u7eed 5 \u5206\u949f<\/td>\n<td>\u4e00\u822c\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5e93 IO \u7b49\u5f85\u5360\u6bd4<\/td>\n<td>&gt;30%<\/td>\n<td>\u4e25\u91cd\u544a\u8b66<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>10.2 \u5b9a\u671f\u5de1\u68c0\u9879<\/h4>\n<li>\u6bcf\u6708\u7528 fio \u538b\u6d4b\u4e00\u6b21\u88f8\u76d8\u6027\u80fd&#xff0c;\u5bf9\u6bd4\u57fa\u7ebf&#xff0c;\u53d1\u73b0\u6027\u80fd\u8870\u51cf\u53ca\u65f6\u5904\u7406<\/li>\n<li>\u6bcf\u5b63\u5ea6\u68c0\u67e5 SSD \u78e8\u635f\u5ea6\u3001\u5269\u4f59\u5bff\u547d&#xff0c;\u63d0\u524d\u66f4\u6362\u9884\u8b66\u76d8<\/li>\n<li>\u6bcf\u6708\u68c0\u67e5 RAID \u5361\u7f13\u5b58\u7b56\u7565\u3001\u56fa\u4ef6\u7248\u672c&#xff0c;\u4fdd\u6301\u914d\u7f6e\u4e00\u81f4<\/li>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u56fd\u4ea7\u5316\u670d\u52a1\u5668\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29&#xff0c;\u5f88\u591a\u65f6\u5019\u4e0d\u662f\u786c\u4ef6\u4e0d\u884c\u3001\u4e5f\u4e0d\u662f\u6570\u636e\u5e93\u4e0d\u884c&#xff0c;\u800c\u662f\u4ece\u7cfb\u7edf\u5230\u5b58\u50a8\u5230\u6570\u636e\u5e93\u7684\u6574\u6761 IO \u6808&#xff0c;\u90fd\u8fd8\u5728\u7528\u9ed8\u8ba4\u7684\u901a\u7528\u914d\u7f6e&#xff0c;\u5b8c\u5168\u6ca1\u9002\u914d SSD \u548c ARM \u67b6\u6784\u3002\u4ece\u7cfb\u7edf\u5c42\u6539\u8c03\u5ea6\u3001\u8c03\u53c2\u6570&#xff0c;\u5230\u5b58\u50a8\u5c42\u5f00\u7f13\u5b58\u3001\u505a\u5206\u79bb&#xff0c;\u518d\u5230\u6570\u636e\u5e93\u5c42\u9002\u914d\u4f18\u5316\u3001\u67b6\u6784\u5c42\u524a\u5cf0&#xff0c;\u5168\u94fe\u8def\u8c03\u4e0b\u6765&#xff0c;\u56fd\u4ea7\u5e73\u53f0\u7684\u6027\u80fd\u5b8c\u5168\u53ef\u4ee5\u8ffd\u4e0a\u751a\u81f3\u8d85\u8fc7 x86\u3002<\/p>\n<p>\u4fe1\u521b\u4f18\u5316\u4ece\u6765\u4e0d\u662f\u300c\u51d1\u5408\u7528\u300d&#xff0c;\u800c\u662f\u628a\u6bcf\u4e00\u5c42\u7684\u6f5c\u529b\u90fd\u91ca\u653e\u51fa\u6765&#xff0c;\u505a\u5230\u65e2\u81ea\u4e3b\u53ef\u63a7&#xff0c;\u53c8\u6027\u80fd\u591f\u6253\u3002<\/p>\n<p>\u653f\u52a1\u9009\u91d1\u4ed3&#xff0c;\u91d1\u878d\u9009\u8fbe\u68a6&#xff1b;MySQL \u8fc1\u79fb\u9009\u91d1\u4ed3&#xff0c;Oracle \u8fc1\u79fb\u9009\u8fbe\u68a6\u3002<\/p>\n<p>&#x1f4da; \u4e13\u680f\u63a8\u8350&#xff1a;\u4e13\u6ce8 SpringBoot3 &#043; \u4eba\u5927\u91d1\u4ed3 &#043; \u8fbe\u68a6\u4fe1\u521b\u5b9e\u6218&#xff0c;\u6301\u7eed\u8f93\u51fa\u751f\u4ea7\u7ea7\u90e8\u7f72\u3001\u6027\u80fd\u8c03\u4f18\u3001\u6545\u969c\u6392\u67e5\u3001\u907f\u5751\u6307\u5357\u5e72\u8d27&#xff0c;\u5173\u6ce8\u4e0d\u8ff7\u8def\u3002<\/p>\n<p>\u89c9\u5f97\u6587\u7ae0\u6709\u7528\u7684\u8bdd&#xff0c;\u6b22\u8fce\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u5173\u6ce8\u4e09\u8fde&#xff0c;\u540e\u7eed\u66f4\u65b0\u66f4\u591a\u4fe1\u521b\u6570\u636e\u5e93\u6027\u80fd\u4f18\u5316\u7684\u786c\u6838\u5185\u5bb9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981\u653f\u52a1\u7cfb\u7edf\u4fe1\u521b\u6539\u9020&#xff0c;\u6570\u636e\u5e93\u4ece x86 \u7269\u7406\u673a\u8fc1\u79fb\u5230\u9cb2\u9e4f 920 \u56fd\u4ea7\u670d\u52a1\u5668  \u5168\u95ea\u5b58\u50a8&#xff0c;\u672c\u4ee5\u4e3a\u6027\u80fd\u4f1a\u6301\u5e73&#xff0c;\u7ed3\u679c\u4e0a\u7ebf\u9ad8\u5cf0\u671f\u76f4\u63a5\u96ea\u5d29&#xff1a;TPS \u4ece 2000 \u6389\u5230 700&#xff0c;\u5199\u5165\u5ef6\u8fdf\u7ffb 10 \u500d&#xff0c;\u653f\u52a1\u7533\u62a5\u63a5\u53e3\u5927\u9762\u79ef\u8d85\u65f6\u3002\u56e2\u961f\u4e00\u5f00\u59cb\u6b7b\u78d5\u6570\u636e\u5e93\u53c2\u6570\u3001\u4f18\u5316 SQL&#xff0c;\u6298\u817e\u4e09\u5929\u6ca1\u8d77\u8272&#xff0c;\u6700\u540e\u5b9a\u4f4d\u5230\u5e95\u5c42 IO \u6808\u5168\u662f\u9ed8\u8ba4\u914d\u7f6e&#xff0c;\u56fd\u4ea7\u5b58\u50a8  ARM \u67b6\u6784\u7684\u9002\u914d\u5751\u4e00\u4e2a\u6ca1\u8e29\u5168\u3002\u672c<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10187,8980,763,100,43],"topic":[],"class_list":["post-94938","post","type-post","status-publish","format-standard","hentry","category-server","tag-codingplan","tag-8980","tag-763","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/94938.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981\u653f\u52a1\u7cfb\u7edf\u4fe1\u521b\u6539\u9020&#xff0c;\u6570\u636e\u5e93\u4ece x86 \u7269\u7406\u673a\u8fc1\u79fb\u5230\u9cb2\u9e4f 920 \u56fd\u4ea7\u670d\u52a1\u5668 \u5168\u95ea\u5b58\u50a8&#xff0c;\u672c\u4ee5\u4e3a\u6027\u80fd\u4f1a\u6301\u5e73&#xff0c;\u7ed3\u679c\u4e0a\u7ebf\u9ad8\u5cf0\u671f\u76f4\u63a5\u96ea\u5d29&#xff1a;TPS \u4ece 2000 \u6389\u5230 700&#xff0c;\u5199\u5165\u5ef6\u8fdf\u7ffb 10 \u500d&#xff0c;\u653f\u52a1\u7533\u62a5\u63a5\u53e3\u5927\u9762\u79ef\u8d85\u65f6\u3002\u56e2\u961f\u4e00\u5f00\u59cb\u6b7b\u78d5\u6570\u636e\u5e93\u53c2\u6570\u3001\u4f18\u5316 SQL&#xff0c;\u6298\u817e\u4e09\u5929\u6ca1\u8d77\u8272&#xff0c;\u6700\u540e\u5b9a\u4f4d\u5230\u5e95\u5c42 IO \u6808\u5168\u662f\u9ed8\u8ba4\u914d\u7f6e&#xff0c;\u56fd\u4ea7\u5b58\u50a8 ARM \u67b6\u6784\u7684\u9002\u914d\u5751\u4e00\u4e2a\u6ca1\u8e29\u5168\u3002\u672c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/94938.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-15T10:49:19+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94938.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/94938.html\",\"name\":\"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-15T10:49:19+00:00\",\"dateModified\":\"2026-08-15T10:49:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/94938.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/94938.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94938.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/94938.html","og_locale":"zh_CN","og_type":"article","og_title":"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981\u653f\u52a1\u7cfb\u7edf\u4fe1\u521b\u6539\u9020&#xff0c;\u6570\u636e\u5e93\u4ece x86 \u7269\u7406\u673a\u8fc1\u79fb\u5230\u9cb2\u9e4f 920 \u56fd\u4ea7\u670d\u52a1\u5668 \u5168\u95ea\u5b58\u50a8&#xff0c;\u672c\u4ee5\u4e3a\u6027\u80fd\u4f1a\u6301\u5e73&#xff0c;\u7ed3\u679c\u4e0a\u7ebf\u9ad8\u5cf0\u671f\u76f4\u63a5\u96ea\u5d29&#xff1a;TPS \u4ece 2000 \u6389\u5230 700&#xff0c;\u5199\u5165\u5ef6\u8fdf\u7ffb 10 \u500d&#xff0c;\u653f\u52a1\u7533\u62a5\u63a5\u53e3\u5927\u9762\u79ef\u8d85\u65f6\u3002\u56e2\u961f\u4e00\u5f00\u59cb\u6b7b\u78d5\u6570\u636e\u5e93\u53c2\u6570\u3001\u4f18\u5316 SQL&#xff0c;\u6298\u817e\u4e09\u5929\u6ca1\u8d77\u8272&#xff0c;\u6700\u540e\u5b9a\u4f4d\u5230\u5e95\u5c42 IO \u6808\u5168\u662f\u9ed8\u8ba4\u914d\u7f6e&#xff0c;\u56fd\u4ea7\u5b58\u50a8 ARM \u67b6\u6784\u7684\u9002\u914d\u5751\u4e00\u4e2a\u6ca1\u8e29\u5168\u3002\u672c","og_url":"https:\/\/www.wsisp.com\/helps\/94938.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-15T10:49:19+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/94938.html","url":"https:\/\/www.wsisp.com\/helps\/94938.html","name":"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-15T10:49:19+00:00","dateModified":"2026-08-15T10:49:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/94938.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/94938.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/94938.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u751f\u4ea7\u590d\u76d8\uff1a\u56fd\u4ea7\u5316\u670d\u52a1\u5668 IO \u74f6\u9888\u5bfc\u81f4\u6570\u636e\u5e93\u6027\u80fd\u96ea\u5d29\u4f18\u5316\u5b9e\u5f55\uff08\u653f\u52a1\u9879\u76ee\u843d\u5730\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=94938"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94938\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=94938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=94938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=94938"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=94938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}