{"id":18612,"date":"2024-04-28T08:49:19","date_gmt":"2024-04-28T00:49:19","guid":{"rendered":"https:\/\/www.varidata.com\/uncategorized-zh-cn\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/"},"modified":"2025-03-19T09:52:02","modified_gmt":"2025-03-19T01:52:02","slug":"how-cxl-technology-optimize-server-memory-in-hk-data-center","status":"publish","type":"post","link":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/","title":{"rendered":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f"},"content":{"rendered":"<p>\u5728\u9999\u6e2f\u84ec\u52c3\u53d1\u5c55\u7684\u6570\u636e\u4e2d\u5fc3\u9886\u57df\uff0c\u6570\u636e\u5904\u7406\u9700\u6c42\u7684\u5feb\u901f\u53d1\u5c55\u5df2\u7ecf\u5c06\u4f20\u7edf\u670d\u52a1\u5668\u5185\u5b58\u67b6\u6784\u63a8\u5411\u6781\u9650\u3002\u8ba1\u7b97\u5feb\u901f\u94fe\u63a5(CXL)\u6280\u672f\u4f5c\u4e3a\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u7684\u9769\u547d\u6027\u89e3\u51b3\u65b9\u6848\u5e94\u8fd0\u800c\u751f\uff0c\u8fd9\u5bf9\u4e8e\u9999\u6e2f\u5145\u6ee1\u6d3b\u529b\u7684\u79d1\u6280\u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u9ad8\u6027\u80fd<a href=\"https:\/\/www.varidata.com\/zh-cn\/server\/hk\/cn2\/\" target=\"_blank\">\u670d\u52a1\u5668\u79df\u7528<\/a>\u548c\u670d\u52a1\u5668\u6258\u7ba1\u670d\u52a1\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<h2><strong>\u6df1\u5165\u7406\u89e3CXL\u6280\u672f<\/strong><\/h2>\n<p>CXL\u4ee3\u8868\u4e86\u670d\u52a1\u5668\u67b6\u6784\u7684\u4e00\u4e2a\u91cd\u5927\u8f6c\u53d8\uff0c\u5b83\u5f15\u5165\u4e86\u4e00\u4e2a\u5f00\u653e\u7684\u884c\u4e1a\u6807\u51c6\u4e92\u8fde\u6280\u672f\uff0c\u63d0\u4f9b\u4e3b\u673a\u5230\u8bbe\u5907\u548c\u4e3b\u673a\u5230\u5185\u5b58\u7684\u4e00\u81f4\u6027\u901a\u4fe1\u3002CXL\u5728PCIe\u7269\u7406\u5c42\u4e0a\u8fd0\u884c\uff0c\u652f\u6301\u4e09\u4e2a\u5173\u952e\u534f\u8bae\uff1a<\/p>\n<pre><code>\r\nCXL\u534f\u8bae\u6808\uff1a\r\n\u251c\u2500\u2500 CXL.io (PCIe\u517c\u5bb9)\r\n\u251c\u2500\u2500 CXL.cache (\u7f13\u5b58\u4e00\u81f4\u6027)\r\n\u2514\u2500\u2500 CXL.mem (\u5185\u5b58\u8bed\u4e49)\r\n<\/code><\/pre>\n<p>\u6bcf\u4e2a\u534f\u8bae\u5c42\u5728\u5185\u5b58\u4f18\u5316\u4e2d\u90fd\u6709\u5176\u72ec\u7279\u7684\u529f\u80fd\uff1a<\/p>\n<ul>\n<li>CXL.io\uff1a\u5904\u7406\u8bbe\u5907\u53d1\u73b0\u3001\u914d\u7f6e\u548cI\/O\u64cd\u4f5c<\/li>\n<li>CXL.cache\uff1a\u7ef4\u62a4CPU\u548c\u8bbe\u5907\u4e4b\u95f4\u7684\u7f13\u5b58\u4e00\u81f4\u6027<\/li>\n<li>CXL.mem\uff1a\u5b9e\u73b0\u76f4\u63a5\u5185\u5b58\u8bbf\u95ee\u548c\u6269\u5c55\u529f\u80fd<\/li>\n<\/ul>\n<h2><strong>CXL\u4e2d\u7684\u5185\u5b58\u6c60\u5316\u67b6\u6784<\/strong><\/h2>\n<p>CXL\u7684\u9769\u547d\u6027\u7279\u70b9\u5728\u4e8e\u5176\u5185\u5b58\u6c60\u5316\u80fd\u529b\u3002\u4ee5\u4e0b\u662f\u5178\u578b\u7684\u5185\u5b58\u6c60\u5316\u5b9e\u73b0\uff1a<\/p>\n<pre><code>\r\n\u5185\u5b58\u6c60\u67b6\u6784\uff1a\r\n\u4e3b\u673a1 \u2500\u2500\u2500\u2500\u2500\u2510\r\n           \u2502\r\n\u4e3b\u673a2 \u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500 \u5185\u5b58\u6c60\u7ba1\u7406\u5668 \u2500\u2500\u2500 \u5171\u4eab\u5185\u5b58\u8d44\u6e90\r\n           \u2502\r\n\u4e3b\u673an \u2500\u2500\u2500\u2500\u2500\u2518\r\n\r\n\u914d\u7f6e\u53c2\u6570\uff1a\r\n{\r\n    \"pool_size\": \"1TB\",\r\n    \"allocation_granularity\": \"4GB\",\r\n    \"latency_threshold\": \"100ns\",\r\n    \"coherency_domain\": \"cross-socket\"\r\n}\r\n<\/code><\/pre>\n<h2><strong>\u901a\u8fc7CXL\u5b9e\u65bd\u7684\u6027\u80fd\u4f18\u5316<\/strong><\/h2>\n<p>\u5728\u9999\u6e2f\u7684\u6570\u636e\u4e2d\u5fc3\u4e2d\uff0c\u5bf9\u4e8e\u91d1\u878d\u4ea4\u6613\u5e73\u53f0\u548c\u5b9e\u65f6\u5e94\u7528\u6765\u8bf4\uff0c\u6beb\u79d2\u7ea7\u7684\u5dee\u5f02\u90fd\u81f3\u5173\u91cd\u8981\uff0cCXL\u7684\u5b9e\u65bd\u5e26\u6765\u4e86\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\u3002\u4ee5\u4e0b\u662f\u4f18\u5316\u8fc7\u7a0b\u7684\u6280\u672f\u7ec6\u8282\uff1a<\/p>\n<pre><code>\r\n\/\/ CXL\u5185\u5b58\u7ba1\u7406\u7b97\u6cd5\u793a\u4f8b\r\nfunction optimizeMemoryAllocation(workload) {\r\n    const metrics = {\r\n        latency: measureLatency(),\r\n        bandwidth: calculateBandwidth(),\r\n        utilization: getMemoryUtilization()\r\n    };\r\n\r\n    if (metrics.utilization > 85) {\r\n        expandMemoryPool();\r\n        rebalanceResources();\r\n    }\r\n\r\n    return metrics;\r\n}\r\n<\/code><\/pre>\n<p>\u901a\u8fc7\u5728\u9999\u6e2f\u670d\u52a1\u5668\u79df\u7528\u73af\u5883\u4e2d\u7684\u5b9e\u9645\u6d4b\u8bd5\uff0c\u6211\u4eec\u89c2\u5bdf\u5230\u4ee5\u4e0b\u6027\u80fd\u63d0\u5347\uff1a<\/p>\n<ul>\n<li>\u5185\u5b58\u5e26\u5bbd\u63d0\u5347\uff1a2.8\u500d<\/li>\n<li>\u5ef6\u8fdf\u964d\u4f4e\uff1a47%<\/li>\n<li>\u8d44\u6e90\u5229\u7528\u6548\u7387\uff1a\u63d0\u9ad876%<\/li>\n<\/ul>\n<h2><strong>\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u5b9e\u9645\u5e94\u7528<\/strong><\/h2>\n<p>\u91d1\u878d\u884c\u4e1a\u7684\u5e94\u7528\u5c55\u793a\u4e86CXL\u6280\u672f\u5728\u9999\u6e2f\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\u4e2d\u6700\u6709\u8bf4\u670d\u529b\u7684\u4f7f\u7528\u6848\u4f8b\u3002\u4ee5\u4e0b\u662f\u4e0d\u540c\u884c\u4e1a\u7684\u53d7\u76ca\u60c5\u51b5\uff1a<\/p>\n<style>\n    table {\n        border-collapse: collapse;\n        width: 100%;\n        margin: 20px 0;\n    }<\/p>\n<p>    th, td {\n        border: 1px solid #ddd;\n        padding: 12px;\n        text-align: left;\n    }<\/p>\n<p>    th {\n        background-color: #f5f5f5;\n        font-weight: bold;\n    }<\/p>\n<p>    tr:nth-child(even) {\n        background-color: #fafafa;\n    }<\/p>\n<p>    tr:hover {\n        background-color: #f0f0f0;\n    }\n<\/style>\n<table>\n<tr>\n<th>\u884c\u4e1a\u9886\u57df<\/th>\n<th>CXL\u5b9e\u65bd<\/th>\n<th>\u6027\u80fd\u63d0\u5347<\/th>\n<\/tr>\n<tr>\n<td>\u91d1\u878d\u4ea4\u6613<\/td>\n<td>\u4f4e\u5ef6\u8fdf\u5185\u5b58\u6c60<\/td>\n<td>\u4ea4\u6613\u5904\u7406\u901f\u5ea6\u63d0\u534765%<\/td>\n<\/tr>\n<tr>\n<td>\u4e91\u670d\u52a1<\/td>\n<td>\u52a8\u6001\u5185\u5b58\u6269\u5c55<\/td>\n<td>\u8d44\u6e90\u6548\u7387\u63d0\u53473.2\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u4eba\u5de5\u667a\u80fd\/\u673a\u5668\u5b66\u4e60\u5de5\u4f5c\u8d1f\u8f7d<\/td>\n<td>\u4e00\u81f4\u6027\u5185\u5b58\u8bbf\u95ee<\/td>\n<td>\u8bad\u7ec3\u901f\u5ea6\u63d0\u53472.4\u500d<\/td>\n<\/tr>\n<\/table>\n<h2><strong>\u6280\u672f\u5b9e\u65bd\u6307\u5357<\/strong><\/h2>\n<p>\u5bf9\u4e8e\u7ba1\u7406\u9999\u6e2f\u670d\u52a1\u5668\u6258\u7ba1\u8bbe\u65bd\u7684\u7cfb\u7edf\u7ba1\u7406\u5458\u6765\u8bf4\uff0c\u5b9e\u65bdCXL\u9700\u8981\u4ed4\u7ec6\u8003\u8651\u786c\u4ef6\u517c\u5bb9\u6027\u548c\u914d\u7f6e\u3002\u4ee5\u4e0b\u662f\u7b80\u5316\u7684\u90e8\u7f72\u6d41\u7a0b\uff1a<\/p>\n<pre><code>\r\n\u90e8\u7f72\u6b65\u9aa4\uff1a\r\n1. \u786c\u4ef6\u9a8c\u8bc1\r\n   \u2514\u2500\u2500 \u68c0\u67e5CXL\u517c\u5bb9\u6027\r\n   \u2514\u2500\u2500 \u9a8c\u8bc1\u56fa\u4ef6\u7248\u672c\r\n   \u2514\u2500\u2500 \u8bc4\u4f30\u529f\u7387\u9700\u6c42\r\n\r\n2. \u7cfb\u7edf\u914d\u7f6e\r\n   \u2514\u2500\u2500 \u5728BIOS\u4e2d\u542f\u7528CXL\r\n   \u2514\u2500\u2500 \u914d\u7f6e\u5185\u5b58\u6c60\u5316\r\n   \u2514\u2500\u2500 \u8bbe\u7f6e\u4e00\u81f4\u6027\u57df\r\n\r\n3. \u6027\u80fd\u8c03\u4f18\r\n   \u2514\u2500\u2500 \u4f18\u5316\u5185\u5b58\u8c03\u5ea6\r\n   \u2514\u2500\u2500 \u914d\u7f6e\u5e26\u5bbd\u5206\u914d\r\n   \u2514\u2500\u2500 \u8bbe\u7f6eQoS\u53c2\u6570\r\n<\/code><\/pre>\n<h2><strong>\u9ad8\u7ea7\u76d1\u63a7\u548c\u4f18\u5316\u6280\u672f<\/strong><\/h2>\n<p>\u4e3a\u4e86\u5728\u9999\u6e2f\u7684\u670d\u52a1\u5668\u79df\u7528\u73af\u5883\u4e2d\u5b9e\u73b0\u6700\u4f73\u6027\u80fd\uff0c\u5b9e\u65bd\u5f3a\u5927\u7684\u76d1\u63a7\u7cfb\u7edf\u81f3\u5173\u91cd\u8981\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u590d\u6742\u7684\u76d1\u63a7\u6846\u67b6\uff1a<\/p>\n<pre><code>\r\n\/\/ CXL\u6027\u80fd\u76d1\u63a7\u7cfb\u7edf\r\nclass CXLMonitor {\r\n    constructor() {\r\n        this.metrics = {\r\n            memoryUtilization: 0,\r\n            bandwidthUsage: 0,\r\n            latencyStats: []\r\n        };\r\n    }\r\n\r\n    async monitor() {\r\n        while(true) {\r\n            this.metrics = {\r\n                memoryUtilization: await getUtilization(),\r\n                bandwidthUsage: await measureBandwidth(),\r\n                latencyStats: await collectLatencyData()\r\n            };\r\n            await this.analyzePerformance();\r\n            await sleep(1000); \/\/ 1\u79d2\u95f4\u9694\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<h2><strong>\u5bf9\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u672a\u6765\u5f71\u54cd<\/strong><\/h2>\n<p>CXL\u6280\u672f\u7684\u53d1\u5c55\u4e3a\u9999\u6e2f\u7684\u6570\u636e\u4e2d\u5fc3\u57fa\u7840\u8bbe\u65bd\u5e26\u6765\u4e86\u53d8\u9769\u6027\u7684\u673a\u9047\u3002\u4e3b\u8981\u53d1\u5c55\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u652f\u6301\u591a\u7ea7\u4ea4\u6362\u7684CXL 3.0\u89c4\u8303<\/li>\n<li>\u8de8\u66f4\u5927\u670d\u52a1\u5668\u96c6\u7fa4\u7684\u589e\u5f3a\u578b\u5185\u5b58\u5171\u4eab<\/li>\n<li>\u4e0e\u65b0\u5174\u5185\u5b58\u6280\u672f\u7684\u96c6\u6210<\/li>\n<li>\u7528\u4e8e\u63d0\u9ad8\u53ef\u6269\u5c55\u6027\u7684\u9ad8\u7ea7\u7ed3\u6784\u67b6\u6784<\/li>\n<\/ul>\n<h2><strong>\u6700\u4f73\u5b9e\u8df5\u548c\u5efa\u8bae<\/strong><\/h2>\n<p>\u5728\u9999\u6e2f\u670d\u52a1\u5668\u6258\u7ba1\u8bbe\u65bd\u4e2d\u5b9e\u65bdCXL\u65f6\uff0c\u8bf7\u8003\u8651\u4ee5\u4e0b\u6280\u672f\u6307\u5357\uff1a<\/p>\n<pre><code>\r\n\u5b9e\u65bd\u6e05\u5355\uff1a\r\n\u2713 \u5185\u5b58\u6c60\u914d\u7f6e\r\n  \u2514\u2500\u2500 \u8bbe\u7f6e\u6700\u4f73\u6c60\u5927\u5c0f\r\n  \u2514\u2500\u2500 \u914d\u7f6e\u8bbf\u95ee\u7b56\u7565\r\n  \u2514\u2500\u2500 \u5b9e\u65bd\u6545\u969c\u8f6c\u79fb\u673a\u5236\r\n\r\n\u2713 \u6027\u80fd\u4f18\u5316\r\n  \u2514\u2500\u2500 \u8c03\u6574\u5185\u5b58\u8c03\u5ea6\r\n  \u2514\u2500\u2500 \u4f18\u5316\u4e00\u81f4\u6027\u534f\u8bae\r\n  \u2514\u2500\u2500 \u76d1\u63a7\u5e26\u5bbd\u4f7f\u7528\r\n\r\n\u2713 \u5b89\u5168\u63aa\u65bd\r\n  \u2514\u2500\u2500 \u5b9e\u65bd\u5185\u5b58\u9694\u79bb\r\n  \u2514\u2500\u2500 \u914d\u7f6e\u8bbf\u95ee\u63a7\u5236\r\n  \u2514\u2500\u2500 \u5fc5\u8981\u65f6\u542f\u7528\u52a0\u5bc6\r\n<\/code><\/pre>\n<h2><strong>\u7ed3\u8bba<\/strong><\/h2>\n<p>CXL\u6280\u672f\u4ee3\u8868\u4e86\u9999\u6e2f\u670d\u52a1\u5668\u79df\u7528\u548c\u670d\u52a1\u5668\u6258\u7ba1\u670d\u52a1\u5728\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u65b9\u9762\u7684\u91cd\u5927\u8fdb\u6b65\u3002\u901a\u8fc7\u5b9e\u73b0\u52a8\u6001\u5185\u5b58\u6c60\u5316\u548c\u964d\u4f4e\u5ef6\u8fdf\uff0cCXL\u89e3\u51b3\u4e86\u73b0\u4ee3\u6570\u636e\u4e2d\u5fc3\u7684\u5173\u952e\u6027\u80fd\u6311\u6218\u3002\u968f\u7740\u6280\u672f\u7684\u6210\u719f\uff0c\u6211\u4eec\u9884\u8ba1CXL\u5c06\u5728\u9999\u6e2f\u7684\u6570\u5b57\u57fa\u7840\u8bbe\u65bd\u4e2d\u5f97\u5230\u66f4\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u7279\u522b\u662f\u5728\u9ad8\u6027\u80fd\u8ba1\u7b97\u73af\u5883\u548c\u91d1\u878d\u670d\u52a1\u9886\u57df\u3002<\/p>\n<p>\u5bf9\u4e8e\u9999\u6e2f\u7684\u6570\u636e\u4e2d\u5fc3\u8fd0\u8425\u5546\u548cIT\u4e13\u4e1a\u4eba\u58eb\u6765\u8bf4\uff0c\u7406\u89e3\u548c\u5b9e\u65bdCXL\u6280\u672f\u5bf9\u4e8e\u5728\u5feb\u901f\u53d1\u5c55\u7684\u6570\u5b57\u73af\u5883\u4e2d\u4fdd\u6301\u7ade\u4e89\u4f18\u52bf\u53d8\u5f97\u8d8a\u6765\u8d8a\u91cd\u8981\u3002CXL\u63d0\u4f9b\u7684\u4f18\u5316\u80fd\u529b\u5c06\u7ee7\u7eed\u5728\u5851\u9020\u670d\u52a1\u5668\u6027\u80fd\u548c\u5185\u5b58\u7ba1\u7406\u7684\u672a\u6765\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u9999\u6e2f\u84ec\u52c3\u53d1\u5c55\u7684\u6570\u636e\u4e2d\u5fc3\u9886\u57df\uff0c\u6570\u636e\u5904\u7406\u9700\u6c42\u7684\u5feb\u901f\u53d1\u5c55\u5df2\u7ecf\u5c06\u4f20\u7edf\u670d\u52a1\u5668\u5185\u5b58\u67b6\u6784\u63a8\u5411\u6781\u9650\u3002\u8ba1\u7b97\u5feb\u901f\u94fe\u63a5(CXL)\u6280\u672f\u4f5c\u4e3a\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u7684\u9769\u547d\u6027\u89e3\u51b3\u65b9\u6848\u5e94\u8fd0\u800c\u751f\uff0c\u8fd9\u5bf9\u4e8e\u9999\u6e2f\u5145\u6ee1\u6d3b\u529b\u7684\u79d1\u6280\u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u9ad8\u6027\u80fd\u670d\u52a1\u5668\u79df\u7528\u548c\u670d\u52a1\u5668\u6258\u7ba1\u670d\u52a1\u5c24\u4e3a\u91cd\u8981\u3002 \u6df1\u5165\u7406\u89e3CXL\u6280\u672f CXL\u4ee3\u8868\u4e86\u670d\u52a1\u5668\u67b6\u6784\u7684\u4e00\u4e2a\u91cd\u5927\u8f6c\u53d8\uff0c\u5b83\u5f15\u5165\u4e86\u4e00\u4e2a\u5f00\u653e\u7684\u884c\u4e1a\u6807\u51c6\u4e92\u8fde\u6280\u672f\uff0c\u63d0\u4f9b\u4e3b\u673a\u5230\u8bbe\u5907\u548c\u4e3b\u673a\u5230\u5185\u5b58\u7684\u4e00\u81f4\u6027\u901a\u4fe1\u3002CXL\u5728PCIe\u7269\u7406\u5c42\u4e0a\u8fd0\u884c\uff0c\u652f\u6301\u4e09\u4e2a\u5173\u952e\u534f\u8bae\uff1a CXL\u534f\u8bae\u6808\uff1a \u251c\u2500\u2500 CXL.io (PCIe\u517c\u5bb9) \u251c\u2500\u2500 CXL.cache (\u7f13\u5b58\u4e00\u81f4\u6027) \u2514\u2500\u2500 CXL.mem (\u5185\u5b58\u8bed\u4e49) \u6bcf\u4e2a\u534f\u8bae\u5c42\u5728\u5185\u5b58\u4f18\u5316\u4e2d\u90fd\u6709\u5176\u72ec\u7279\u7684\u529f\u80fd\uff1a CXL.io\uff1a\u5904\u7406\u8bbe\u5907\u53d1\u73b0\u3001\u914d\u7f6e\u548cI\/O\u64cd\u4f5c CXL.cache\uff1a\u7ef4\u62a4CPU\u548c\u8bbe\u5907\u4e4b\u95f4\u7684\u7f13\u5b58\u4e00\u81f4\u6027 CXL.mem\uff1a\u5b9e\u73b0\u76f4\u63a5\u5185\u5b58\u8bbf\u95ee\u548c\u6269\u5c55\u529f\u80fd CXL\u4e2d\u7684\u5185\u5b58\u6c60\u5316\u67b6\u6784 CXL\u7684\u9769\u547d\u6027\u7279\u70b9\u5728\u4e8e\u5176\u5185\u5b58\u6c60\u5316\u80fd\u529b\u3002\u4ee5\u4e0b\u662f\u5178\u578b\u7684\u5185\u5b58\u6c60\u5316\u5b9e\u73b0\uff1a \u5185\u5b58\u6c60\u67b6\u6784\uff1a \u4e3b\u673a1 \u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u4e3b\u673a2 \u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500 \u5185\u5b58\u6c60\u7ba1\u7406\u5668 \u2500\u2500\u2500 \u5171\u4eab\u5185\u5b58\u8d44\u6e90 \u2502 \u4e3b\u673an \u2500\u2500\u2500\u2500\u2500\u2518 \u914d\u7f6e\u53c2\u6570\uff1a { &#8220;pool_size&#8221;: &#8220;1TB&#8221;, &#8220;allocation_granularity&#8221;: &#8220;4GB&#8221;, &#8220;latency_threshold&#8221;: &#8220;100ns&#8221;, &#8220;coherency_domain&#8221;: &#8220;cross-socket&#8221; } \u901a\u8fc7CXL\u5b9e\u65bd\u7684\u6027\u80fd\u4f18\u5316 \u5728\u9999\u6e2f\u7684\u6570\u636e\u4e2d\u5fc3\u4e2d\uff0c\u5bf9\u4e8e\u91d1\u878d\u4ea4\u6613\u5e73\u53f0\u548c\u5b9e\u65f6\u5e94\u7528\u6765\u8bf4\uff0c\u6beb\u79d2\u7ea7\u7684\u5dee\u5f02\u90fd\u81f3\u5173\u91cd\u8981\uff0cCXL\u7684\u5b9e\u65bd\u5e26\u6765\u4e86\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\u3002\u4ee5\u4e0b\u662f\u4f18\u5316\u8fc7\u7a0b\u7684\u6280\u672f\u7ec6\u8282\uff1a \/\/ CXL\u5185\u5b58\u7ba1\u7406\u7b97\u6cd5\u793a\u4f8b function optimizeMemoryAllocation(workload) { const metrics = { latency: measureLatency(), [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":18609,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[76],"tags":[],"class_list":["post-18612","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f<\/title>\n<meta name=\"description\" content=\"\u4e86\u89e3CXL\u6280\u672f\u5982\u4f55\u6539\u53d8\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u3002\u5b66\u4e60\u5185\u5b58\u6c60\u5316\u3001\u52a8\u6001\u8d44\u6e90\u5206\u914d\u548c\u5b9e\u9645\u5e94\u7528\u6848\u4f8b\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\" \/>\n<meta property=\"og:site_name\" content=\"Varidata Limited\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-28T00:49:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-19T01:52:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"609\" \/>\n\t<meta property=\"og:image:height\" content=\"344\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\"},\"author\":\"Varidata\",\"headline\":\"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f\",\"datePublished\":\"2024-04-28T00:49:19+00:00\",\"dateModified\":\"2025-03-19T01:52:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\"},\"wordCount\":31,\"publisher\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg\",\"articleSection\":[\"Varidata \u5b98\u65b9\u535a\u5ba2\"],\"inLanguage\":\"zh-SC\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\",\"url\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\",\"name\":\"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg\",\"datePublished\":\"2024-04-28T00:49:19+00:00\",\"dateModified\":\"2025-03-19T01:52:02+00:00\",\"description\":\"\u4e86\u89e3CXL\u6280\u672f\u5982\u4f55\u6539\u53d8\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u3002\u5b66\u4e60\u5185\u5b58\u6c60\u5316\u3001\u52a8\u6001\u8d44\u6e90\u5206\u914d\u548c\u5b9e\u9645\u5e94\u7528\u6848\u4f8b\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#breadcrumb\"},\"inLanguage\":\"zh-SC\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage\",\"url\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg\",\"contentUrl\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg\",\"width\":609,\"height\":344},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.varidata.com\/zh-cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#website\",\"url\":\"https:\/\/www.varidata.com\/zh-cn\/\",\"name\":\"Varidata Limited\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.varidata.com\/zh-cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-SC\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#organization\",\"name\":\"Varidata\",\"url\":\"https:\/\/www.varidata.com\/zh-cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png\",\"contentUrl\":\"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png\",\"width\":248,\"height\":94,\"caption\":\"Varidata\"},\"image\":{\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/person\/41a5bfd3458642b61d3804e2c38d7a6f\",\"name\":\"Felix Cheung\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g\",\"caption\":\"Felix Cheung\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f","description":"\u4e86\u89e3CXL\u6280\u672f\u5982\u4f55\u6539\u53d8\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u3002\u5b66\u4e60\u5185\u5b58\u6c60\u5316\u3001\u52a8\u6001\u8d44\u6e90\u5206\u914d\u548c\u5b9e\u9645\u5e94\u7528\u6848\u4f8b\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/","og_locale":"zh_CN","og_type":"article","og_title":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f","og_url":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/","og_site_name":"Varidata Limited","article_published_time":"2024-04-28T00:49:19+00:00","article_modified_time":"2025-03-19T01:52:02+00:00","og_image":[{"width":609,"height":344,"url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg","type":"image\/jpeg"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#article","isPartOf":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/"},"author":"Varidata","headline":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f","datePublished":"2024-04-28T00:49:19+00:00","dateModified":"2025-03-19T01:52:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/"},"wordCount":31,"publisher":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#organization"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage"},"thumbnailUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg","articleSection":["Varidata \u5b98\u65b9\u535a\u5ba2"],"inLanguage":"zh-SC"},{"@type":"WebPage","@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/","url":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/","name":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f","isPartOf":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage"},"thumbnailUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg","datePublished":"2024-04-28T00:49:19+00:00","dateModified":"2025-03-19T01:52:02+00:00","description":"\u4e86\u89e3CXL\u6280\u672f\u5982\u4f55\u6539\u53d8\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\u4f18\u5316\u3002\u5b66\u4e60\u5185\u5b58\u6c60\u5316\u3001\u52a8\u6001\u8d44\u6e90\u5206\u914d\u548c\u5b9e\u9645\u5e94\u7528\u6848\u4f8b\u3002","breadcrumb":{"@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#breadcrumb"},"inLanguage":"zh-SC","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/"]}]},{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#primaryimage","url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg","contentUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2025\/03\/var_0428.jpg","width":609,"height":344},{"@type":"BreadcrumbList","@id":"https:\/\/www.varidata.com\/zh-cn\/blog\/how-cxl-technology-optimize-server-memory-in-hk-data-center\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.varidata.com\/zh-cn\/"},{"@type":"ListItem","position":2,"name":"CXL\u6280\u672f\u5982\u4f55\u4f18\u5316\u9999\u6e2f\u6570\u636e\u4e2d\u5fc3\u7684\u670d\u52a1\u5668\u5185\u5b58\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.varidata.com\/zh-cn\/#website","url":"https:\/\/www.varidata.com\/zh-cn\/","name":"Varidata Limited","description":"","publisher":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.varidata.com\/zh-cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-SC"},{"@type":"Organization","@id":"https:\/\/www.varidata.com\/zh-cn\/#organization","name":"Varidata","url":"https:\/\/www.varidata.com\/zh-cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png","contentUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png","width":248,"height":94,"caption":"Varidata"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/person\/41a5bfd3458642b61d3804e2c38d7a6f","name":"Felix Cheung","image":{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","caption":"Felix Cheung"}}]}},"_links":{"self":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/18612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/comments?post=18612"}],"version-history":[{"count":1,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/18612\/revisions"}],"predecessor-version":[{"id":18615,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/18612\/revisions\/18615"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/media\/18609"}],"wp:attachment":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/media?parent=18612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/categories?post=18612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/tags?post=18612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}