{"id":163857,"date":"2019-11-23T09:07:13","date_gmt":"2019-11-23T01:07:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=163857"},"modified":"2019-11-18T09:08:09","modified_gmt":"2019-11-18T01:08:09","slug":"dpdk-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/dpdk-linux.html","title":{"rendered":"\u300a\u6df1\u5165\u6d45\u51faDPDK\u300bpdf\u7535\u5b50\u4e66\u514d\u8d39\u4e0b\u8f7d"},"content":{"rendered":"

\u8fd1\u5e74\u6765\uff0c\u968f\u7740\u7f51\u7edc\u6280\u672f\u7684\u4e0d\u65ad\u521b\u65b0\u548c\u5e02\u573a\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u7f51\u7edc\u8bbe\u5907\u57fa\u7840\u67b6\u6784\u5f00\u59cb\u5411\u57fa\u4e8e\u901a\u7528\u5904\u7406\u5668\u5e73\u53f0\u7684\u67b6\u6784\u65b9\u5411\u878d\u5408\uff0c\u671f\u671b\u7528\u66f4\u4f4e\u7684\u6210\u672c\u548c\u66f4\u77ed\u7684\u4ea7\u54c1\u5f00\u53d1\u5468\u671f\u6765\u63d0\u4f9b\u591a\u6837\u7684\u7f51\u7edc\u5355\u5143\u548c\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u5982\u5e94\u7528\u5904\u7406\u3001\u63a7\u5236\u5904\u7406\u3001\u5305\u5904\u7406\u3001\u4fe1\u53f7\u5904\u7406\u7b49\u3002\u4e3a\u4e86\u9002\u5e94\u8fd9\u4e00\u65b0\u7684\u4ea7\u4e1a\u8d8b\u52bf\uff0c \u82f1\u7279\u5c14\u516c\u53f8\u8054\u5408\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u5f00\u53d1\u516c\u53f8\u53ca\u65f6\u63a8\u51fa\u4e86\u57fa\u4e8eIntel\u00ae x86\u67b6\u6784DPDK (Data Plane Development Kit\uff0c\u6570\u636e\u5e73\u9762\u5f00\u53d1\u5957\u4ef6) \u5b9e\u73b0\u4e86\u9ad8\u6548\u7075\u6d3b\u7684\u5305\u5904\u7406\u89e3\u51b3\u65b9\u6848\u3002\u7ecf\u8fc7\u8fd16\u5e74\u7684\u53d1\u5c55,DPDK\u5df2\u7ecf\u53d1\u5c55\u6210\u652f\u6301\u591a\u79cd\u9ad8\u6027\u80fd\u7f51\u5361\u548c\u591a\u901a\u7528\u5904\u7406\u5668\u5e73\u53f0\u7684\u5f00\u6e90\u8f6f\u4ef6\u5de5\u5177\u5305\uff0c\u5e76\u5728\u6210\u4e3a\u901a\u7528\u5904\u7406\u5668\u5e73\u53f0\u4e0a\u5f71\u54cd\u529b\u6700\u5927\u7684\u6570\u636e\u5e73\u9762\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n

\u300a\u6df1\u5165\u6d45\u51faDPDK\u300b\u6c47\u805a\u4e86\u6700\u8d44\u6df1\u7684DPDK\u6280\u672f\u4e13\u5bb6\u7cbe\u8f9f\u89c1\u89e3\u548c\u5b9e\u6218\u4f53\u9a8c\uff0c\u8be6\u7ec6\u4ecb\u7ecd\u4e86DPDK\u6280\u672f\u53d1\u5c55\u8d8b\u52bf\uff0c\u6570\u636e\u5305\u5904\u7406\uff0c\u786c\u4ef6\u52a0\u901f\u6280\u672f\uff0c\u5305\u5904\u7406\u548c\u865a\u62df\u5316 \uff0c\u4ee5\u53caDPDK \u6280\u672f\u5728SDN\uff0cNFV \uff0c\u7f51\u7edc\u5b58\u50a8\u7b49\u9886\u57df\u7684\u5b9e\u9645\u5e94\u7528\u3002\u6587\u4e2d\u8fd8\u4f7f\u7528\u5927\u91cf\u7684\u7bc7\u5e45\u8bb2\u89e3\u5404\u79cd\u6838\u5fc3\u8f6f\u4ef6\u7b97\u6cd5\uff0c\u6700\u5148\u8fdb\u7684\u6570\u636e\u4f18\u5316\u601d\u60f3\uff0c\u5927\u91cf\u8be6\u5c3d\u7684\u5b9e\u6218\u5fc3\u5f97\u548c\u4f7f\u7528\u6307\u5357\u3002\u4f5c\u4e3a\u56fd\u5185\u7b2c\u4e00\u672c\u5168\u9762\u7684\u9610\u8ff0\u7f51\u7edc\u6570\u636e\u9762\u7684\u6838\u5fc3\u6280\u672f\u7684\u4e66\u7c4d\uff0c\u672c\u4e66\u4e3b\u8981\u9762\u5411IT \u7f51\u7edc\u901a\u8baf\u884c\u4e1a\u7684\u4ece\u4e1a\u4eba\u5458\uff0c\u4ee5\u53ca\u5927\u4e13\u9662\u6821\u7684\u5b66\u751f\uff0c\u7528\u901a\u4fd7\u6613\u61c2\u7684\u6587\u5b57\u6253\u5f00\u4e86\u4e00\u6247\u901a\u5411\u65b0\u4e00\u4ee3\u7f51\u7edc\u5904\u7406\u67b6\u6784\u7684\u5927\u95e8\u3002<\/p>\n

\u300a\u6df1\u5165\u6d45\u51faDPDK\u300b\u76ee\u5f55\uff1a
\nDPDK\u57fa\u7840\u7bc7
\n1 \u8ba4\u8bc6DPDK
\n1.1 \u4e3b\u6d41\u5305\u5904\u7406\u786c\u4ef6\u5e73\u53f0
\n1.2 \u521d\u8bc6DPDK
\n1.3 \u89e3\u8bfb\u6570\u636e\u5305\u5904\u7406\u80fd\u529b
\n1.4 \u63a2\u7d22IA\u5904\u7406\u5668\u4e0a\u6700\u8270\u5de8\u7684\u4efb\u52a1
\n1.5 \u8f6f\u4ef6\u5305\u5904\u7406\u7684\u6f5c\u529b\u2013 \u518d\u8bc6DPDK
\n1.6 \u4ece\u878d\u5408\u7684\u89d2\u5ea6\u770bDPDK
\n1.7 \u5b9e\u4f8b
\n2 Cache\u548c\u5185\u5b58
\n2.1 \u5b58\u50a8\u7cfb\u7edf\u7b80\u4ecb
\n2.2 Cache\u7cfb\u7edf\u7b80\u4ecb
\n2.3 Cache\u5730\u5740\u6620\u8c61\u548c\u53d8\u6362
\n2.4 Cache\u7684\u5199\u7b56\u7565
\n2.5 Cache\u9884\u53d6
\n2.6 Cache\u4e00\u81f4\u6027
\n2.7 TLB\u548c\u5927\u9875
\n2.8 DDIO
\n2.9 NUMA\u7cfb\u7edf
\n3 \u5e76\u884c\u8ba1\u7b97
\n3.1 \u591a\u6838\u6027\u80fd\u548c\u53ef\u6269\u5c55\u6027
\n3.2 \u6307\u4ee4\u5e76\u53d1\u4e0e\u6570\u636e\u5e76\u884c
\n4 \u540c\u6b65\u4e92\u65a5\u673a\u5236
\n4.1 \u539f\u5b50\u64cd\u4f5c
\n4.2 \u8bfb\u5199\u9501
\n4.3 \u81ea\u65cb\u9501
\n4.4 \u65e0\u9501\u673a\u5236
\n5 \u62a5\u6587\u8f6c\u53d1
\n5.1 \u7f51\u7edc\u5904\u7406\u6a21\u5757\u5212\u5206
\n5.2 \u8f6c\u53d1\u6846\u67b6\u4ecb\u7ecd
\n5.3 \u8f6c\u53d1\u7b97\u6cd5
\n6 PCIe\u4e0e\u5305\u5904\u7406I\/O
\n6.1 \u4ecePCIe\u4e8b\u52a1\u7684\u89d2\u5ea6\u770b\u5305\u5904\u7406
\n6.2 PCIe\u4e0a\u7684\u6570\u636e\u4f20\u8f93\u7684\u80fd\u529b
\n6.3 \u7f51\u5361DMA\u63cf\u8ff0\u7b26\u73af\u5f62\u961f\u5217
\n6.4 \u6570\u636e\u5305\u6536\u53d1\u2014 CPU\u548cIO\u7684\u534f\u594f
\n6.5 PCIe\u7684\u51c0\u8377\u8f6c\u53d1\u5e26\u5bbd
\n6.6 Mbuf \u4e0eMempool
\n7 \u7f51\u5361\u6027\u80fd\u4f18\u5316
\n7.1 DPDK\u7684\u8f6e\u8be2\u6a21\u5f0f
\n7.2 \u7f51\u5361I\/O\u6027\u80fd\u4f18\u5316
\n7.3 \u5e73\u53f0\u4f18\u5316\u53ca\u5176\u914d\u7f6e\u8c03\u4f18
\n7.4 \u961f\u5217\u957f\u5ea6\u53ca\u5404\u79cd\u9608\u503c\u7684\u8bbe\u7f6e
\n8 \u6d41\u5206\u7c7b\u4e0e\u591a\u961f\u5217
\n8.1 \u591a\u961f\u5217
\n8.2 \u6d41\u5206\u7c7b
\n8.3 \u6d41\u5206\u7c7b\u6280\u672f\u7684\u4f7f\u7528
\n8.4 \u53ef\u91cd\u6784\u5339\u914d\u8868
\n9 \u786c\u4ef6\u52a0\u901f\u4e0e\u529f\u80fd\u5378\u8f7d
\n9.1 \u786c\u4ef6\u5378\u8f7d\u7b80\u4ecb
\n9.2 \u7f51\u5361\u786c\u4ef6\u5378\u8f7d\u529f\u80fd
\n9.3 DPDK\u8f6f\u4ef6\u63a5\u53e3
\n9.4 \u786c\u4ef6\u4e0e\u8f6f\u4ef6\u529f\u80fd\u5b9e\u73b0
\n9.5 \u8ba1\u7b97\u53ca\u66f4\u65b0\u529f\u80fd\u5378\u8f7d
\n9.6 \u5206\u7247\u529f\u80fd\u5378\u8f7d
\n9.7 \u7ec4\u5305\u529f\u80fd\u5378\u8f7d
\nDPDK \u865a\u62df\u5316\u6280\u672f\u7bc7
\n10 X86\u5e73\u53f0\u4e0a\u7684I\/O\u865a\u62df\u5316
\n10.1 X86\u5e73\u53f0\u865a\u62df\u5316\u6982\u8ff0
\n10.2 I\/O\u900f\u4f20\u865a\u62df\u5316
\n10.3 PCI-e\u7f51\u5361\u900f\u4f20\u4e0b\u7684\u6536\u53d1\u5305\u6d41\u7a0b
\n10.4 I\/O\u900f\u4f20\u865a\u62df\u5316\u914d\u7f6e\u7684\u5e38\u89c1\u95ee\u9898
\n11 \u534a\u865a\u62df\u5316Virtio
\n11.1 Virtio\u4f7f\u7528\u573a\u666f
\n11.2 Virtio\u89c4\u8303\u548c\u539f\u7406
\n11.3 Virtio\u7f51\u7edc\u8bbe\u5907\u9a71\u52a8\u8bbe\u8ba1
\n12 \u52a0\u901f\u5305\u5904\u7406\u7684vhost\u4f18\u5316\u65b9\u6848
\n12.1 vHOST\u7684\u6f14\u8fdb\u548c\u539f\u7406
\n12.2 \u57fa\u4e8eDPDK\u7684\u7528\u6237\u6001vHOST\u8bbe\u8ba1
\n12.3 DPDK vHost\u7f16\u7a0b\u5b9e\u4f8b
\n13 DPDK\u4e0e\u7f51\u7edc\u529f\u80fd\u865a\u62df\u5316
\n13.1 NFV\u7f51\u7edc\u529f\u80fd\u865a\u62df\u5316
\n13.2 OPNFV\u4e0eDPDK
\n13.3 NFV\u7684\u90e8\u7f72
\n13.4 VNF\u90e8\u7f72\u7684\u5f62\u6001
\n13.5 VNF\u81ea\u8eab\u7279\u6027\u7684\u8bc4\u4f30
\n13.6 VNF\u7684\u8bbe\u8ba1
\n13.7 \u5b9e\u4f8b\u89e3\u6790\u548c\u5546\u4e1a\u6848\u4f8b
\n14 Open vSwitch (OVS)\u4e2d\u7684DPDK\u6027\u80fd\u52a0\u901f
\n14.1 \u865a\u62df\u4ea4\u6362\u673a\u7b80\u4ecb
\n14.2 OVS\u7b80\u4ecb
\n14.3 DPDK\u52a0\u901f\u7684OVS
\n15 \u57fa\u4e8eDPDK\u7684\u5b58\u50a8\u8f6f\u4ef6\u4f18\u5316
\n15.1 \u57fa\u4e8e\u4ee5\u592a\u7f51\u7684\u5b58\u50a8\u7cfb\u7edf
\n15.2 \u4ee5\u592a\u7f51\u5b58\u50a8\u7cfb\u7edf\u7684\u4f18\u5316
\n15.3 SPDK \u4ecb\u7ecd
\n\"\"<\/p>\n


\n

\u6839\u636e\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u56fd\u5bb6\u7248\u6743\u5c40\u76f8\u5173\u6cd5\u89c4\uff0c\u672c\u7ad9\u4e0d\u63d0\u4f9b\u8be5PDF\u7535\u5b50\u7248\u4e66\u7c4d
\n\u60a8\u53ef\u4ee5\u8fdb\u5165\u4ea4\u6d41\u793e\u7fa4\u4e2d\u7ee7\u7eed\u5bfb\u627e\u8d44\u6599\u6216\u8d2d\u4e70\u6b63\u7248\u4e66\u7c4d<\/p>\n

\"Linux\u4ea4\u6d41\u7fa4\" <\/a><\/p>\n

\u6280\u672f\u4ea4\u6d41\u793e\u7fa4\uff1ahttps:\/\/lrxjmw.cn\/club<\/a><\/p>\n

Linux\u4e66\u7c4d\u5728\u7ebf\u9605\u8bfb\uff1ahttps:\/\/lrxjmw.cn\/chapter-00.html<\/a><\/p>\n

\n<\/p>\n","protected":false},"excerpt":{"rendered":"

\u8fd1\u5e74\u6765\uff0c\u968f\u7740\u7f51\u7edc\u6280\u672f\u7684\u4e0d\u65ad\u521b\u65b0\u548c\u5e02\u573a\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u7f51\u7edc\u8bbe\u5907\u57fa\u7840\u67b6\u6784\u5f00\u59cb\u5411\u57fa\u4e8e\u901a\u7528\u5904\u7406\u5668\u5e73\u53f0\u7684\u67b6\u6784\u65b9\u5411\u878d\u5408\uff0c […]<\/p>\n","protected":false},"author":1890,"featured_media":163860,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[430],"tags":[],"class_list":["post-163857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-books"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/163857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1890"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=163857"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/163857\/revisions"}],"predecessor-version":[{"id":164039,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/163857\/revisions\/164039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/163860"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=163857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=163857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=163857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}