{"id":9188,"date":"2022-05-08T16:58:00","date_gmt":"2022-05-08T08:58:00","guid":{"rendered":"http:\/\/jc.a300.cn/luyouwang\/?p=9188"},"modified":"2022-05-08T16:58:00","modified_gmt":"2022-05-08T08:58:00","slug":"%e7%be%a4%e6%99%96%e8%99%9a%e6%8b%9f%e6%9c%bavmm%e8%a3%85openwrt%e8%bd%af%e8%b7%af%e7%94%b1%e5%ae%bd%e5%b8%a6%e8%b7%91%e4%b8%8d%e6%bb%a1%e7%9a%84%e4%b8%80%e4%ba%9b%e5%9d%91","status":"publish","type":"post","link":"http:\/\/jc.a300.cn/luyouwang\/9188.html","title":{"rendered":"\u7fa4\u6656\u865a\u62df\u673aVMM\u88c5OpenWrt\u8f6f\u8def\u7531\u5bbd\u5e26\u8dd1\u4e0d\u6ee1\u7684\u4e00\u4e9b\u5751"},"content":{"rendered":"

\u7531\u4e8e\u5165\u624b\u4e86\u7fa4\u6656NAS\u7cfb\u7edf\uff0c\u524d\u51e0\u5929\u628a\u5728\u4f7f\u7528\u7684R4S\u8f6f\u8def\u7531\u4ece\u591a\u5a92\u4f53\u7bb1\u62c6\u4e0b\u6765\u4e86\uff0c\u7528\u7fa4\u6656\u7684VMM\u865a\u62df\u673a\u88c5OpenWrt\u53d1\u73b0\u5bbd\u5e26\u6d4b\u901f\u8ddf\u4e0b\u8f7d\u901f\u5ea6\u8dd1\u4e0d\u6ee11000M\u5bbd\u5e26\u95ee\u9898\uff0c\u7ecf\u8fc7\u534a\u5c0f\u65f6\u7684\u7814\u7a76\u6298\u817e\u53d1\u73b0\u95ee\u9898\u51fa\u73b0\u5728\u865a\u62df\u7f51\u5361\u4e0a\u9762\u4e86\uff0c\u4eca\u5929\u5c31\u6765\u8bf4\u8bf4\u7fa4\u6656\u865a\u62df\u673a\u5b89\u88c5OpenWrt\u65c1\u8def\u7531\u9009\u62e9\u7f51\u5361\u7684\u4e00\u4e9b\u5751\u3002<\/p>\n

\"OpenWrt\"<\/a>
OpenWrt<\/figcaption><\/figure>\n

\u7f51\u4e0a\u7684\u4e00\u4e9b\u7fa4\u6656\u865a\u62df\u673aVMM\u88c5\u8f6f\u8def\u7531OpenWrt\u56fa\u4ef6\u90fd\u7279\u522b\u63d0\u9192\u6211\u4eec\u5728\u9009\u62e9e1000\u865a\u62df\u7f51\u5361\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n

\"\"<\/a><\/p>\n

\u662f\u7684\uff0c\u5982\u679c\u5728\u914d\u7f6e\u7f51\u7edc\u7684\u65f6\u5019\u9009\u865a\u62df\u7f51\u5361\u4e3ae1000\uff0cOpenWrt\u7684\u8fde\u63a5\u53e3\u4f1a\u663e\u793a\u4e3a\u5168\u53cc\u5de5\uff0c\u4f46\u662f\u4f60\u5728\u6d4b\u901f\u6216\u8005\u4e0b\u8f7d\u7684\u65f6\u5019\u5c31\u4f1a\u53d1\u73b0\uff0ce1000\u7f51\u5361\u53ea\u80fd\u8dd1200M-300M\u7f51\u901f\u3002<\/p>\n

\"e1000\u7f51\u5361\u6d4b\u901f\"<\/a>
e1000\u7f51\u5361\u6d4b\u901f<\/figcaption><\/figure>\n

\u8d77\u521d\u6211\u8fd8\u6000\u7591\u7fa4\u6656\u88c5OpenWrt\u4e0d\u80fd\u53d1\u6325\u5b83\u7684\u6027\u80fd\uff0c\u4f46\u662f\u4ed4\u7ec6\u60f3\u4e00\u60f3\uff0c\u4e0d\u5e94\u8be5\u554a\uff0c\u6211\u7ed9OpenWrt\u7684\u914d\u7f6e2\u68386G\u600e\u4e48\u4f1a\u4e0d\u591f\u7528\uff1f\u95ee\u9898\u5e94\u8be5\u51fa\u73b0\u5728\u7f51\u5361\u4e0a\u4e86\u3002<\/p>\n

\u7fa4\u6656\u865a\u62df\u673a\u91cc\u53ef\u9009\u4e09\u79cd\u7f51\u5361\uff1avirtio\u3001e1000\u3001rtl8139<\/strong><\/p>\n

\u201ce1000\u201d\u7cfb\u5217\u63d0\u4f9bIntel e1000\u7cfb\u5217\u7684\u7f51\u5361\u6a21\u62df\uff0c\u7eaf\u7684QEMU\uff08\u975eqemu-kvm\uff09\u9ed8\u8ba4\u5c31\u662f\u63d0\u4f9bIntel e1000\u7cfb\u5217\u7684\u865a\u62df\u7f51\u5361\u3002<\/p>\n

\u201cvirtio\u201d \u7c7b\u578b\u662fqemu-kvm\u5bf9\u534a\u865a\u62df\u5316IO\uff08virtio\uff09\u9a71\u52a8\u7684\u652f\u6301\u3002<\/p>\n

\u8fd9\u4e09\u4e2a\u7f51\u5361\u7684\u6700\u5927\u533a\u522b(\u6b64\u5904\u6307\u6700\u9700\u8981\u5173\u6ce8\u7684\u5730\u65b9)\u662f\u901f\u5ea6\uff1a<\/p>\n

rtl8139 10\/100Mb\/s<\/span><\/p>\n

e1000 1Gb\/s<\/span><\/p>\n

virtio 10Gb\/s<\/span><\/p>\n

\u6ce8\u610fvirtio\u662f\u552f\u4e00\u53ef\u4ee5\u8fbe\u523010Gb\/s\u7684\uff0c\u6839\u636e\u6587\u732e\u4e00\uff0c\u5176iperf\u6d4b\u8bd5\u901f\u7387\u53ef\u8fbe\u52309.4\u3002\u6587\u732e1\u8fd8\u63d0\u5230\u5982\u679cvirtio\u914d\u7f6e\u4e0d\u5408\u7406\u901f\u5ea6\u53ea\u80fd\u8fbe\u52303.6\u3002\u4e0d\u7528\u62c5\u5fc3\u8fd9\u4e2a\u60c5\u51b5\uff0c\u7ecf\u67e5\u9a8covirt\u81ea\u5df1\u751f\u6210\u7684\u865a\u62df\u673a\u914d\u7f6e\u90fd\u662f\u5408\u7406\u7684\u3002\uff08 use \u2018-device virtio-net-pci\u2019 option\uff09<\/p>\n

\u5f53\u7136\u8fd9\u5e76\u4e0d\u610f\u5473\u7740rtl8139\u548ce1000\u662f\u6ca1\u6709\u610f\u4e49\u7684\uff0c\u6bd5\u7adfvirtio\u9700\u8981\u5728guest\u4e0a\u9762\u5b89\u88c5\u9a71\u52a8\u3002rtl8139\u548ce1000\u5728\u517c\u5bb9\u7684\u5e7f\u6cdb\u5ea6\u4e0a\u5360\u6709\u4f18\u52bf\u3002\u4f8b\u5982\uff0c\u5982\u679covirt\u7684cpu\u4e0d\u662fx86\uff0c\u800c\u662farm\u6216\u8005\u5176\u5b83\u67d0\u4e9b\u7cfb\u5217cpu\uff0c\u4e0a\u8ff0\u7f51\u5361\u672a\u5fc5\u5168\u90e8\u652f\u6301\u3002\u8fd9\u70b9\u9700\u8981\u6ce8\u610f\u3002<\/p>\n

\u7136\u540e\u6211\u628aOpenWrt\u5173\u673a\uff0c\u7f51\u5361\u4fee\u6539\u6210virtio<\/span>\uff0c\u5f00\u673aOpenWrt speedtest\u6d4b\u901f\uff1a932<\/span><\/p>\n

\"\u6d4b\u901f\"<\/a>
\u6d4b\u901f<\/figcaption><\/figure>\n

\u8fc5\u96f7\u4e0b\u8f7d\u4e5f\u57fa\u672c\u6ee1\u901f\uff1a<\/p>\n

\"\u8fc5\u96f7\u4e0b\u8f7d\u901f\u5ea6\"<\/a>
\u8fc5\u96f7\u4e0b\u8f7d\u901f\u5ea6<\/figcaption><\/figure>\n

\u5982\u679c\u4f60\u9009\u7684\u662fe1000\u7f51\u5361\uff0c\u7f51\u901f\u4e0d\u80fd\u8fbe\u6807\u7684\u8bdd\u53ef\u4ee5\u8bd5\u8bd5\u9009\u62e9virtio<\/strong>\u7f51\u5361\uff0c\u8c8c\u4f3c\u4e00\u4e9b\u9ed1\u7fa4\u6656\u6216\u8005DSM\u7248\u672c6.X\u7684\u53ef\u4ee5\u4f7f\u7528e1000\u7f51\u5361\uff0c\u603b\u4e4b\u81ea\u884c\u6d4b\u8bd5\u5427\u3002<\/p>\n

\u6211\u7684\u5bb6\u5ead\u7f51\u7edc\u786c\u4ef6\u914d\u7f6e\uff1a<\/strong><\/p>\n

\u5bbd\u5e26\uff1a\u7535\u4fe11000M\u5bbd\u5e26<\/p>\n

\u7fa4\u6656\uff1aDS920+<\/p>\n

\u4ea4\u6362\u673a\uff1aTP-LINK\u5343\u51468\u53e3\u4ea4\u6362\u673a<\/p>\n

\u8f6f\u8def\u7531\uff1a\u53cb\u5584R4S<\/p>\n

\u8def\u7531\u5668\uff1a\u4e3b\u8def\u7531\u5668(\u5ba2\u5385)TL-XDR5480+TL-XDR3010(\u4e3b\u5367)\u7ec4\u6709\u7ebfMESH\uff0c\u4e5f\u5c31\u662fAP\u6a21\u5f0f\uff0c\u6709\u7ebf\u4e2d\u7ee7\u3002<\/p>\n

\u660e\u5e74\u53ef\u4ee5\u63622.5G\u7f51\u53e3\u7684\u8f6f\u8def\u7531\u8ddf2.5G\u7684\u4ea4\u6362\u673a\u3002<\/p>\n

\u7ed3\u8bed\uff1a<\/strong><\/p>\n

\u5173\u4e8e\u7fa4\u6656\u865a\u62df\u673a\u88c5OpenWrt\uff0c\u6211\u4f7f\u7528\u4e86\u51e0\u5929\uff0c\u53d1\u73b0\u7f51\u7edc\u5360\u7528\u9ad8\u7684\u65f6\u5019CPU\u5360\u7528\u8fbe\u5230\u4e8670-80\uff0c\u6700\u91cd\u8981\u7684\u662f\u53d1\u73b0\u4e86\u4e00\u4e2a\u795e\u5947\u7684bug\uff0c\u5c31\u662f\u624b\u673awifi\u4e0a\u7f51\u5728\u6253\u5f00\u5fae\u4fe1\u9ad8\u6e05\u56fe\u7247\u7684\u65f6\u5019\u52a0\u8f7d\u9700\u89815-8\u79d2\u7684\u65f6\u95f4\uff0c\u6253\u5f00\u5fae\u4fe1\u7684\u65f6\u5019\u53c8\u8fde\u63a5\u4e2d...\u8fd9\u4e2a\u4e0d\u80fd\u5fcd\uff0c\u5e94\u8be5\u662f\u865a\u62df\u673a\u88c5\u7684\u5355\u961f\u5217\u7684OpenWrt\u53ea\u662f\u5355\u961f\u5217\u53ea\u6709\u4e00\u4e2a\u6838\u5728\u5904\u7406\u62a5\u6587\uff0c\u6211\u4e5f\u6ca1\u6709\u6298\u817e\u4e86\uff0c\u6539\u56deR4S\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7531\u4e8e\u5165\u624b\u4e86\u7fa4\u6656NAS\u7cfb\u7edf\uff0c\u524d\u51e0\u5929\u628a\u5728\u4f7f\u7528\u7684R4S\u8f6f\u8def\u7531\u4ece\u591a\u5a92\u4f53\u7bb1\u62c6\u4e0b\u6765\u4e86\uff0c\u7528\u7fa4\u6656\u7684VMM\u865a\u62df\u673a\u88c5OpenWrt\u53d1\u73b0\u5bbd\u5e26\u6d4b\u901f\u8ddf\u4e0b\u8f7d\u901f\u5ea6\u8dd1\u4e0d\u6ee11000M\u5bbd\u5e26\u95ee\u9898\uff0c\u7ecf\u8fc7\u534a\u5c0f\u65f6\u7684\u7814\u7a76\u6298\u817e\u53d1\u2026<\/p>\n","protected":false},"author":680,"featured_media":9189,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2876,2877,2874,2875,2873],"attr":[],"class_list":{"0":"post-9188","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-ruanluyou","8":"tag-openwrt","13":"entry"},"views":26782,"_links":{"self":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/9188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/users\/680"}],"replies":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/comments?post=9188"}],"version-history":[{"count":0,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/9188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media\/9189"}],"wp:attachment":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media?parent=9188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/categories?post=9188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/tags?post=9188"},{"taxonomy":"attr","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/attr?post=9188"}],"curies":[{"name":"wp","href":"http:\/\/api.w.org\/{rel}","templated":true}]}}