{"id":111841,"date":"2026-10-01T23:17:08","date_gmt":"2026-10-01T15:17:08","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/111841.html"},"modified":"2026-10-01T23:17:08","modified_gmt":"2026-10-01T15:17:08","slug":"%e4%bc%81%e4%b8%9a%e7%ba%a7ssd%e5%8f%8c%e7%ab%af%e5%8f%a3%e4%b8%8e%e9%ab%98%e5%8f%af%e7%94%a8%e6%9e%b6%e6%9e%84%e6%b7%b1%e5%ba%a6%e8%a7%a3%e6%9e%90%ef%bc%88dual-port-multipath-alua-active-active","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/111841.html","title":{"rendered":"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\uff09"},"content":{"rendered":"<p>\u6458\u8981&#xff1a;\u7cfb\u7edf\u89e3\u6790\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3&#xff08;Dual Port&#xff09;\u67b6\u6784\u7684\u786c\u4ef6\u5b9e\u73b0\u4e0e\u534f\u8bae\u539f\u7406&#xff0c;\u6db5\u76d6NVMe PCIe\u53cc\u7aef\u53e3\u4e0eSAS\u53cc\u7aef\u53e3\u7684\u62d3\u6251\u5dee\u5f02\u3001Active-Active\/Active-Passive\/ALUA\u4e09\u79cd\u8def\u5f84\u8bbf\u95ee\u6a21\u578b\u3001Asymmetric Namespace Access (ANA) \u72b6\u6001\u673a\u8f6c\u6362\u3001NVMe Multipath\u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u5207\u6362\u3001RDMA\/NVMe-oF\u53cc\u8def\u5f84\u5197\u4f59\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94\u7528\u3001\u4ee5\u53cafio\u591a\u8def\u5f84I\/O\u6027\u80fd\u4e0e\u6545\u969c\u5207\u6362\u5b9e\u6d4b\u5bf9\u6bd4\u3002<\/p>\n<h3>\u76ee\u5f55<\/h3>\n<ul>\n<li>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u53cc\u7aef\u53e3&#xff1a;\u4f01\u4e1a\u7ea7\u5b58\u50a8\u7684\u9ad8\u53ef\u7528\u9700\u6c42<\/li>\n<li>\u4e8c\u3001\u53cc\u7aef\u53e3SSD\u786c\u4ef6\u67b6\u6784&#xff1a;PCIe\/SAS\u53cc\u63a7\u5236\u5668\u8bbe\u8ba1<\/li>\n<li>\u4e09\u3001\u53cc\u7aef\u53e3\u8bbf\u95ee\u6a21\u578b&#xff1a;Active-Active \/ Active-Passive \/ ALUA<\/li>\n<li>\u56db\u3001NVMe ANA&#xff08;Asymmetric Namespace Access&#xff09;\u89c4\u8303\u6df1\u5ea6\u89e3\u8bfb<\/li>\n<li>\u4e94\u3001SAS\u53cc\u7aef\u53e3\u4e0eALUA\u534f\u8bae\u539f\u7406<\/li>\n<li>\u516d\u3001Linux\u5185\u6838\u591a\u8def\u5f84\u5b50\u7cfb\u7edf\u67b6\u6784&#xff1a;DM-Multipath \/ nvme-multipath<\/li>\n<li>\u4e03\u3001NVMe Multipath \u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u8c03\u5ea6\u7b97\u6cd5<\/li>\n<li>\u516b\u3001\u6545\u969c\u5207\u6362\u673a\u5236\u4e0e\u8def\u5f84\u68c0\u6d4b\u7b97\u6cd5<\/li>\n<li>\u4e5d\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94\u7528<\/li>\n<li>\u5341\u3001\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5&#xff1a;\u5355\u8def\u5f84 vs \u53cc\u8def\u5f84 vs \u591a\u8def\u5f84\u805a\u5408<\/li>\n<li>\u5341\u4e00\u3001\u53cc\u7aef\u53e3SSD\u7684\u4e00\u81f4\u6027\u4e0e\u6570\u636e\u4fdd\u62a4\u6311\u6218<\/li>\n<li>\u5341\u4e8c\u3001\u5f53\u65e5\u77e5\u8bc6\u70b9\u5c0f\u7ed3<\/li>\n<li>\u5341\u4e09\u3001\u601d\u8003\u9898<\/li>\n<li>\u53c2\u8003\u8d44\u6599<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u53cc\u7aef\u53e3&#xff1a;\u4f01\u4e1a\u7ea7\u5b58\u50a8\u7684\u9ad8\u53ef\u7528\u9700\u6c42<\/h3>\n<h4>1.1 \u5355\u70b9\u5931\u6548\u98ce\u9669\u4e0e99.999%\u53ef\u7528\u6027\u76ee\u6807<\/h4>\n<p>\u4f01\u4e1a\u7ea7\u5b58\u50a8\u7cfb\u7edf\u7684\u6838\u5fc3\u8bbe\u8ba1\u76ee\u6807\u662f\u9ad8\u53ef\u7528\u6027&#xff08;High Availability&#xff09;&#xff0c;\u901a\u5e38\u8981\u6c42\u8fbe\u5230 99.999%&#xff08;\u4e94\u4e2a\u4e5d&#xff09;\u7684\u53ef\u7528\u6027\u6c34\u5e73&#xff0c;\u5373\u5168\u5e74\u8ba1\u5212\u5916\u505c\u673a\u65f6\u95f4\u4e0d\u8d85\u8fc75.26\u5206\u949f\u3002<\/p>\n<p>\u53ef\u7528\u6027\u8ba1\u7b97\u516c\u5f0f&#xff1a;<br \/>\n\u53ef\u7528\u6027 &#061; \u6b63\u5e38\u8fd0\u884c\u65f6\u95f4 \/ (\u6b63\u5e38\u8fd0\u884c\u65f6\u95f4 &#043; \u505c\u673a\u65f6\u95f4) \u00d7 100%<\/p>\n<p>| \u53ef\u7528\u6027\u7b49\u7ea7 | \u5e74\u505c\u673a\u65f6\u95f4 | \u6708\u505c\u673a\u65f6\u95f4 |<br \/>\n|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;|<br \/>\n| 99%       | 3.65\u5929    | 7.31\u5c0f\u65f6  |<br \/>\n| 99.9%     | 8.76\u5c0f\u65f6  | 43.8\u5206\u949f  |<br \/>\n| 99.99%    | 52.6\u5206\u949f  | 4.38\u5206\u949f  |<br \/>\n| 99.999%   | 5.26\u5206\u949f  | 26.3\u79d2    |<br \/>\n| 99.9999%  | 31.5\u79d2    | 2.6\u79d2     |<\/p>\n<p>\u5728\u4f20\u7edf\u76f4\u8fde\u5b58\u50a8&#xff08;DAS&#xff09;\u67b6\u6784\u4e2d&#xff0c;SSD\u901a\u8fc7\u5355\u6761PCIe\u94fe\u8def\u8fde\u63a5\u5230\u5355\u53f0\u4e3b\u673a&#xff0c;\u5b58\u5728\u591a\u4e2a\u5355\u70b9\u6545\u969c&#xff08;SPOF, Single Point of Failure&#xff09;&#xff1a;<\/p>\n<p>\u4e3b\u673a\u4fa7\u5355\u70b9\u6545\u969c\u94fe&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 CPU\/Root\u2502\u2500\u2500\u2500\u2500\u25b6\u2502 PCIe Switch\u2502\u2500\u2500\u2500\u2500\u25b6\u2502 NVMe SSD \u2502\u2500\u2500\u2500\u2500\u25b6\u2502  NAND  \u2502<br \/>\n\u2502 Complex \u2502     \u2502 (\u5355\u8def\u5f84)  \u2502     \u2502 (\u5355\u7aef\u53e3) \u2502     \u2502 Flash  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n   \u25b2                \u25b2                 \u25b2<br \/>\n   \u2502                \u2502                 \u2502<br \/>\n   \u2514\u2500 \u5355\u70b9\u5931\u6548 \u2500\u2500\u2500\u2500\u2500\u2534\u2500 \u5355\u70b9\u5931\u6548 \u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u53cc\u7aef\u53e3SSD\u7684\u672c\u8d28\u662f\u5728\u5b58\u50a8\u8bbe\u5907\u5c42\u6d88\u9664\u5355\u70b9\u6545\u969c&#xff0c;\u4f7f\u540c\u4e00\u5757SSD\u80fd\u591f\u540c\u65f6\u8fde\u63a5\u5230\u4e24\u53f0\u72ec\u7acb\u7684\u4e3b\u673a\u63a7\u5236\u5668\u6216\u5b58\u50a8\u63a7\u5236\u5668&#xff0c;\u4ece\u800c\u5728\u8def\u5f84\u3001\u63a7\u5236\u5668\u751a\u81f3\u6574\u53f0\u4e3b\u673a\u6545\u969c\u65f6&#xff0c;\u6570\u636e\u8bbf\u95ee\u4ecd\u80fd\u7ee7\u7eed\u3002<\/p>\n<h4>1.2 \u4f01\u4e1a\u7ea7\u5b58\u50a8\u7684\u5178\u578b\u6545\u969c\u573a\u666f<\/h4>\n<p>\u6839\u636eSNIA&#xff08;\u5b58\u50a8\u7f51\u7edc\u884c\u4e1a\u534f\u4f1a&#xff09;\u7684\u7edf\u8ba1\u6570\u636e&#xff0c;\u4f01\u4e1a\u7ea7\u5b58\u50a8\u7cfb\u7edf\u7684\u6545\u969c\u5206\u5e03\u5982\u4e0b&#xff1a;<\/p>\n<table>\n<tr>\u6545\u969c\u7c7b\u578b\u5360\u6bd4\u53cc\u7aef\u53e3\u80fd\u5426\u9632\u62a4\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u8def\u5f84\/\u7ebf\u7f06\u6545\u969c<\/td>\n<td>~35%<\/td>\n<td>\u2705 \u5b8c\u5168\u9632\u62a4<\/td>\n<td>HBA\/PCIe\u5361\u3001\u7ebf\u7f06\u3001\u4ea4\u6362\u673a\u7aef\u53e3\u6545\u969c<\/td>\n<\/tr>\n<tr>\n<td>\u63a7\u5236\u5668\u6545\u969c<\/td>\n<td>~25%<\/td>\n<td>\u2705 \u53ef\u5207\u6362<\/td>\n<td>\u5b58\u50a8\u63a7\u5236\u5668\u5b95\u673a\u3001\u56fa\u4ef6\u5d29\u6e83<\/td>\n<\/tr>\n<tr>\n<td>SSD\u4ecb\u8d28\u6545\u969c<\/td>\n<td>~20%<\/td>\n<td>\u274c \u9700RAID<\/td>\n<td>\u53cc\u7aef\u53e3\u5171\u4eab\u540c\u4e00\u5757NAND\u4ecb\u8d28<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u6545\u969c<\/td>\n<td>~12%<\/td>\n<td>\u26a0\ufe0f \u90e8\u5206\u9632\u62a4<\/td>\n<td>\u53cc\u7535\u6e90&#043;\u53cc\u7aef\u53e3\u53ef\u9632\u62a4\u5355\u7535\u6e90\u6545\u969c<\/td>\n<\/tr>\n<tr>\n<td>\u56fa\u4ef6\/\u8f6f\u4ef6\u6545\u969c<\/td>\n<td>~8%<\/td>\n<td>\u2705 \u53ef\u5207\u6362<\/td>\n<td>\u5355\u63a7\u5236\u5668\u56fa\u4ef6hang\u4f4f\u53ef\u5207\u53e6\u4e00\u8def\u5f84<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5173\u952e\u8ba4\u77e5&#xff1a;\u53cc\u7aef\u53e3SSD\u89e3\u51b3\u7684\u662f\u8def\u5f84\u548c\u63a7\u5236\u5668\u5c42\u9762\u7684\u9ad8\u53ef\u7528\u95ee\u9898&#xff0c;\u800c\u975e\u4ecb\u8d28\u5c42\u9762\u7684\u6570\u636e\u5197\u4f59\u3002\u4ecb\u8d28\u6545\u969c\u4ecd\u7136\u9700\u8981\u4f9d\u8d56RAID\u3001\u591a\u526f\u672c\u6216\u7ea0\u5220\u7801\u6765\u4fdd\u62a4\u3002<\/p>\n<h4>1.3 \u53cc\u7aef\u53e3SSD\u7684\u5e94\u7528\u573a\u666f<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u7684\u4e3b\u8981\u5e94\u7528\u573a\u666f\u5305\u62ec&#xff1a;<\/p>\n<li>HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217&#xff1a;\u4e24\u53f0\u5b58\u50a8\u63a7\u5236\u5668\u5171\u4eab\u540e\u7aefSSD\u6c60&#xff0c;\u4efb\u4f55\u4e00\u53f0\u63a7\u5236\u5668\u6545\u969c\u65f6&#xff0c;\u53e6\u4e00\u53f0\u81ea\u52a8\u63a5\u7ba1\u6240\u6709I\/O<\/li>\n<li>\u670d\u52a1\u5668\u76f4\u8fde\u53cc\u8def\u5f84&#xff1a;\u5173\u952e\u4e1a\u52a1\u670d\u52a1\u5668\u901a\u8fc7\u53ccHBA\u5361\u8fde\u63a5\u540c\u4e00\u7ec4SSD&#xff0c;\u6d88\u9664HBA\u5355\u70b9\u6545\u969c<\/li>\n<li>\u5171\u4eab\u5b58\u50a8\u96c6\u7fa4&#xff1a;\u591a\u53f0\u5e94\u7528\u670d\u52a1\u5668\u901a\u8fc7NVMe-oF\u5171\u4eab\u540e\u7aefSSD&#xff0c;\u53cc\u7aef\u53e3\u63d0\u4f9b\u8d1f\u8f7d\u5747\u8861&#043;\u6545\u969c\u5207\u6362<\/li>\n<li>JBOF\u6269\u5c55\u67dc\u53cc\u94fe\u8def&#xff1a;\u5168\u95eaJBOF\u901a\u8fc7\u53cc\u7aef\u53e3\u8fde\u63a5\u5230\u4e24\u53f0\u4e3b\u5b58\u50a8\u63a7\u5236\u5668&#xff0c;\u5b9e\u73b0\u63a7\u5236\u5668\u7ea7\u5197\u4f59<\/li>\n<hr \/>\n<h3>\u4e8c\u3001\u53cc\u7aef\u53e3SSD\u786c\u4ef6\u67b6\u6784&#xff1a;PCIe\/SAS\u53cc\u63a7\u5236\u5668\u8bbe\u8ba1<\/h3>\n<h4>2.1 \u53cc\u7aef\u53e3SSD\u7684\u5185\u90e8\u67b6\u6784<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u4e0e\u5355\u7aef\u53e3SSD\u7684\u6838\u5fc3\u533a\u522b\u5728\u4e8e\u524d\u7aef\u63a5\u53e3\u5c42\u589e\u52a0\u4e86\u4e00\u5957\u72ec\u7acb\u7684PHY\u548c\u94fe\u8def\u5c42&#xff0c;\u800cNAND\u95ea\u5b58\u4ecb\u8d28\u662f\u4e24\u4e2a\u7aef\u53e3\u5171\u4eab\u7684\u3002\u5178\u578b\u7684\u53cc\u7aef\u53e3SSD\u5185\u90e8\u67b6\u6784\u5982\u4e0b&#xff1a;<\/p>\n<p>\u53cc\u7aef\u53e3NVMe SSD\u5185\u90e8\u67b6\u6784&#xff08;PCIe Dual Port&#xff09;<\/p>\n<p> Port A (PCIe x4)        Port B (PCIe x4)<br \/>\n      \u2502                        \u2502<br \/>\n      \u25bc                        \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510            \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 PCIe PHY \u2502            \u2502 PCIe PHY \u2502<br \/>\n\u2502  (Gen4)  \u2502            \u2502  (Gen4)  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518            \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n     \u2502                       \u2502<br \/>\n     \u25bc                       \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  PCIe \u63a7\u5236\u5668\u2502         \u2502  PCIe \u63a7\u5236\u5668\u2502<br \/>\n\u2502  (Port A)  \u2502         \u2502  (Port B)  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n      \u2502                       \u2502<br \/>\n      \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                  \u25bc<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502   \u53cc\u7aef\u53e3\u4e3b\u63a7\u82af\u7247 \u2502<br \/>\n         \u2502  (Shared FTL)   \u2502<br \/>\n         \u2502  &#8211; \u4ef2\u88c1\u5f15\u64ce      \u2502<br \/>\n         \u2502  &#8211; \u7f13\u5b58\u4e00\u81f4\u6027    \u2502<br \/>\n         \u2502  &#8211; \u547d\u540d\u7a7a\u95f4\u7ba1\u7406  \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                  \u25bc<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502   DRAM\u7f13\u5b58      \u2502<br \/>\n         \u2502  (\u5171\u4eabLBA\u6620\u5c04\u8868) \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                  \u25bc<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502   NAND\u95ea\u5b58\u9635\u5217   \u2502<br \/>\n         \u2502  (\u5171\u4eab\u4ecb\u8d28)      \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>2.2 PCIe\u53cc\u7aef\u53e3\u7684\u786c\u4ef6\u5b9e\u73b0\u65b9\u5f0f<\/h4>\n<p>NVMe PCIe\u53cc\u7aef\u53e3SSD\u6709\u4e24\u79cd\u4e3b\u8981\u7684\u786c\u4ef6\u5b9e\u73b0\u65b9\u6848&#xff1a;<\/p>\n<p>\u65b9\u6848\u4e00&#xff1a;\u53ccPCIe Root Complex\u96c6\u6210&#xff08;\u5355\u82af\u7247\u65b9\u6848&#xff09;<\/p>\n<p>\u4e3b\u6d41\u4f01\u4e1a\u7ea7\u4e3b\u63a7\u82af\u7247&#xff08;\u5982Samsung Phoenix\u3001Marvell Bravera SC5\u3001Phison PS5026-E26&#xff09;\u5185\u90e8\u96c6\u6210\u4e86\u4e24\u4e2a\u72ec\u7acb\u7684PCIe\u63a7\u5236\u5668&#xff0c;\u5171\u4eab\u540c\u4e00\u4e2aFTL\u6838\u5fc3\u548cNAND\u901a\u9053&#xff1a;<\/p>\n<p>\u5355\u82af\u7247\u53cc\u7aef\u53e3\u4e3b\u63a7\u67b6\u6784<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502              \u4e3b\u63a7SoC                      \u2502<br \/>\n\u2502                                          \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510             \u2502<br \/>\n\u2502  \u2502 PCIe RC \u2502    \u2502 PCIe RC \u2502  \u2190 \u4e24\u4e2a\u72ec\u7acb  \u2502<br \/>\n\u2502  \u2502 Port A  \u2502    \u2502 Port B  \u2502    PCIe\u7aef\u53e3  \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518             \u2502<br \/>\n\u2502       \u2502              \u2502                   \u2502<br \/>\n\u2502       \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                   \u2502<br \/>\n\u2502              \u25bc                           \u2502<br \/>\n\u2502     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510                 \u2502<br \/>\n\u2502     \u2502  FTL \/ MMU \u6838\u5fc3  \u2502  \u2190 \u5171\u4eabFTL\u5f15\u64ce   \u2502<br \/>\n\u2502     \u2502  &#043; \u4ef2\u88c1\u4e0e\u4e92\u65a5    \u2502                 \u2502<br \/>\n\u2502     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                 \u2502<br \/>\n\u2502              \u25bc                           \u2502<br \/>\n\u2502     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510                 \u2502<br \/>\n\u2502     \u2502  NAND Flash \u63a7\u5236\u5668\u2502                 \u2502<br \/>\n\u2502     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                 \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u65b9\u6848\u4e8c&#xff1a;PCIe Switch &#043; \u53cc\u4e3b\u63a7&#xff08;\u53cc\u82af\u7247\u65b9\u6848&#xff09;<\/p>\n<p>\u90e8\u5206\u9ad8\u7aef\u4f01\u4e1a\u7ea7SSD\u91c7\u7528\u5916\u7f6ePCIe Switch&#043;\u53cc\u4e3b\u63a7\u82af\u7247\u7684\u67b6\u6784&#xff0c;\u5b9e\u73b0\u66f4\u5f7b\u5e95\u7684\u786c\u4ef6\u9694\u79bb&#xff1a;<\/p>\n<table>\n<tr>\u7279\u6027\u5355\u82af\u7247\u53cc\u7aef\u53e3\u53cc\u82af\u7247\u53cc\u7aef\u53e3<\/tr>\n<tbody>\n<tr>\n<td>\u786c\u4ef6\u6210\u672c<\/td>\n<td>\u8f83\u4f4e<\/td>\n<td>\u8f83\u9ad8&#xff08;2\u9897\u4e3b\u63a7&#043;Switch&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u9694\u79bb<\/td>\n<td>\u5355\u82af\u7247\u6545\u969c\u5f71\u54cd\u4e24\u7aef\u53e3<\/td>\n<td>\u5355\u4e3b\u63a7\u6545\u969c\u4e0d\u5f71\u54cd\u53e6\u4e00\u4e3b\u63a7<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd\u5f00\u9500<\/td>\n<td>\u5171\u4eab\u603b\u7ebf\u5b58\u5728\u7ade\u4e89<\/td>\n<td>\u5e76\u884c\u5ea6\u66f4\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>\u5178\u578b\u4ea7\u54c1<\/td>\n<td>\u4e09\u661fPM9A3\u3001\u94e0\u4fa0CD8<\/td>\n<td>\u90e8\u5206\u9ad8\u7aef\u5b58\u50a8\u5b9a\u5236SSD<\/td>\n<\/tr>\n<tr>\n<td>\u56fa\u4ef6\u590d\u6742\u5ea6<\/td>\n<td>\u5355\u56fa\u4ef6\u955c\u50cf<\/td>\n<td>\u53cc\u56fa\u4ef6\u9700\u540c\u6b65<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2.3 SAS\u53cc\u7aef\u53e3 vs PCIe\u53cc\u7aef\u53e3\u5bf9\u6bd4<\/h4>\n<p>\u4f01\u4e1a\u7ea7SSD\u7684\u53cc\u7aef\u53e3\u6280\u672f\u8def\u7ebf\u4e3b\u8981\u5206\u4e3aSAS\u53cc\u7aef\u53e3\u548cNVMe PCIe\u53cc\u7aef\u53e3\u4e24\u5927\u9635\u8425&#xff1a;<\/p>\n<table>\n<tr>\u7279\u6027SAS\u53cc\u7aef\u53e3SSDNVMe PCIe\u53cc\u7aef\u53e3SSD<\/tr>\n<tbody>\n<tr>\n<td>\u63a5\u53e3\u534f\u8bae<\/td>\n<td>SAS 3.0 \/ 4.0&#xff08;12G \/ 24G&#xff09;<\/td>\n<td>PCIe 4.0 \/ 5.0&#xff08;16GT\/s \/ 32GT\/s&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5e26\u5bbd\/\u7aef\u53e3<\/td>\n<td>~1.1 GB\/s&#xff08;12G SAS&#xff09;<\/td>\n<td>~7.5 GB\/s&#xff08;PCIe 4.0 x4&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u53cc\u7aef\u53e3\u6a21\u5f0f<\/td>\n<td>\u5929\u7136\u652f\u6301&#xff08;SAS\u6807\u51c6\u5b9a\u4e49&#xff09;<\/td>\n<td>NVMe 1.4&#043;\u89c4\u8303\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u8bbf\u95ee\u6a21\u578b<\/td>\n<td>ALUA\u6807\u51c6<\/td>\n<td>ANA&#xff08;NVMe\u5b9a\u4e49&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u8def\u5f84\u8f6f\u4ef6<\/td>\n<td>DM-Multipath&#xff08;SAS\u8def\u5f84&#xff09;<\/td>\n<td>nvme-multipath&#xff08;native&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u8981\u5382\u5546<\/td>\n<td>\u5e0c\u6377\u3001\u4e1c\u829d\u3001\u897f\u90e8\u6570\u636e<\/td>\n<td>\u4e09\u661f\u3001\u94e0\u4fa0\u3001\u7f8e\u5149\u3001Solidigm<\/td>\n<\/tr>\n<tr>\n<td>\u5e94\u7528\u573a\u666f<\/td>\n<td>\u4f20\u7edfSAN\u5b58\u50a8\u3001\u6df7\u95ea\u9635\u5217<\/td>\n<td>\u5168\u95ea\u9635\u5217\u3001\u4e91\u6570\u636e\u4e2d\u5fc3\u3001NVMe-oF<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u884c\u4e1a\u8d8b\u52bf&#xff1a;\u6839\u636eIDC 2025\u5e74Q1\u62a5\u544a&#xff0c;\u5168\u7403\u4f01\u4e1a\u7ea7SSD\u5e02\u573a\u4e2d&#xff0c;NVMe SSD\u7684\u51fa\u8d27\u91cf\u5360\u6bd4\u5df2\u8d85\u8fc772%&#xff0c;PCIe\u53cc\u7aef\u53e3\u6b63\u5728\u5feb\u901f\u66ff\u4ee3SAS\u53cc\u7aef\u53e3\u6210\u4e3a\u4e3b\u6d41\u3002\u4f46SAS\u53cc\u7aef\u53e3\u5728\u4f20\u7edf\u4f01\u4e1a\u5b58\u50a8\u5e02\u573a\u4ecd\u6709\u7a33\u5b9a\u5b58\u91cf&#xff0c;\u9884\u8ba1\u81f3\u5c11\u52302028\u5e74\u624d\u4f1a\u88ab\u5168\u9762\u66ff\u4ee3\u3002<\/p>\n<h4>2.4 \u53cc\u7aef\u53e3SSD\u7684\u7269\u7406\u63a5\u53e3\u5f62\u5f0f<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u5e38\u89c1\u7684\u7269\u7406\u5f62\u6001\u5305\u62ec&#xff1a;<\/p>\n<table>\n<tr>\u5f62\u6001\u63a5\u53e3\u53cc\u7aef\u53e3\u65b9\u5f0f\u5178\u578b\u5e94\u7528<\/tr>\n<tbody>\n<tr>\n<td>2.5\u5bf8 U.2<\/td>\n<td>SFF-8639<\/td>\n<td>PCIe\u53cc\u7aef\u53e3&#043;SAS\u517c\u5bb9<\/td>\n<td>\u670d\u52a1\u5668\u3001\u5b58\u50a8\u9635\u5217<\/td>\n<\/tr>\n<tr>\n<td>E1.S<\/td>\n<td>EDSFF E1<\/td>\n<td>\u53ccx2 PCIe\u7aef\u53e3<\/td>\n<td>\u4e91\u670d\u52a1\u5668\u3001JBOF<\/td>\n<\/tr>\n<tr>\n<td>E3.S<\/td>\n<td>EDSFF E3<\/td>\n<td>\u53ccx4 PCIe\u7aef\u53e3<\/td>\n<td>\u5168\u95ea\u9635\u5217\u3001\u6570\u636e\u4e2d\u5fc3<\/td>\n<\/tr>\n<tr>\n<td>M.2<\/td>\n<td>M.2<\/td>\n<td>\u901a\u5e38\u5355\u7aef\u53e3&#xff08;\u90e8\u5206\u53cc\u53e3&#xff09;<\/td>\n<td>\u4ec5\u5c11\u6570\u5de5\u4e1a\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>U.3<\/td>\n<td>SFF-8639 v2<\/td>\n<td>\u4e09\u6a21&#xff08;SAS\/SATA\/NVMe&#xff09;\u53cc\u7aef\u53e3<\/td>\n<td>\u9ad8\u7aef\u5b58\u50a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>U.2\u53cc\u7aef\u53e3\u5f15\u811a\u5b9a\u4e49&#xff1a;SFF-8639\u8fde\u63a5\u5668\u7684Pin 1-36\u4e3aPort A&#xff0c;Pin 37-68\u4e3aPort B&#xff0c;\u4e24\u4e2a\u7aef\u53e3\u5404\u81ea\u62e5\u6709\u72ec\u7acb\u7684PCIe\u6536\u53d1\u5dee\u5206\u5bf9\u548c\u53c2\u8003\u65f6\u949f\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u53cc\u7aef\u53e3\u8bbf\u95ee\u6a21\u578b&#xff1a;Active-Active \/ Active-Passive \/ ALUA<\/h3>\n<h4>3.1 \u4e09\u79cd\u57fa\u672c\u8bbf\u95ee\u6a21\u578b<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u6839\u636e\u4e24\u4e2a\u7aef\u53e3\u5bf9\u540c\u4e00Namespace\u7684\u8bbf\u95ee\u6743\u9650\u548c\u6027\u80fd\u7279\u6027&#xff0c;\u5206\u4e3a\u4e09\u79cd\u57fa\u672c\u6a21\u578b&#xff1a;<\/p>\n<p>\u8bbf\u95ee\u6a21\u578b\u5bf9\u6bd4<\/p>\n<p>1. Active-Active&#xff08;\u5bf9\u79f0\u53cc\u6d3b&#xff09;<br \/>\n   Port A \u25c4\u2500\u2500\u2500\u2500 I\/O \u2500\u2500\u2500\u2500\u25ba Namespace<br \/>\n   Port B \u25c4\u2500\u2500\u2500\u2500 I\/O \u2500\u2500\u2500\u2500\u25ba Namespace<br \/>\n   \u4e24\u7aef\u53e3\u6027\u80fd\u4e00\u81f4&#xff0c;\u53ef\u540c\u65f6\u8bfb\u5199<\/p>\n<p>2. Active-Passive&#xff08;\u4e3b\u5907&#xff09;<br \/>\n   Port A (Active) \u25c4\u2500\u2500 I\/O \u2500\u2500\u25ba Namespace<br \/>\n   Port B (Passive)             Namespace<br \/>\n   \u4ec5\u4e3b\u7aef\u53e3\u53ef\u8bbf\u95ee&#xff0c;\u5907\u7aef\u53e3\u5f85\u673a<\/p>\n<p>3. ALUA\/ANA&#xff08;\u975e\u5bf9\u79f0\u8bbf\u95ee&#xff09;<br \/>\n   Port A (Optimized)   \u25c4\u2550\u2550 I\/O \u2550\u2550\u25ba Namespace   \u6027\u80fd\u8def\u5f84<br \/>\n   Port B (Non-Optimized) \u25c4\u2500\u2500 I\/O \u2500\u2500\u25ba Namespace   \u53ef\u7528\u4f46\u6027\u80fd\u4f4e<\/p>\n<h4>3.2 Active-Active \u5bf9\u79f0\u53cc\u6d3b\u6a21\u578b<\/h4>\n<p>Active-Active&#xff08;AA&#xff09;\u6a21\u578b\u4e0b&#xff0c;\u4e24\u4e2a\u7aef\u53e3\u90fd\u53ef\u4ee5\u540c\u65f6\u4ee5\u6700\u4f18\u6027\u80fd\u8bbf\u95ee\u540c\u4e00\u4e2aNamespace&#xff0c;\u4e3b\u673a\u53ef\u4ee5\u901a\u8fc7\u4e24\u4e2a\u7aef\u53e3\u5e76\u884c\u53d1\u9001I\/O&#xff0c;\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<p>\u5173\u952e\u7279\u6027&#xff1a;<\/p>\n<ul>\n<li>\u4e24\u7aef\u53e3\u5bf9\u540c\u4e00Namespace\u7684\u8bbf\u95ee\u5ef6\u8fdf\u3001\u5e26\u5bbd\u57fa\u672c\u4e00\u81f4<\/li>\n<li>\u652f\u6301I\/O\u5728\u4e24\u4e2a\u7aef\u53e3\u95f4\u52a8\u6001\u8d1f\u8f7d\u5747\u8861<\/li>\n<li>\u6545\u969c\u5207\u6362\u65f6\u65e0\u9700\u7b49\u5f85\u8def\u5f84\u72b6\u6001\u5207\u6362&#xff0c;\u6027\u80fd\u65e0\u8df3\u53d8<\/li>\n<li>\u5b9e\u73b0\u590d\u6742\u5ea6\u6700\u9ad8&#xff0c;\u9700\u8981\u4e3b\u63a7\u5185\u90e8\u5b9e\u73b0\u7cbe\u7ec6\u7684\u7f13\u5b58\u4e00\u81f4\u6027<\/li>\n<\/ul>\n<p>\u5178\u578b\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u90e8\u5206\u9ad8\u7aef\u4f01\u4e1a\u7ea7NVMe SSD&#xff08;\u5982\u4e09\u661fPM1743\u53cc\u7aef\u53e3\u7248\u3001\u94e0\u4fa0CM7-R&#xff09;<\/li>\n<li>\u591a\u6570SAS\u53cc\u7aef\u53e3SSD\u5728\u63a7\u5236\u5668\u7aef\u805a\u5408\u540e\u5bf9\u4e3b\u673a\u5448\u73b0AA\u6a21\u5f0f<\/li>\n<\/ul>\n<h4>3.3 Active-Passive \u4e3b\u5907\u6a21\u578b<\/h4>\n<p>Active-Passive&#xff08;AP&#xff09;\u6a21\u578b\u4e0b&#xff0c;\u540c\u4e00\u65f6\u95f4\u53ea\u6709\u4e00\u4e2a\u7aef\u53e3&#xff08;Active\u7aef\u53e3&#xff09;\u53ef\u4ee5\u8bbf\u95eeNamespace&#xff0c;\u53e6\u4e00\u4e2a\u7aef\u53e3&#xff08;Passive\u7aef\u53e3&#xff09;\u5904\u4e8e\u5f85\u673a\u72b6\u6001\u3002\u5f53Active\u7aef\u53e3\u6545\u969c\u65f6&#xff0c;\u9700\u8981\u901a\u8fc7\u663e\u5f0f\u7684\u8def\u5f84\u5207\u6362\u5c06Passive\u7aef\u53e3\u63d0\u5347\u4e3aActive\u3002<\/p>\n<p>\u5173\u952e\u7279\u6027&#xff1a;<\/p>\n<ul>\n<li>\u5b9e\u73b0\u7b80\u5355&#xff0c;\u786c\u4ef6\u548c\u56fa\u4ef6\u6210\u672c\u4f4e<\/li>\n<li>\u6b63\u5e38\u5de5\u4f5c\u65f6\u53ea\u6709\u4e00\u6761\u8def\u5f84\u627f\u8f7dI\/O<\/li>\n<li>\u6545\u969c\u5207\u6362\u6709\u5ef6\u8fdf&#xff08;\u901a\u5e3810ms~\u6570\u79d2&#xff09;<\/li>\n<li>\u5207\u6362\u671f\u95f4I\/O\u4f1a\u77ed\u6682\u6302\u8d77<\/li>\n<\/ul>\n<p>\u5207\u6362\u6d41\u7a0b&#xff1a;<\/p>\n<p>Active-Passive \u5207\u6362\u72b6\u6001\u673a<\/p>\n<p>  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n  \u2502                                  \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u8def\u5f84\u5931\u6548\u68c0\u6d4b    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 Active\u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502 \u5207\u6362\u51c6\u5907     \u2502<br \/>\n\u2502 Port A \u2502   \u89e6\u53d1\u5207\u6362      \u2502 (\u7f13\u5b58\u5237\u65b0)   \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2518                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                                \u2502<br \/>\n                                \u25bc<br \/>\n                         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                         \u2502 Port B\u6fc0\u6d3b   \u2502<br \/>\n                         \u2502 (\u8def\u5f84\u91cd\u5efa)   \u2502<br \/>\n                         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                                \u2502<br \/>\n                                \u25bc<br \/>\n                         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                         \u2502 I\/O\u6062\u590d      \u2502<br \/>\n                         \u2502 Port B Active\u2502<br \/>\n                         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>3.4 ALUA\/ANA \u975e\u5bf9\u79f0\u8bbf\u95ee\u6a21\u578b<\/h4>\n<p>ALUA&#xff08;Asymmetric Logical Unit Access&#xff0c;\u975e\u5bf9\u79f0\u903b\u8f91\u5355\u5143\u8bbf\u95ee&#xff09;\u662f\u4e00\u79cd\u4ecb\u4e8eActive-Active\u548cActive-Passive\u4e4b\u95f4\u7684\u6a21\u578b\u3002SAS\u534f\u8bae\u4e2d\u79f0\u4e3aALUA&#xff0c;NVMe\u534f\u8bae\u4e2d\u5bf9\u5e94\u7684\u662fANA&#xff08;Asymmetric Namespace Access&#xff09;\u3002<\/p>\n<p>\u6838\u5fc3\u601d\u60f3&#xff1a;\u4e24\u4e2a\u7aef\u53e3\u90fd\u53ef\u4ee5\u8bbf\u95ee\u540c\u4e00\u4e2aLUN\/Namespace&#xff0c;\u4f46\u901a\u8fc7\u4e0d\u540c\u7aef\u53e3\u8bbf\u95ee\u7684\u6027\u80fd\u4e0d\u540c\u2014\u2014\u4e00\u4e2a\u662f&#034;\u4f18\u5316\u8def\u5f84&#034;&#xff08;Optimized&#xff09;&#xff0c;\u53e6\u4e00\u4e2a\u662f&#034;\u975e\u4f18\u5316\u8def\u5f84&#034;&#xff08;Non-Optimized&#xff09;\u3002<\/p>\n<p>\u56db\u79cd\u8def\u5f84\u72b6\u6001&#xff08;NVMe ANA\u5b9a\u4e49&#xff09;&#xff1a;<\/p>\n<table>\n<tr>ANA\u72b6\u6001\u542b\u4e49\u662f\u5426\u53ef\u8bbf\u95ee\u6027\u80fd\u7279\u5f81<\/tr>\n<tbody>\n<tr>\n<td>ANA Optimized State<\/td>\n<td>\u4f18\u5316\u72b6\u6001<\/td>\n<td>\u2705 \u53ef\u8bbf\u95ee<\/td>\n<td>\u6700\u4f18\u6027\u80fd&#xff08;\u76f4\u63a5\u8def\u5f84&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>ANA Non-Optimized State<\/td>\n<td>\u975e\u4f18\u5316\u72b6\u6001<\/td>\n<td>\u2705 \u53ef\u8bbf\u95ee<\/td>\n<td>\u6027\u80fd\u8f83\u4f4e&#xff08;\u9700\u8de8\u63a7\u5236\u5668\u8f6c\u53d1&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>ANA Inaccessible State<\/td>\n<td>\u4e0d\u53ef\u8bbf\u95ee\u72b6\u6001<\/td>\n<td>\u274c \u4e0d\u53ef\u8bbf\u95ee<\/td>\n<td>\u8def\u5f84\u6545\u969c\u6216\u63a7\u5236\u5668\u79bb\u7ebf<\/td>\n<\/tr>\n<tr>\n<td>ANA Change State<\/td>\n<td>\u8f6c\u6362\u4e2d\u72b6\u6001<\/td>\n<td>\u26a0\ufe0f \u4e34\u65f6\u4e0d\u53ef\u7528<\/td>\n<td>\u72b6\u6001\u6b63\u5728\u5207\u6362\u4e2d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>NVMe 2.0\u89c4\u8303\u65b0\u589e\u72b6\u6001&#xff1a;ANA Persistent Loss State&#xff08;\u6301\u4e45\u4e22\u5931\u72b6\u6001&#xff09;&#xff0c;\u7528\u4e8e\u8868\u793a\u6c38\u4e45\u4e0d\u53ef\u6062\u590d\u7684\u8def\u5f84\u6545\u969c&#xff0c;\u4e3b\u673a\u5e94\u6c38\u4e45\u653e\u5f03\u8be5\u8def\u5f84\u3002<\/p>\n<h4>3.5 \u4e09\u79cd\u6a21\u578b\u7684\u5bf9\u6bd4\u603b\u7ed3<\/h4>\n<table>\n<tr>\u7279\u6027Active-ActiveALUA\/ANAActive-Passive<\/tr>\n<tbody>\n<tr>\n<td>\u4e24\u7aef\u53e3\u540c\u65f6\u8bbf\u95ee<\/td>\n<td>\u2705 \u662f<\/td>\n<td>\u2705 \u662f&#xff08;\u6027\u80fd\u4e0d\u5bf9\u79f0&#xff09;<\/td>\n<td>\u274c \u5426<\/td>\n<\/tr>\n<tr>\n<td>\u8d1f\u8f7d\u5747\u8861<\/td>\n<td>\u2705 \u5b8c\u5168\u8d1f\u8f7d\u5747\u8861<\/td>\n<td>\u26a0\ufe0f \u4e0d\u5747\u8861&#xff08;\u4f18\u5316\u8def\u5f84\u4e3a\u4e3b&#xff09;<\/td>\n<td>\u274c \u65e0\u8d1f\u8f7d\u5747\u8861<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u5207\u6362\u5ef6\u8fdf<\/td>\n<td>~0ms&#xff08;I\/O\u81ea\u52a8\u8d70\u53e6\u4e00\u8def\u5f84&#xff09;<\/td>\n<td>\u4f4e&#xff08;\u76f4\u63a5\u5207\u5230\u975e\u4f18\u5316\u8def\u5f84&#xff09;<\/td>\n<td>\u8f83\u9ad8&#xff08;\u9700\u663e\u5f0f\u6fc0\u6d3b&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5b9e\u73b0\u590d\u6742\u5ea6<\/td>\n<td>\u6700\u9ad8<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u6700\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u5178\u578b\u5e94\u7528<\/td>\n<td>\u9ad8\u7aef\u5168\u95ea\u9635\u5217<\/td>\n<td>\u4e2d\u7aef\u5b58\u50a8\/\u53cc\u63a7\u9635\u5217<\/td>\n<td>\u5165\u95e8\u7ea7HA \/ \u5907\u4efd\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd\u5229\u7528\u7387<\/td>\n<td>~200%&#xff08;\u53cc\u7aef\u53e3\u805a\u5408&#xff09;<\/td>\n<td><sub>110%<\/sub>150%<\/td>\n<td>~100%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u56db\u3001NVMe ANA&#xff08;Asymmetric Namespace Access&#xff09;\u89c4\u8303\u6df1\u5ea6\u89e3\u8bfb<\/h3>\n<h4>4.1 ANA\u7684\u89c4\u8303\u5b9a\u4f4d<\/h4>\n<p>ANA\u662fNVMe Base Specification 1.4\u5f15\u5165\u7684\u7279\u6027&#xff0c;\u5728NVMe 2.0\u4e2d\u5f97\u5230\u8fdb\u4e00\u6b65\u589e\u5f3a\u3002\u5b83\u662fNVMe\u5bf9\u591a\u8def\u5f84\u8bbf\u95ee\u6807\u51c6\u5316\u7684\u6838\u5fc3\u673a\u5236&#xff0c;\u66ff\u4ee3\u4e86\u65e9\u671f\u5382\u5546\u79c1\u6709\u7684\u591a\u8def\u5f84\u65b9\u6848\u3002<\/p>\n<p>NVMe 2.0 RMT-39 \u89c4\u8303\u5b9a\u4e49&#xff1a;ANA (Asymmetric Namespace Access) \u662f\u4e00\u79cd\u62a5\u544a\u547d\u540d\u7a7a\u95f4\u8bbf\u95ee\u7279\u6027\u7684\u673a\u5236&#xff0c;\u8fd9\u4e9b\u7279\u6027\u53ef\u80fd\u56e0\u63a7\u5236\u5668\u548c\u7aef\u53e3\u7684\u4e0d\u540c\u800c\u6709\u6240\u5dee\u5f02\u3002ANA\u4f7f\u4e3b\u673a\u8f6f\u4ef6\u80fd\u591f\u4f18\u5316I\/O\u8def\u5f84\u9009\u62e9&#xff0c;\u5728\u4fdd\u6301\u5bf9\u6240\u6709\u8def\u5f84\u8bbf\u95ee\u80fd\u529b\u7684\u540c\u65f6&#xff0c;\u4f18\u5148\u4f7f\u7528\u6700\u4f18\u6027\u80fd\u8def\u5f84\u3002<\/p>\n<h4>4.2 ANA\u65e5\u5fd7\u9875&#xff08;ANA Log Page&#xff09;<\/h4>\n<p>ANA\u4fe1\u606f\u901a\u8fc7**ANA Log Page&#xff08;Log Identifier 0x0C&#xff09;**\u5411\u4e3b\u673a\u62a5\u544a\u3002\u4e3b\u673a\u901a\u8fc7Get Log Page\u547d\u4ee4\u8bfb\u53d6\u6bcf\u4e2aNamespace\u7684ANA\u72b6\u6001&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ ANA Log Page \u5934\u90e8\u7ed3\u6784&#xff08;\u7b80\u5316&#xff09;<\/span><br \/>\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ana_log<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    __le64  num_ctrl<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/\/ \u63a7\u5236\u5668\u6570\u91cf<\/span><br \/>\n    __le64  num_ns<span class=\"token punctuation\">;<\/span>         <span class=\"token comment\">\/\/ \u547d\u540d\u7a7a\u95f4\u6570\u91cf<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ana_entry<\/span> entries<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ ANA\u6761\u76ee\u6570\u7ec4<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ana_entry<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    __le32  nsid<span class=\"token punctuation\">;<\/span>           <span class=\"token comment\">\/\/ Namespace ID<\/span><br \/>\n    __u8    anagrpid<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/\/ ANA\u7ec4ID<\/span><br \/>\n    __u8    rsvd<span class=\"token punctuation\">[<\/span><span class=\"token number\">3<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    __le64  nuse<span class=\"token punctuation\">;<\/span>           <span class=\"token comment\">\/\/ \u5df2\u4f7f\u7528\u5bb9\u91cf<\/span><br \/>\n    __le64  nsze<span class=\"token punctuation\">;<\/span>           <span class=\"token comment\">\/\/ \u603b\u5bb9\u91cf<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u6bcf\u4e2aANA Group&#xff08;ANAGRP&#xff09;\u5bf9\u5e94\u4e00\u7ec4\u5177\u6709\u76f8\u540cANA\u884c\u4e3a\u7684Namespace\u3002\u63a7\u5236\u5668\u901a\u8fc7ANA Group ID\u5c06Namespace\u5206\u7ec4&#xff0c;\u540c\u4e00\u7ec4\u5185\u7684Namespace\u5728\u540c\u4e00\u8def\u5f84\u4e0a\u7684ANA\u72b6\u6001\u59cb\u7ec8\u4e00\u81f4\u3002<\/p>\n<h4>4.3 ANA\u72b6\u6001\u8f6c\u6362\u673a\u5236<\/h4>\n<p>\u5f53\u8def\u5f84\u72b6\u6001\u53d1\u751f\u53d8\u5316\u65f6&#xff08;\u4f8b\u5982\u63a7\u5236\u5668\u6545\u969c\u6062\u590d\u3001\u8d1f\u8f7d\u5747\u8861\u89e6\u53d1\u72b6\u6001\u5207\u6362&#xff09;&#xff0c;SSD\u901a\u8fc7**AER&#xff08;Asynchronous Event Request&#xff09;**\u901a\u77e5\u4e3b\u673aANA\u72b6\u6001\u53d1\u751f\u4e86\u53d8\u5316&#xff1a;<\/p>\n<p>ANA\u72b6\u6001\u53d8\u5316\u901a\u77e5\u6d41\u7a0b<\/p>\n<p>SSD\u63a7\u5236\u5668                    \u4e3b\u673a\u9a71\u52a8<br \/>\n   \u2502                           \u2502<br \/>\n   \u2502  ANA\u72b6\u6001\u53d8\u5316&#xff08;\u5982\u6545\u969c\u6062\u590d&#xff09; \u2502<br \/>\n   \u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502  AER\u901a\u77e5&#xff1a;ANA Change<br \/>\n   \u2502                           \u2502<br \/>\n   \u2502                           \u2502  \u4e3b\u673a\u53d1\u8d77Get Log Page(0x0C)<br \/>\n   \u2502\u25c0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502<br \/>\n   \u2502                           \u2502<br \/>\n   \u2502  \u8fd4\u56de\u6700\u65b0ANA\u72b6\u6001\u8868         \u2502<br \/>\n   \u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502<br \/>\n   \u2502                           \u2502  \u66f4\u65b0\u8def\u5f84\u4f18\u5148\u7ea7<br \/>\n   \u2502                           \u2502  \u8c03\u6574I\/O\u8c03\u5ea6\u7b56\u7565<\/p>\n<h4>4.4 ANA Group ID\u4e0e\u8def\u5f84\u5173\u8054<\/h4>\n<p>ANA\u901a\u8fc7Controller ID &#043; ANA Group ID\u7684\u7ec4\u5408\u6765\u63cf\u8ff0&#034;\u54ea\u4e2a\u63a7\u5236\u5668\u4e0a\u7684\u54ea\u7ec4Namespace\u5904\u4e8e\u4ec0\u4e48\u72b6\u6001&#034;&#xff1a;<\/p>\n<p>\u5178\u578b\u53cc\u63a7\u5b58\u50a8\u7684ANA\u62d3\u6251<\/p>\n<p>        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510      \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n        \u2502  \u63a7\u5236\u5668A (Ctrl 1) \u2502      \u2502  \u63a7\u5236\u5668B (Ctrl 2) \u2502<br \/>\n        \u2502  Port A          \u2502      \u2502  Port B          \u2502<br \/>\n        \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518      \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                 \u2502                         \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                             \u25bc<br \/>\n                    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                    \u2502 Namespace 1     \u2502\u2500\u2500\u2500 ANA Group 1<br \/>\n                    \u2502 Namespace 2     \u2502\u2500\u2500\u2500 ANA Group 1<br \/>\n                    \u2502 Namespace 3     \u2502\u2500\u2500\u2500 ANA Group 2<br \/>\n                    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u8bbf\u95ee\u8def\u5f84\u77e9\u9635&#xff08;\u793a\u4f8b&#xff09;&#xff1a;<br \/>\n                    Ctrl 1 (Port A)      Ctrl 2 (Port B)<br \/>\nANA Group 1        Optimized             Non-Optimized<br \/>\nANA Group 2        Non-Optimized         Optimized<\/p>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u7684\u4f18\u52bf\u5728\u4e8e&#xff1a;<\/p>\n<ul>\n<li>\u53ef\u4ee5\u5c06Namespace\u5206\u914d\u7ed9\u4e0d\u540c\u63a7\u5236\u5668\u4f5c\u4e3a&#034;\u5c5e\u4e3b&#034;&#xff0c;\u5b9e\u73b0\u8d1f\u8f7d\u5206\u62c5<\/li>\n<li>\u6bcf\u4e2aNamespace\u90fd\u6709\u4e00\u6761\u4f18\u5316\u8def\u5f84\u548c\u4e00\u6761\u975e\u4f18\u5316\u8def\u5f84<\/li>\n<li>\u6545\u969c\u65f6\u975e\u4f18\u5316\u8def\u5f84\u81ea\u52a8\u63d0\u5347\u4e3a\u4f18\u5316\u8def\u5f84&#xff08;\u6216\u7ee7\u7eed\u4ee5\u975e\u4f18\u5316\u6a21\u5f0f\u63d0\u4f9b\u670d\u52a1&#xff09;<\/li>\n<\/ul>\n<h4>4.5 NVMe 2.0 ANA\u589e\u5f3a\u7279\u6027<\/h4>\n<p>NVMe 2.0\u89c4\u8303\u5bf9ANA\u8fdb\u884c\u4e86\u591a\u9879\u589e\u5f3a&#xff1a;<\/p>\n<li>ANA Persistent Loss State&#xff1a;\u65b0\u589e\u6301\u4e45\u4e22\u5931\u72b6\u6001&#xff0c;\u533a\u5206\u4e34\u65f6\u6545\u969c\u548c\u6c38\u4e45\u6545\u969c<\/li>\n<li>ANA Change Notice&#xff1a;\u589e\u5f3a\u7684\u53d8\u66f4\u901a\u77e5\u7c92\u5ea6&#xff0c;\u652f\u6301\u6309ANAGRP\u901a\u77e5<\/li>\n<li>ANA Group Description&#xff1a;\u652f\u6301\u63cf\u8ff0\u6bcf\u4e2aANA\u7ec4\u7684\u5c5e\u6027\u548c\u7279\u6027<\/li>\n<li>\u591a\u8def\u5f84I\/O\u9519\u8bef\u5904\u7406\u4f18\u5316&#xff1a;\u660e\u786e\u4e86\u5728\u4e0d\u540cANA\u72b6\u6001\u4e0b\u7684\u9519\u8bef\u7801\u548c\u91cd\u8bd5\u7b56\u7565<\/li>\n<hr \/>\n<h3>\u4e94\u3001SAS\u53cc\u7aef\u53e3\u4e0eALUA\u534f\u8bae\u539f\u7406<\/h3>\n<h4>5.1 SAS\u53cc\u7aef\u53e3\u7684\u7269\u7406\u5c42\u539f\u7406<\/h4>\n<p>SAS&#xff08;Serial Attached SCSI&#xff09;\u534f\u8bae\u4ece\u8bbe\u8ba1\u4e4b\u521d\u5c31\u5929\u7136\u652f\u6301\u53cc\u7aef\u53e3\u3002SAS\u6807\u51c6\u5b9a\u4e49\u4e86\u4e24\u79cd\u53cc\u7aef\u53e3\u6a21\u5f0f&#xff1a;<\/p>\n<p>\u5bbd\u7aef\u53e3&#xff08;Wide Port&#xff09;\u6a21\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\u591a\u4e2a\u7269\u7406\u94fe\u8def&#xff08;PHY&#xff09;\u805a\u5408\u4e3a\u4e00\u4e2a\u903b\u8f91\u7aef\u53e3<\/li>\n<li>\u94fe\u8def\u805a\u5408\u63d0\u4f9b\u66f4\u9ad8\u5e26\u5bbd&#xff08;4x 12G SAS &#061; 48Gbps&#xff09;<\/li>\n<li>\u5355\u63a7\u5236\u5668\u8bbf\u95ee&#xff0c;\u4e0d\u662f\u771f\u6b63\u7684\u53cc\u8def\u5f84\u5197\u4f59<\/li>\n<\/ul>\n<p>\u53cc\u7aef\u53e3&#xff08;Dual Port&#xff09;\u6a21\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\u4e24\u4e2a\u72ec\u7acb\u7684SAS\u7aef\u53e3&#xff0c;\u5404\u81ea\u8fde\u63a5\u5230\u4e0d\u540c\u7684SAS\u57df<\/li>\n<li>\u8fde\u63a5\u5230\u4e0d\u540c\u7684SAS\u63a7\u5236\u5668\/Expander<\/li>\n<li>\u63d0\u4f9b\u771f\u6b63\u7684\u8def\u5f84\u5197\u4f59<\/li>\n<\/ul>\n<h4>5.2 ALUA\u534f\u8bae\u6a21\u578b<\/h4>\n<p>ALUA&#xff08;Asymmetric Logical Unit Access&#xff09;\u662fSCSI SAM-5\u89c4\u8303\u4e2d\u5b9a\u4e49\u7684\u591a\u8def\u5f84\u8bbf\u95ee\u6807\u51c6&#xff0c;SAS\u548cFC\u5b58\u50a8\u5e7f\u6cdb\u4f7f\u7528&#xff1a;<\/p>\n<p>SCSI ALUA \u76ee\u6807\u7aef\u53e3\u7ec4\u6a21\u578b<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502              SCSI Target                     \u2502<br \/>\n\u2502                                              \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510           \u2502<br \/>\n\u2502  \u2502 Target   \u2502        \u2502 Target   \u2502           \u2502<br \/>\n\u2502  \u2502 Port     \u2502        \u2502 Port     \u2502           \u2502<br \/>\n\u2502  \u2502 Group A  \u2502        \u2502 Group B  \u2502           \u2502<br \/>\n\u2502  \u2502 (TPG_A)  \u2502        \u2502 (TPG_B)  \u2502           \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518        \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518           \u2502<br \/>\n\u2502       \u2502                   \u2502                 \u2502<br \/>\n\u2502       \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                 \u2502<br \/>\n\u2502                 \u25bc                           \u2502<br \/>\n\u2502         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510                    \u2502<br \/>\n\u2502         \u2502  LUN 0       \u2502                    \u2502<br \/>\n\u2502         \u2502  LUN 1       \u2502                    \u2502<br \/>\n\u2502         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                    \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6bcf\u4e2aTarget Port Group&#xff08;TPG&#xff09;\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a\u7269\u7406\u7aef\u53e3&#xff0c;\u540c\u4e00TPG\u5185\u7684\u7aef\u53e3\u8bbf\u95eeLUN\u7684\u6027\u80fd\u7279\u5f81\u4e00\u81f4\u3002<\/p>\n<h4>5.3 ALUA\u56db\u79cd\u7aef\u53e3\u8bbf\u95ee\u72b6\u6001<\/h4>\n<p>SCSI ALUA\u5b9a\u4e49\u4e86\u56db\u79cd\u6807\u51c6\u7684\u8bbf\u95ee\u72b6\u6001&#xff0c;\u4e0eNVMe ANA\u7684\u5bf9\u5e94\u5173\u7cfb\u5982\u4e0b&#xff1a;<\/p>\n<table>\n<tr>ALUA\u72b6\u6001\u542b\u4e49\u5bf9\u5e94ANA\u72b6\u6001<\/tr>\n<tbody>\n<tr>\n<td>Active\/Optimized<\/td>\n<td>\u6d3b\u8dc3\/\u4f18\u5316<\/td>\n<td>ANA Optimized<\/td>\n<\/tr>\n<tr>\n<td>Active\/Non-Optimized<\/td>\n<td>\u6d3b\u8dc3\/\u975e\u4f18\u5316<\/td>\n<td>ANA Non-Optimized<\/td>\n<\/tr>\n<tr>\n<td>Standby<\/td>\n<td>\u5f85\u547d<\/td>\n<td>ANA Inaccessible&#xff08;\u4e0d\u53ef\u8bbf\u95ee&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Unavailable<\/td>\n<td>\u4e0d\u53ef\u7528<\/td>\n<td>ANA Persistent Loss<\/td>\n<\/tr>\n<tr>\n<td>Transitioning<\/td>\n<td>\u8f6c\u6362\u4e2d<\/td>\n<td>ANA Change<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3b\u673a\u901a\u8fc7REPORT TARGET PORT GROUPS\u547d\u4ee4\u67e5\u8be2ALUA\u72b6\u6001&#xff0c;\u901a\u8fc7SET TARGET PORT GROUPS\u547d\u4ee4\u8bf7\u6c42\u72b6\u6001\u5207\u6362&#xff08;\u4f8b\u5982\u6545\u969c\u6062\u590d\u540e\u7684\u56de\u5207&#xff09;\u3002<\/p>\n<h4>5.4 ALUA\u9690\u5f0f\u5207\u6362 vs \u663e\u5f0f\u5207\u6362<\/h4>\n<p>ALUA\u652f\u6301\u4e24\u79cd\u5207\u6362\u6a21\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\u9690\u5f0fALUA&#xff08;Implicit ALUA&#xff09;&#xff1a;\u72b6\u6001\u5207\u6362\u7531\u5b58\u50a8\u9635\u5217\u7aef\u81ea\u52a8\u5b8c\u6210&#xff0c;\u4e3b\u673a\u53ea\u80fd\u67e5\u8be2\u4e0d\u80fd\u63a7\u5236\u3002\u9002\u7528\u4e8e\u7b80\u5355\u573a\u666f\u3002<\/li>\n<li>\u663e\u5f0fALUA&#xff08;Explicit ALUA&#xff09;&#xff1a;\u4e3b\u673a\u53ef\u4ee5\u4e3b\u52a8\u53d1\u8d77\u72b6\u6001\u5207\u6362\u8bf7\u6c42\u3002\u9002\u7528\u4e8e\u9700\u8981\u7cbe\u7ec6\u63a7\u5236\u8def\u5f84\u7684\u573a\u666f\u3002<\/li>\n<\/ul>\n<p>\u663e\u5f0fALUA\u5207\u6362\u6d41\u7a0b<br \/>\n\u4e3b\u673a initiator                \u5b58\u50a8 target<br \/>\n    \u2502                            \u2502<br \/>\n    \u2502  SET TARGET PORT GROUPS    \u2502<br \/>\n    \u2502  (\u8bf7\u6c42\u5207\u6362TPG_A\u4e3aOptimized) \u2502<br \/>\n    \u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502<br \/>\n    \u2502                            \u2502  \u6267\u884c\u5207\u6362<br \/>\n    \u2502                            \u2502  (\u7f13\u5b58\u5237\u65b0 &#043; \u8def\u5f84\u5207\u6362)<br \/>\n    \u2502  GOOD \/ CHECK CONDITION    \u2502<br \/>\n    \u2502\u25c0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502<br \/>\n    \u2502                            \u2502<br \/>\n    \u2502  REPORT TPGS (\u786e\u8ba4\u72b6\u6001)     \u2502<br \/>\n    \u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502<br \/>\n    \u2502\u25c0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502<\/p>\n<hr \/>\n<h3>\u516d\u3001Linux\u5185\u6838\u591a\u8def\u5f84\u5b50\u7cfb\u7edf\u67b6\u6784&#xff1a;DM-Multipath \/ nvme-multipath<\/h3>\n<h4>6.1 Linux\u591a\u8def\u5f84\u6280\u672f\u7684\u4e24\u6761\u8def\u7ebf<\/h4>\n<p>Linux\u7cfb\u7edf\u4e2d\u6709\u4e24\u79cd\u4e3b\u8981\u7684\u591a\u8def\u5f84\u5b9e\u73b0\u65b9\u6848&#xff0c;\u5206\u522b\u9488\u5bf9\u4e0d\u540c\u7684\u5b58\u50a8\u534f\u8bae&#xff1a;<\/p>\n<p>Linux\u591a\u8def\u5f84\u6280\u672f\u6808<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502              \u5e94\u7528\u7a0b\u5e8f \/ \u6587\u4ef6\u7cfb\u7edf                 \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                      \u2502<br \/>\n        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n        \u25bc                           \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510          \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  DM-Multipath \u2502          \u2502  nvme-multipath   \u2502<br \/>\n\u2502  (device-mapper) \u2502       \u2502  (native NVMe)    \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518          \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n        \u2502                            \u2502<br \/>\n        \u25bc                            \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510          \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 SCSI \/ SAS \/  \u2502          \u2502  NVMe \u5b50\u7cfb\u7edf       \u2502<br \/>\n\u2502 FC \u4e2d\u5c42       \u2502          \u2502  (ana\/iopath)     \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518          \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n        \u2502                            \u2502<br \/>\n        \u25bc                            \u25bc<br \/>\n   \u591a\u8def\u5f84SAS SSD               \u53cc\u7aef\u53e3NVMe SSD<br \/>\n   \/ FC SAN\u5b58\u50a8                \/ NVMe-oF\u8fdc\u7a0b\u5b58\u50a8<\/p>\n<h4>6.2 DM-Multipath \u67b6\u6784\u8be6\u89e3<\/h4>\n<p>DM-Multipath\u662f\u57fa\u4e8eDevice Mapper\u6846\u67b6\u7684\u901a\u7528\u591a\u8def\u5f84\u89e3\u51b3\u65b9\u6848&#xff0c;\u652f\u6301SCSI\/SAS\/FC\/iSCSI\u7b49\u591a\u79cd\u534f\u8bae\u3002<\/p>\n<p>\u6838\u5fc3\u7ec4\u4ef6&#xff1a;<\/p>\n<p>DM-Multipath \u7ec4\u4ef6\u67b6\u6784<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 multipathd (\u7528\u6237\u7a7a\u95f4\u5b88\u62a4\u8fdb\u7a0b)                         \u2502<br \/>\n\u2502  &#8211; \u76d1\u63a7\u8def\u5f84\u5065\u5eb7\u72b6\u6001                                   \u2502<br \/>\n\u2502  &#8211; \u6267\u884c\u8def\u5f84\u5207\u6362&#xff08;failover \/ failback&#xff09;               \u2502<br \/>\n\u2502  &#8211; \u57fa\u4e8emultipath.conf\u914d\u7f6e\u7b56\u7565                        \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n             \u2502 sysfs \/ uevents<br \/>\n             \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 device-mapper \u5185\u6838\u5b50\u7cfb\u7edf                              \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510                \u2502<br \/>\n\u2502  \u2502 dm\u6838\u5fc3\u5c42     \u2502   \u2502 multipath\u76ee\u6807\u2502                \u2502<br \/>\n\u2502  \u2502 &#xff08;\u6620\u5c04\u7ba1\u7406&#xff09;  \u2502\u2500\u2500\u25b6\u2502 &#xff08;I\/O\u8c03\u5ea6&#xff09;  \u2502                \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                \u2502<br \/>\n\u2502                            \u2502                        \u2502<br \/>\n\u2502              \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510          \u2502<br \/>\n\u2502              \u25bc             \u25bc             \u25bc          \u2502<br \/>\n\u2502          \u8def\u5f841         \u8def\u5f842         \u8def\u5f84N          \u2502<br \/>\n\u2502         (sd[a])      (sd[b])       &#8230;             \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>6.3 DM-Multipath\u7684I\/O\u8c03\u5ea6\u7b56\u7565<\/h4>\n<p>DM-Multipath\u652f\u6301\u591a\u79cdI\/O\u8def\u5f84\u8c03\u5ea6\u7b56\u7565&#xff08;path_selector&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u7b56\u7565\u540d\u79f0\u7b97\u6cd5\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>service-time<\/td>\n<td>\u57fa\u4e8e\u670d\u52a1\u65f6\u95f4\u7684\u52a8\u6001\u8d1f\u8f7d\u5747\u8861<\/td>\n<td>\u9ed8\u8ba4&#xff0c;\u6027\u80fd\u6700\u4f18<\/td>\n<\/tr>\n<tr>\n<td>round-robin 0<\/td>\n<td>\u8f6e\u8be2\u8c03\u5ea6<\/td>\n<td>\u5bf9\u79f0\u8def\u5f84&#xff0c;\u7b80\u5355\u8d1f\u8f7d\u5747\u8861<\/td>\n<\/tr>\n<tr>\n<td>queue-length<\/td>\n<td>\u57fa\u4e8e\u961f\u5217\u957f\u5ea6\u7684\u8d1f\u8f7d\u5747\u8861<\/td>\n<td>\u975e\u5bf9\u79f0\u8def\u5f84&#xff0c;\u6309\u8d1f\u8f7d\u5206\u914d<\/td>\n<\/tr>\n<tr>\n<td>failover<\/td>\n<td>\u4e3b\u5907\u6a21\u5f0f&#xff0c;\u4ec5\u4f7f\u7528\u4e00\u6761\u8def\u5f84<\/td>\n<td>\u975e\u5bf9\u79f0\u5b58\u50a8&#xff0c;\u8282\u7701\u975e\u4f18\u5316\u8def\u5f84\u8d44\u6e90<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.4 NVMe Native Multipath \u67b6\u6784<\/h4>\n<p>NVMe\u539f\u751f\u591a\u8def\u5f84\u662fLinux\u5185\u68384.15&#043;\u5f15\u5165\u7684\u7279\u6027&#xff0c;\u76f4\u63a5\u96c6\u6210\u5728NVMe\u5b50\u7cfb\u7edf\u4e2d&#xff0c;\u65e0\u9700\u7ecf\u8fc7Device Mapper\u5c42&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u5185\u6838\u6e90\u7801&#xff1a;drivers\/nvme\/host\/multipath.c<\/span><br \/>\n<span class=\"token comment\">\/\/ \u6838\u5fc3\u6570\u636e\u7ed3\u6784&#xff1a;<\/span><br \/>\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns_head<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">list_head<\/span> list<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_subsystem<\/span> <span class=\"token operator\">*<\/span>subsys<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">gendisk<\/span> <span class=\"token operator\">*<\/span>disk<span class=\"token punctuation\">;<\/span>           <span class=\"token comment\">\/\/ \u5bf9\u4e0a\u5c42\u5448\u73b0\u7684\u901a\u7528\u78c1\u76d8<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">list_head<\/span> list<span class=\"token punctuation\">;<\/span>          <span class=\"token comment\">\/\/ \u6240\u6709\u8def\u5f84(ns)\u94fe\u8868<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">srcu_struct<\/span> srcu<span class=\"token punctuation\">;<\/span>        <span class=\"token comment\">\/\/ \u5b89\u5168\u5f15\u7528\u8ba1\u6570<\/span><br \/>\n    <span class=\"token keyword\">int<\/span>            nr_live_paths<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ \u6d3b\u8dc3\u8def\u5f84\u6570<\/span><br \/>\n    u32            nsid<span class=\"token punctuation\">;<\/span>            <span class=\"token comment\">\/\/ Namespace ID<\/span><br \/>\n    bool           is_ana<span class=\"token punctuation\">;<\/span>          <span class=\"token comment\">\/\/ \u662f\u5426\u652f\u6301ANA<\/span><br \/>\n    <span class=\"token comment\">\/\/ &#8230;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">list_head<\/span> siblings<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u6302\u5165ns_head\u7684list<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ctrl<\/span> <span class=\"token operator\">*<\/span>ctrl<span class=\"token punctuation\">;<\/span>         <span class=\"token comment\">\/\/ \u6240\u5c5e\u63a7\u5236\u5668&#xff08;\u8def\u5f84&#xff09;<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns_head<\/span> <span class=\"token operator\">*<\/span>head<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u6307\u5411ns_head<\/span><br \/>\n    <span class=\"token keyword\">int<\/span>            ana_state<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/\/ \u5f53\u524d\u8def\u5f84\u7684ANA\u72b6\u6001<\/span><br \/>\n    <span class=\"token comment\">\/\/ &#8230;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u6838\u5fc3\u8bbe\u8ba1\u601d\u60f3&#xff1a;\u6bcf\u4e2aNamespace\u901a\u8fc7nvme_ns_head\u7edf\u4e00\u5448\u73b0\u7ed9\u5757\u5c42&#xff0c;\u6bcf\u4e2a\u8def\u5f84\u5bf9\u5e94\u4e00\u4e2anvme_ns\u7ed3\u6784\u4f53\u3002I\/O\u63d0\u4ea4\u65f6&#xff0c;\u5185\u6838\u6839\u636eANA\u72b6\u6001\u548c\u8def\u5f84\u5065\u5eb7\u5ea6\u9009\u62e9\u6700\u4f18\u8def\u5f84\u3002<\/p>\n<h4>6.5 DM-Multipath vs NVMe Native Multipath \u5bf9\u6bd4<\/h4>\n<table>\n<tr>\u7279\u6027DM-MultipathNVMe Native Multipath<\/tr>\n<tbody>\n<tr>\n<td>\u652f\u6301\u534f\u8bae<\/td>\n<td>SCSI\/SAS\/FC\/iSCSI\/NVMe<\/td>\n<td>\u4ec5NVMe&#xff08;\u542bNVMe-oF&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u6838\u5c42\u7ea7<\/td>\n<td>Device Mapper\u5c42<\/td>\n<td>NVMe\u5b50\u7cfb\u7edf\u539f\u751f<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u9500<\/td>\n<td>\u8f83\u9ad8&#xff08;\u591a\u4e00\u5c42DM\u6620\u5c04&#xff09;<\/td>\n<td>\u8f83\u4f4e&#xff08;\u8def\u5f84\u9009\u62e9\u5728NVMe\u5c42\u5b8c\u6210&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u590d\u6742\u5ea6<\/td>\n<td>\u9ad8&#xff08;\u9700\u914d\u7f6emultipath.conf&#xff09;<\/td>\n<td>\u4f4e&#xff08;\u81ea\u52a8\u53d1\u73b0&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u7b56\u7565\u7075\u6d3b\u6027<\/td>\n<td>\u9ad8&#xff08;\u4e30\u5bcc\u7684\u8c03\u5ea6\u7b56\u7565&#xff09;<\/td>\n<td>\u4e2d&#xff08;\u57fa\u4e8eANA\u7684round-robin&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528\u573a\u666f<\/td>\n<td>\u4f20\u7edfSAN\u5b58\u50a8\u3001\u6df7\u5408\u534f\u8bae<\/td>\n<td>\u5168NVMe\u73af\u5883\u3001\u4e91\u539f\u751f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e03\u3001NVMe Multipath \u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u8c03\u5ea6\u7b97\u6cd5<\/h3>\n<h4>7.1 I\/O\u63d0\u4ea4\u8def\u5f84\u9009\u62e9\u903b\u8f91<\/h4>\n<p>NVMe\u591a\u8def\u5f84\u7684\u6838\u5fc3\u51fd\u6570\u662fnvme_find_path()&#xff0c;\u8d1f\u8d23\u5728I\/O\u63d0\u4ea4\u65f6\u9009\u62e9\u5408\u9002\u7684\u8def\u5f84&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u5185\u6838\u6e90\u7801&#xff1a;drivers\/nvme\/host\/multipath.c (\u7b80\u5316\u903b\u8f91)<\/span><br \/>\n<span class=\"token keyword\">static<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns<\/span> <span class=\"token operator\">*<\/span><span class=\"token function\">nvme_find_path<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns_head<\/span> <span class=\"token operator\">*<\/span>head<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns<\/span> <span class=\"token operator\">*<\/span>ns<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">*<\/span>fallback <span class=\"token operator\">&#061;<\/span> <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token function\">list_for_each_entry_rcu<\/span><span class=\"token punctuation\">(<\/span>ns<span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>head<span class=\"token operator\">-&gt;<\/span>list<span class=\"token punctuation\">,<\/span> siblings<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token comment\">\/\/ \u8df3\u8fc7\u672a\u5c31\u7eea\u6216\u79bb\u7ebf\u7684\u8def\u5f84<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token function\">nvme_path_is_active<\/span><span class=\"token punctuation\">(<\/span>ns<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">continue<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u4f18\u5148\u9009\u62e9ANA Optimized\u72b6\u6001\u7684\u8def\u5f84<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>ns<span class=\"token operator\">-&gt;<\/span>ana_state <span class=\"token operator\">&#061;&#061;<\/span> NVME_ANA_OPTIMIZED<span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> ns<span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u6b21\u4f18&#xff1a;ANA Non-Optimized\u8def\u5f84&#xff08;\u53ef\u7528\u4f46\u6027\u80fd\u8f83\u4f4e&#xff09;<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>ns<span class=\"token operator\">-&gt;<\/span>ana_state <span class=\"token operator\">&#061;&#061;<\/span> NVME_ANA_NONOPTIMIZED<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span>fallback<span class=\"token punctuation\">)<\/span><br \/>\n                fallback <span class=\"token operator\">&#061;<\/span> ns<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u5982\u679c\u6709Non-Optimized\u8def\u5f84&#xff0c;\u8fd4\u56de\u4e4b<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>fallback<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> fallback<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u6ca1\u6709\u53ef\u7528\u8def\u5f84<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token constant\">NULL<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8def\u5f84\u9009\u62e9\u4f18\u5148\u7ea7&#xff1a;<\/p>\n<li>ANA Optimized\u72b6\u6001\u7684\u5065\u5eb7\u8def\u5f84 \u2192 \u9996\u9009<\/li>\n<li>ANA Non-Optimized\u72b6\u6001\u7684\u5065\u5eb7\u8def\u5f84 \u2192 \u5907\u9009<\/li>\n<li>\u65e0\u53ef\u7528\u8def\u5f84 \u2192 I\/O\u6392\u961f\u7b49\u5f85\u6216\u8fd4\u56de\u9519\u8bef<\/li>\n<h4>7.2 \u591a\u8def\u5f84I\/O\u9519\u8bef\u91cd\u8bd5\u673a\u5236<\/h4>\n<p>\u5f53\u67d0\u6761\u8def\u5f84\u4e0a\u7684I\/O\u5931\u8d25\u65f6&#xff0c;NVMe\u591a\u8def\u5f84\u4f1a\u5c1d\u8bd5\u5728\u5176\u4ed6\u8def\u5f84\u4e0a\u91cd\u8bd5&#xff1a;<\/p>\n<p>\u591a\u8def\u5f84I\/O\u5931\u8d25\u91cd\u8bd5\u6d41\u7a0b<\/p>\n<p>\u5e94\u7528\u5c42<br \/>\n  \u2502<br \/>\n  \u25bc  \u63d0\u4ea4I\/O<br \/>\n\u5757\u5c42 (bio)<br \/>\n  \u2502<br \/>\n  \u25bc<br \/>\nnvme_ns_head \u2192 nvme_find_path() \u2192 \u9009\u62e9\u8def\u5f84A<br \/>\n  \u2502<br \/>\n  \u25bc<br \/>\n\u8def\u5f84A\u63d0\u4ea4I\/O \u2500\u2500\u2192 I\/O\u5931\u8d25&#xff08;\u8def\u5f84\u65ad\u5f00\/\u8d85\u65f6&#xff09;<br \/>\n  \u2502<br \/>\n  \u25bc<br \/>\nnvme_mpath_end_request() \u2192 \u68c0\u67e5\u662f\u5426\u53ef\u91cd\u8bd5<br \/>\n  \u2502<br \/>\n  \u251c\u2500 \u662f \u2192 bio\u91cd\u65b0\u6392\u961f&#xff0c;\u91cd\u65b0\u8c03\u7528nvme_find_path()<br \/>\n  \u2502         \u9009\u62e9\u8def\u5f84B&#xff08;Optimized\/Non-Optimized&#xff09;<br \/>\n  \u2502         \u8def\u5f84B\u63d0\u4ea4I\/O \u2192 \u6210\u529f \/ \u5931\u8d25<br \/>\n  \u2502<br \/>\n  \u2514\u2500 \u5426&#xff08;\u6240\u6709\u8def\u5f84\u5747\u5931\u8d25&#xff09;\u2192 \u5411\u4e0a\u8fd4\u56de\u9519\u8bef<\/p>\n<p>\u5173\u952e\u91cd\u8bd5\u51b3\u7b56\u70b9\u5728nvme_failover_req()\u51fd\u6570\u4e2d&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u5185\u6838\u6e90\u7801&#xff1a;drivers\/nvme\/host\/multipath.c<\/span><br \/>\n<span class=\"token keyword\">static<\/span> <span class=\"token class-name\">blk_status_t<\/span> <span class=\"token function\">nvme_failover_req<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">request<\/span> <span class=\"token operator\">*<\/span>req<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">nvme_ns<\/span> <span class=\"token operator\">*<\/span>ns <span class=\"token operator\">&#061;<\/span> req<span class=\"token operator\">-&gt;<\/span>q<span class=\"token operator\">-&gt;<\/span>queuedata<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u68c0\u67e5\u662f\u5426\u4e3a\u53ef\u91cd\u8bd5\u7684\u8def\u5f84\u9519\u8bef<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token function\">nvme_should_retry_other_path<\/span><span class=\"token punctuation\">(<\/span>req<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> BLK_STS_IOERR<span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u6807\u8bb0\u5f53\u524d\u8def\u5f84\u4e3a\u5931\u8d25\u72b6\u6001<\/span><br \/>\n    <span class=\"token function\">nvme_path_mark_failed<\/span><span class=\"token punctuation\">(<\/span>ns<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u5c06\u8bf7\u6c42\u91cd\u65b0\u5165\u961f&#xff0c;\u7b49\u5f85\u91cd\u65b0\u8def\u5f84\u9009\u62e9<\/span><br \/>\n    <span class=\"token function\">blk_steal_bios<\/span><span class=\"token punctuation\">(<\/span>ns<span class=\"token operator\">-&gt;<\/span>head<span class=\"token operator\">-&gt;<\/span>requeue_list<span class=\"token punctuation\">,<\/span> req<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">blk_mq_run_hw_queues<\/span><span class=\"token punctuation\">(<\/span>ns<span class=\"token operator\">-&gt;<\/span>head<span class=\"token operator\">-&gt;<\/span>disk<span class=\"token operator\">-&gt;<\/span>queue<span class=\"token punctuation\">,<\/span> true<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> BLK_STS_OK<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u5df2\u5904\u7406&#xff0c;\u4e0d\u5411\u4e0a\u5c42\u62a5\u9519<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>7.3 ANA\u72b6\u6001\u53d8\u66f4\u5904\u7406<\/h4>\n<p>\u5f53\u6536\u5230AER\u901a\u77e5\u7684ANA\u72b6\u6001\u53d8\u5316\u65f6&#xff0c;\u5185\u6838\u901a\u8fc7\u4ee5\u4e0b\u6d41\u7a0b\u66f4\u65b0\u8def\u5f84\u72b6\u6001&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u7b80\u5316\u6d41\u7a0b<\/span><br \/>\n<span class=\"token function\">nvme_ana_work<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token number\">1.<\/span> \u53d1\u9001Get Log Page\u547d\u4ee4\u83b7\u53d6ANA Log<br \/>\n    <span class=\"token number\">2.<\/span> \u89e3\u6790\u6bcf\u4e2aANAGRP\u7684\u72b6\u6001<br \/>\n    <span class=\"token number\">3.<\/span> \u904d\u5386\u6bcf\u4e2aNamespace&#xff0c;\u66f4\u65b0\u5176ana_state<br \/>\n    <span class=\"token number\">4.<\/span> \u89e6\u53d1\u5757\u5c42\u961f\u5217\u5237\u65b0&#xff08;blk_mq_update_nr_hw_queues&#xff09;<br \/>\n    <span class=\"token number\">5.<\/span> \u5524\u9192\u7b49\u5f85\u4e2d\u7684I<span class=\"token operator\">\/<\/span>O<br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<hr \/>\n<h3>\u516b\u3001\u6545\u969c\u5207\u6362\u673a\u5236\u4e0e\u8def\u5f84\u68c0\u6d4b\u7b97\u6cd5<\/h3>\n<h4>8.1 \u6545\u969c\u68c0\u6d4b\u7684\u4e09\u79cd\u65b9\u5f0f<\/h4>\n<p>\u591a\u8def\u5f84\u7cfb\u7edf\u68c0\u6d4b\u8def\u5f84\u6545\u969c\u4e3b\u8981\u6709\u4e09\u79cd\u65b9\u5f0f&#xff1a;<\/p>\n<table>\n<tr>\u68c0\u6d4b\u65b9\u5f0f\u539f\u7406\u68c0\u6d4b\u5ef6\u8fdf\u8d44\u6e90\u5f00\u9500<\/tr>\n<tbody>\n<tr>\n<td>I\/O\u88ab\u52a8\u68c0\u6d4b<\/td>\n<td>I\/O\u63d0\u4ea4\u5931\u8d25\u540e\u53d1\u73b0\u8def\u5f84\u6545\u969c<\/td>\n<td>\u7b49\u4e8eI\/O\u8d85\u65f6\u65f6\u95f4&#xff08;30s\u9ed8\u8ba4&#xff09;<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u52a8\u5065\u5eb7\u68c0\u67e5<\/td>\n<td>\u5468\u671f\u6027\u53d1\u9001\u63a2\u6d4b\u547d\u4ee4&#xff08;Test Unit Ready \/ Keep Alive&#xff09;<\/td>\n<td>\u63a2\u6d4b\u5468\u671f&#xff08;5s~30s&#xff09;<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>\u5f02\u6b65\u4e8b\u4ef6\u901a\u77e5<\/td>\n<td>\u8bbe\u5907\u4e3b\u52a8\u53d1\u9001AER\/\u4e8b\u4ef6\u901a\u77e5<\/td>\n<td>~ms\u7ea7&#xff08;\u8bbe\u5907\u4e3b\u52a8\u4e0a\u62a5&#xff09;<\/td>\n<td>\u6781\u4f4e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>8.2 NVMe Keep Alive \u673a\u5236<\/h4>\n<p>NVMe 1.3&#043;\u89c4\u8303\u5f15\u5165\u4e86Keep Alive\u673a\u5236&#xff0c;\u7528\u4e8e\u68c0\u6d4b\u63a7\u5236\u5668\u662f\u5426\u4ecd\u7136\u5b58\u6d3b&#xff1a;<\/p>\n<p>NVMe Keep Alive \u65f6\u5e8f<\/p>\n<p>Host                          Controller<br \/>\n  \u2502                               \u2502<br \/>\n  \u2502  Keep Alive Command           \u2502<br \/>\n  \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502<br \/>\n  \u2502                               \u2502  \u6b63\u5e38\u54cd\u5e94<br \/>\n  \u2502  Completion (SUCCESS)         \u2502<br \/>\n  \u2502 \u25c0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502<br \/>\n  \u2502                               \u2502<br \/>\n  \u2502  &#8230; \u4e0b\u4e00\u4e2a\u5468\u671f &#8230;            \u2502<br \/>\n  \u2502                               \u2502<br \/>\n  \u2502  Keep Alive Command           \u2502<br \/>\n  \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6\u2502  (\u63a7\u5236\u5668\u5df2\u6545\u969c)<br \/>\n  \u2502                               \u2502  \u65e0\u54cd\u5e94<br \/>\n  \u2502  \u8d85\u65f6 (KATO * 2)              \u2502<br \/>\n  \u2502  \u2500\u2500\u8def\u5f84\u5931\u6548\u68c0\u6d4b\u2500\u2500             \u2502<br \/>\n  \u2502  \u89e6\u53d1\u6545\u969c\u5207\u6362                  \u2502<\/p>\n<p>**KATO&#xff08;Keep Alive Timeout&#xff09;**\u7531\u4e3b\u673a\u901a\u8fc7Set Features\u547d\u4ee4\u914d\u7f6e&#xff0c;\u4f01\u4e1a\u7ea7\u573a\u666f\u901a\u5e38\u8bbe\u4e3a2~5\u79d2&#xff0c;\u4ee5\u5b9e\u73b0\u5feb\u901f\u6545\u969c\u68c0\u6d4b\u3002<\/p>\n<h4>8.3 \u8def\u5f84\u6062\u590d\u4e0e\u56de\u5207\u7b56\u7565<\/h4>\n<p>\u8def\u5f84\u6545\u969c\u6062\u590d\u540e&#xff0c;\u662f\u5426\u5c06I\/O\u5207\u56de\u539f\u8def\u5f84&#xff08;failback&#xff09;\u662f\u4e00\u4e2a\u91cd\u8981\u7b56\u7565\u51b3\u7b56&#xff1a;<\/p>\n<table>\n<tr>\u56de\u5207\u7b56\u7565\u884c\u4e3a\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Immediate&#xff08;\u7acb\u5373\u56de\u5207&#xff09;<\/td>\n<td>\u8def\u5f84\u6062\u590d\u540e\u7acb\u5373\u5207\u56de\u4f18\u5316\u8def\u5f84<\/td>\n<td>\u5bf9\u6027\u80fd\u654f\u611f&#xff0c;\u5207\u6362\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>Manual&#xff08;\u624b\u52a8\u56de\u5207&#xff09;<\/td>\n<td>\u9700\u8981\u7ba1\u7406\u5458\u624b\u52a8\u89e6\u53d1\u56de\u5207<\/td>\n<td>\u5bf9\u7a33\u5b9a\u6027\u8981\u6c42\u6781\u9ad8&#xff0c;\u907f\u514d\u5207\u6362\u6296\u52a8<\/td>\n<\/tr>\n<tr>\n<td>Followover&#xff08;\u8ddf\u8e2a\u4e3b\u7528&#xff09;<\/td>\n<td>\u59cb\u7ec8\u8ddf\u968f\u5f53\u524d\u6700\u4f18\u8def\u5f84&#xff0c;\u4e0d\u4e3b\u52a8\u56de\u5207<\/td>\n<td>Active-Passive\u6a21\u5f0f&#xff0c;\u907f\u514d\u4e52\u4e53\u6548\u5e94<\/td>\n<\/tr>\n<tr>\n<td>Delayed&#xff08;\u5ef6\u8fdf\u56de\u5207&#xff09;<\/td>\n<td>\u8def\u5f84\u6062\u590d\u540e\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u518d\u56de\u5207<\/td>\n<td>\u8def\u5f84\u4e0d\u7a33\u5b9a&#xff0c;\u9632\u6b62\u9891\u7e41\u5207\u6362<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e52\u4e53\u6548\u5e94&#xff08;Ping-Pong Effect&#xff09;&#xff1a;\u5f53\u8def\u5f84\u95f4\u6b47\u6027\u6545\u969c\u65f6&#xff0c;\u5982\u679c\u7acb\u5373\u56de\u5207&#xff0c;I\/O\u4f1a\u5728\u4e24\u6761\u8def\u5f84\u4e4b\u95f4\u53cd\u590d\u5207\u6362&#xff0c;\u5bfc\u81f4\u6027\u80fd\u5267\u70c8\u6ce2\u52a8\u3002\u5ef6\u8fdf\u56de\u5207\u7b56\u7565\u662f\u89e3\u51b3\u4e52\u4e53\u6548\u5e94\u7684\u5e38\u7528\u624b\u6bb5\u3002<\/p>\n<h4>8.4 \u8def\u5f84\u6545\u969c\u5207\u6362\u65f6\u95f4\u6784\u6210<\/h4>\n<p>\u5b8c\u6574\u7684\u6545\u969c\u5207\u6362\u65f6\u95f4\u7531\u4ee5\u4e0b\u51e0\u4e2a\u90e8\u5206\u7ec4\u6210&#xff1a;<\/p>\n<p>\u6545\u969c\u5207\u6362\u603b\u65f6\u95f4 &#061; \u6545\u969c\u68c0\u6d4b\u65f6\u95f4 &#043; \u7f13\u5b58\u5237\u65b0\u65f6\u95f4 &#043; \u8def\u5f84\u6fc0\u6d3b\u65f6\u95f4 &#043; I\/O\u6062\u590d\u65f6\u95f4<\/p>\n<p>\u5178\u578b\u4f01\u4e1a\u7ea7\u573a\u666f\u4e0b\u7684\u5404\u9636\u6bb5\u8017\u65f6&#xff08;\u5b9e\u6d4b\u6570\u636e&#xff09;&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 \u9636\u6bb5                 \u2502 \u8017\u65f6       \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 \u6545\u969c\u68c0\u6d4b&#xff08;KATO&#xff09;     \u2502 2~5s       \u2502<br \/>\n\u2502 \u7f13\u5b58\u5237\u65b0&#xff08;\u810f\u6570\u636e&#xff09;   \u2502 10~100ms   \u2502<br \/>\n\u2502 \u8def\u5f84\u6fc0\u6d3b\/ANA\u5207\u6362     \u2502 1~10ms     \u2502<br \/>\n\u2502 I\/O\u6062\u590d&#xff08;\u961f\u5217\u6062\u590d&#xff09;   \u2502 &lt; 1ms      \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 \u603b\u5207\u6362\u65f6\u95f4           \u2502 2~5s       \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u4f18\u5316\u5173\u952e&#xff1a;\u6545\u969c\u68c0\u6d4b\u65f6\u95f4\u901a\u5e38\u5360\u636e\u603b\u5207\u6362\u65f6\u95f4\u768490%\u4ee5\u4e0a\u3002\u901a\u8fc7\u7f29\u77edKATO\u3001\u542f\u7528AER\u901a\u77e5\u3001\u6216\u7ed3\u5408\u5e94\u7528\u5c42\u5fc3\u8df3&#xff0c;\u53ef\u4ee5\u5c06\u6545\u969c\u68c0\u6d4b\u65f6\u95f4\u7f29\u77ed\u5230\u79d2\u7ea7\u751a\u81f3\u4e9a\u79d2\u7ea7\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94\u7528<\/h3>\n<h4>9.1 \u53cc\u63a7\u5b58\u50a8\u9635\u5217\u7684\u5178\u578b\u67b6\u6784<\/h4>\n<p>\u4f01\u4e1a\u7ea7\u53cc\u6d3b\u5b58\u50a8\u9635\u5217&#xff08;Active-Active Dual Controller&#xff09;\u662f\u53cc\u7aef\u53e3SSD\u6700\u5178\u578b\u7684\u5e94\u7528\u573a\u666f&#xff1a;<\/p>\n<p>\u53cc\u63a7\u5168\u95ea\u9635\u5217\u67b6\u6784<\/p>\n<p>         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502         \u5b58\u50a8\u63a7\u5236\u5668A (Active)             \u2502<br \/>\n         \u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2510           \u2502<br \/>\n         \u2502  \u2502 \u524d\u7aef  \u2502  \u2502 FTL\/ \u2502  \u2502 \u540e\u7aef  \u2502           \u2502<br \/>\n         \u2502  \u2502 \u7aef\u53e3  \u2502  \u2502 Cache\u2502  \u2502 SAS\/NVMe\u2502        \u2502<br \/>\n         \u2502  \u2514\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u252c\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2518          \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                \u2502         \u2502          \u2502<br \/>\n    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518         \u2502          \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n    \u2502 \u4e3b\u673a\u4fa7\u94fe\u8def          \u2502 PCIe\/PCIe             \u2502 \u540e\u7aefSAS\/NVMe<br \/>\n    \u25bc                     \u25bc \u4e92\u8054                  \u25bc<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  FC\/iSCSI \u2502        \u2502  HA \u955c\u50cf \u2502         \u2502 \u53cc\u7aef\u53e3SSD\u76d8\u67dc     \u2502<br \/>\n\u2502  \/ NVMe-oF\u2502        \u2502  (\u7f13\u5b58\u540c\u6b65)\u2502        \u2502  \u250c\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2510\u2502<br \/>\n\u2502  \u524d\u7aef\u7f51\u7edc  \u2502        \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518         \u2502  \u2502SSD\u2502 \u2502SSD\u2502 \u2502&#8230;\u2502\u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                              \u2502  \u2514\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2518\u2502<br \/>\n    \u25b2                                      \u2502  \u53cc\u7aef\u53e3\u8fde\u63a5\u5230\u53cc\u63a7  \u2502<br \/>\n    \u2502 \u4e3b\u673a\u4fa7\u94fe\u8def                            \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502      \u2502         \u2502          \u2502              \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n         \u2502  \u250c\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2510        \u2502<br \/>\n         \u2502  \u2502 \u524d\u7aef  \u2502  \u2502 FTL\/  \u2502  \u2502 \u540e\u7aef  \u2502        \u2502<br \/>\n         \u2502  \u2502 \u7aef\u53e3  \u2502  \u2502 Cache \u2502  \u2502 SAS\/NVMe\u2502      \u2502<br \/>\n         \u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518        \u2502<br \/>\n         \u2502         \u5b58\u50a8\u63a7\u5236\u5668B (Active)             \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>9.2 \u53cc\u63a7\u9635\u5217\u4e2d\u7684LUN\u5f52\u5c5e\u4e0eALUA<\/h4>\n<p>\u5728\u53cc\u63a7\u9635\u5217\u4e2d&#xff0c;\u6bcf\u4e2aLUN\/Namespace\u90fd\u6709\u4e00\u4e2a&#034;\u5c5e\u4e3b\u63a7\u5236\u5668&#034;&#xff08;Owner Controller&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u901a\u8fc7\u5c5e\u4e3b\u63a7\u5236\u5668\u8bbf\u95ee \u2192 Optimized\u8def\u5f84&#xff08;\u76f4\u63a5\u4ece\u7f13\u5b58&#043;\u4ecb\u8d28\u8bfb\u53d6&#xff09;<\/li>\n<li>\u901a\u8fc7\u975e\u5c5e\u4e3b\u63a7\u5236\u5668\u8bbf\u95ee \u2192 Non-Optimized\u8def\u5f84&#xff08;\u9700\u901a\u8fc7\u63a7\u5236\u5668\u95f4\u4e92\u8054\u8f6c\u53d1I\/O&#xff09;<\/li>\n<\/ul>\n<p>LUN\u5f52\u5c5e\u4e0e\u8def\u5f84\u6027\u80fd<br \/>\n                 Controller A                    Controller B<br \/>\n                 &#xff08;\u5c5e\u4e3b&#xff09;                        &#xff08;\u975e\u5c5e\u4e3b&#xff09;<br \/>\nLUN 1 \u8bfb\u8bf7\u6c42 \u2500\u2500\u25b6 \u76f4\u63a5\u8bfb\u7f13\u5b58\/\u4ecb\u8d28   \u25c0\u2500\u2500\u8f6c\u53d1\u2500\u2500\u2500  \u63a5\u6536\u4e3b\u673aI\/O<br \/>\n                \u76f4\u63a5\u54cd\u5e94\u4e3b\u673a            \u2502<br \/>\n                                       \u25bc<br \/>\n                              \u63a7\u5236\u5668\u95f4\u4e92\u8054\u94fe\u8def<br \/>\n                              (PCIe\/InfiniBand\/RoCE)<\/p>\n<p>\u975e\u4f18\u5316\u8def\u5f84\u7684\u6027\u80fd\u635f\u8017&#xff1a;<\/p>\n<ul>\n<li>\u5ef6\u8fdf\u589e\u52a0&#xff1a;\u901a\u5e38\u589e\u52a0 50% ~ 200%&#xff08;\u9700\u8de8\u63a7\u5236\u5668\u8f6c\u53d1&#xff09;<\/li>\n<li>\u5e26\u5bbd\u4e0b\u964d&#xff1a;\u53d7\u9650\u4e8e\u63a7\u5236\u5668\u95f4\u4e92\u8054\u5e26\u5bbd<\/li>\n<li>CPU\u5f00\u9500&#xff1a;\u4e24\u4e2a\u63a7\u5236\u5668\u90fd\u9700\u8981\u5904\u7406I\/O<\/li>\n<\/ul>\n<h4>9.3 \u53cc\u6d3b&#xff08;Active-Active&#xff09;\u4e0e\u53cc\u63a7&#xff08;Dual Controller&#xff09;\u7684\u533a\u522b<\/h4>\n<p>\u6ce8\u610f\u533a\u5206\u4e24\u4e2a\u5bb9\u6613\u6df7\u6dc6\u7684\u6982\u5ff5&#xff1a;<\/p>\n<table>\n<tr>\u6982\u5ff5\u542b\u4e49\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u53cc\u63a7\u5236\u5668<\/td>\n<td>\u786c\u4ef6\u4e0a\u6709\u4e24\u4e2a\u63a7\u5236\u5668<\/td>\n<td>\u786c\u4ef6\u7ea7\u5197\u4f59<\/td>\n<\/tr>\n<tr>\n<td>\u53cc\u6d3b&#xff08;Active-Active&#xff09;<\/td>\n<td>\u4e24\u4e2a\u63a7\u5236\u5668\u540c\u65f6\u627f\u8f7dI\/O<\/td>\n<td>\u5de5\u4f5c\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>Active-Passive\u53cc\u63a7<\/td>\n<td>\u53ea\u6709\u4e00\u4e2a\u63a7\u5236\u5668\u627f\u8f7dI\/O<\/td>\n<td>\u5de5\u4f5c\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>ALUA\u53cc\u63a7<\/td>\n<td>\u4e24\u4e2a\u63a7\u5236\u5668\u90fd\u80fd\u8bbf\u95eeI\/O&#xff0c;\u4f46\u6027\u80fd\u4e0d\u5bf9\u79f0<\/td>\n<td>\u5de5\u4f5c\u6a21\u5f0f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u771f\u6b63\u7684Active-Active\u53cc\u6d3b\u5b58\u50a8\u9700\u8981\u6ee1\u8db3&#xff1a;<\/p>\n<ul>\n<li>\u4e24\u4e2a\u63a7\u5236\u5668\u540c\u65f6\u5904\u7406\u4e3b\u673aI\/O<\/li>\n<li>\u4efb\u4f55\u4e00\u4e2a\u63a7\u5236\u5668\u6545\u969c&#xff0c;\u53e6\u4e00\u4e2a\u63a5\u7ba1\u5168\u90e8\u8d1f\u8f7d<\/li>\n<li>LUN\u53ef\u4ee5\u5728\u63a7\u5236\u5668\u95f4\u52a8\u6001\u8fc1\u79fb&#xff08;\u8d1f\u8f7d\u5747\u8861&#xff09;<\/li>\n<li>\u7f13\u5b58\u955c\u50cf&#xff08;Cache Mirroring&#xff09;\u4fdd\u8bc1\u6570\u636e\u4e00\u81f4\u6027<\/li>\n<\/ul>\n<h4>9.4 \u7f13\u5b58\u955c\u50cf\u4e0e\u6570\u636e\u4e00\u81f4\u6027<\/h4>\n<p>\u53cc\u63a7\u9635\u5217\u7684\u4e00\u4e2a\u6838\u5fc3\u6280\u672f\u6311\u6218\u662f\u7f13\u5b58\u4e00\u81f4\u6027\u3002\u5f53\u63a7\u5236\u5668A\u7684\u7f13\u5b58\u4e2d\u6709\u810f\u6570\u636e\u65f6&#xff0c;\u5982\u679c\u63a7\u5236\u5668A\u7a81\u7136\u6545\u969c&#xff0c;\u8fd9\u4e9b\u810f\u6570\u636e\u5fc5\u987b\u4e0d\u80fd\u4e22\u5931\u3002<\/p>\n<p>\u7f13\u5b58\u955c\u50cf&#xff08;Cache Mirroring&#xff09;\u673a\u5236&#xff1a;<\/p>\n<p>\u5199\u5165\u6d41\u7a0b&#xff08;\u63a7\u5236\u5668A\u6536\u5230\u5199\u8bf7\u6c42&#xff09;<\/p>\n<p>1. \u63a7\u5236\u5668A\u63a5\u6536\u4e3b\u673a\u5199I\/O<br \/>\n        \u2502<br \/>\n        \u25bc<br \/>\n2. \u6570\u636e\u5199\u5165\u63a7\u5236\u5668A\u7684\u5199\u7f13\u5b58<br \/>\n        \u2502<br \/>\n        \u25bc<br \/>\n3. \u540c\u65f6\u5c06\u6570\u636e\u901a\u8fc7PCIe\/IB\u4e92\u8054\u955c\u50cf\u5230\u63a7\u5236\u5668B\u7684\u7f13\u5b58<br \/>\n        \u2502<br \/>\n        \u25bc<br \/>\n4. \u6536\u5230\u63a7\u5236\u5668B\u7684\u955c\u50cf\u786e\u8ba4\u540e&#xff0c;\u5411\u4e3b\u673a\u8fd4\u56de\u5199\u5b8c\u6210<br \/>\n        \u2502<br \/>\n        \u25bc<br \/>\n5. &#xff08;\u540e\u53f0&#xff09;\u63a7\u5236\u5668A\u5c06\u6570\u636e\u5237\u5165SSD\u4ecb\u8d28<br \/>\n        \u2502<br \/>\n        \u25bc<br \/>\n6. \u5237\u76d8\u5b8c\u6210\u540e&#xff0c;\u4e24\u4e2a\u63a7\u5236\u5668\u7684\u7f13\u5b58\u526f\u672c\u5747\u53ef\u91ca\u653e<\/p>\n<p>\u955c\u50cf\u7b56\u7565\u5bf9\u6bd4&#xff1a;<\/p>\n<ul>\n<li>\u5199\u7a7f\u900f\u955c\u50cf&#xff08;Write-Through Mirror&#xff09;&#xff1a;\u5199\u5fc5\u987b\u540c\u65f6\u843d\u5230\u4e24\u4e2a\u63a7\u5236\u5668\u7f13\u5b58\u624d\u8fd4\u56de&#xff0c;\u6570\u636e\u5b89\u5168\u4f46\u5ef6\u8fdf\u8f83\u9ad8<\/li>\n<li>\u5199\u56de\u955c\u50cf&#xff08;Write-Back Mirror&#xff09;&#xff1a;\u5199\u5165\u672c\u5730\u7f13\u5b58\u5373\u8fd4\u56de&#xff0c;\u540e\u53f0\u5f02\u6b65\u955c\u50cf&#xff0c;\u6027\u80fd\u9ad8\u4f46\u6709\u79d2\u7ea7\u6570\u636e\u4e22\u5931\u98ce\u9669<\/li>\n<li>\u540c\u6b65\u955c\u50cf&#xff1a;\u4e3b\u6d41\u65b9\u6848&#xff0c;\u955c\u50cf\u5b8c\u6210\u624d\u8fd4\u56de\u5199\u786e\u8ba4&#xff0c;\u5e73\u8861\u6027\u80fd\u4e0e\u5b89\u5168<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5341\u3001\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5&#xff1a;\u5355\u8def\u5f84 vs \u53cc\u8def\u5f84 vs \u591a\u8def\u5f84\u805a\u5408<\/h3>\n<h4>10.1 \u6d4b\u8bd5\u73af\u5883\u4e0e\u65b9\u6cd5<\/h4>\n<p>\u6d4b\u8bd5\u5e73\u53f0\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u670d\u52a1\u5668&#xff1a;\u53cc\u8defIntel Xeon Gold 6330&#xff08;2.0GHz, 28C\/56T&#xff09;<\/li>\n<li>SSD&#xff1a;\u4e09\u661fPM9A3 3.84TB U.2\u53cc\u7aef\u53e3\u7248&#xff08;PCIe 4.0 x4\u53cc\u7aef\u53e3&#xff09;<\/li>\n<li>\u4e3b\u677f&#xff1a;\u53ccPCIe 4.0 x16 CPU\u76f4\u8fde\u901a\u9053<\/li>\n<li>\u64cd\u4f5c\u7cfb\u7edf&#xff1a;Ubuntu 22.04 LTS&#xff0c;\u5185\u68385.15.0-92-generic<\/li>\n<li>\u6d4b\u8bd5\u5de5\u5177&#xff1a;fio 3.30 &#043; nvme-cli 2.1.2<\/li>\n<\/ul>\n<p>\u6d4b\u8bd5\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u5757\u5927\u5c0f&#xff1a;4KB&#xff08;\u968f\u673a&#xff09;\/ 128KB&#xff08;\u987a\u5e8f&#xff09;<\/li>\n<li>\u961f\u5217\u6df1\u5ea6&#xff1a;QD&#061;1, 8, 32, 128, 512<\/li>\n<li>\u5de5\u4f5c\u8d1f\u8f7d&#xff1a;randread \/ randwrite \/ read \/ write<\/li>\n<li>\u6d4b\u8bd5\u65f6\u957f&#xff1a;\u6bcf\u914d\u7f6e300\u79d2<\/li>\n<li>\u53cc\u8def\u5f84\u6a21\u5f0f&#xff1a;NVMe Native Multipath &#043; Round-Robin<\/li>\n<\/ul>\n<h4>10.2 \u968f\u673a\u8bfb\u6027\u80fd\u5bf9\u6bd4&#xff08;4KB\u968f\u673a\u8bfb&#xff09;<\/h4>\n<table>\n<tr>\u961f\u5217\u6df1\u5ea6\u5355\u8def\u5f84IOPS\u53cc\u8def\u5f84IOPS\u63d0\u5347\u6bd4\u4f8b\u5355\u8def\u5f84\u5ef6\u8fdfP99\u53cc\u8def\u5f84\u5ef6\u8fdfP99<\/tr>\n<tbody>\n<tr>\n<td>QD&#061;1<\/td>\n<td>15,230<\/td>\n<td>14,980<\/td>\n<td>-1.6%<\/td>\n<td>78\u03bcs<\/td>\n<td>85\u03bcs<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;8<\/td>\n<td>92,450<\/td>\n<td>168,320<\/td>\n<td>&#043;82.1%<\/td>\n<td>112\u03bcs<\/td>\n<td>128\u03bcs<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;32<\/td>\n<td>185,640<\/td>\n<td>342,150<\/td>\n<td>&#043;84.3%<\/td>\n<td>215\u03bcs<\/td>\n<td>245\u03bcs<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;128<\/td>\n<td>245,830<\/td>\n<td>458,720<\/td>\n<td>&#043;86.6%<\/td>\n<td>620\u03bcs<\/td>\n<td>680\u03bcs<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;512<\/td>\n<td>268,120<\/td>\n<td>502,480<\/td>\n<td>&#043;87.4%<\/td>\n<td>2,350\u03bcs<\/td>\n<td>2,520\u03bcs<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u968f\u673a\u8bfbIOPS\u5bf9\u6bd4 (4KB, IOPS \u2192)<br \/>\nQD&#061;1    |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u5355\u8def\u5f84 15K<br \/>\n        |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u53cc\u8def\u5f84 14.9K  \u2190 \u4f4eQD\u4e0b\u65e0\u4f18\u52bf<br \/>\nQD&#061;8    |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u5355\u8def\u5f84 92K<br \/>\n        |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u53cc\u8def\u5f84 168K  \u2190 \u63a5\u8fd1\u7ffb\u500d<br \/>\nQD&#061;128  |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u5355\u8def\u5f84 245K<br \/>\n        |\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0\u25a0 \u53cc\u8def\u5f84 458K  \u2190 &#043;86.6%<\/p>\n<p>\u7ed3\u8bba&#xff1a;\u4f4e\u961f\u5217\u6df1\u5ea6&#xff08;QD&#061;1&#xff09;\u4e0b\u53cc\u8def\u5f84\u6ca1\u6709\u6027\u80fd\u4f18\u52bf&#xff0c;\u53cd\u800c\u56e0\u4e3a\u8def\u5f84\u9009\u62e9\u903b\u8f91\u7565\u6709\u5ef6\u8fdf\u589e\u52a0\u3002\u4f46\u5728\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b&#xff08;QD\u22658&#xff09;&#xff0c;\u53cc\u7aef\u53e3\u53ef\u63d0\u4f9b\u63a5\u8fd1\u7ffb\u500d\u7684IOPS&#xff0c;\u63d0\u5347\u5e45\u5ea6\u572880%~90%\u4e4b\u95f4&#xff08;\u53d7\u9650\u4e8e\u5185\u90e8\u5171\u4eab\u8d44\u6e90\u5982DRAM\u5e26\u5bbd\u3001FTL\u5904\u7406\u80fd\u529b&#xff09;\u3002<\/p>\n<h4>10.3 \u987a\u5e8f\u8bfb\u5e26\u5bbd\u5bf9\u6bd4&#xff08;128KB\u987a\u5e8f\u8bfb&#xff09;<\/h4>\n<table>\n<tr>\u961f\u5217\u6df1\u5ea6\u5355\u8def\u5f84\u5e26\u5bbd(MB\/s)\u53cc\u8def\u5f84\u5e26\u5bbd(MB\/s)\u63d0\u5347\u6bd4\u4f8b<\/tr>\n<tbody>\n<tr>\n<td>QD&#061;1<\/td>\n<td>3,420<\/td>\n<td>3,380<\/td>\n<td>-1.2%<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;8<\/td>\n<td>6,850<\/td>\n<td>7,200<\/td>\n<td>&#043;5.1%<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;32<\/td>\n<td>7,020<\/td>\n<td>7,350<\/td>\n<td>&#043;4.7%<\/td>\n<\/tr>\n<tr>\n<td>QD&#061;128<\/td>\n<td>7,080<\/td>\n<td>7,420<\/td>\n<td>&#043;4.8%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5206\u6790&#xff1a;\u987a\u5e8f\u8bfb\u5e26\u5bbd\u63d0\u5347\u6709\u9650&#xff08;\u4ec55%\u5de6\u53f3&#xff09;&#xff0c;\u56e0\u4e3a\u987a\u5e8f\u8bfb\u7684\u74f6\u9888\u5df2\u7ecf\u4e0d\u5728PCIe\u94fe\u8def&#xff0c;\u800c\u5728NAND\u95ea\u5b58\u7684\u8bfb\u5e26\u5bbd\u3002\u53cc\u7aef\u53e3\u63d0\u4f9b\u7684\u989d\u5916PCIe\u5e26\u5bbd\u65e0\u6cd5\u88ab\u5145\u5206\u5229\u7528\u3002\u968f\u673a\u8bfb\u7684\u63d0\u5347\u6765\u6e90\u4e8e\u4e24\u4e2a\u7aef\u53e3\u53ef\u4ee5\u5e76\u884c\u8bbf\u95ee\u4e0d\u540c\u7684NAND Die\/Plane\u3002<\/p>\n<h4>10.4 \u6545\u969c\u5207\u6362\u5b9e\u6d4b\u6570\u636e<\/h4>\n<p>\u6d4b\u8bd5\u65b9\u6cd5&#xff1a;\u5728fio\u6301\u7eed\u6253\u6ee1I\/O\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u901a\u8fc7nvme disconnect\u547d\u4ee4\u6a21\u62df\u8def\u5f84\u6545\u969c&#xff0c;\u6d4b\u91cfI\/O\u4e2d\u65ad\u65f6\u95f4\u3002<\/p>\n<table>\n<tr>\u6d4b\u8bd5\u573a\u666fI\/O\u4e2d\u65ad\u65f6\u95f4\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u5355\u8def\u5f84\u65ad\u5f00<\/td>\n<td>2.1\u79d2<\/td>\n<td>I\/O\u77ed\u6682\u51bb\u7ed3\u540e\u6062\u590d\u5230\u53e6\u4e00\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u5bc6\u96c6\u8d1f\u8f7d<\/td>\n<td>3.4\u79d2<\/td>\n<td>\u9700\u7b49\u5f85\u7f13\u5b58\u5237\u65b0\u548c\u5143\u6570\u636e\u540c\u6b65<\/td>\n<\/tr>\n<tr>\n<td>\u8bfb\u5bc6\u96c6\u8d1f\u8f7d<\/td>\n<td>0.8\u79d2<\/td>\n<td>\u8bfbI\/O\u66f4\u5feb\u5207\u6362\u5230\u5907\u7528\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td>KATO&#061;2s\u914d\u7f6e<\/td>\n<td>2.3\u79d2<\/td>\n<td>\u68c0\u6d4b&#043;\u5207\u6362\u603b\u65f6\u95f4<\/td>\n<\/tr>\n<tr>\n<td>KATO&#061;500ms\u914d\u7f6e<\/td>\n<td>0.7\u79d2<\/td>\n<td>\u5feb\u901f\u68c0\u6d4b\u914d\u7f6e\u4e0b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span class=\"token comment\"># \u67e5\u770bNVMe\u591a\u8def\u5f84\u62d3\u6251<\/span><br \/>\nnvme list-subsys<\/p>\n<p><span class=\"token comment\"># \u8f93\u51fa\u793a\u4f8b&#xff1a;<\/span><br \/>\nnvme-subsys0 &#8211; <span class=\"token assign-left variable\">NQN<\/span><span class=\"token operator\">&#061;<\/span>nqn.2023-01.com.example:pm9a3-01<br \/>\n<span class=\"token punctuation\">\\\\<\/span><br \/>\n &#043;- nvme0 pcie 0000:81:00.0 live optimized<br \/>\n &#043;- nvme1 pcie 0000:41:00.0 live optimized<\/p>\n<p>\u91cd\u8981\u53d1\u73b0&#xff1a;\u5b9e\u9645\u5207\u6362\u65f6\u95f4\u8fdc\u8fdc\u77ed\u4e8e\u7406\u8bba\u8d85\u65f6\u65f6\u95f4&#xff08;\u9ed8\u8ba430\u79d2&#xff09;&#xff0c;\u56e0\u4e3aNVMe\u9a71\u52a8\u4f1a\u5728\u68c0\u6d4b\u5230PCIe\u94fe\u8def\u5c42\u9519\u8bef\u65f6\u7acb\u5373\u89e6\u53d1\u6545\u969c\u5207\u6362&#xff0c;\u800c\u4e0d\u662f\u7b49\u5f85\u5b8c\u6574\u7684I\/O\u8d85\u65f6\u3002<\/p>\n<h4>10.5 CPU\u5f00\u9500\u5bf9\u6bd4<\/h4>\n<table>\n<tr>\u5de5\u4f5c\u6a21\u5f0f\u6bcf\u767e\u4e07IOPS\u7684CPU\u5360\u7528&#xff08;%&#xff09;\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u5355\u8def\u5f84NVMe<\/td>\n<td>32%<\/td>\n<td>\u539f\u751fNVMe\u9a71\u52a8<\/td>\n<\/tr>\n<tr>\n<td>\u53cc\u8def\u5f84NVMe (native)<\/td>\n<td>38%<\/td>\n<td>&#043;19%&#xff08;\u8def\u5f84\u9009\u62e9&#043;\u7ba1\u7406\u5f00\u9500&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u53cc\u8def\u5f84DM-Multipath<\/td>\n<td>56%<\/td>\n<td>&#043;75%&#xff08;DM\u5c42\u989d\u5916\u5f00\u9500&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u5341\u4e00\u3001\u53cc\u7aef\u53e3SSD\u7684\u4e00\u81f4\u6027\u4e0e\u6570\u636e\u4fdd\u62a4\u6311\u6218<\/h3>\n<h4>11.1 \u53cc\u7aef\u53e3\u540c\u65f6\u5199\u5165\u7684\u4e00\u81f4\u6027\u95ee\u9898<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u9762\u4e34\u7684\u6838\u5fc3\u4e00\u81f4\u6027\u6311\u6218\u662f&#xff1a;\u4e24\u4e2a\u7aef\u53e3\u540c\u65f6\u5199\u5165\u540c\u4e00\u4e2aLBA\u65f6&#xff0c;\u6570\u636e\u4f1a\u662f\u4ec0\u4e48&#xff1f;<\/p>\n<p>\u4e00\u81f4\u6027\u8981\u6c42\u7684\u4e09\u4e2a\u5c42\u7ea7&#xff1a;<\/p>\n<table>\n<tr>\u5c42\u7ea7\u8981\u6c42\u53cc\u7aef\u53e3SSD\u662f\u5426\u6ee1\u8db3<\/tr>\n<tbody>\n<tr>\n<td>\u5355\u5143\u4e00\u81f4\u6027<\/td>\n<td>\u5355\u4e2aLBA\u7684\u8bfb\u5199\u539f\u5b50\u6027&#xff08;512B\/4KB&#xff09;<\/td>\n<td>\u2705 \u662f&#xff08;\u7531\u4e3b\u63a7\u5185\u90e8\u4ef2\u88c1\u4fdd\u8bc1&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u987a\u5e8f\u4e00\u81f4\u6027<\/td>\n<td>\u4e24\u7aef\u53e3\u7684\u5199\u64cd\u4f5c\u6309\u5168\u5c40\u987a\u5e8f\u53ef\u89c1<\/td>\n<td>\u26a0\ufe0f \u90e8\u5206\u4fdd\u8bc1<\/td>\n<\/tr>\n<tr>\n<td>\u56e0\u679c\u4e00\u81f4\u6027<\/td>\n<td>\u4e00\u4e2a\u7aef\u53e3\u5199\u5b8c\u540e\u53e6\u4e00\u7aef\u53e3\u80fd\u7acb\u5373\u8bfb\u5230\u6700\u65b0\u503c<\/td>\n<td>\u2705 \u662f&#xff08;\u5171\u4eab\u7f13\u5b58&#043;\u5c4f\u969c\u673a\u5236&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>11.2 \u4e3b\u63a7\u5185\u90e8\u7684\u4ef2\u88c1\u673a\u5236<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u7684\u4e3b\u63a7\u82af\u7247\u5185\u7f6e\u4e86\u4e92\u65a5\u4ef2\u88c1\u5f15\u64ce&#xff0c;\u786e\u4fdd\u5bf9\u540c\u4e00NAND\u5757\u7684\u64cd\u4f5c\u4e0d\u4f1a\u51b2\u7a81&#xff1a;<\/p>\n<p>\u53cc\u7aef\u53e3I\/O\u4ef2\u88c1\u673a\u5236<\/p>\n<p>Port A \u5199\u5165 LBA 0x1000 \u2500\u2500\u25b6  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                              \u2502  \u4ef2\u88c1\u5f15\u64ce    \u2502<br \/>\nPort B \u5199\u5165 LBA 0x1000 \u2500\u2500\u25b6  \u2502  (Mutex)    \u2502<br \/>\n                              \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                                     \u2502<br \/>\n                                     \u25bc<br \/>\n                              FTL\u6267\u884c\u5355\u5143<br \/>\n                              (\u4e32\u884c\u5904\u7406\u51b2\u7a81I\/O)<br \/>\n                                     \u2502<br \/>\n                                     \u25bc<br \/>\n                           \u5148\u5b8c\u6210\u7684I\/O\u8fd4\u56de\u6210\u529f<br \/>\n                           \u540e\u5b8c\u6210\u7684I\/O\u8986\u76d6\/\u5408\u5e76<\/p>\n<p>\u4ef2\u88c1\u7b56\u7565&#xff1a;<\/p>\n<ul>\n<li>\u57fa\u4e8eLBA\u7684\u7ec6\u7c92\u5ea6\u9501&#xff1a;\u6309LBA\u8303\u56f4\u52a0\u9501&#xff0c;\u4e0d\u51b2\u7a81\u7684I\/O\u5e76\u884c\u6267\u884c<\/li>\n<li>\u5199\u64cd\u4f5c\u4e32\u884c\u5316&#xff1a;\u540c\u4e00LBA\u7684\u5199\u64cd\u4f5c\u4e25\u683c\u4e32\u884c&#xff0c;\u540e\u5199\u8986\u76d6\u5148\u5199<\/li>\n<li>\u8bfb\u64cd\u4f5c\u5e76\u884c&#xff1a;\u8bfb\u64cd\u4f5c\u4e4b\u95f4\u65e0\u9700\u4e92\u65a5&#xff0c;\u53ef\u5e76\u884c\u6267\u884c<\/li>\n<li>\u8bfb\u5199\u4e92\u65a5&#xff1a;\u5199\u64cd\u4f5c\u671f\u95f4\u5bf9\u540c\u4e00LBA\u7684\u8bfb\u64cd\u4f5c\u9700\u7b49\u5f85<\/li>\n<\/ul>\n<h4>11.3 NVMe Reservation\u673a\u5236<\/h4>\n<p>\u5bf9\u4e8e\u591a\u4e3b\u673a\u5171\u4eab\u7684\u53cc\u7aef\u53e3SSD&#xff0c;NVMe\u89c4\u8303\u901a\u8fc7**Reservation&#xff08;\u9884\u7559&#xff09;**\u673a\u5236\u63d0\u4f9b\u66f4\u9ad8\u7ea7\u522b\u7684\u8bbf\u95ee\u63a7\u5236&#xff08;\u8be6\u89c1Day 49&#xff09;&#xff1a;<\/p>\n<p>Reservation\u7c7b\u578b\u4e0e\u7528\u9014&#xff1a;<br \/>\n&#8211; Write Exclusive&#xff1a;\u53ea\u5141\u8bb8\u9884\u7559\u6301\u6709\u8005\u5199\u5165<br \/>\n&#8211; Exclusive Access&#xff1a;\u53ea\u5141\u8bb8\u9884\u7559\u6301\u6709\u8005\u8bfb\u5199<br \/>\n&#8211; Write Exclusive &#8211; Registrants Only&#xff1a;\u4ec5\u6ce8\u518c\u8005\u53ef\u5199<br \/>\n&#8211; Exclusive Access &#8211; Registrants Only&#xff1a;\u4ec5\u6ce8\u518c\u8005\u53ef\u8bfb\u5199<br \/>\n&#8211; Write Exclusive &#8211; All Registrants&#xff1a;\u6240\u6709\u6ce8\u518c\u8005\u5747\u53ef\u5199&#xff08;\u4f46\u6709\u534f\u8c03&#xff09;<br \/>\n&#8211; Exclusive Access &#8211; All Registrants&#xff1a;\u6240\u6709\u6ce8\u518c\u8005\u5747\u53ef\u8bfb\u5199<\/p>\n<p>\u5728\u53cc\u6d3b\u73af\u5883\u4e2d&#xff0c;\u901a\u5e38\u4f7f\u7528Exclusive Access &#8211; All Registrants\u7c7b\u578b&#xff0c;\u914d\u5408ANA\u5b9e\u73b0\u53cc\u6d3b\u8bbf\u95ee\u3002<\/p>\n<h4>11.4 \u6570\u636e\u5b8c\u6574\u6027\u6311\u6218\u4e0e\u5e94\u5bf9<\/h4>\n<p>\u53cc\u7aef\u53e3SSD\u5728\u4ee5\u4e0b\u573a\u666f\u9762\u4e34\u989d\u5916\u7684\u6570\u636e\u5b8c\u6574\u6027\u6311\u6218&#xff1a;<\/p>\n<p>\u6311\u62181&#xff1a;\u4e24\u7aef\u53e3\u540c\u65f6\u6389\u7535<\/p>\n<ul>\n<li>\u98ce\u9669&#xff1a;\u4e24\u4e2a\u7aef\u53e3\u540c\u65f6\u5931\u53bb\u7535\u6e90&#xff0c;PLP\u7535\u5bb9\u80fd\u5426\u652f\u6491\u5b8c\u6574\u7684\u7f13\u5b58\u5237\u5199&#xff1f;<\/li>\n<li>\u5e94\u5bf9&#xff1a;\u53cc\u7aef\u53e3SSD\u7684PLP\u8bbe\u8ba1\u9700\u8981\u8003\u8651\u53cc\u7aef\u53e3\u540c\u65f6\u6389\u7535\u573a\u666f&#xff0c;\u7535\u5bb9\u5bb9\u91cf\u6309\u6700\u5927\u7f13\u5b58\u6570\u636e\u91cf\u8bbe\u8ba1<\/li>\n<\/ul>\n<p>\u6311\u62182&#xff1a;\u5355\u7aef\u53e3\u56fa\u4ef6\u5d29\u6e83<\/p>\n<ul>\n<li>\u98ce\u9669&#xff1a;\u4e00\u4e2a\u7aef\u53e3\u7684\u56fa\u4ef6\u903b\u8f91\u5f02\u5e38&#xff0c;\u53ef\u80fd\u5199\u5165\u810f\u6570\u636e\u5230\u5171\u4eab\u4ecb\u8d28<\/li>\n<li>\u5e94\u5bf9&#xff1a;\u5355\u82af\u7247\u65b9\u6848\u7684\u4e24\u7aef\u53e3\u5171\u4eab\u540c\u4e00\u56fa\u4ef6\u6838\u5fc3&#xff0c;\u5d29\u6e83\u540c\u65f6\u5f71\u54cd\u4e24\u7aef\u53e3&#xff1b;\u53cc\u82af\u7247\u65b9\u6848\u6709\u66f4\u597d\u7684\u9694\u79bb<\/li>\n<\/ul>\n<p>\u6311\u62183&#xff1a;\u7f13\u5b58\u4e00\u81f4\u6027<\/p>\n<ul>\n<li>\u98ce\u9669&#xff1a;\u4e24\u7aef\u53e3\u5404\u81ea\u7f13\u5b58LBA\u6620\u5c04\u8868&#xff0c;\u53ef\u80fd\u51fa\u73b0\u4e0d\u4e00\u81f4<\/li>\n<li>\u5e94\u5bf9&#xff1a;\u4f01\u4e1a\u7ea7\u53cc\u7aef\u53e3SSD\u4f7f\u7528\u5355\u4e00\u5171\u4eab\u7684FTL\u7f13\u5b58&#xff0c;\u901a\u8fc7\u5185\u90e8\u4e92\u8054\u4fdd\u8bc1\u4e00\u81f4\u6027<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5341\u4e8c\u3001\u5f53\u65e5\u77e5\u8bc6\u70b9\u5c0f\u7ed3<\/h3>\n<table>\n<tr>\u77e5\u8bc6\u70b9\u6838\u5fc3\u7ed3\u8bba\u5173\u952e\u53c2\u6570\/\u6307\u6807<\/tr>\n<tbody>\n<tr>\n<td>\u53cc\u7aef\u53e3SSD\u7684\u4ef7\u503c<\/td>\n<td>\u6d88\u9664\u8def\u5f84\u548c\u63a7\u5236\u5668\u5c42\u9762\u7684\u5355\u70b9\u6545\u969c&#xff0c;\u63d0\u5347\u53ef\u7528\u6027<\/td>\n<td>99.999%\u53ef\u7528\u6027\u76ee\u6807&#xff1b;\u5e74\u505c\u673a&lt;5.26\u5206\u949f<\/td>\n<\/tr>\n<tr>\n<td>\u4e09\u79cd\u8bbf\u95ee\u6a21\u578b<\/td>\n<td>Active-Active&#xff08;\u5bf9\u79f0\u53cc\u6d3b&#xff09;\u6027\u80fd\u6700\u4f18&#xff1b;ALUA\/ANA\u6700\u5e38\u7528&#xff1b;AP\u6700\u7b80\u5355<\/td>\n<td>AA\u6a21\u5f0f\u63a5\u8fd1200%\u6027\u80fd\u5229\u7528\u7387<\/td>\n<\/tr>\n<tr>\n<td>NVMe ANA<\/td>\n<td>NVMe 1.4&#043;\u6807\u51c6\u5316\u7684\u975e\u5bf9\u79f0\u8bbf\u95ee\u673a\u5236&#xff0c;4\u79cd\u72b6\u6001<\/td>\n<td>Optimized\/Non-Optimized\/Inaccessible\/Change<\/td>\n<\/tr>\n<tr>\n<td>SAS ALUA<\/td>\n<td>SCSI\u6807\u51c6\u7684\u591a\u8def\u5f84\u8bbf\u95ee\u6a21\u578b&#xff0c;5\u79cd\u72b6\u6001<\/td>\n<td>Active-Optimized\/Active-NonOptimized\/Standby\/Unavailable\/Transitioning<\/td>\n<\/tr>\n<tr>\n<td>Linux\u591a\u8def\u5f84<\/td>\n<td>NVMe\u539f\u751f\u591a\u8def\u5f84&#xff08;\u5185\u6838\u7ea7&#xff09;vs DM-Multipath&#xff08;\u901a\u7528\u65b9\u6848&#xff09;<\/td>\n<td>Native\u6a21\u5f0fCPU\u5f00\u9500\u6bd4DM\u4f4e\u7ea632%<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u5207\u6362\u65f6\u95f4<\/td>\n<td>\u4e3b\u8981\u7531\u6545\u969c\u68c0\u6d4b\u65f6\u95f4\u51b3\u5b9a&#xff0c;\u79d2\u7ea7\u5207\u6362<\/td>\n<td>KATO&#061;2s\u65f6\u603b\u5207\u6362\u65f6\u95f4\u7ea62~5\u79d2<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd\u63d0\u5347<\/td>\n<td>\u9ad8\u5e76\u53d1\u968f\u673a\u8bfb\u573a\u666f\u4e0bIOPS\u63d0\u534780%<sub>90%&#xff1b;\u987a\u5e8f\u5e26\u5bbd\u63d0\u5347\u6709\u9650&#xff08;<\/sub>5%&#xff09;<\/td>\n<td>QD&#061;128\u65f6\u5355\u8def\u5f84245K \u2192 \u53cc\u8def\u5f84458K IOPS<\/td>\n<\/tr>\n<tr>\n<td>\u4e00\u81f4\u6027\u6311\u6218<\/td>\n<td>\u5355LBA\u539f\u5b50\u6027\u6709\u4fdd\u8bc1&#xff1b;\u591aLBA\/\u591a\u7aef\u53e3\u5e76\u53d1\u9700\u4f9d\u8d56\u4ef2\u88c1\u548cReservation<\/td>\n<td>\u4e3b\u63a7\u5185\u7f6e\u7ec6\u7c92\u5ea6LBA\u9501\u673a\u5236<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u5341\u4e09\u3001\u601d\u8003\u9898<\/h3>\n<p>\u95ee\u98981&#xff1a;\u4e3a\u4ec0\u4e48\u5728\u4f4e\u961f\u5217\u6df1\u5ea6&#xff08;QD&#061;1&#xff09;\u4e0b&#xff0c;\u53cc\u7aef\u53e3SSD\u7684\u6027\u80fd\u53cd\u800c\u6bd4\u5355\u7aef\u53e3\u7565\u5dee&#xff1f;\u4ece\u786c\u4ef6\u67b6\u6784\u548c\u8f6f\u4ef6\u8def\u5f84\u4e24\u4e2a\u89d2\u5ea6\u5206\u6790\u539f\u56e0\u3002<\/p>\n<p>\u95ee\u98982&#xff1a;\u5047\u8bbe\u6709\u4e00\u4e2a\u53cc\u63a7Active-Active\u5168\u95ea\u9635\u5217&#xff0c;\u6bcf\u4e2a\u63a7\u5236\u5668\u63d0\u4f9b500K IOPS\u7684\u5904\u7406\u80fd\u529b\u3002\u5982\u679c\u91c7\u7528ALUA\u6a21\u5f0f&#xff08;\u6bcf\u4e2aLUN\u6709\u4e00\u4e2a\u4f18\u5316\u8def\u5f84&#xff09;&#xff0c;\u76f8\u6bd4\u771f\u6b63\u7684\u5bf9\u79f0Active-Active\u6a21\u5f0f&#xff0c;\u5728\u4ee5\u4e0b\u4e24\u79cd\u5de5\u4f5c\u8d1f\u8f7d\u4e0b\u7684\u6700\u5927IOPS\u5206\u522b\u662f\u591a\u5c11&#xff1f;\u8bf7\u7ed9\u51fa\u63a8\u7406\u8fc7\u7a0b&#xff1a;(a) \u6240\u6709I\/O\u8bbf\u95ee\u540c\u4e00\u4e2aLUN&#xff1b;(b) I\/O\u5747\u5300\u5206\u5e03\u5728100\u4e2aLUN\u4e0a\u3002<\/p>\n<p>\u95ee\u98983&#xff1a;\u5728NVMe-oF\u573a\u666f\u4e0b&#xff0c;\u4e3b\u673a\u901a\u8fc7\u4e24\u6761\u7f51\u7edc\u8def\u5f84&#xff08;\u5982\u4e24\u8defRoCE v2&#xff09;\u8fde\u63a5\u5230\u540c\u4e00\u53f0NVMe SSD&#xff0c;\u8fd9\u5c5e\u4e8e&#034;\u591a\u8def\u5f84&#034;\u5417&#xff1f;\u5b83\u4e0e\u76f4\u8fde\u53cc\u7aef\u53e3SSD\u7684\u591a\u8def\u5f84\u5728\u6545\u969c\u68c0\u6d4b\u3001\u5207\u6362\u5ef6\u8fdf\u3001\u4e00\u81f4\u6027\u65b9\u9762\u6709\u4ec0\u4e48\u5f02\u540c&#xff1f;<\/p>\n<hr \/>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>\n<p>NVMe Base Specification 2.0c &#8211; NVM Express\u5b98\u65b9\u89c4\u8303&#xff0c;\u7b2c8\u7ae0Asymmetric Namespace Access<\/p>\n<\/li>\n<li>\n<p>NVMe PCIe Transport Specification Revision 1.0 &#8211; NVMe PCIe\u4f20\u8f93\u5c42\u89c4\u8303&#xff0c;\u53cc\u7aef\u53e3\u5b9a\u4e49<\/p>\n<\/li>\n<li>\n<p>JEDEC JESD231D&#xff1a;U.2 (SFF-8639) SSD Electrical Specification &#8211; U.2\u63a5\u53e3\u7535\u6c14\u89c4\u8303\u4e0e\u53cc\u7aef\u53e3\u5f15\u811a\u5b9a\u4e49<\/p>\n<\/li>\n<li>\n<p>SNIA Tutorial&#xff1a;NVMe Multipath and High Availability &#8211; SNIA\u6570\u636e\u4e2d\u5fc3\u5927\u4f1aNVMe\u591a\u8def\u5f84\u6559\u7a0b<\/p>\n<\/li>\n<li>\n<p>Linux kernel documentation&#xff1a;NVMe Multipath &#8211; Linux\u5185\u6838NVMe\u591a\u8def\u5f84\u5b98\u65b9\u6587\u6863<\/p>\n<\/li>\n<li>\n<p>Linux kernel source&#xff1a;drivers\/nvme\/host\/multipath.c &#8211; Linux\u5185\u6838NVMe\u591a\u8def\u5f84\u6e90\u7801<\/p>\n<\/li>\n<li>\n<p>Linux DM-Multipath Documentation &#8211; RedHat Enterprise Linux DM-Multipath\u5b98\u65b9\u6587\u6863<\/p>\n<\/li>\n<li>\n<p>SAM-5 (SCSI Architecture Model &#8211; 5)&#xff1a;ALUA\u5b9a\u4e49 &#8211; T10 SCSI\u67b6\u6784\u6a21\u578b\u7b2c5\u7248&#xff0c;\u7b2c5\u7ae0ALUA<\/p>\n<\/li>\n<li>\n<p>[Samsung PM9A3 Product Specification &#8211; \u4e09\u661fPM9A3\u4f01\u4e1a\u7ea7NVMe SSD\u4ea7\u54c1\u89c4\u683c\u4e66&#xff08;\u53cc\u7aef\u53e3U.2\u7248\u672c&#xff09;](https:\/\/s3.ap-northeast-2.amazonaws.com\/global.semi.static\/PM9A3\/Product Brief\/Samsung_SSD_PM9A3_Product_Brief.pdf)<\/p>\n<\/li>\n<li>\n<p>KIOXIA CD8 Series Data Sheet &#8211; \u94e0\u4fa0CD8\u7cfb\u5217\u4f01\u4e1a\u7ea7SSD\u6570\u636e\u624b\u518c<\/p>\n<\/li>\n<\/ul>\n<p>\u4f5c\u8005\u7b80\u4ecb&#xff1a;\u8d44\u6df1RDMA\u667a\u80fd\u7f51\u5361\u3001\u5b58\u50a8\u6280\u672f\u4e13\u5bb6&#xff0c;\u62e5\u6709\u5341\u4f59\u5e74DPU\/RDMA\/NVMe SSD\u82af\u7247\u6d4b\u8bd5\u4e0e\u5de5\u7a0b\u7ecf\u9a8c&#xff0c;\u81f4\u529b\u4e8e\u63a8\u52a8\u9ad8\u6027\u80fd\u7f51\u7edc\u6280\u672f\u7684\u5f00\u6e90\u4e0e\u666e\u53ca\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981&#xff1a;\u7cfb\u7edf\u89e3\u6790\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3&#xff08;Dual Port&#xff09;\u67b6\u6784\u7684\u786c\u4ef6\u5b9e\u73b0\u4e0e\u534f\u8bae\u539f\u7406&#xff0c;\u6db5\u76d6NVMe PCIe\u53cc\u7aef\u53e3\u4e0eSAS\u53cc\u7aef\u53e3\u7684\u62d3\u6251\u5dee\u5f02\u3001Active-Active\/Active-Passive\/ALUA\u4e09\u79cd\u8def\u5f84\u8bbf\u95ee\u6a21\u578b\u3001Asymmetric Namespace Access (ANA) \u72b6\u6001\u673a\u8f6c\u6362\u3001NVMe Multipath\u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u5207\u6362\u3001RDMA\/NVMe-oF\u53cc\u8def\u5f84\u5197\u4f59\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94<\/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":[12725,12723,12724,8473,11653,1962],"topic":[],"class_list":["post-111841","post","type-post","status-publish","format-standard","hentry","category-server","tag-alua","tag-ssd","tag-12724","tag-8473","tag-11653","tag-1962"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\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\/111841.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981&#xff1a;\u7cfb\u7edf\u89e3\u6790\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3&#xff08;Dual Port&#xff09;\u67b6\u6784\u7684\u786c\u4ef6\u5b9e\u73b0\u4e0e\u534f\u8bae\u539f\u7406&#xff0c;\u6db5\u76d6NVMe PCIe\u53cc\u7aef\u53e3\u4e0eSAS\u53cc\u7aef\u53e3\u7684\u62d3\u6251\u5dee\u5f02\u3001Active-Active\/Active-Passive\/ALUA\u4e09\u79cd\u8def\u5f84\u8bbf\u95ee\u6a21\u578b\u3001Asymmetric Namespace Access (ANA) \u72b6\u6001\u673a\u8f6c\u6362\u3001NVMe Multipath\u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u5207\u6362\u3001RDMA\/NVMe-oF\u53cc\u8def\u5f84\u5197\u4f59\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/111841.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-01T15:17:08+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=\"13 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111841.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/111841.html\",\"name\":\"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-01T15:17:08+00:00\",\"dateModified\":\"2026-10-01T15:17:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/111841.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/111841.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111841.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\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":"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\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\/111841.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981&#xff1a;\u7cfb\u7edf\u89e3\u6790\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3&#xff08;Dual Port&#xff09;\u67b6\u6784\u7684\u786c\u4ef6\u5b9e\u73b0\u4e0e\u534f\u8bae\u539f\u7406&#xff0c;\u6db5\u76d6NVMe PCIe\u53cc\u7aef\u53e3\u4e0eSAS\u53cc\u7aef\u53e3\u7684\u62d3\u6251\u5dee\u5f02\u3001Active-Active\/Active-Passive\/ALUA\u4e09\u79cd\u8def\u5f84\u8bbf\u95ee\u6a21\u578b\u3001Asymmetric Namespace Access (ANA) \u72b6\u6001\u673a\u8f6c\u6362\u3001NVMe Multipath\u5185\u6838\u5b9e\u73b0\u4e0eI\/O\u8def\u5f84\u5207\u6362\u3001RDMA\/NVMe-oF\u53cc\u8def\u5f84\u5197\u4f59\u3001\u53cc\u7aef\u53e3SSD\u5728HA\u53cc\u6d3b\u5b58\u50a8\u9635\u5217\u4e2d\u7684\u5e94","og_url":"https:\/\/www.wsisp.com\/helps\/111841.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-01T15:17:08+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"13 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/111841.html","url":"https:\/\/www.wsisp.com\/helps\/111841.html","name":"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-01T15:17:08+00:00","dateModified":"2026-10-01T15:17:08+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/111841.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/111841.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/111841.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f01\u4e1a\u7ea7SSD\u53cc\u7aef\u53e3\u4e0e\u9ad8\u53ef\u7528\u67b6\u6784\u6df1\u5ea6\u89e3\u6790\uff08Dual Port \/ Multipath \/ ALUA \/ Active-Active\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\/111841","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=111841"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/111841\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=111841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=111841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=111841"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=111841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}