{"id":53478,"date":"2023-06-09T21:49:06","date_gmt":"2023-06-09T13:49:06","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=53478"},"modified":"2023-06-09T21:49:06","modified_gmt":"2023-06-09T13:49:06","slug":"linux-410-changes","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-410-changes.html","title":{"rendered":"Linux 4.10 \u5c06\u5e26\u6765\u6df1\u8fdc\u5f71\u54cd\u7684\u4e09\u9879\u5c0f\u6539\u53d8"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nLinux\u7684\u6f14\u8fdb\u6c38\u4e0d\u505c\u6b47\u3002Linus Torvalds\u4e00\u76f4\u5728\u52aa\u529b\u5de5\u4f5c\uff0c\u5e0c\u671b\u80fd\u591f\u5728\u65b0\u7684\u5185\u6838\u7248\u672c\u5f53\u4e2d(4.11)\u878d\u5165\u66f4\u591a\u53d8\u5316\u3002\u4e0d\u8fc7\u5728\u76ee\u524d\u7684Linux 4.10\u4e2d\uff0c\u6211\u4eec\u540c\u6837\u53d1\u73b0\u4e86\u4e09\u7ec4\u80fd\u591f\u6709\u6548\u63d0\u5347\u6027\u80fd\u5e76\u5b9e\u73b0\u591a\u79cd\u524d\u6240\u672a\u6709\u529f\u80fd\u96c6\u7684\u53d8\u66f4\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Linux\u7684\u6f14\u8fdb\u6c38\u4e0d\u505c\u6b47\u3002Linus Torvalds\u4e00\u76f4\u5728\u52aa\u529b\u5de5\u4f5c\uff0c\u5e0c\u671b\u80fd\u591f\u5728\u65b0\u7684\u5185\u6838\u7248\u672c\u5f53\u4e2d(4.11)\u878d\u5165\u66f4\u591a\u53d8\u5316\u3002\u4e0d\u8fc7\u5728\u76ee\u524d\u7684Linux 4.10\u4e2d\uff0c\u6211\u4eec\u540c\u6837\u53d1\u73b0\u4e86\u4e09\u7ec4\u80fd\u591f\u6709\u6548\u63d0\u5347\u6027\u80fd\u5e76\u5b9e\u73b0\u591a\u79cd\u524d\u6240\u672a\u6709\u529f\u80fd\u96c6\u7684\u53d8\u66f4\u3002
\n\u4e0b\u9762\uff0c\u6211\u4eec\u5c06\u5171\u540c\u4e86\u89e3\u8fd9\u4e9b\u53ef\u80fd\u5bf9\u60a8\u3001\u60a8\u7684\u4e91\u670d\u52a1\u4f9b\u5e94\u5546\u4ee5\u53caLinux\u5e94\u7528\u7a0b\u5e8f\u62e5\u6709\u91cd\u8981\u5f71\u54cd\u7684\u53d8\u5316\u3002
\n\"\"<\/p>\n

1. \u865a\u62df\u5316GPU<\/strong><\/div>\n

\u6beb\u65e0\u7591\u95ee\uff0cGPU\u5c5e\u4e8e\u4e00\u7c7b\u5f88\u96be\u5728\u865a\u62df\u673a\u4e2d\u6210\u529f\u6a21\u62df\u7684\u786c\u4ef6\u3002\u4e00\u822c\u6765\u8bb2\uff0c\u865a\u62df\u673a\u4f1a\u63d0\u4f9b\u5b83\u5b9a\u5236\u5316\u7684\u9a71\u52a8\u7a0b\u5e8f(\u901f\u5ea6\u5f88\u6162)\uff0c\u800c\u56fe\u5f62\u8c03\u7528\u5219\u5fc5\u987b\u5728\u8bbf\u5ba2\u4e0e\u4e3b\u673a\u95f4\u8fdb\u884c\u7ffb\u8bd1(\u901f\u5ea6\u5f88\u6162)\u3002\u7406\u60f3\u7684\u89e3\u51b3\u65b9\u6848\u81ea\u7136\u662f\u5728\u8bbf\u5ba2\u7cfb\u7edf\u5185\u8fd0\u884c\u4e0e\u4e3b\u8981\u76f8\u540c\u7684\u56fe\u5f62\u9a71\u52a8\u7a0b\u5e8f\uff0c\u4ece\u800c\u5c06\u4e00\u5207\u5fc5\u8981\u8c03\u7528\u76f4\u63a5\u6307\u5411GPU\u3002<\/p>\n

\u4f46\u5355\u7eaf\u80fd\u591f\u8fd0\u884c\u8fd8\u8fdc\u8fdc\u4e0d\u591f\uff0c\u6bd5\u7adf\u6709\u4e9b\u7528\u6237\u53ef\u80fd\u5e0c\u671b\u5728\u865a\u62df\u673a\u4e2d\u8fd0\u884c\u300a\u6218\u57301\u300b\u8fd9\u6837\u7684\u5927\u578b\u6e38\u620f\u3002\u8fd9\u610f\u5473\u7740\u6bcf\u4e00\u79cd\u7531GPU\u63d0\u4f9b\u7684\u8d44\u6e90\u2014\u2014\u5305\u62ec\u901a\u8fc7CUDA\u7b49\u5e93\u63d0\u4f9b\u7684GPU\u52a0\u901f\u6d41\u7a0b\u2014\u2014\u7686\u53ef\u5982\u5e38\u89c4\u975e\u865a\u62df\u673a\u8bbe\u5907\u4e00\u6837\u8fd0\u884c\u5728\u865a\u62df\u673a\u5185\u3002<\/p>\n

\u82f1\u7279\u5c14\u516c\u53f8\u63a8\u51fa\u4e86\u4e00\u7ec4\u5904\u7406\u5668\u6269\u5c55\uff0c\u540d\u4e3aGVT-G\uff0c\u4e13\u95e8\u7528\u4e8e\u5b9e\u73b0\u4e0a\u8ff0\u76ee\u6807\u3002\u7136\u800c\u76f4\u5230Linux 4.10\uff0c\u6211\u4eec\u624d\u7ec8\u4e8e\u80fd\u591f\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u9762\u5bf9GVT-G\u52a0\u4ee5\u652f\u6301\u3002\u9664\u4e86\u901a\u8fc7KVM\u652f\u6301\u6b64\u9879\u529f\u80fd(\u5373KVMGT)\uff0c\u82f1\u7279\u5c14\u8fd8\u8d21\u732e\u4e86\u9762\u5411Xen\u4e0eQEMU\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u7684\u56fe\u5f62\u5904\u7406\u652f\u6301\u65b9\u6848\u3002<\/p>\n

\u5728\u5185\u6838\u4e2d\u76f4\u63a5\u652f\u6301GVT-G\u610f\u5473\u7740\u7b2c\u4e09\u65b9\u4ea7\u54c1\u80fd\u591f\u5728\u65e0\u9700\u5bf9\u5185\u6838\u8fdb\u884c\u8c03\u6574\u7684\u60c5\u51b5\u4e0b\u5bf9\u76f8\u5173\u8d44\u6e90\u52a0\u4ee5\u5229\u7528\u3002\u8fd9\u7c7b\u4f3c\u4e8eDocker\u5c06\u4e00\u7cfb\u5217\u672c\u5730Linux\u529f\u80fd\u8f6c\u5316\u4e3aDevOps\u89e3\u51b3\u65b9\u6848\u7684\u4f5c\u6cd5\uff0c\u5b83\u4eec\u6210\u529f\u7684\u6839\u6e90\u5728\u4e8e\u6b64\u7c7b\u7279\u6027\u9002\u7528\u4e8e\u5927\u591a\u6570\u73b0\u4ee3Linux\u7248\u672c\u3002<\/p>\n

2. \u66f4\u51fa\u8272\u7684\u7f13\u5b58\u63a7\u5236\u6280\u672f<\/strong><\/div>\n

\u5982\u4eca\u7684CPU\u62e5\u6709\u5f3a\u5927\u7684\u5904\u7406\u901f\u5ea6\u3002\u7136\u800c\uff0c\u4ece\u4e3b\u5b58\u50a8\u5668\u5185\u63d0\u53d6\u6570\u636e\u7684\u901f\u5ea6\u9650\u5236\u4e86CPU\u7684\u6027\u80fd\uff0c\u56e0\u6b64\u6211\u4eec\u9700\u8981\u5229\u7528\u7f13\u5b58\u8ba9\u6570\u636e\u5c3d\u53ef\u80fd\u4e0eCPU\u8d34\u8fd1\u3002\u9664\u4e86\u7f13\u5b58\u5bb9\u91cf\u8fd9\u4e00\u9650\u5236\u56e0\u7d20\u4e4b\u5916\uff0c\u4ee5\u5f80\u7684\u64cd\u4f5c\u7cfb\u7edf\u5728\u7f13\u5b58\u7ba1\u7406\u65b9\u9762\u4e5f\u5b58\u5728\u77ed\u677f\u3002\u800cLinux 4.10\u5c31\u6b64\u63d0\u4f9b\u4e86\u591a\u79cd\u65b0\u578b\u6280\u672f\u4e0e\u5de5\u5177\u3002<\/p>\n

\u9996\u5148\uff0cLinux 4.10\u652f\u6301\u82f1\u7279\u5c14\u7f13\u5b58\u5206\u914d\u6280\u672f(\u7b80\u79f0CAT)\uff0c\u8fd9\u9879\u529f\u80fd\u53ef\u7528\u4e8eHaswell\u53ca\u4e4b\u540e\u7684\u82af\u7247\u7ec4\u3002\u5229\u7528CAT\uff0c\u4e09\u7ea7(\u53ca\u66f4\u9ad8\u7248\u672c\u7684\u4e8c\u7ea7)\u7f13\u5b58\u7a7a\u95f4\u53ef\u9762\u5411\u7279\u5b9a\u4efb\u52a1\u8fdb\u884c\u5206\u914d\u4e0e\u4fdd\u7559\uff0c\u610f\u5473\u7740\u7279\u5b9a\u5e94\u7528\u7f13\u5b58\u4e0d\u4f1a\u88ab\u5176\u4ed6\u5e94\u7528\u6240\u5237\u65b0\u3002CAT\u8fd8\u9488\u5bf9\u57fa\u4e8e\u7f13\u5b58\u7684\u8ba1\u65f6\u653b\u51fb\u63d0\u4f9b\u4e00\u5b9a\u7a0b\u5ea6\u4fdd\u62a4\u2014\u2014\u5f88\u660e\u663e\uff0c\u73b0\u4ee3\u8ba1\u7b97\u4f53\u7cfb\u4e2d\u7684\u6bcf\u4e00\u4e2a\u89d2\u843d\u90fd\u6709\u53ef\u80fd\u88ab\u5229\u7528\u4e3a\u653b\u51fb\u5411\u91cf\u3002<\/p>\n

\u4e0e\u8fd9\u9879\u7279\u6027\u4e00\u9053\u51fa\u73b0\u7684\u4e3aperf c2c\u3002\u8fd9\u6b3e\u65b0\u578b\u7cfb\u7edf\u5de5\u5177\u9002\u7528\u4e8e\u5b58\u5728\u591a\u4e2a\u63d2\u69fd\u4e14\u91c7\u53d6\u975e\u5747\u5300\u5185\u5b58\u8bbf\u95ee(\u7b80\u79f0NUMA)\u673a\u5236\u7684\u7cfb\u7edf\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5404\u7ebf\u7a0b\u8fd0\u884c\u5728\u4e0d\u540cCPU\u4e4b\u4e0a\uff0c\u56e0\u6b64\u53ef\u80fd\u7531\u4e8e\u8bd5\u56fe\u4fee\u6539\u540c\u4e00\u5185\u5b58\u533a\u6bb5\u800c\u5bfc\u81f4\u8fd0\u884c\u6548\u7387\u4f4e\u4e0b\u3002Perf c2c\u80fd\u591f\u6709\u6548\u89e3\u51b3\u8fd9\u4e00\u6027\u80fd\u95ee\u9898\uff0c\u4e0d\u8fc7\u4e0eCAT\u7c7b\u4f3c\u5b83\u540c\u6837\u53ea\u9002\u7528\u4e8e\u82f1\u7279\u5c14\u5904\u7406\u5668\u3002<\/p>\n

3. \u56de\u5199\u7ba1\u7406<\/strong><\/div>\n

\u201c\u4ece\u8bde\u751f\u4ee5\u6765\uff0cLinux\u901a\u8fc7\u8fdb\u7a0b\u5c06\u5199\u5165\u5185\u5b58\u7684\u6570\u636e\u540c\u6b65\u81f3\u78c1\u76d8(\u5373\u540e\u53f0\u56de\u5199)\u673a\u5236\u5c31\u4e00\u76f4\u9971\u53d7\u8bdf\u75c5\uff0c\u201dKernelNewbies.org\u5728\u76f8\u5173\u8bc4\u8bba\u6587\u7ae0\u4e2d\u6307\u51fa\u3002\u800c\u57284.10\u7248\u672c\u4e2d\uff0c\u8be5I\/O\u8bf7\u6c42\u961f\u5217\u4f1a\u63a5\u53d7\u76d1\u63a7\u4ee5\u628a\u63e1\u5176\u8bf7\u6c42\u5ef6\u8fdf\uff0c\u4e14\u90a3\u4e9b\u53ef\u80fd\u9020\u6210\u66f4\u9ad8\u5ef6\u8fdf(\u7279\u522b\u9ad8\u5199\u5165\u5f3a\u5ea6\u64cd\u4f5c)\u7684\u64cd\u4f5c\u4f1a\u88ab\u6682\u505c\u4ee5\u5141\u8bb8\u5176\u4ed6\u7ebf\u7a0b\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

\u53e6\u4e00\u9879\u4f5c\u7528\u5927\u4f53\u76f8\u540c\u7684\u5b9e\u9a8c\u6027\u529f\u80fd\u4e3a\u63d0\u4f9b\u4e00\u5957RAID5\u56de\u5199\u7f13\u5b58(\u9ed8\u8ba4\u5173\u95ed)\uff0c\u8fd9\u610f\u5473\u7740\u9762\u5411RAID5\u9635\u5217\u5185\u591a\u5757\u78c1\u76d8\u7684\u5199\u5165\u64cd\u4f5c\u53ef\u4ee5\u8fdb\u884c\u5408\u5e76\u3002\u53e6\u4e00\u5b9e\u9a8c\u6027\u529f\u80fd\u6df7\u5408\u5757\u8f6e\u8be2(\u9ed8\u8ba4\u5173\u95ed)\u63d0\u4f9b\u4e00\u79cd\u65b0\u7684\u65b9\u5f0f\u5bf9\u6570\u636e\u541e\u5410\u91cf\u5de8\u5927\u7684\u8bbe\u5907\u8fdb\u884c\u8f6e\u8be2\u3002\u6b64\u7c7b\u8f6e\u8be2\u6709\u52a9\u4e8e\u63d0\u5347\u6027\u80fd\uff0c\u4f46\u82e5\u8f6e\u8be2\u9891\u7387\u8fc7\u9ad8\u5219\u53ef\u80fd\u5f15\u53d1\u9ebb\u70e6\uff1b\u65b0\u7684\u8f6e\u8be2\u673a\u5236\u80fd\u591f\u786e\u4fdd\u5b9e\u73b0\u6027\u80fd\u63d0\u5347\u4f46\u53c8\u4e0d\u81f3\u4e8e\u5360\u7528\u8fc7\u591aCPU\u8d44\u6e90\u3002<\/p>\n

\u4e0a\u8ff0\u8c03\u6574\u53ef\u80fd\u4f1a\u5bf9\u4e91\u8ba1\u7b97\u5b9e\u4f8b\u5e26\u6765\u53ef\u89c2\u7684\u79ef\u6781\u5f71\u54cd\u3002Amazon\u63d0\u4f9b\u7684\u591a\u79cd\u5b9e\u4f8b\u7c7b\u578b\u5c31\u6b63\u597d\u7b26\u5408\u5176\u9002\u7528\u8303\u56f4\uff0c\u800c\u5185\u6838\u5c42\u9762\u7684\u6539\u8fdb\u5219\u80fd\u591f\u5728\u8bfb\u53d6\u4e0e\u5199\u5165\u64cd\u4f5c\u4e4b\u95f4\u5e26\u6765\u66f4\u7406\u60f3\u7684\u5e73\u8861\u6548\u679c\u3002\u56e0\u6b64\u53ef\u4ee5\u80af\u5b9a\u7684\u662f\uff0cLinux 4.10\u7684\u8fd9\u51e0\u9879\u5c0f\u5c0f\u6539\u53d8\u5c06\u53d7\u5230\u6574\u4e2a\u6280\u672f\u4e1a\u754c\u7684\u70ed\u70c8\u6b22\u8fce\u3002<\/p>\n

\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/linux-410-changes.html<\/a>\u7f16\u8f91\uff1a\u70e8\u5b50\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb Linux\u7684\u6f14\u8fdb\u6c38\u4e0d\u505c\u6b47\u3002Linus Torvalds\u4e00\u76f4\u5728\u52aa\u529b\u5de5\u4f5c\uff0c\u5e0c\u671b\u80fd\u591f\u5728\u65b0\u7684\u5185\u6838\u7248\u672c\u5f53\u4e2d(4.1 […]<\/p>\n","protected":false},"author":63,"featured_media":48726,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-53478","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/53478","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=53478"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/53478\/revisions"}],"predecessor-version":[{"id":274640,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/53478\/revisions\/274640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/48726"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=53478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=53478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=53478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}