{"id":265041,"date":"2023-03-10T09:00:44","date_gmt":"2023-03-10T01:00:44","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=265041"},"modified":"2023-02-24T16:08:35","modified_gmt":"2023-02-24T08:08:35","slug":"cross-cpu","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/cross-cpu.html","title":{"rendered":"Linux\u6027\u80fd\u8865\u4e01\u5347\u7ea7,\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u8de8\u6838Wake-Up"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e00\u4e2a\u7531\u82f1\u7279\u5c14\u53d1\u8d77\u7684\u3001\u65e8\u5728\u6539\u8fdbLinux\u5185\u6838\u516c\u5e73\u8c03\u5ea6\u7a0b\u5e8f\u4ee3\u7801\u7684\u8865\u4e01\u7cfb\u5217\uff0c\u4e5f\u770b\u5230\u4e86\u6765\u81eaAMD\u5de5\u7a0b\u5e08\u548c\u5176\u4ed6\u5229\u76ca\u76f8\u5173\u8005\u7684\u6d4b\u8bd5\/\u53cd\u9988\uff0c\u5e76\u7ee7\u7eed\u8fdb\u884c\u6539\u8fdb\u3002\u8fd9\u4e2a\u8865\u4e01\u7cfb\u5217\u7684\u91cd\u70b9\u662f\u907f\u514d\u5728\u4e0d\u5fc5\u8981\u7684\u60c5\u51b5\u4e0b\u53d1\u751f\u8fc7\u591a\u7684\u8de8\u6838\u5524\u9192(Cross-CPU Wake-up)\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u8fd9\u4e9b\u8865\u4e01\u6709\u52a9\u4e8e\u63d0\u9ad8Linux\u7684\u6027\u80fd\uff0c\u7279\u522b\u662f\u5728\u9ad8\u6838\u6570\u7cfb\u7edf\u4e0a\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u82f1\u7279\u5c14\u5de5\u7a0b\u5e08Chen Yu\u5728Patch\u524d\u7684\u89e3\u91ca\u63d0\u5230\uff1aLinux\u5185\u6838\u8c03\u5ea6\u5668\u7684\u6539\u8fdb\u662f\u56f4\u7ed5\u5524\u9192\u5f53\u524dCPU\u4e0a\u7684\u77ed\u4efb\u52a1\uff0c\u4ee5\u907f\u514d\u8de8\u6838CPU\u5524\u9192\u3002
\n\u5982\u679c\u5524\u9192\u8005\u548c\u88ab\u5524\u9192\u8005\u90fd\u662f\u77ed\u65f6\u4efb\u52a1\uff0c\u901a\u8fc7\u5c06\u88ab\u5524\u9192\u8005\u653e\u5728\u88ab\u5524\u9192\u7684CPU\u4e0a\u6765\u6291\u5236\u8de8CPU\u5524\u9192\u3002\u77ed\u65f6\u95f4\u7684\u4efb\u52a1\u53ef\u80fd\u4f1a\u6210\u4e3a\u9ad8\u8d1f\u8377\u7cfb\u7edf\u7684\u9ebb\u70e6\u5236\u9020\u8005\uff0c\u56e0\u4e3a\u5b83\u53ef\u80fd\u5e26\u6765\u9891\u7e41\u7684\u4e0a\u4e0b\u6587\u5207\u6362\u3002\u8fd9\u4e2a\u7b56\u7565\u53ea\u5728\u7cfb\u7edf\u7e41\u5fd9\u65f6\u751f\u6548\u3002\u56e0\u4e3a\u5f53\u8fd8\u6709\u95f2\u7f6e\u7684CPU\u65f6\uff0c\u6291\u5236\u95f2\u7f6eCPU\u7684\u626b\u63cf\u662f\u4e0d\u5408\u7406\u7684\u3002<\/p>\n

\u9996\u5148\uff0c\u4ecb\u7ecd\u4e00\u4e0b\u77ed\u65f6\u4efb\u52a1\u7684\u5b9a\u4e49\u3002\u7136\u540e\u5229\u7528\u7b2c\u4e00\u4e2a\u8865\u4e01\uff0c\u9009\u62e9\u4e00\u4e2a\u672c\u5730CPU\u8fdb\u884c\u5524\u9192\u3002<\/p>\n

AMD\u548c\u82f1\u7279\u5c14\u5e73\u53f0\u90fd\u4ece\u5f00\u53d1\u4e2d\u7684\u8865\u4e01\u4e2d\u53d7\u76ca\u3002\u53d7\u76ca\u60c5\u51b5\u6839\u636e\u5de5\u4f5c\u8d1f\u8f7d\u548c\u7cfb\u7edf\u9996\u5148\u7684\u7e41\u5fd9\u7a0b\u5ea6\u800c\u4e0d\u540c\u3002\u8fd9\u4e9b\u8865\u4e01\u7279\u522b\u6709\u5229\u4e8eAMD EPYC\u548c\u82f1\u7279\u5c14\u81f3\u5f3a\u670d\u52a1\u5668\u5904\u7406\u5668\uff0c\u4ee5\u53ca\u5176\u4ed6\u5177\u6709\u9ad8\u6838\u5fc3\u6570\u7684HEDT\u7cfb\u7edf\u3002
\n\u603b\u7684\u6765\u8bf4\uff0c\u5728\u4e00\u4e9b\u8fc7\u8f7d\u7684\u60c5\u51b5\u4e0b\u6709\u6027\u80fd\u7684\u6539\u5584\u3002\u6bd4\u5982will-it-scale\uff0cnetperf\u3002\u800c\u5728\u82f1\u7279\u5c14\u81f3\u5f3a2 x 56C\u673a\u5668\u4e0a\u6d4b\u8bd5\u7684schbench\u3001hackbench\u3001tbench\u548c\u5546\u4e1aRDBMS\u7684OLTP\u5de5\u4f5c\u8d1f\u8f7d\u4e0a\uff0c\u6ca1\u6709\u660e\u663e\u7684\u5f71\u54cd\u3002<\/p>\n

\u6839\u636ePrateek\u5728Zen3\u4e0a\u7684\u6d4b\u8bd5\uff0c\u5927\u591a\u6570\u57fa\u51c6\u6d4b\u8bd5\u7684\u7ed3\u679c\u90fd\u662f\u5c0f\u80dc\u6216\u4e0esched:tip\u76f8\u5f53\u3002SpecJBB\u7684Critical-jOps\u5f97\u5230\u4e86\u6539\u5584\uff0c\u800cMax-jOPS\u53d7\u5230\u4e86\u4e0d\u592a\u6210\u529f\uff0c\u4f46\u8fd9\u53ef\u80fd\u662f\u5728\u9884\u671f\u8303\u56f4\u5185\u3002<\/p>\n

\u5f53\u5ba2\u6237\u6570\u91cf\u7b49\u4e8eCPU\u65f6\uff0c\u5728Rome 2 x 64C\u673a\u5668\u4e0a\u89c2\u5bdf\u5230netperf(localhost)\u7684\u541e\u5410\u91cf\u6539\u5584\u3002<\/p>\n

\u603b\u7684\u6765\u8bf4\uff0c\u8fd9\u4e9b\u597d\u5904\u4f3c\u4e4e\u5f88\u5c0f\uff0c\u4f46\u53ef\u4ee5\u6d4b\u91cf\u3002\u8003\u8651\u5230\u8bb8\u591a\u4e0d\u540c\u65b9\u9762\u6240\u8ffd\u6c42\u6781\u81f4\u7684\u5185\u6838\u4f18\u5316\uff0c\u6bcf\u4e00\u70b9\u90fd\u6709\u5e2e\u52a9\uff0c\u800c\u4e14\u975e\u5e38\u53d7\u6b22\u8fce\u3002\u5f53\u8fd9\u4e9b\u6700\u65b0\u7684\u8865\u4e01\u8fdb\u5165\u4e3b\u7ebf\u65f6\uff0c\u6211\u5c06\u5bf9\u5b83\u4eec\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n

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

\u4eca\u5929\u5bf9\u8865\u4e01\u8fdb\u884c\u4e86\u7b2c\u516d\u6b21\u4fee\u8ba2\uff0c\u66f4\u65b0\u4e86\u56f4\u7ed5\u68c0\u67e5\u5524\u9192\/\u5524\u9192CPU\u9009\u62e9\u7684\u884c\u4e3a\uff0c\u4ee5\u907f\u514d\u53ef\u80fd\u51fa\u73b0\u7684Redis\u6027\u80fd\u5012\u9000\u3002<\/p>\n

\u73b0\u5728\u770b\u5230\u8fd9\u4e2a\u8c03\u5ea6\u5668\u589e\u5f3a\u529f\u80fd\u5728v6.3\u5185\u6838\u4e2d\u51fa\u73b0\u5df2\u7ecf\u592a\u665a\u4e86\uff0c\u4f46\u6211\u4eec\u4f1a\u770b\u5230\u8fd9\u9879\u5de5\u4f5c\u5728\u672a\u6765\u51e0\u5468\/\u51e0\u4e2a\u6708\u5185\u7684\u8fdb\u5c55\uff0c\u5e0c\u671b\u6700\u7ec8\u80fd\u5728\u672a\u6765\u7684Linux\u5185\u6838\u7248\u672c\u4e2d\u6210\u4e3a\u5bf9\u4eca\u5929\u7684\u9ad8\u6838\u5fc3\u6570\u670d\u52a1\u5668\u6709\u76ca\u7684\u6539\u8fdb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u82f1\u7279\u5c14\u5de5\u7a0b\u5e08Chen Yu\u5728Patch\u524d\u7684\u89e3\u91ca\u63d0\u5230\uff1aLinux\u5185\u6838\u8c03\u5ea6\u5668\u7684\u6539\u8fdb\u662f\u56f4\u7ed5\u5524\u9192\u5f53\u524dCPU\u4e0a\u7684\u77ed\u4efb\u52a1\uff0c […]<\/p>\n","protected":false},"author":370,"featured_media":235333,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-265041","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\/265041","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\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=265041"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265041\/revisions"}],"predecessor-version":[{"id":265242,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265041\/revisions\/265242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/235333"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=265041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=265041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=265041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}