{"id":245267,"date":"2022-06-24T09:00:52","date_gmt":"2022-06-24T01:00:52","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=245267"},"modified":"2022-06-18T18:13:34","modified_gmt":"2022-06-18T10:13:34","slug":"amd-linux-program","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/amd-linux-program.html","title":{"rendered":"AMD \u8fd1\u65e5\u63d0\u4ea4\u7684\u4e00\u4e2a\u8865\u4e01\u8fdb\u4e00\u6b65\u8c03\u6574 Linux \u5185\u6838\u7684\u8c03\u5ea6\u7a0b\u5e8f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u636e\u5916\u5a92 Phoronix \u62a5\u9053 \uff0cAMD \u8fd1\u65e5\u63d0\u4ea4\u7684\u4e00\u4e2a\u8865\u4e01\u53ef\u4ee5\u8fdb\u4e00\u6b65\u8c03\u6574 Linux \u5185\u6838\u7684\u8c03\u5ea6\u7a0b\u5e8f\u56f4\u7ed5 NUMA \u7684\u4e0d\u5e73\u8861\u72b6\u6001\uff0c\u5bf9\u4e8e\u67d0\u4e9b\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u8be5\u8c03\u5ea6\u7a0b\u5e8f\u7684\u8c03\u6574\u8865\u4e01\u53ef\u663e\u8457\u6539\u5584\u57fa\u4e8e AMD Zen \u7684\u7cfb\u7edf\u6027\u80fd\uff0c\u751a\u81f3\u5728 Intel Xeon \u670d\u52a1\u5668\u4e0a\u4e5f\u53ef\u63d0\u4f9b\u5e2e\u52a9\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u8865\u4e01\u7684\u5185\u5bb9\u4e3b\u8981\u4e3a\uff1a\u5f53 find_idlest_group () \u51fd\u6570\u4e2d\u5141\u8bb8 NUMA \u4e0d\u5e73\u8861\u65f6\uff0c\u516c\u5e73\u8c03\u5ea6\u7a0b\u5e8f\u7684\u66f4\u6539\u6b63\u5728\u8003\u8651 CPU \u4eb2\u548c\u6027\u3002AMD \u5de5\u7a0b\u5e08 K Prateek Nayak \u89e3\u91ca\u8bf4\uff1a<\/p>\n

\u5bf9\u4e8e\u6bcf\u4e2a\u63d2\u69fd\u5305\u542b\u591a\u4e2a LLC \u7684\u7cfb\u7edf\uff0c\u4f8b\u5982 AMD Zen \u7cfb\u7edf\uff0c\u7528\u6237\u5e0c\u671b\u5c06\u9700\u8981\u5e26\u5bbd\u7684\u5e94\u7528\u7a0b\u5e8f\u5206\u5e03\u5728\u591a\u4e2a LLC \u4e0a\u3002Stream \u5c31\u662f\u8fd9\u6837\u4e00\u79cd\u5177\u6709\u4ee3\u8868\u6027\u7684\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u5176\u4e2d\u901a\u8fc7\u9650\u5236\u6bcf\u4e2a LLC \u4e00\u4e2a\u6d41\u7ebf\u7a0b\u6765\u83b7\u5f97\u6700\u4f73\u6027\u80fd\u3002<\/p>\n

\u4e3a\u4e86\u786e\u4fdd\u8fd9\u4e00\u70b9\uff0c\u5df2\u77e5\u7528\u6237\u5c06\u4efb\u52a1\u56fa\u5b9a\u5230\u6307\u5b9a\u7684 CPU \u5b50\u96c6\uff0c\u6bcf\u4e2a LLC \u7531\u4e00\u4e2a CPU \u7ec4\u6210\uff0c\u540c\u65f6\u8fd0\u884c\u6b64\u7c7b\u9700\u8981\u5e26\u5bbd\u7684\u4efb\u52a1\u3002<\/p>\n

\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u672c\u5730\u7ec4\u4e2d\u5141\u8bb8\u7684 CPU \u6570\u91cf\u662f\u5426\u5c11\u4e8e\u672c\u5730\u7ec4\u4e2d\u8fd0\u884c\u7684\u4efb\u52a1\u6570\u6765\u68c0\u6d4b\u5e76\u907f\u514d\u8fd9\u79cd\u5806\u79ef\uff0c\u5e76\u4f7f\u7528\u6b64\u4fe1\u606f\u5c06\u4efb\u52a1\u5206\u6563\u5230\u4e0b\u4e00\u4e2a\u5957\u63a5\u5b57\u4e2d\uff08\u6bd5\u7adf\uff0c\u6b64\u6162\u901f\u8def\u5f84\u7684\u76ee\u6807\u662f\u5728\u521d\u59cb\u653e\u7f6e\u671f\u95f4\u627e\u5230\u6700\u7a7a\u95f2\u7684\u7ec4\u548c\u6700\u7a7a\u95f2\u7684 CPU\u3002\uff09<\/p>\n

Stream \u5185\u5b58\u57fa\u51c6\u6d4b\u8bd5\u7528\u4f8b\u7ed3\u679c\u663e\u793a\uff1a\u5bf9\u5f53\u524d\u7684 Linux \u5185\u6838\u6765\u8bf4\uff0c\u6b64\u8865\u4e01\u53ef\u4f7f Stream \u53d7\u76ca 36~44%\uff0c\u6027\u80fd\u63d0\u9ad8\u7ea6 40% \uff1a<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\u800c\u4e14\u8fd9\u4e2a\u5185\u6838\u8865\u4e01\u53ea\u6709\u51e0\u884c\u4ee3\u7801\uff1a<\/p>\n

\"\"<\/p>\n

\u76ee\u524d\u8be5\u8865\u4e01\u5df2\u6392\u5165 sched\/core \u961f\u5217\uff0c\u5982\u679c\u6ca1\u6709\u5176\u4ed6\u7a81\u53d1\u60c5\u51b5\uff0c\u5e94\u8be5\u4f1a\u5728 Linux 5.20 \u4e2d\u5f15\u5165\u3002<\/p>\n

\u66f4\u591a\u6280\u672f\u7ec6\u8282\u53ef\u5728\u8865\u4e01\u90ae\u4ef6\u4e2d\u9605\u8bfb\u3002 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u8865\u4e01\u7684\u5185\u5bb9\u4e3b\u8981\u4e3a\uff1a\u5f53 find_idlest_group () \u51fd\u6570\u4e2d\u5141\u8bb8 NUMA \u4e0d\u5e73\u8861\u65f6\uff0c\u516c\u5e73\u8c03\u5ea6\u7a0b\u5e8f\u7684 […]<\/p>\n","protected":false},"author":1920,"featured_media":234385,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-245267","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\/245267","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\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=245267"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245267\/revisions"}],"predecessor-version":[{"id":245307,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245267\/revisions\/245307"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/234385"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=245267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=245267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=245267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}