{"id":31421,"date":"2022-12-28T13:08:27","date_gmt":"2022-12-28T05:08:27","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=31421"},"modified":"2022-12-28T13:08:39","modified_gmt":"2022-12-28T05:08:39","slug":"baidu-fpga-sql","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/baidu-fpga-sql.html","title":{"rendered":"\u767e\u5ea6\u8fd0\u7528 FPGA \u65b9\u6cd5\u5927\u89c4\u6a21\u52a0\u901f SQL \u67e5\u8be2"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5c3d\u7ba1\u6211\u4eec\u5bf9\u767e\u5ea6\u4eca\u5e74\u5de5\u4f5c\u7126\u70b9\u7684\u5173\u6ce8\u96c6\u4e2d\u5728\u8fd9\u4e2a\u4e2d\u56fd\u641c\u7d22\u5de8\u5934\u5728\u6df1\u5ea6\u5b66\u4e60\u65b9\u9762\u7684\u4e3e\u63aa\u4e0a\uff0c\u8bb8\u591a\u5176\u4ed6\u7684\u5173\u952e\u7684\uff0c\u5c3d\u7ba1\u4e0d\u90a3\u4e48\u524d\u6cbf\u7684\u5e94\u7528\u8868\u73b0\u51fa\u4e86\u5927\u6570\u636e\u5e26\u6765\u7684\u6311\u6218\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u6b63\u5982\u767e\u5ea6\u7684\u6b27\u9633\u5251\u5728\u672c\u5468 Hot Chips \u5927\u4f1a\u4e0a\u8c08\u8bba\u7684\uff0c\u767e\u5ea6\u5750\u62e5\u8d85\u8fc7 1 EB \u7684\u6570\u636e\uff0c\u6bcf\u5929\u5904\u7406\u5927\u7ea6 100 PB \u7684\u6570\u636e\uff0c\u6bcf\u5929\u66f4\u65b0 100 \u4ebf\u7684\u7f51\u9875\uff0c\u6bcf 24 \u5c0f\u65f6\u66f4\u65b0\u5904\u7406\u8d85\u8fc7 1 PB \u7684\u65e5\u5fd7\u66f4\u65b0\uff0c\u8fd9\u4e9b\u6570\u5b57\u548c Google \u4e0d\u5206\u4e0a\u4e0b\uff0c\u6b63\u5982\u4eba\u4eec\u6240\u60f3\u8c61\u7684\u3002\u767e\u5ea6\u91c7\u7528\u4e86\u7c7b\u4f3c Google \u7684\u65b9\u6cd5\u53bb\u5927\u89c4\u6a21\u5730\u89e3\u51b3\u6f5c\u5728\u7684\u74f6\u9888\u3002<\/p>\n

\u6b63\u5982\u521a\u521a\u6211\u4eec\u8c08\u5230\u7684\uff0cGoogle \u5bfb\u627e\u4e00\u5207\u53ef\u80fd\u7684\u65b9\u6cd5\u53bb\u6253\u8d25\u6469\u5c14\u5b9a\u5f8b\uff0c\u767e\u5ea6\u4e5f\u5728\u8fdb\u884c\u76f8\u540c\u7684\u63a2\u7d22\uff0c\u800c\u4ee4\u4eba\u6fc0\u52a8\u7684\u3001\u4f7f\u4eba\u7740\u8ff7\u7684\u673a\u5668\u5b66\u4e60\u5de5\u4f5c\u662f\u8ff7\u4eba\u7684\uff0c\u4e1a\u52a1\u7684\u6838\u5fc3\u5173\u952e\u4efb\u52a1\u7684\u52a0\u901f\u540c\u6837\u4e5f\u662f\uff0c\u56e0\u4e3a\u5fc5\u987b\u5982\u6b64\u3002\u6b27\u9633\u63d0\u5230\uff0c\u516c\u53f8\u57fa\u4e8e\u81ea\u8eab\u7684\u6570\u636e\u63d0\u4f9b\u9ad8\u7aef\u670d\u52a1\u7684\u9700\u6c42\u548c CPU \u53ef\u4ee5\u627f\u8f7d\u7684\u80fd\u529b\u4e4b\u95f4\u7684\u5dee\u8ddd\u5c06\u4f1a\u9010\u6e10\u589e\u5927\u3002<\/p>\n

\"\u767e\u5ea6\u8fd0\u7528<\/p>\n

\u5bf9\u4e8e\u767e\u5ea6\u7684\u767e\u4ebf\u4ebf\u7ea7\u95ee\u9898\uff0c\u5728\u6240\u6709\u6570\u636e\u7684\u63a5\u53d7\u7aef\u662f\u4e00\u7cfb\u5217\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u6846\u67b6\u548c\u5e73\u53f0\uff0c\u4ece\u8be5\u516c\u53f8\u7684\u6d77\u91cf\u77e5\u8bc6\u56fe\u8c31\uff0c\u591a\u5a92\u4f53\u5de5\u5177\uff0c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u6846\u67b6\uff0c\u63a8\u8350\u5f15\u64ce\uff0c\u548c\u70b9\u51fb\u6d41\u5206\u6790\u90fd\u662f\u8fd9\u6837\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u5927\u6570\u636e\u7684\u9996\u8981\u95ee\u9898\u5c31\u662f\u8fd9\u6837\u7684\uff1a\u4e00\u7cfb\u5217\u5404\u79cd\u5e94\u7528\u548c\u4e0e\u4e4b\u5339\u914d\u7684\u5177\u6709\u538b\u5012\u6027\u89c4\u6a21\u7684\u6570\u636e\u3002<\/p>\n

\u5f53\u8c08\u5230\u52a0\u901f\u767e\u5ea6\u7684\u5927\u6570\u636e\u5206\u6790\uff0c\u6240\u9762\u4e34\u7684\u51e0\u4e2a\u6311\u6218\uff0c\u6b27\u9633\u8c08\u5230\u62bd\u8c61\u5316\u8fd0\u7b97\u6838\u5fc3\u53bb\u5bfb\u627e\u4e00\u4e2a\u666e\u9002\u7684\u65b9\u6cd5\u662f\u56f0\u96be\u7684\u3002\u201c\u5927\u6570\u636e\u5e94\u7528\u7684\u591a\u6837\u6027\u548c\u53d8\u5316\u7684\u8ba1\u7b97\u7c7b\u578b\u4f7f\u5f97\u8fd9\u6210\u4e3a\u4e00\u4e2a\u6311\u6218\uff0c\u628a\u6240\u6709\u8fd9\u4e9b\u6574\u5408\u6210\u4e3a\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\u662f\u56f0\u96be\u7684\uff0c\u56e0\u4e3a\u6709\u591a\u53d8\u7684\u5e73\u53f0\u548c\u7f16\u7a0b\u6a21\u578b\uff08MapReduce\uff0cSpark\uff0cstreaming\uff0cuser defined\uff0c\u7b49\u7b49\uff09\u3002\u5c06\u6765\u8fd8\u4f1a\u6709\u66f4\u591a\u7684\u6570\u636e\u7c7b\u578b\u548c\u5b58\u50a8\u683c\u5f0f\u3002\u201d<\/p>\n

\u5c3d\u7ba1\u5b58\u5728\u8fd9\u4e9b\u969c\u788d\uff0c\u6b27\u9633\u8bb2\u5230\u4ed6\u4eec\u56e2\u961f\u627e\u5230\u4e86\uff08\u5b83\u4eec\u4e4b\u95f4\u7684\uff09\u5171\u540c\u7ebf\u7d22\u3002\u5982\u4ed6\u6240\u6307\u51fa\u7684\u90a3\u6837\uff0c\u90a3\u4e9b\u628a\u4ed6\u4eec\u7684\u8bb8\u591a\u6570\u636e\u5bc6\u96c6\u578b\u7684\u4efb\u52a1\u76f8\u8fde\u7cfb\u5728\u4e00\u8d77\u7684\u5c31\u662f\u4f20\u7edf\u7684 SQL\u3002\u201c\u6211\u4eec\u7684\u6570\u636e\u5206\u6790\u4efb\u52a1\u5927\u7ea6\u6709 40% \u662f\u7528 SQL \u5199\u7684\uff0c\u800c\u5176\u4ed6\u7684\u7528 SQL \u91cd\u5199\u4e5f\u662f\u53ef\u7528\u505a\u5230\u7684\u3002\u201d \u66f4\u8fdb\u4e00\u6b65\uff0c\u4ed6\u8bb2\u9053\u4ed6\u4eec\u53ef\u4ee5\u4eab\u53d7\u5230\u73b0\u6709\u7684 SQL \u7cfb\u7edf\u7684\u597d\u5904\uff0c\u5e76\u53ef\u4ee5\u548c\u5df2\u6709\u7684\u6846\u67b6\u76f8\u5339\u914d\uff0c\u6bd4\u5982 Hive\uff0cSpark SQL\uff0c\u548c Impala \u3002\u4e0b\u4e00\u6b65\u8981\u505a\u7684\u4e8b\u60c5\u5c31\u662f SQL \u67e5\u8be2\u52a0\u901f\uff0c\u767e\u5ea6\u53d1\u73b0 FPGA \u662f\u6700\u597d\u7684\u786c\u4ef6\u3002<\/p>\n

\"\u767e\u5ea6\u8fd0\u7528<\/p>\n

\u8fd9\u4e9b\u4e3b\u677f\uff0c\u88ab\u79f0\u4e3a\u5904\u7406\u5355\u5143\uff08 \u4e0b\u56fe\u4e2d\u7684 PE \uff09\uff0c\u5f53\u6267\u884c SQL \u65f6\u4f1a\u81ea\u52a8\u5730\u5904\u7406\u5173\u952e\u7684 SQL \u529f\u80fd\u3002\u8fd9\u91cc\u6240\u8bf4\u7684\u90fd\u662f\u6765\u81ea\u6f14\u8bb2\uff0c\u6211\u4eec\u4e0d\u627f\u62c5\u8d23\u4efb\u3002\u786e\u5207\u7684\u8bf4\uff0c\u8fd9\u91cc\u63d0\u5230\u7684 FPGA \u6709\u70b9\u795e\u79d8\uff0c\u6216\u8bb8\u662f\u6545\u610f\u5982\u6b64\u3002\u5982\u679c\u767e\u5ea6\u5728\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u5f97\u5230\u4e86\u5982\u4e0b\u56fe\u4e2d\u7684\u63d0\u5347\uff0c\u90a3\u8fd9\u53ef\u662f\u4e00\u4e2a\u6709\u7ade\u4e89\u529b\u7684\u4fe1\u606f\u3002\u540e\u9762\u6211\u4eec\u8fd8\u4f1a\u7ee7\u7eed\u4ecb\u7ecd\u8fd9\u91cc\u6240\u63cf\u8ff0\u7684\u4e1c\u897f\u3002\u7b80\u5355\u6765\u8bf4\uff0cFPGA \u8fd0\u884c\u5728\u6570\u636e\u5e93\u4e2d\uff0c\u5f53\u5176\u6536\u5230 SQL \u67e5\u8be2\u7684\u65f6\u5019\uff0c\u8be5\u56e2\u961f\u8bbe\u8ba1\u7684\u8f6f\u4ef6\u5c31\u4f1a\u4e0e\u4e4b\u7d27\u5bc6\u7ed3\u5408\u8d77\u6765\u3002<\/p>\n

\"baidu-fpga-sql-88\"<\/a><\/p>\n

\u6b27\u9633\u63d0\u5230\u4e86\u4e00\u4ef6\u4e8b\uff0c\u4ed6\u4eec\u7684\u52a0\u901f\u5668\u53d7\u9650\u4e8e FPGA \u7684\u5e26\u5bbd\uff0c\u4e0d\u7136\u6027\u80fd\u8868\u73b0\u672c\u53ef\u4ee5\u66f4\u9ad8\uff0c\u5728\u4e0b\u9762\u7684\u8bc4\u4ef7\u4e2d\uff0c\u767e\u5ea6\u5b89\u88c5\u4e86 2 \u575712 \u6838\u5fc3\uff0c\u4e3b\u9891 2.0 GHz \u7684 intl E26230 CPU\uff0c\u8fd0\u884c\u5728 128G \u5185\u5b58\u3002SDA \u5177\u6709 5 \u4e2a\u5904\u7406\u5355\u5143\uff0c\uff08\u4e0a\u56fe\u4e2d\u7684 300MHz FPGA \u4e3b\u677f\uff09\u6bcf\u4e2a\u5206\u522b\u5904\u7406\u4e0d\u540c\u7684\u6838\u5fc3\u529f\u80fd\uff08\u7b5b\u9009\uff08<\/rp>filter<\/rt>\uff09<\/rp><\/ruby>\uff0c\u6392\u5e8f\uff08<\/rp>sort<\/rt>\uff09<\/rp><\/ruby>\uff0c\u805a\u5408\uff08<\/rp>aggregate<\/rt>\uff09<\/rp><\/ruby>\uff0c\u8054\u5408\uff08<\/rp>join<\/rt>\uff09<\/rp><\/ruby>\u548c\u5206\u7ec4\uff08<\/rp>group by<\/rt>\uff09<\/rp><\/ruby>\uff09<\/p>\n

\u4e3a\u4e86\u5b9e\u73b0 SQL \u67e5\u8be2\u52a0\u901f\uff0c\u767e\u5ea6\u9488\u5bf9 TPC-DS \u7684\u57fa\u51c6\u6d4b\u8bd5\u8fdb\u884c\u4e86\u7814\u7a76\uff0c\u5e76\u4e14\u521b\u5efa\u4e86\u79f0\u505a\u5904\u7406\u5355\u5143\uff08PE\uff09\u7684\u7279\u6b8a\u5f15\u64ce\uff0c\u7528\u4e8e\u5728\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u52a0\u901f 5 \u4e2a\u5173\u952e\u529f\u80fd\uff0c\u8fd9\u5305\u62ec\u7b5b\u9009\uff08<\/rp>filter<\/rt>\uff09<\/rp><\/ruby>\uff0c\u6392\u5e8f\uff08<\/rp>sort<\/rt>\uff09<\/rp><\/ruby>\uff0c\u805a\u5408\uff08<\/rp>aggregate<\/rt>\uff09<\/rp><\/ruby>\uff0c\u8054\u5408\uff08<\/rp>join<\/rt>\uff09<\/rp><\/ruby>\u548c\u5206\u7ec4\uff08<\/rp>group by<\/rt>\uff09<\/rp><\/ruby>\uff0c\uff08\u6211\u4eec\u5e76\u6ca1\u6709\u628a\u8fd9\u4e9b\u5355\u8bcd\u90fd\u50cf SQL \u90a3\u6837\u5927\u5199\uff09\u3002SDA \u8bbe\u5907\u4f7f\u7528\u5378\u8f7d\u6a21\u578b\uff0c\u5177\u6709\u591a\u4e2a\u4e0d\u540c\u79cd\u7c7b\u7684\u5904\u7406\u5355\u5143\u7684\u52a0\u901f\u5361\u5728 FPGA \u4e2d\u7ec4\u6210\u903b\u8f91\uff0cSQL \u529f\u80fd\u7684\u7c7b\u578b\u548c\u6bcf\u5f20\u5361\u7684\u6570\u91cf\u7531\u7279\u5b9a\u7684\u5de5\u4f5c\u91cf\u51b3\u5b9a\u3002\u7531\u4e8e\u8fd9\u4e9b\u67e5\u8be2\u5728\u767e\u5ea6\u7684\u7cfb\u7edf\u4e2d\u6267\u884c\uff0c\u7528\u6765\u67e5\u8be2\u7684\u6570\u636e\u88ab\u4ee5\u5217\u683c\u5f0f\u63a8\u9001\u5230\u52a0\u901f\u5361\u4e2d\uff08\u8fd9\u4f1a\u4f7f\u5f97\u67e5\u8be2\u975e\u5e38\u5feb\u901f\uff09\uff0c\u800c\u4e14\u901a\u8fc7\u4e00\u4e2a\u7edf\u4e00\u7684 SDA API \u548c\u9a71\u52a8\u7a0b\u5e8f\uff0cSQL \u67e5\u8be2\u5de5\u4f5c\u88ab\u5206\u53d1\u5230\u6b63\u786e\u7684\u5904\u7406\u5355\u5143\u800c\u4e14 SQL \u64cd\u4f5c\u5b9e\u73b0\u4e86\u52a0\u901f\u3002<\/p>\n

SDA \u67b6\u6784\u91c7\u7528\u4e00\u79cd\u6570\u636e\u6d41\u6a21\u578b\uff0c\u52a0\u901f\u5355\u5143\u4e0d\u652f\u6301\u7684\u64cd\u4f5c\u88ab\u9000\u56de\u5230\u6570\u636e\u5e93\u7cfb\u7edf\u7136\u540e\u5728\u90a3\u91cc\u672c\u5730\u8fd0\u884c\uff0c\u6bd4\u5176\u4ed6\u4efb\u4f55\u56e0\u7d20\uff0c\u767e\u5ea6\u5f00\u53d1\u7684 SQL \u52a0\u901f\u5361\u7684\u6027\u80fd\u88ab FPGA \u5361\u7684\u5185\u5b58\u5e26\u5bbd\u6240\u9650\u5236\u3002\u52a0\u901f\u5361\u8de8\u6574\u4e2a\u96c6\u7fa4\u673a\u5668\u5de5\u4f5c\uff0c\u987a\u4fbf\u63d0\u4e00\u4e0b\uff0c\u4f46\u662f\u6570\u636e\u548c SQL \u64cd\u4f5c\u5982\u4f55\u5206\u53d1\u5230\u591a\u4e2a\u673a\u5668\u7684\u51c6\u786e\u539f\u7406\u6ca1\u6709\u88ab\u767e\u5ea6\u62ab\u9732\u3002<\/p>\n

\"\u767e\u5ea6\u8fd0\u7528<\/p>\n

\"\u767e\u5ea6\u8fd0\u7528<\/p>\n

\u6211\u4eec\u53d7\u9650\u4e0e\u767e\u5ea6\u6240\u613f\u610f\u62ab\u9732\u7684\u7ec6\u8282\uff0c\u4f46\u662f\u8fd9\u4e9b\u57fa\u51c6\u6d4b\u8bd5\u7ed3\u679c\u662f\u5341\u5206\u4ee4\u4eba\u9f13\u821e\u7684\uff0c\u5c24\u5176\u662f Terasort \u65b9\u9762\uff0c\u6211\u4eec\u5c06\u5728 Hot Chips \u5927\u4f1a\u4e4b\u540e\u8ddf\u968f\u767e\u5ea6\u7684\u811a\u6b65\u53bb\u770b\u770b\u6211\u4eec\u662f\u5426\u80fd\u5f97\u5230\u5173\u4e8e\u8fd9\u662f\u5982\u4f55\u8fde\u63a5\u5230\u4e00\u8d77\u7684\u548c\u5982\u4f55\u89e3\u51b3\u5185\u5b58\u5e26\u5bbd\u74f6\u9888\u7684\u7ec6\u8282\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-7775-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/baidu-fpga-sql.html<\/a>\u7f16\u8f91\uff1a\u51af\u742a\uff0c\u5ba1\u6838\u5458\uff1a\u9022\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5c3d\u7ba1\u6211\u4eec\u5bf9\u767e\u5ea6\u4eca\u5e74\u5de5\u4f5c\u7126\u70b9\u7684\u5173\u6ce8\u96c6\u4e2d\u5728\u8fd9\u4e2a\u4e2d\u56fd\u641c\u7d22\u5de8\u5934\u5728\u6df1\u5ea6\u5b66\u4e60\u65b9\u9762\u7684\u4e3e\u63aa\u4e0a\uff0c\u8bb8\u591a\u5176\u4ed6\u7684\u5173\u952e\u7684\uff0c\u5c3d\u7ba1\u4e0d\u90a3\u4e48\u524d\u6cbf\u7684\u5e94\u7528\u8868\u73b0\u51fa\u4e86\u5927\u6570\u636e\u5e26\u6765\u7684\u6311\u6218\u3002<\/p>\n","protected":false},"author":63,"featured_media":31821,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-31421","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\/31421","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=31421"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/31421\/revisions"}],"predecessor-version":[{"id":260512,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/31421\/revisions\/260512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/31821"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=31421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=31421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=31421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}