{"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":"
\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 \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 \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 |