{"id":245152,"date":"2022-06-23T09:00:51","date_gmt":"2022-06-23T01:00:51","guid":{"rendered":"https:\/\/gulass.cn\/?p=245152"},"modified":"2022-06-18T18:10:52","modified_gmt":"2022-06-18T10:10:52","slug":"linux-cpu-zstd","status":"publish","type":"post","link":"https:\/\/gulass.cn\/linux-cpu-zstd.html","title":{"rendered":"Linux 5.19\u65b0\u52a8\u4f5c\uff1a\u5408\u5e76\u9f99\u82afCPU\uff0c\u7ec8\u4e8e\u63a5\u7eb3Zstd\u538b\u7f29\u56fa\u4ef6"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n Linux 5.19\u65b0\u52a8\u4f5c\uff1a\u5408\u5e76\u9f99\u82afCPU\uff0c\u7ec8\u4e8e\u63a5\u7eb3Zstd\u538b\u7f29\u56fa\u4ef6.Linus \u5df2\u5c06\u9f99\u82af LoongArch CPU \u67b6\u6784\u7684\u5185\u6838\u79fb\u690d\u5408\u5e76\u5230 Linux 5.19\u3002\u4e0d\u8fc7\u7531\u4e8e\u4e00\u4e9b\u4ee3\u7801\u5c1a\u672a\u901a\u8fc7\u5ba1\u67e5\uff0c\u867d\u7136 LoongArch CPU \u67b6\u6784\u4ee3\u7801\u5df2\u7ecf\u88ab\u5408\u5e76\uff0c\u4f46\u7f3a\u5c11\u4e00\u4e9b\u5173\u952e\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u56e0\u6b64 Linux 5.19 \u6682\u672a\u652f\u6301\u5728\u642d\u8f7d LoongArch CPU \u7684\u8bbe\u5907\u4e0a\u542f\u52a8\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

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

Linux 5.19 \u5df2\u5408\u5e76\u9f99\u82af LoongArch CPU \u67b6\u6784<\/strong><\/span><\/div>\n

Linus \u5df2\u5c06\u9f99\u82af LoongArch CPU \u67b6\u6784\u7684\u5185\u6838\u79fb\u690d\u5408\u5e76\u5230 Linux 5.19\u3002\u4e0d\u8fc7\u7531\u4e8e\u4e00\u4e9b\u4ee3\u7801\u5c1a\u672a\u901a\u8fc7\u5ba1\u67e5\uff0c\u867d\u7136 LoongArch CPU \u67b6\u6784\u4ee3\u7801\u5df2\u7ecf\u88ab\u5408\u5e76\uff0c\u4f46\u7f3a\u5c11\u4e00\u4e9b\u5173\u952e\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u56e0\u6b64 Linux 5.19 \u6682\u672a\u652f\u6301\u5728\u642d\u8f7d LoongArch CPU \u7684\u8bbe\u5907\u4e0a\u542f\u52a8\u3002<\/p>\n

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

\u4e0a\u5468\u6211\u4eec\u62a5\u9053\u4e86 LoongArch CPU \u67b6\u6784\u5185\u6838\u79fb\u690d\u88ab\u5408\u5e76\u7684\u76f8\u5173\u80cc\u666f\uff0c\u5f53\u65f6\u9f99\u82af\u5f00\u53d1\u8005\u8feb\u5207\u5e0c\u671b Linux \u5185\u6838\u80fd\u591f\u5408\u5e76\u4ed6\u4eec\u7684\u4ee3\u7801\u5230\u4e3b\u7ebf \u2014\u2014 \u5373\u4f7f\u7f3a\u5c11\u9a71\u52a8\u7a0b\u5e8f\u3002\u8fd9\u662f\u4e3a\u4e86\u80fd\u591f\u5411 GNU C \u5e93 (Glibc) \u63d0\u4ea4 LoongArch \u7684\u652f\u6301\u4ee3\u7801\u3002\u4ed6\u4eec\u8ba4\u4e3a\uff0c\u5982\u9700\u4e3b\u7ebf\u5316 Glibc target\uff0c\u9996\u5148\u8981\u6709\u4e00\u4e2a\u7a33\u5b9a\u7684\u7528\u6237\u7a7a\u95f4 ABI \u6765\u89e3\u51b3\u5185\u6838\u652f\u6301\u3002\u4f46\u7531\u4e8e Glibc 2.38 \u9884\u8ba1\u5728 8 \u6708\u53d1\u5e03\uff0cLoongArch
\n\u9700\u8981\u5148\u5408\u5e76\u5230 Linux 5.19\uff0c\u4ee5\u4fbf\u6709\u8db3\u591f\u7684\u65f6\u95f4\u5728 7 \u6708\u53d1\u5e03\uff0c\u5e76\u4f7f Glibc LoongArch \u4ee3\u7801\u5728\u4e0b\u4e00\u4e2a\u7248\u672c\u5b8c\u6210\u3002<\/p>\n

\u6b64\u5916\uff0c\u73b0\u5728\u5408\u5e76 LoongArch CPU \u7684\u652f\u6301\u4ee3\u7801\u4e5f\u51cf\u5c11\u4e86\u5bf9 Linux 5.20 \u4e2d\u53ef\u80fd\u51fa\u73b0\u7684\u4efb\u4f55\u4e3b\u7ebf\u6811\u53d8\u5316\u7684\u7ef4\u62a4\u8d1f\u62c5\u3002<\/p>\n

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

\u636e\u4ecb\u7ecd\uff0c\u6b64\u6b21\u5408\u5e76\u4e3a Linux \u5185\u6838\u589e\u52a0\u4e86 21000 \u884c\u4ee3\u7801\uff08\u672a\u5305\u62ec\u9a71\u52a8\u7a0b\u5e8f\uff09\uff0c\u5230\u4eca\u5e74\u590f\u5929\u665a\u4e9b\u65f6\u5019 Linux 5.20 \u5185\u6838\u5f00\u53d1\u5468\u671f\u65f6\uff0c\u5176\u4f59\u6240\u9700\u7684\u9a71\u52a8\u7a0b\u5e8f\u652f\u6301\u5c06\u901a\u8fc7\u5ba1\u67e5\uff0c\u4ea7\u751f\u4e00\u4e2a\u53ef\u542f\u52a8\u7684 LoongArch \u7cfb\u7edf\u3002<\/p>\n

\u56db\u5e74\u524d\uff0c\u77e5\u540d Linux \u5185\u6838\u5f00\u53d1\u8005 Arnd Bergmann \u66fe\u9884\u6d4b C-SKY \u5c06\u662f \u201c\u6211\u4eec\u6700\u540e\u4e00\u4e2a\u6dfb\u52a0\u5230\u5185\u6838\u7684\u65b0 CPU \u67b6\u6784\u201d\u3002C-SKY \u662f\u7531\u4e2d\u56fd\u5f00\u53d1\u7684 CPU \u67b6\u6784\uff0c\u5f53\u65f6\u7684\u60f3\u6cd5\u662f\u6240\u6709\u672a\u6765\u7684 CPU \u5de5\u4f5c\u90fd\u62e5\u62b1 RISC-V\u3002\u4f46\u73b0\u5728\u770b\u6765\uff0cLoongArch \u4e5f\u8bb8\u5c06\u662f\u6700\u540e\u4e00\u4e2a\u6dfb\u52a0\u5230 Linux \u5185\u6838\u7684\u65b0 CPU \u67b6\u6784\u3002<\/p>\n

Linux 5.19 \u5df2\u652f\u6301\u4f7f\u7528 Zstd \u538b\u7f29\u56fa\u4ef6<\/strong><\/span><\/div>\n

Linux \u5185\u6838\u7ef4\u62a4\u8005 Greg Kroah-Hartman \u5df2\u7ecf\u5f00\u59cb\u5411 Linux 5.19 \u63d0\u4ea4\u4ed6\u6240\u8d1f\u8d23\u7684\u591a\u4e2a\u6a21\u5757\u7684\u91cd\u8981\u7279\u6027 PR\u3002\u968f\u7740\u65b0\u7248\u672c\u5185\u6838\u5bf9\u9a71\u52a8\u7a0b\u5e8f\u8fdb\u884c\u6838\u5fc3\u6539\u52a8\uff0c\u73b0\u5df2\u652f\u6301\u4f7f\u7528\u6d41\u884c\u7684 Zstd \u6765\u538b\u7f29\u56fa\u4ef6\u6587\u4ef6\u3002<\/p>\n

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

\u8be5\u9879\u529f\u80fd\u652f\u6301\u5c06\u73b0\u6709\u7684 FW_LOADER_COMPRESS \u62c6\u5206\u4e3a\u901a\u7528 knob\uff0c\u5c06 XZ \u56fa\u4ef6\u538b\u7f29\u79fb\u52a8\u81f3\u65b0\u7684 FW_LOADER_COMPRESS_XZ knob\uff0c\u540c\u65f6\u6dfb\u52a0 FW_LOADER_COMPRESS_ZSTD \u4ee5\u542f\u7528\u6b64 Zstd \u538b\u7f29\u56fa\u4ef6\u6587\u4ef6\u652f\u6301\u3002\u5f53\u542f\u7528\u5185\u6838\u652f\u6301\u5e76\u4e14\u56fa\u4ef6\u6587\u4ef6\u4ee5 .zst \u7ed3\u5c3e\u65f6\uff0c\u5c06\u81ea\u52a8\u52a0\u8f7d Zstd \u538b\u7f29\u7684\u56fa\u4ef6\u6587\u4ef6\u3002<\/p>\n

\u4ece\u900f\u660e\u6587\u4ef6\u7cfb\u7edf\u538b\u7f29\u5230\u4f7f\u7528 Zstd \u538b\u7f29\u5185\u6838\u955c\u50cf\uff0cLinux \u5185\u6838\u5f00\u59cb\u8d8a\u6765\u8d8a\u591a\u5730\u4f7f\u7528 Zstd\u3002\u8c08\u5230\u5bf9\u7ecf Zstd \u538b\u7f29\u8fc7\u7684\u56fa\u4ef6\u7684\u652f\u6301\uff0c\u4f7f\u7528 Zstd \u538b\u7f29 Linux \u56fa\u4ef6\u6811\u5f80\u5f80\u6bd4\u4f7f\u7528\u73b0\u6709\u7684 XZ \u7a0d\u5927\uff0c\u4f46\u52a0\u8f7d\u56fa\u4ef6\u6587\u4ef6\u65f6\u7684\u89e3\u538b\u7f29\u901f\u5ea6\u8981\u5feb\u5f97\u591a<\/strong>\u3002<\/p>\n

\u591a\u5e74\u6765\uff0c\u4e00\u76f4\u6709\u4eba\u63d0\u8bae\u5728 Linux \u5185\u6838\u7684\u56fa\u4ef6\u5904\u7406\u4e2d\u589e\u52a0\u5bf9 Zstd \u538b\u7f29\u7684\u652f\u6301\uff0c\u4ee5\u8282\u7701\u78c1\u76d8\u7a7a\u95f4\uff0c\u540c\u65f6\u63d0\u4f9b\u5feb\u901f\u7684\u89e3\u538b\u7f29\u901f\u5ea6\uff0c\u5e76\u4f5c\u4e3a\u73b0\u6709 XZ \u538b\u7f29\u7684\u66ff\u4ee3\u65b9\u6848\u3002\u4f46\u8fd9\u4e9b\u8865\u4e01\u4e00\u76f4\u90fd\u6ca1\u6709\u5b8c\u6210\uff0c\u800c\u968f\u7740 Linux 5.19 \u7684\u63a8\u51fa\uff0c\u5f88\u5feb\u5c06\u4f1a\u5982\u613f\u63d0\u4f9b\u3002<\/p>\n

\u5bf9\u4e8e\u60f3\u8981\u4f7f\u7528 Zstandard \u538b\u7f29\u7b97\u6cd5\u7684\u5f00\u53d1\u8005\u3002Zstd \u538b\u7f29\u56fa\u4ef6\u9664\u4e86\u53ef\u4ee5\u8282\u7701\u78c1\u76d8\u7a7a\u95f4\uff0c\u8fd8\u4f1a\u63d0\u4f9b\u7531\u5185\u6838\u52a8\u6001\u5b8c\u6210\u7684\u5feb\u901f\u89e3\u538b\u7f29\u3002\u4ee5 .zst \u7ed3\u5c3e\u7684\u56fa\u4ef6\u6587\u4ef6\u5c06\u7531 Linux \u5185\u6838\u7684\u56fa\u4ef6\u52a0\u8f7d\u7a0b\u5e8f\u89e3\u538b\u7f29\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Linus \u5df2\u5c06\u9f99\u82af LoongArch CPU \u67b6\u6784\u7684\u5185\u6838\u79fb\u690d\u5408\u5e76\u5230 Linux 5.19\u3002\u4e0d\u8fc7\u7531\u4e8e\u4e00\u4e9b\u4ee3\u7801 […]<\/p>\n","protected":false},"author":643,"featured_media":241794,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-245152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/245152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=245152"}],"version-history":[{"count":3,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/245152\/revisions"}],"predecessor-version":[{"id":245179,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/245152\/revisions\/245179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/241794"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=245152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=245152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=245152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}