"use strict";(self.webpackChunkelementary_public_docs=self.webpackChunkelementary_public_docs||[]).push([[31137],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>d});var l=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function p(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=l.createContext({}),o=function(e){var n=l.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},c=function(e){var n=o(e.components);return l.createElement(i.Provider,{value:n},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var n=e.children;return l.createElement(l.Fragment,{},n)}},g=l.forwardRef((function(e,n){var t=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=o(t),g=a,d=u["".concat(i,".").concat(g)]||u[g]||y[g]||r;return t?l.createElement(d,p(p({ref:n},c),{},{components:t})):l.createElement(d,p({ref:n},c))}));function d(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var r=t.length,p=new Array(r);p[0]=g;var s={};for(var i in n)hasOwnProperty.call(n,i)&&(s[i]=n[i]);s.originalType=e,s[u]="string"==typeof e?e:a,p[1]=s;for(var o=2;o{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>y,frontMatter:()=>r,metadata:()=>s,toc:()=>o});var l=t(58168),a=(t(96540),t(15680));const r={sidebar_position:1,product:"\u7f13\u5b58\u670d\u52a1(ACS)"},p="\u7f13\u5b58\u670d\u52a1 ACS",s={unversionedId:"cloud-foundation/storage/acs/acs",id:"cloud-foundation/storage/acs/acs",title:"\u7f13\u5b58\u670d\u52a1 ACS",description:"\u4ea7\u54c1\u4ecb\u7ecd",source:"@site/docs/cloud-foundation/storage/acs/acs.md",sourceDirName:"cloud-foundation/storage/acs",slug:"/cloud-foundation/storage/acs/",permalink:"/help/docs/cloud-foundation/storage/acs/",draft:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/cloud-foundation/storage/acs/acs.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,product:"\u7f13\u5b58\u670d\u52a1(ACS)"},sidebar:"tutorialSidebar",previous:{title:"\u9519\u8bef\u7801",permalink:"/help/docs/cloud-foundation/storage/abs/openapi/ErrorCode"},next:{title:"API\u53c2\u8003",permalink:"/help/docs/cloud-foundation/storage/acs/openapi/"}},i={},o=[{value:"\u4ea7\u54c1\u4ecb\u7ecd",id:"\u4ea7\u54c1\u4ecb\u7ecd",level:2},{value:"\u4ea7\u54c1\u4f18\u52bf",id:"\u4ea7\u54c1\u4f18\u52bf",level:2},{value:"\u4ea7\u54c1\u529f\u80fd",id:"\u4ea7\u54c1\u529f\u80fd",level:2},{value:"\u5e94\u7528\u573a\u666f",id:"\u5e94\u7528\u573a\u666f",level:2},{value:"\u8ba1\u8d39\u8bf4\u660e",id:"\u8ba1\u8d39\u8bf4\u660e",level:2},{value:"\u5feb\u901f\u5165\u95e8",id:"\u5feb\u901f\u5165\u95e8",level:2},{value:"\u7528\u6237\u6307\u5357",id:"\u7528\u6237\u6307\u5357",level:2},{value:"\u5e38\u89c1\u95ee\u9898",id:"\u5e38\u89c1\u95ee\u9898",level:2}],c={toc:o},u="wrapper";function y(e){let{components:n,...r}=e;return(0,a.yg)(u,(0,l.A)({},c,r,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7f13\u5b58\u670d\u52a1-acs"},"\u7f13\u5b58\u670d\u52a1 ACS"),(0,a.yg)("h2",{id:"\u4ea7\u54c1\u4ecb\u7ecd"},"\u4ea7\u54c1\u4ecb\u7ecd"),(0,a.yg)("p",null,"\u7f13\u5b58\u670d\u52a1 ACS\uff08SenseCore AI Cache Service\uff09\u4e3a\u5b58\u50a8\u63d0\u4f9b\u7f13\u5b58\u52a0\u901f\u670d\u52a1\uff0c\u652f\u6301Posix\u3001CSI\u63a5\u53e3\uff0c\u53ef\u4ee5\u7f13\u5b58\u5b58\u50a8\u4e2d\u7684\u70ed\u70b9\u6587\u4ef6\uff0c\u63d0\u4f9b\u9ad8\u6027\u80fd\u3001\u9ad8\u541e\u5410\u91cf\u7684\u6570\u636e\u52a0\u901f\u670d\u52a1\u3002"),(0,a.yg)("h2",{id:"\u4ea7\u54c1\u4f18\u52bf"},"\u4ea7\u54c1\u4f18\u52bf"),(0,a.yg)("p",null,"\u9488\u5bf9AI\u8bad\u7ec3\u573a\u666f\uff0c\u63d0\u4f9b\u9ad8IO\u3001\u9ad8\u541e\u5410\u7684\u7f13\u5b58\u52a0\u901f\u670d\u52a1\u3002"),(0,a.yg)("p",null,"1.\u9ad8\u6027\u80fd"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u9762\u5411\u8bad\u7ec3\uff0c\u5e26\u5bbd\u968f\u5bb9\u91cf\u5927\u5c0f\u7ebf\u6027\u589e\u957f\uff0c\u5b9e\u73b0\u767e\u4e07\u7ea7IO\u548c\u541e\u5410\uff0c\u63d0\u5347\u6a21\u578b\u8bad\u7ec3\u7684\u901f\u5ea6\u3002")),(0,a.yg)("p",null,"2.\u9ad8\u53ef\u7528"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u652f\u630199.9%\u7684\u9ad8\u53ef\u7528\u6027\uff0c\u4fdd\u8bc1\u5728\u8bad\u7ec3\u52a0\u901f\u65f6\u9ad8\u6027\u80fd\u4e0d\u4e2d\u65ad\u3002")),(0,a.yg)("p",null,"3.\u591a\u79cd\u8bad\u7ec3\u573a\u666f\u652f\u6301"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u4e0d\u540c\u7684\u8bad\u7ec3\u573a\u666f\uff0c\u6bd4\u5982\uff1a\u591a\u6a21\u6001\u3001\u7279\u522b\u662f\u56fe\u50cf\u3001\u8bed\u97f3\u7b49\u6d77\u91cf\u4e2d\u5c0f\u6570\u636e\u8bfb\u53d6\u52a0\u901f\u7684\u573a\u666f\u3002")),(0,a.yg)("h2",{id:"\u4ea7\u54c1\u529f\u80fd"},"\u4ea7\u54c1\u529f\u80fd"),(0,a.yg)("p",null,"1.\u591a\u79cd\u52a0\u901f\u65b9\u5f0f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u5bf9\u8c61\u5b58\u50a8\u7684\u7f13\u5b58\u52a0\u901f\u529f\u80fd\uff0c\u652f\u6301\u4e0d\u540c\u8bad\u7ec3\u573a\u666f\u7684\u6027\u80fd\u9700\u6c42\u3002")),(0,a.yg)("p",null,"2.\u652f\u6301\u6269\u5bb9\u548c\u7f29\u5bb9"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u6269\u5bb9\u6ee1\u8db3\u6027\u80fd\u9700\u6c42\uff0c\u548c\u901a\u8fc7\u7f29\u5bb9\u964d\u4f4e\u6210\u672c\u3002")),(0,a.yg)("p",null,"3.\u652f\u6301\u9884\u70ed\u529f\u80fd"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u5728\u8bad\u7ec3\u524d\uff0c\u628a\u5c06\u8981\u8bad\u7ec3\u7684\u6570\u636e\u96c6\u9884\u70ed\u5230\u7f13\u5b58\uff0c\u63d0\u9ad8\u8bad\u7ec3\u6548\u7387\u3002")),(0,a.yg)("h2",{id:"\u5e94\u7528\u573a\u666f"},"\u5e94\u7528\u573a\u666f"),(0,a.yg)("p",null,"1.\u6a21\u578b\u8bad\u7ec3\u573a\u666f"),(0,a.yg)("p",null,"\u8bad\u7ec3\u6570\u636e\u5b58\u50a8\u5728\u5927\u89c4\u6a21\u4f4e\u6210\u672cS3\u5bf9\u8c61\u5b58\u50a8\u91cc\uff0c\u901a\u8fc7\u7f13\u5b58\u52a0\u901f\u7684\u65b9\u5f0f\u8fdb\u884c\u6a21\u578b\u8bad\u7ec3\u3002\u8bad\u7ec3\u4e2d\u7684\u6570\u636e\u7c7b\u578b\u4e3b\u8981\u6709\u4e24\u79cd\uff1a\u4e00\u79cd\u4e3a\u89c6\u9891\u3001\u56fe\u50cf\u3001\u8bed\u97f3\u7c7b\u8bad\u7ec3\u4efb\u52a1\u7684\u5c0f\u6587\u4ef6\uff0c\u4e00\u79cd\u4e3aNLP\u3001\u591a\u6a21\u6001\u7b49\u573a\u666f\u4f7f\u7528\u7684\u5927\u6587\u4ef6\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e3aS3\u5bf9\u8c61\u5b58\u50a8\u7684\u63d0\u4f9b\u7f13\u5b58\u670d\u52a1"),(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u63a5\u591a\u79cd\u8ba1\u7b97\u96c6\u7fa4\uff0c\u63d0\u4f9b\u8d85\u9ad8\u541e\u5410\u548c\u8d85\u9ad8 IOPS \u80fd\u529b\u3002")),(0,a.yg)("p",null,"2.\u591a\u673a\u591a\u5361\u8bad\u7ec3\u573a\u666f"),(0,a.yg)("p",null,"\u8986\u76d6\u5355\u673a\u591a\u5361\uff0c\u591a\u673a\u591a\u5361\uff0c\u5343\u5361\uff1b\u6570\u636e\u96c6\u6587\u4ef6\u6570\u89c4\u6a21\u4e07~\u5343\u4ebf\u89c4\u6a21\u7684\u573a\u666f\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6df1\u5ea6\u4f18\u5316\u7f13\u5b58\u670d\u52a1\uff0c\u652f\u6301\u5927\u6a21\u578b\u8bad\u7ec3\u573a\u666f")),(0,a.yg)("h2",{id:"\u8ba1\u8d39\u8bf4\u660e"},"\u8ba1\u8d39\u8bf4\u660e"),(0,a.yg)("p",null,"1.\u8ba1\u8d39\u65b9\u5f0f"),(0,a.yg)("p",null,"\u6309\u91cf\u4ed8\u8d39\uff1a\u7533\u8bf7\u7f13\u5b58\u914d\u7f6e\u5bb9\u91cf\uff0c\u6839\u636e\u65f6\u957f\u8ba1\u7b97\u8d39\u7528\u3002"),(0,a.yg)("table",null,(0,a.yg)("thead",{parentName:"table"},(0,a.yg)("tr",{parentName:"thead"},(0,a.yg)("th",{parentName:"tr",align:null},"\u8ba1\u91cf\u9879"),(0,a.yg)("th",{parentName:"tr",align:"center"},"\u8ba1\u91cf\u65b9\u5f0f"),(0,a.yg)("th",{parentName:"tr",align:"right"},"\u8ba1\u8d39\u65b9\u5f0f"))),(0,a.yg)("tbody",{parentName:"table"},(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u5b58\u50a8\u5bb9\u91cf"),(0,a.yg)("td",{parentName:"tr",align:"center"},"\u5bb9\u91cf\u89c4\u683c\u548c\u8d2d\u4e70\u65f6\u957f"),(0,a.yg)("td",{parentName:"tr",align:"right"},"\u6309\u91cf\u4ed8\u8d39\uff1a\u7f13\u5b58\u8d39\u7528=\u7533\u8bf7\u7684\u7f13\u5b58\u914d\u7f6e\u5bb9\u91cf\xd7\u6bcfGB\u5355\u4ef7\xd7\u4f7f\u7528\u65f6\u957f")))),(0,a.yg)("p",null,"2.\u4f7f\u7528\u89c4\u5219"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u8d2d\u4e70\u65f6\u914d\u7f6e\u7684\u5bb9\u91cf\u5373\u4e3a\u7f13\u5b58\u670d\u52a1\u7684\u6700\u5927\u5bb9\u91cf\uff0c\u6839\u636e\u4f7f\u7528\u65f6\u957f\u8ba1\u8d39\u3002")),(0,a.yg)("p",null,"3.\u6b20\u8d39\u63d0\u9192"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5230\u671f\u524d5\u5929\u3001\u524d3\u5929\u3001\u524d1\u5929\u901a\u8fc7\u7ad9\u5185\u4fe1\u6d88\u606f\u901a\u77e5\u7528\u6237")),(0,a.yg)("p",null,"4.\u6b20\u8d39\u5904\u7406"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6b20\u8d39\u540e\uff0c\u8fdb\u5165\u5230\u4fdd\u7559\u671f\uff0c\u670d\u52a1\u505c\u6b62\uff0c\u7f13\u5b58\u7a7a\u95f4\u4fdd\u755915\u5929\uff0c15\u5929\u540e\u81ea\u52a8\u9500\u6bc1\u7f13\u5b58\u7a7a\u95f4\uff0c\u6570\u636e\u4e0d\u53ef\u6062\u590d\u3002")),(0,a.yg)("h2",{id:"\u5feb\u901f\u5165\u95e8"},"\u5feb\u901f\u5165\u95e8"),(0,a.yg)("p",null,"01.\u5f00\u901a\u670d\u52a1\uff08\u6ce8\u518c\u8d26\u53f7\u5e76\u7533\u8bf7\u5f00\u901a\uff09\u2014\u2014 02.\u521b\u5efa\u7f13\u5b58\u670d\u52a1\uff08\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u521b\u5efa\u7f13\u5b58\u670d\u52a1\uff09\u6dfb\u52a0\u52a0\u901f\u8def\u5f84\u2014\u2014 03.\u7ba1\u7406\u7f13\u5b58\u670d\u52a1\uff08\u901a\u8fc7\u63a7\u5236\u53f0\u7ba1\u7406ACS\u7f13\u5b58\u670d\u52a1\uff09\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5feb\u901f\u521b\u5efa\u5b9e\u4f8b")),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},"\u901a\u8fc7\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u3002"),(0,a.yg)("p",{parentName:"li"},(0,a.yg)("img",{alt:"\u6587\u4ef6\u7cfb\u7edf\u5217\u8868",src:t(97072).A,width:"1773",height:"860"})))),(0,a.yg)("p",null,"2.\u767b\u5f55\u8fdb\u5165\u4e3b\u9875\u9762\uff0c\u70b9\u5de6\u4e0a\u89d2\u4ea7\u54c1\u76ee\u5f55\u6309\u94ae\uff0c\u5f39\u51fa\u4ea7\u54c1\u76ee\u5f55\u9875\uff0c\u5728\u5feb\u901f\u5165\u53e3\u9875\u70b9\u51fb\u3010AI\u7f13\u5b58\u670d\u52a1ACS\u3011\uff0c\u8fdb\u5165ACS\u63a7\u5236\u53f0"),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(26927).A,width:"904",height:"815"})),(0,a.yg)("p",null,"3.\u8fdb\u5165\u7f13\u5b58\u670d\u52a1\u63a7\u5236\u53f0\uff0c\u53ef\u4ee5\u770b\u5230\u7f13\u5b58\u670d\u52a1\u5217\u8868\uff0c\u5c55\u793a\u5df2\u7ecf\u521b\u5efa\u7684\u7f13\u5b58\u670d\u52a1\u5217\u8868\u4fe1\u606f\uff0c"),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(14704).A,width:"1814",height:"447"})),(0,a.yg)("p",null,"4.\u521b\u5efa\u7f13\u5b58\u670d\u52a1\uff1a\u70b9\u51fb\u3010\u521b\u5efa\u3011\u7f13\u5b58\u670d\u52a1\uff0c\u5f39\u51fa\u4e0b\u5355\u9875\u8fdb\u884c\u521b\u5efa\uff0c\u8ba1\u8d39\u6a21\u5f0f\u4e3a\u6309\u91cf\uff0c\u5373\uff1a\u7f13\u5b58\u8d39\u7528=\u7533\u8bf7\u7684\u7f13\u5b58\u914d\u7f6e\u5bb9\u91cf\xd7\u6bcfGB\u5355\u4ef7\xd7\u4f7f\u7528\u65f6\u957f\uff0c\u5176\u4e2d\u5bb9\u91cf\u4e3a\u56fa\u5b9a\u503c \uff0c\u4f7f\u7528\u65f6\u957f\u4e3a\u4e3a\u7528\u6237\u771f\u6b63\u4f7f\u7528\u7684\u65f6\u95f4\u3002\u5728\u8d44\u6e90\u914d\u7f6e\uff0c\u7528\u6237\u53ef\u4ee5\u586b\u5199\u7f13\u5b58\u7684\u5bb9\u91cf\u4fe1\u606f\uff0c\u6700\u4f4e100GB\uff0c\u6700\u5927\u53ef\u4e3a500TB\u5bb9\u91cf\u3002\u7136\u540e\u518d\u8bbe\u7f6e\u7f13\u5b58\u52a0\u901f\u8def\u5f84\uff0c\u9700\u8981\u5728\u4e0b\u62c9\u5217\u8868\u91cc\u9009\u62e9\u5df2\u521b\u5efa\u7684\u5b58\u50a8\u6876\uff0c\u9009\u62e9\u52a0\u901f\u6574\u4e2a\u5b58\u50a8\u6876\u6216\u8005\u81ea\u5b9a\u4e49\u586b\u5199\u5b58\u50a8\u6876\u5185\u5df2\u6709\u7684\u67d0\u4e2a\u76ee\u5f55\uff0c\u652f\u6301\u6dfb\u52a0\u591a\u4e2a\u52a0\u901f\u8def\u5f84\u3002\u57fa\u672c\u4fe1\u606f\uff0c\u53ef\u9009\u62e9\u9ed8\u8ba4\u8d44\u6e90\u7ec4\uff0c\u5e76\u586b\u5199\u8d44\u6e90\u540d\u79f0\uff0c\u70b9\u51fb\u7acb\u5373\u8d2d\u4e70\uff0c\u6839\u636e\u5411\u5bfc\u5b8c\u6210\u521b\u5efa\u3002\u521b\u5efa\u5b8c\u6210\u540e\u7684\u4fe1\u606f\u5c55\u793a\u5728\u7f13\u5b58\u670d\u52a1\u5217\u8868\u9875\u3002\n\u8d44\u6e90\u914d\u7f6e\u4e2d\u5217\u51fa\u7f13\u5b58\u914d\u7f6e\u7a7a\u95f4\u5bf9\u5e94\u6027\u80fd\u7684\u8303\u56f4",(0,a.yg)("br",{parentName:"p"}),"\n","\u541e\u5410\uff1a200MB/s/TB~100GB/s",(0,a.yg)("br",{parentName:"p"}),"\n","IOPS\uff1a30000/s/TB~100\u4e07",(0,a.yg)("br",{parentName:"p"}),"\n","\u5ef6\u8fdf\uff1a<=1ms "),(0,a.yg)("p",null," \u6ce8: "),(0,a.yg)("p",null," \u5728\u3010\u7b2c\u4e09\u65b9\u5b58\u50a8\u52a0\u901f\u3011\u76ee\u524d\u652f\u6301\u7b2c\u4e09\u65b9s3\u5b58\u50a8\u548c\u8de8\u79df\u6237\u52a0\u901f\u8def\u5f84\u53ef\u4ee5\u586b\u5199Endpoint\u4fe1\u606f\uff0c\u586b\u5199Endpoint\u4fe1\u606f\u65f6\uff0c\u5efa\u8bae\u5148\u4f7f\u7528\u5185\u7f51\u57df\u540d\uff0c\u5982\u679c\u4e0d\u652f\u6301\u5185\u7f51\u57df\u540d\uff0c\u518d\u4f7f\u7528\u5916\u7f51\u57df\u540d\u8bbf\u95ee\uff0c\u8fdb\u884c\u5b58\u50a8\u7684\u52a0\u901f\u3002 "),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(51158).A,width:"781",height:"811"})," "),(0,a.yg)("p",null," ",(0,a.yg)("strong",{parentName:"p"},"\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u521b\u5efa\u8bf4\u660e")," "),(0,a.yg)("p",null," \u7f13\u5b58\u52a0\u901f\u8def\u5f84\u662f\u4e00\u79cd\u901a\u8fc7\u7f13\u5b58\u6280\u672f\u6765\u4f18\u5316\u5e94\u7528\u7a0b\u5e8f\u6027\u80fd\u7684\u65b9\u6cd5\u3002\u5b83\u7684\u4f5c\u7528\u662f\u52a0\u901f\u7279\u5b9a\u8def\u5f84\u7684\u64cd\u4f5c\uff0c\u4ece\u800c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u7528\u6237\u4f53\u9a8c\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u6709\u4e24\u79cd\u65b9\u5f0f\u521b\u5efa\uff1a",(0,a.yg)("br",{parentName:"p"}),"\n","\u4e00\u79cd\u662f\u901a\u8fc7\u4e0b\u5355\u9875\u9762\u652f\u6301\u52a0\u901f\u8def\u5f84\u586b\u5199\uff08\u5fc5\u987b\u586b\u5199\u81f3\u5c11\u4e00\u6761\u52a0\u901f\u8def\u5f84\uff09\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u7b2c\u4e8c\u79cd\u662f\u5728\u7f16\u8f91\u9875\u9762\uff0c\u60f3\u8981\u589e\u52a0\u6216\u8005\u51cf\u5c11\u52a0\u901f\u8def\u5f84\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f16\u8f91\u529f\u80fd\u5b9e\u73b0\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u76ee\u524d\u4e0d\u652f\u6301SDK\u65b9\u5f0f\u521b\u5efa\u52a0\u901f\u8def\u5f84\u3002 "),(0,a.yg)("p",null,"\u4ee5\u4e0b\u4e3a\u53ef\u4ee5\u521b\u5efa\u52a0\u901f\u8def\u5f84\u7684\u4e24\u79cd\u65b9\u5f0f\uff1a "),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},"\u4e0b\u5355\u9875\u9762\u652f\u6301\u52a0\u901f\u8def\u5f84 "),(0,a.yg)("p",{parentName:"li"},"\u3010\u8bbe\u7f6e\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u3011\u53ef\u4ee5\u4e0b\u62c9\u5230\u81ea\u5df1\u5df2\u7ecf\u521b\u5efa\u7684\u6876\u8fdb\u884c\u9009\u62e9\uff0c\u5e76\u9009\u62e9\u52a0\u901f\u6574\u4e2a\u5b58\u50a8\u6876\u8fd8\u662f\u81ea\u5b9a\u4e49\u6876\u7684\u8def\u5f84\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u5728\u3010\u7b2c\u4e09\u65b9\u5b58\u50a8\u52a0\u901f\u3011\u76ee\u524d\u53ea\u652f\u6301DCP\u96c6\u7fa4\u7684s3\u5b58\u50a8\u548c\u8de8\u79df\u6237\u52a0\u901f\u8def\u5f84\uff0c\u53ef\u4ee5\u586b\u5199Endpoint\u4fe1\u606f\uff0c\u8fdb\u884c\u5b58\u50a8\u7684\u52a0\u901f\u3002 "),(0,a.yg)("p",{parentName:"li"},(0,a.yg)("img",{src:t(51158).A,width:"781",height:"811"})," ")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},"\u901a\u8fc7\u7f16\u8f91\u9875\u9762\u589e\u52a0\u6216\u8005\u51cf\u5c11\u52a0\u901f\u8def\u5f84 "),(0,a.yg)("p",{parentName:"li"},(0,a.yg)("img",{src:t(65133).A,width:"625",height:"526"})))),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u7f13\u5b58\u4f7f\u7528\u8bf4\u660e")),(0,a.yg)("p",null,"1.\u73af\u5883\u9700\u6c42 "),(0,a.yg)("p",null,"Python\u7248\u672c: 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12",(0,a.yg)("br",{parentName:"p"}),"\n","CPU\u6307\u4ee4\u96c6: x86_64",(0,a.yg)("br",{parentName:"p"}),"\n","\u64cd\u4f5c\u7cfb\u7edf\uff1aUbuntu\u7248\u672c >=18\uff0cCentOS\u7248\u672c >=7",(0,a.yg)("br",{parentName:"p"}),"\n","C\u5e93\uff1aGLIBC >= 2.17",(0,a.yg)("br",{parentName:"p"}),"\n","\u5efa\u8bae\u7528\u6237\u4f7f\u7528conda python\u73af\u5883\uff0canaconda\u6216miniconda\u4e8c\u9009\u4e00\u5b89\u88c5\u90e8\u7f72\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","anaconda\u5b89\u88c5\u6587\u6863\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://docs.anaconda.com/free/anaconda/install/index.html"},"https://docs.anaconda.com/free/anaconda/install/index.html"),(0,a.yg)("br",{parentName:"p"}),"\n","miniconda\u5b89\u88c5\u6587\u6863\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://docs.conda.io/en/latest/miniconda.html"},"https://docs.conda.io/en/latest/miniconda.html")," "),(0,a.yg)("p",null,"2.\u5b89\u88c5ACS SDK\u6b65\u9aa4 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# acs sdk\u7248\u672c\nacs_ver='0.11.0'\n\n# \u4e0b\u8f7dACS whl\u5305\uff0c2\u4e2a\u5305\u5747\u652f\u6301python 3.6-3.12\u7248\u672c\ncurl -fO https://quark.aoss.cn-sh-01.sensecoreapi-oss.cn/quarkacs/release/acs-${acs_ver}-py3-none-any.whl\ncurl -fO https://quark.aoss.cn-sh-01.sensecoreapi-oss.cn/quarkacs/release/acs_sdk_py-${acs_ver}-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.release.whl\n\n# \u5378\u8f7d\u65e7\u7248 ACS whl\u5305\npip uninstall acs acs_sdk_py\n\n# \u4f7f\u7528pip\u5b89\u88c5whl\u5305\npip install acs*${acs_ver}*.whl \n#\u82e5\u62a5\u5b89\u88c5\u4f9d\u8d56\u5305\u8d85\u65f6\uff0c\u53ef\u5c1d\u8bd5 pip install acs*${acs_ver}*.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/\n\n")),(0,a.yg)("p",null,"3.SDK\u4f7f\u7528\u793a\u4f8b "),(0,a.yg)("p",null,"\u4ee5\u4e0b\u6d89\u53ca\u5230\u7684\u57df\u540d\u4fe1\u606f\u8bf7\u6839\u636e\u5bf9\u8c61\u5b58\u50a8\u6240\u5728\u533a\u57df\u7684\u5b9e\u9645EndPoint\u586b\u5199\uff0c\u5982\uff1a\u4e0a\u6d77\u516c\u6709\u4e91\u73af\u5883\u57df\u540d\uff0cEndPoint= 'http(s)://aoss.cn-sh-01.sensecoreapi-oss.cn' \uff0c\u5982\u679c\u662f\u5546\u6c64\u4e13\u6709\u4e91\u73af\u5883\uff0cEndPoint= 'http(s)://aoss.st-sh-01.sensecoreapi-oss.cn'\u3002\u6216\u8005\u4e13\u6709\u4e91\u6709\u5176\u4ed6\u7b2c\u4e09\u65b9\u5b58\u50a8\u96c6\u7fa4\uff0c\u6839\u636e\u5bf9\u8c61\u5b58\u50a8\u5b9e\u9645\u7684EndPoint\u586b\u5199\u5373\u53ef\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u672c\u7248\u672c\u517c\u5bb9Petrel OSS SDK, \u4ee5\u4e0b\u63d0\u4f9bPetrel OSS SDK\u3001AOSS SDK\u3001 Boto3 SDK\u4e09\u79cd\u7528\u6cd5\u3002 "),(0,a.yg)("p",null,"3.1 \u901a\u7528\u64cd\u4f5c\u793a\u4f8b "),(0,a.yg)("p",null,"\u4ece\u7f13\u5b58\u8be6\u60c5\u9875\u590d\u5236ACS\u7f13\u5b58\u5b9e\u4f8b\u7684acs_uid, acs_cid, acs_tid\uff0c\u7c98\u8d34\u5230 $HOME/acs/use_cache.toml \u91cc\uff0c\u5982\u56fe\u3002",(0,a.yg)("br",{parentName:"p"}),"\n",(0,a.yg)("img",{src:t(87176).A,width:"1094",height:"957"}),(0,a.yg)("br",{parentName:"p"}),"\n","$HOME/acs/use_cache.toml \u914d\u7f6e\u4f8b\u5b50\uff1a "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"[global] # global\u914d\u7f6e\u53ef\u4ee5\u4e0d\u5199\nis_on = true # \u662f\u5426\u5168\u5c40\u5f00\u542facs\uff0c\u9ed8\u8ba4\u4e3atrue\uff0c\u672c\u884c\u914d\u7f6e\u53ef\u4ee5\u4e0d\u5199\uff1btrue false\u5168\u90e8\u5c0f\u5199\u3002false\u65f6\uff0c\u76f4\u63a5\u8f6c\u53d1\u539fsdk\n\n[acs.\u7f13\u5b58\u540d\u79f0] # \u4ee5acs\u548c\u82f1\u8bed\u53e5\u70b9\u5f00\u5934\uff0c\u540e\u9762\u63a5\u7f13\u5b58\u540d\u79f0\nacs_uid = '57463cd8-3ee9-4bf4-b139-8890fd26c914'\nacs_cid = 'a349b05b-f949-11ed-aa24-4a12c7a27366'\nacs_tid = '1b7acec1-1f0b-37ec-a6d6-6ff64bebbf5c'\nis_enable = true # \u662f\u5426\u5f00\u542f\u5f53\u524dacs\u5b9e\u4f8b\uff0c\u9ed8\u8ba4\u4e3atrue\uff0c\u672c\u884c\u914d\u7f6e\u53ef\u4ee5\u4e0d\u5199\uff1btrue false\u5168\u90e8\u5c0f\u5199\n")),(0,a.yg)("p",null,"3.2 open-mmlab\u4fee\u6539\u65b9\u6cd5 "),(0,a.yg)("p",null,"\u66ff\u6362from petrel_client import client\u4e3a from acs.aoss import client\uff0c\u5176\u4ed6\u4ee3\u7801\u65e0\u9700\u4fee\u6539\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"#\u4fee\u6539mmengine/fileio/backends/petrel_backend.py, \u66ff\u6362from petrel_client \u4e3a from acs.petrel_oss\nlocation=`pip show mmengine | grep Location | awk '{print $NF}'`\nsed -i -r 's/(^[\\t ]*)from petrel_client import client/\\1# from petrel_client import client\\n\\1from acs.petrel_oss import client/' $location/mmengine/fileio/backends/petrel_backend.py\n\n")),(0,a.yg)("p",null,"\u8bf4\u660e\uff1a",(0,a.yg)("br",{parentName:"p"}),"\n","acs\u63d0\u4f9b\u4e86\u8ddfpetrel oss\u5168\u517c\u5bb9\u7684sdk\uff0c\u63d0\u4f9b\u7ed9\u7528\u62372\u5c42\u63a7\u5236\u662f\u5426\u7ecf\u8fc7acs\u7f13\u5b58\u3002 "),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"$HOME/acs/use_cache.toml\u914d\u7f6e\u91cc","[global]"," is_on\uff0c\u9ed8\u8ba4true\u3002\u5982\u679c\u8bbe\u7f6e is_on = false\uff0c\u90a3\u4e48\u5168\u90e8\u8c03\u7528\u539f\u5bf9\u8c61sdk \u7684 api\u3002\u5982\u679c\u4e3atrue\uff0c\u90a3\u4e48\u770b\u8bf4\u660e2\uff1b "),(0,a.yg)("li",{parentName:"ol"},"\u5982\u679cacs\u6ca1\u6709\u5bf9\u5e94api\u5b9e\u73b0\uff0c\u90a3\u4e48\u8d70\u5bf9\u8c61 api\u3002\u5f53acs\u6709\u6b63\u5728\u8bbf\u95ee\u7684api\u5b9e\u73b0\uff0c\u5982\u679c\u8bbf\u95ee\u6570\u636e\u5728acs\u5b9e\u4f8b\u7684\u52a0\u901f\u8def\u5f84\u91cc\u4e14\u5b9e\u4f8bis_enabled = true\uff0c\u5219\u8d70acs\u5b9e\u4f8b\uff1b\u5982\u679c\u8bbf\u95ee\u6570\u636e\u4e0d\u5728acs\u5b9e\u4f8b\u7684\u52a0\u901f\u8def\u5f84\u91cc\u6216\u5b9e\u4f8b\u7684is_enabled = false\uff0c\u5219\u901a\u8fc7acs sdk\u8bbf\u95ee\u5bf9\u8c61\u5b58\u50a8\u3002 ")),(0,a.yg)("p",null,"3.3 AOSS SDK\u5b8c\u6574\u793a\u4f8b "),(0,a.yg)("p",null,"acs.aoss SDK\u63d0\u4f9b\u6700\u5c0f\u7684\u7528\u6237python\u4ee3\u7801\u4fee\u6539\uff0c\u7528\u6237\u4fee\u65391\u884c import\uff0c\u5176\u4ed6\u903b\u8f91\u65e0\u9700\u4fee\u6539\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# \u4f7f\u7528ACS\u7f13\u5b58\u52a0\u901f\u8bbf\u95eeS3 \u517c\u5bb9 aoss SDK\n# \u4f7f\u7528acs.aoss\u66ff\u4ee3aoss_client\nfrom acs.aoss.client import Client\n#from aoss_client.client import Client\n\ns3 = Client() # \u521b\u5efaclient\u65f6\uff0cSDK\u83b7\u5f97endpoint\uff0c ak\uff0c sk\u540e\uff0c\u89e6\u53d1\u6570\u636e\u96c6\u9884\u8bfb\n\nUri = 's3://s3-test/'\nprint(\"hello\")\ns3.put(Uri+'hello.txt', b'hello, world/n')\nout = s3.get(Uri+'hello.txt')\nprint(out)\n\nprint(\"file\")\nwith open(u'./local_file_a', 'rb') as f:\n s3.put(Uri+'local_file_a', Body=f)\nwith open(u'./local_file_b', 'wb') as f:\n out = s3.get(Uri+'local_file_a', enable_stream=True)\n f.write(out.read())\n\ncontents = s3.list(Uri)\nfor e in contents:\n if e.endswith('/'):\n print('directory:', e)\n else:\n print('file:', e)\n\n")),(0,a.yg)("p",null,"3.4 Petrel OSS SDK\u793a\u4f8b "),(0,a.yg)("p",null,"acs.petrel_oss SDK\u63d0\u4f9b\u6700\u5c0f\u7684\u7528\u6237python\u4ee3\u7801\u4fee\u6539\uff0c\u7528\u6237\u4fee\u65391\u884c import\uff0c\u5176\u4ed6\u903b\u8f91\u65e0\u9700\u4fee\u6539\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# \u4f7f\u7528ACS\u7f13\u5b58\u52a0\u901f\u8bbf\u95eeS3 \u517c\u5bb9 aoss SDK\n# \u4f7f\u7528acs.petrel_oss\u66ff\u4ee3petrel_client\nfrom acs.petrel_oss.client import Client\n#from petrel_client.client import Client\n\ns3 = Client() # \u521b\u5efaclient\u65f6\uff0cSDK\u83b7\u5f97endpoint\uff0c ak\uff0c sk\u540e\uff0c\u89e6\u53d1\u6570\u636e\u96c6\u9884\u8bfb\n\nUri = 's3://s3-test/'\nprint(\"hello\")\ns3.put(Uri+'hello.txt', b'hello, world/n')\nout = s3.get(Uri+'hello.txt')\nprint(out)\n\nprint(\"file\")\nwith open(u'./local_file_a', 'rb') as f:\n s3.put(Uri+'local_file_a', Body=f)\nwith open(u'./local_file_b', 'wb') as f:\n out = s3.get(Uri+'local_file_a', enable_stream=True)\n f.write(out.read())\n\ncontents = s3.list(Uri)\nfor e in contents:\n if e.endswith('/'):\n print('directory:', e)\n else:\n print('file:', e)\n\n")),(0,a.yg)("p",null,"3.5 Boto3 SDK\u5b8c\u6574\u793a\u4f8b "),(0,a.yg)("p",null,"acs.boto3 SDK\u63d0\u4f9b\u6700\u5c0f\u7684\u7528\u6237python\u4ee3\u7801\u4fee\u6539\uff0c\u7528\u6237\u4fee\u65391\u884c import\uff0c\u5176\u4ed6\u903b\u8f91\u65e0\u9700\u4fee\u6539\u3002 "),(0,a.yg)("p",null,(0,a.yg)("inlineCode",{parentName:"p"},"import acs.boto3 as boto3"),(0,a.yg)("br",{parentName:"p"}),"\n","\u66ff\u6362\u539f\u6709\u5bf9\u8c61\u5b58\u50a8\u7684boto3\u5305\uff0cACS SDK\u63d0\u4f9b\u4e86get\uff0cput\u63a5\u53e3\u52a0\u901fS3\u5bf9\u8c61\u5b58\u50a8\u8bbf\u95ee\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# \u4f7f\u7528ACS\u7f13\u5b58\u52a0\u901f\u8bbf\u95eeS3 \u517c\u5bb9 boto3 SDK\n# \u4f7f\u7528acs.boto3\u66ff\u4ee3boto3\n#import boto3\nimport acs.boto3 as boto3 \n\n# \u65e0\u9700\u4fee\u6539\u7528\u6237\u8bbf\u95eeS3\u5bf9\u8c61\u5b58\u50a8\u7684\u903b\u8f91\n\nENDPOINT = 'https://aoss.cn-sh-01.sensecoreapi-oss.cn'\nBUCKET = 's3-test'\n\n# \u521b\u5efaclient\u65f6\uff0cSDK\u83b7\u5f97endpoint\uff0c ak\uff0c sk\u540e\uff0c\u89e6\u53d1\u6570\u636e\u96c6\u9884\u8bfb\ns3 = boto3.client('s3', endpoint_url=ENDPOINT,\n aws_access_key_id=\"your_ak\", aws_secret_access_key=\"your_sk\")\n\nprint(\"hello\")\ns3.put_object(Bucket=BUCKET, Key='hello.txt', Body=b'hello, world/n')\nresp = s3.get_object(Bucket=BUCKET, Key='hello.txt')\nprint(resp['Body'].read())\n\nprint(\"file\")\nwith open(u'./local_file_a', 'rb') as f:\n s3.put_object(Bucket=BUCKET, Key='local_file_a', Body=f)\nwith open(u'./local_file_b', 'wb') as f:\n resp = s3.get_object(Bucket=BUCKET, Key='local_file_a')\n f.write(resp['Body'].read())\n\n")),(0,a.yg)("p",null,"\u7528\u6237\u53ef\u4ee5\u901a\u8fc7filelist\u6307\u5b9a\u6570\u636e\u9884\u52a0\u8f7d\u7684\u987a\u5e8f\u3002\u5f53\u7f13\u5b58\u5bb9\u91cf\u4f7f\u7528\u8d85\u8fc790%\u65f6\uff0c\u7f13\u5b58\u6309'\u5148\u5165\u5148\u51fa'\u66ff\u6362\u5185\u5bb9\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# \u7528\u6237\u901a\u8fc7file list\u8fdb\u884c\u7f13\u5b58\u7684\u52a8\u6001\u9884\u52a0\u8f7d\ns3.preload_by_file_list('file_list_path', 'endpoint', 'bucket')\n#\u7528\u6237\u53ef\u9009\u4f20\u5165parent_dir\uff1b\u4f8b\u5982cache.preload_by_file_list('file_list_path', 'endpoint', 'bucket', 'parent_dir')\uff0c\n#parent_dir\u975e\u7a7a\uff0c\u7f13\u5b58\u81ea\u52a8\u68c0\u67e5\u5e76\u62fc\u63a5\u8def\u5f84 endpoint/bucket/parent_dir/entry_in_file_list, \u6b64\u65f6endpoint/bucket/parent_dir/\u9700\u8981\u5728\u52a0\u901f\u8def\u5f84\u4e2d\n#parent_dir = None\u6216\"\"\u65f6\uff0c\u7f13\u5b58\u81ea\u52a8\u68c0\u67e5\u5e76\u62fc\u63a5\u8def\u5f84 endpoint/bucket/entry_in_file_list\uff0c\u6b64\u65f6endpoint/bucket/\u9700\u8981\u5728\u52a0\u901f\u8def\u5f84\u4e2d\n\n")),(0,a.yg)("p",null,"\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u6807\u6ce8\u6587\u4ef6\u8fdb\u884c\u7f13\u5b58\u6570\u636e\u7684\u9884\u52a0\u8f7d\u3002\u5f53\u7f13\u5b58\u5bb9\u91cf\u4f7f\u7528\u8d85\u8fc790%\u65f6\uff0c\u7f13\u5b58\u6309'\u5148\u5165\u5148\u51fa'\u66ff\u6362\u5185\u5bb9\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"}," # \u7528\u6237\u901a\u8fc7\u6807\u6ce8\u6587\u4ef6\u8fdb\u884c\u7f13\u5b58\u7684\u6570\u636e\u9884\u52a0\u8f7d, \u5c5e\u4e8e\u5bf9\u8c61\u5b58\u50a8endpoint uri\u3001\u6876\u540d\u3001\u76ee\u5f55\u8def\u5f84\ns3.preload_by_ann_json('/fs_path/ann.json', endpoint='endpoint', bucket='bucket', parent_key='parent_key', ann_key=\"filename\", code=\"utf-8\")\n\n")),(0,a.yg)("p",null,"\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u76ee\u5f55\u8fdb\u884c\u7f13\u5b58\u6570\u636e\u7684\u9884\u52a0\u8f7d\u3002\u5f53\u7f13\u5b58\u5bb9\u91cf\u4f7f\u7528\u8d85\u8fc790%\u65f6\uff0c\u7f13\u5b58\u6309'\u5148\u5165\u5148\u51fa'\u66ff\u6362\u5185\u5bb9\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"# \u7528\u6237\u901a\u8fc7\u76ee\u5f55\u8fdb\u884c\u7f13\u5b58\u7684\u6570\u636e\u9884\u52a0\u8f7d, \u5c5e\u4e8e\u5bf9\u8c61\u5b58\u50a8endpoint uri\u3001\u6876\u540d\u3001\u76ee\u5f55\u8def\u5f84\ns3.preload_by_directory('endpoint', 'bucket', 'directory1')\ns3.preload_by_directory('endpoint', 'bucket', 'directory2')\n\n# \u7528\u6237\u53ef\u4ee5\u83b7\u53d6\u5728\u961f\u5217\u4e2d\u7684\u9884\u52a0\u8f7d\u4efb\u52a1\nres = s3.list_preload('bucket', 'directory1', 'cache_id')\nprint(res)\n\n#\u7528\u6237\u53ef\u4ee5\u53d6\u6d88\u72b6\u6001\u4e0d\u662frunning\u7684\u9884\u52a0\u8f7d\u4efb\u52a1\ns3.cancel_preload('bucket', 'directory2', 'cache_id')\n\n")),(0,a.yg)("p",null,"3.6 WebDataSet\u4f7f\u7528\u65b9\u6cd5 "),(0,a.yg)("p",null,"WebDataSet\u4e3aPyTorch\u63d0\u4f9b\u4e86Dataset\u5b9e\u73b0\uff0c\u4f7f\u7528tar\u5f52\u6863\u5927\u91cf\u6837\u672c\u6570\u636e\uff0c\u4ec5\u4f7f\u7528\u9ad8\u6548\u7387\u7684\u987a\u5e8f\u6d41\u5f0f\u6570\u636e\u8bbf\u95ee\u3002\u5728\u8bb8\u591a\u8ba1\u7b97\u73af\u5883\u4e2dWebDataSet\u90fd\u80fd\u5e26\u6765\u4e86\u663e\u8457\u7684\u6570\u636e\u8bbf\u95ee\u6027\u80fd\u4f18\u52bf\uff0c\u5bf9\u4e8e\u8d85\u5927\u89c4\u6a21\u8bad\u7ec3\u81f3\u5173\u91cd\u8981\u3002WebDataSet\u540c\u6837\u9002\u7528\u4e8e\u8f83\u5c0f\u7684\u6570\u636e\u96c6\uff0c\u5e76\u7b80\u5316\u4e86\u6df1\u5ea6\u5b66\u4e60\u8bad\u7ec3\u6570\u636e\u7684\u521b\u5efa\u3001\u7ba1\u7406\u548c\u5206\u53d1\u3002\u5728\u4e0d\u540c\u5b58\u50a8\u7cfb\u7edf\u4e0a\u4f7f\u7528WebDataSet\u4e0d\u9700\u8981\u4efb\u4f55\u5f62\u5f0f\u7684\u6570\u636e\u8f6c\u6362\uff0c\u6570\u636e\u5728tar\u6587\u4ef6\u5185\u7684\u5b58\u50a8\u683c\u5f0f\u4e0d\u53d8\uff0c\u6240\u6709\u7684\u9884\u5904\u7406\u548c\u6570\u636e\u589e\u5f3a\u4ee3\u7801\u90fd\u4fdd\u6301\u4e0d\u53d8. "),(0,a.yg)("p",null,"\u5f53\u6570\u636e\u96c6\u5728ACS\u7f13\u5b58\u7684\u52a0\u901f\u8def\u5f84\u4e2d\u5305\u542b\u5bf9\u8c61\u5b58\u50a8\u8def\u5f84\uff0c\u53ef\u4ee5\u4f7f\u7528ACS\u7f13\u5b58\u52a0\u901fWebDataSet\u8bbf\u95ee\u3002 "),(0,a.yg)("p",null,"1\uff09\u4e0b\u8f7d\u589e\u52a0ACS\u548cAOSS\u652f\u6301\u7684whl\u5305\uff1b "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"curl -fO https://quark.aoss.cn-sh-01.sensecoreapi-oss.cn/quarkacs/release/webdataset-0.2.86-py3-none-any.whl\npip install webdataset-*.whl\n")),(0,a.yg)("p",null,"2\uff09url\u5730\u5740\u589e\u52a0\u524d\u7f00'acs:'\u6216'aoss:'\uff0c\u544a\u77e5WebDataSet\u4eceACS\u6216AOSS\u52a0\u8f7d\u6570\u636e\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},'import webdataset as wds\n\n# \u539furl\u589e\u52a0\'acs:\'\u524d\u7f00\uff0c\u544a\u77e5WebDataSet\u4f7f\u7528acs\u7f13\u5b58\nurl = "acs:s3://quark/quarkacs/tech/00000.tar"\n\ndataset = wds.WebDataset(url).shuffle(100)\n\nfor sample in dataset:\n key = sample["__key__"]\n url = sample["__url__"]\n json = sample["json"]\n print(key, url, json)\n break\n')),(0,a.yg)("ol",{start:4},(0,a.yg)("li",{parentName:"ol"},"\u6302\u8f7d\u4e3a\u6587\u4ef6\u7cfb\u7edf ")),(0,a.yg)("p",null,"4.1 \u88f8\u91d1\u5c5e\u6302\u8f7d "),(0,a.yg)("p",null,"\u53c2\u80032\u8282\u5b89\u88c5 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"#!/usr/bin/bash\n\n# \u4ece2.1\u8282\u83b7\u53d6acs_uid, acs_cid, acs_tid\n# MNT_POINT \u4e3a\u6302\u8f7d\u7684\u76ee\u6807\u8def\u5f84\n# SPEED_UP \u4e3a\u7f13\u5b58\u8be6\u60c5\u9875\u7684\u52a0\u901f\u8def\u5f84\n\n#\u6302\u8f7d\u6574\u4e2acache\nacs-client mnt volumeID=$ACS_CID $MNT_POINT -o userID=$ACS_UID,clusterID=$ACS_TID,ak=$AK,sk=$SK\n\n#\u6302\u8f7d\u67d0\u52a0\u901f\u8def\u5f84\nacs-client mnt volumeID=$ACS_CID,subDir=$SPEED_UP $MNT_POINT -o userID=$ACS_UID,clusterID=$ACS_TID,ak=$AK,sk=$SK\n")),(0,a.yg)("p",null,"\u6302\u8f7d\u4e3a\u6587\u4ef6\u7cfb\u7edf\u540e\uff0cendpoint\u53bb\u6389\u534f\u8bae(http://\u6216https://\uff09\u4f5c\u4e3a\u76ee\u5f55\uff0cbucket\u505a\u4e3a\u76ee\u5f55\uff0ckey\u6309'/'\u5206\u9694\u4f5c\u4e3a\u76ee\u5f55\u3002 "),(0,a.yg)("p",null,"4.2 \u5bf9\u8c61key\u5230\u6587\u4ef6\u76ee\u5f55\u8bf4\u660e "),(0,a.yg)("p",null,"\u663e\u793a\u7f16\u7801\u9700\u4e3aUTF-8\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u6587\u4ef6\u8def\u5f84\u4f7f\u7528'/'\u4f5c\u4e3a\u5206\u9694\u7b26\uff0c'.'\u8868\u793a\u76ee\u5f55\u81ea\u8eab\uff0c'..'\u8868\u793a\u7236\u76ee\u5f55\u3002\u76ee\u5f55\u6216\u6587\u4ef6\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002\u540c\u4e00\u7ea7\u76ee\u5f55\u4e0b\u6ca1\u6709\u91cd\u540d\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u5bf9\u8c61key\u4e3aUFT-8\u5b57\u7b26\u5e8f\u5217\uff0c\u53ef\u80fd\u5305\u542b\u4e0a\u8ff0\u6587\u4ef6\u8def\u5f84\u7684\u4fdd\u7559\u5b57\u7b26\uff0c\u9700\u8981\u8fdb\u884c\u8f6c\u4e49\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u5bf9\u8c61key\u6309'/'\u5206\u4e3a\u591a\u4e2a\u5b57\u7b26\u4e32\uff0c\u6bcf\u4e2a\u90fd\u4f5c\u4e3a\u76ee\u5f55\u9879\uff1b\u7279\u6b8a\u5b57\u7b26\u4e32\u6309\u4e0b\u97625\u6761\u89c4\u5219\u8f6c\u6362\uff1a",(0,a.yg)("br",{parentName:"p"}),"\n","1\uff09\u7a7a\u4e32\u8f6c\u6362\u4e3a'\u2400'\uff08unicode\u7a7a\u5b57\u7b26\uff09\uff1b",(0,a.yg)("br",{parentName:"p"}),"\n","2) '.'\u8f6c\u6362\u4e3a\u5168\u89d2'\uff0e'\uff08\u5168\u89d2\u82f1\u6587\u53e5\u70b9\uff09\uff1b",(0,a.yg)("br",{parentName:"p"}),"\n","3\uff09'..'\u8f6c\u6362\u4e3a\u5168\u89d2'\uff0e\uff0e'\uff08\u4e24\u4e2a\u5168\u89d2\u82f1\u6587\u53e5\u70b9\uff09\uff1b",(0,a.yg)("br",{parentName:"p"}),"\n","4\uff09\u6587\u4ef6\u548c\u76ee\u5f55\u540c\u540d\u65f6\uff0c\u5bf9\u5e94\u6587\u4ef6\u589e\u52a0'\u241c'\u540e\u7f00\uff08unicode\u6587\u4ef6\u7b26\uff09\uff1b",(0,a.yg)("br",{parentName:"p"}),"\n","5\uff09\u8f6c\u4e49\u5b57\u7b26'\u201b'\uff08\u5168\u89d2\u82f1\u6587\u5f15\u53f7\uff09\uff0c\u5f53\u5b57\u7b26\u4e32\u672c\u8eab\u4e3a\u524d\u8ff0\u7279\u6b8a\u5b57\u7b26\uff0c\u90a3\u4e48\u8fdb\u884c\u8f6c\u4e49\uff1b "),(0,a.yg)("p",null,"\u4e3e\u4f8b\u8bf4\u660e\uff0c\u540c\u4e00\u4e2a\u6876\u4e0b\u6709\u4e24\u4e2akey\uff1aa/b/c \u548c a/b/c/d\uff0c\u6302\u8f7d\u4e3a\u6587\u4ef6\u540e\u7684\u8def\u5f84\u4e3aa/b/c\u241c \u548c a/b/c/d\uff0c\u56e0\u4e3ac\u4e0d\u80fd\u540c\u65f6\u4e3a\u76ee\u5f55\u548c\u6587\u4ef6\u540d\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u5bf9\u8c61key\uff1a/x/y\u548cx/y\uff0c\u6302\u8f7d\u540e\u7684\u8def\u5f84\u4e3a\u2400/x/y\u548cx/y\u3002key\uff1az///1\u6302\u8f7d\u540e\u7684\u8def\u5f84\u4e3az/\u2400/\u2400/1 "),(0,a.yg)("ol",{start:5},(0,a.yg)("li",{parentName:"ol"},"\u7f13\u5b58\u9884\u70ed ")),(0,a.yg)("p",null,"5.1 \u6309\u6807\u6ce8\u6587\u4ef6\u9884\u70ed "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},'from acs.aoss.client import Client\n\nclient = Client()\n\n# \u4e0b\u9762\u4ee3\u7801\u89e3\u6790ann.json\u6587\u4ef6\uff0c\u83b7\u53d6\u6240\u6709filename\u5b57\u6bb5\u7ec4\u6210list\uff0cparent_uri\u4f5c\u4e3a\u524d\u7f00\u52a0\u4e0alist\u4e2d\u6bcf\u4e00\u9879\u7ec4\u6210\u5bf9\u8c61key\u7684\u96c6\u5408\uff0c\u4ece\u800c\u7f13\u5b58\u540e\u53f0\u5927\u5e76\u53d1\u4ece\u5bf9\u8c61\u5b58\u50a8\u8bfb\u53d6\u9700\u8981\u9884\u70ed\u7684\u6570\u636e\n# parent_uri\u9700\u88ab\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u8986\u76d6\u5230\nclient.preload_by_ann_json(\'/fs_path/ann.json\', parent_uri, ann_key="filename", code="utf-8") # \u9ed8\u8ba4 ann_key="filename", code="utf-8"\n\n# \u4e0b\u9762\u4ee3\u7801\u67e5\u770b\u9884\u70ed\u4efb\u52a1\u8fdb\u5ea6\uff0cparent_uri\u9700\u88ab\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u8986\u76d6\u5230\nclient.list_preload(parent_uri)\n')),(0,a.yg)("p",null,"5.2 \u6309\u76ee\u5f55\u9884\u70ed "),(0,a.yg)("p",null,"\u7528\u6237\u4f20\u5165\u76ee\u5f55\uff0c\u7f13\u5b58\u6309\u76ee\u5f55list\u987a\u5e8f\u8fdb\u884c\u4e0b\u8f7d\uff0c\u5148\u5165\u5148\u51fa\u66ff\u6362\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"from acs.aoss.client import Client\n\nparent_uri = 's3://s3-testbkt/dir'\nparent_uri1 = 's3://s3-testbkt/dir1'\nclient = Client()\n\n# \u540e\u53f0\u76ee\u5f55\u9884\u52a0\u8f7d\nclient.preload_by_directory(parent_uri)\nclient.preload_by_directory(parent_uri1)\n\n# \u4e0b\u9762\u4ee3\u7801\u67e5\u770b\u9884\u70ed\u4efb\u52a1\u8fdb\u5ea6\uff0cparent_uri\u9700\u88ab\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u8986\u76d6\u5230\nres = client.list_preload(parent_uri)\nprint(res)\n\n# \u53d6\u6d88\u72b6\u6001\u4e0d\u662frunning\u7684\u9884\u70ed\u4efb\u52a1\nclient.cancel_preload(parent_uri1)\n")),(0,a.yg)("p",null,"5.3 \u5355\u6587\u4ef6\u540c\u6b65\u9884\u70ed "),(0,a.yg)("p",null,"aoss\uff0c petrel_oss \u4f8b\u5b50\uff1a "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"from acs.aoss.client import Client\n\nclient = Client()\n# preload\u8fd4\u56de\u6210\u529f\u65f6\uff0c\u7f13\u5b58\u4e2d\u52a0\u8f7d\u4e86's3://s3-test/hello.txt'\nclient.preload('s3://s3-test/hello.txt') \n")),(0,a.yg)("p",null,"5.4 list\u9884\u70ed "),(0,a.yg)("p",null,"\u7528\u6237\u4f20\u5165filelist\uff0c\u7f13\u5b58\u6309filelist\u7684\u987a\u5e8f\u8fdb\u884c\u9884\u8bfb\uff0c\u5148\u5165\u5148\u51fa\u66ff\u6362\u3002 "),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"from acs.aoss.client import Client\n\nparent_uri = 's3://s3-test'\nflist = ['hello.txt', 'world.txt']\nclient = Client()\n\n# \u540e\u53f0\u6279\u91cf\u9884\u52a0\u8f7d\nclient.preload_by_file_list(flist, parent_uri) \n")),(0,a.yg)("h2",{id:"\u7528\u6237\u6307\u5357"},"\u7528\u6237\u6307\u5357"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7f13\u5b58\u670d\u52a1\u5217\u8868\u5c55\u793a")),(0,a.yg)("p",null,"\u7f13\u5b58\u670d\u52a1\u5217\u8868\u4e3b\u8981\u5c55\u793a\u4e86\u7f13\u5b58\u670d\u52a1\u4fe1\u606f\uff0c\u7f13\u5b58\u670d\u540d\u79f0\uff1a\u7528\u6237\u5728\u521b\u5efa\u7f13\u5b58\u7684\u4e0b\u5355\u9875\u586b\u5199\u7684\u8d44\u6e90\u540d\u79f0\u3002\u8fd8\u6709\u53ef\u7528\u533a\u548c\u7f13\u5b58\u5bb9\u91cf\u914d\u7f6e\u4e0e\u5f53\u524d\u5df2\u7528\u5bb9\u91cf\u7684\u5c55\u793a\uff0c\u52a0\u901f\u8def\u5f84\u5c55\u793a\u4e86\u7f13\u5b58\u670d\u52a1\u52a0\u901f\u5b58\u50a8\u6876\u7684\u8def\u5f84\u4fe1\u606f\uff0c\u541e\u5410\u80fd\u529b\u548cIOPS\u5c55\u793a\u4e86\u7f13\u5b58\u80fd\u591f\u5728\u6b64\u7f13\u5b58\u7a7a\u95f4\u80fd\u591f\u63d0\u4f9b\u7684\u6027\u80fd\u4e3a\u591a\u5927\u3002\u5728\u64cd\u4f5c\u9875\u6709\u4e24\u4e2a\u6309\u94ae\uff1a\u3010\u8be6\u60c5\u3011\u548c\u3010\u540c\u6b65\u3011\uff0c\u3010\u8be6\u60c5\u3011\u5c55\u793a\u4e86\u7f13\u5b58\u7684\u8be6\u7ec6\u4fe1\u606f\u548c\u6027\u80fd\u76d1\u63a7\u4fe1\u606f\uff0c\u3010\u540c\u6b65\u3011\u662f\u4e3a\u4e86\u4fdd\u8bc1\u7f13\u5b58\u6570\u636e\u4e3a\u6700\u65b0\u6570\u636e\uff0c\u5f53\u5bf9\u8c61\u5b58\u50a8\u589e\u52a0\u4e86\u65b0\u6570\u6570\u636e\uff0c\u70b9\u51fb\u3010\u540c\u6b65\u3011\uff0c\u628a\u65b0\u6570\u636e\u540c\u6b65\u5230\u7f13\u5b58\u91cc\u3002"),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(95026).A,width:"1686",height:"266"})," "),(0,a.yg)("ol",{start:2},(0,a.yg)("li",{parentName:"ol"},"\u7f16\u8f91\u529f\u80fd")),(0,a.yg)("p",null,"\u5728\u7f13\u5b58\u5217\u8868\u9875\uff0c\u9009\u62e9\u8981\u7f16\u8f91\u7684\u7f13\u5b58\u5b9e\u4f8b\uff0c\u70b9\u51fb\u3010\u7f16\u8f91\u3011\uff0c\u5f39\u51fa\u7f16\u8f91\u5bf9\u8bdd\u6846\uff0c\u53ef\u4ee5\u589e\u52a0\u6216\u8005\u5220\u9664\u52a0\u901f\u8def\u5f84\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u7f13\u5b58\u52a0\u901f\u8def\u5f84\uff1a\u652f\u6301\u52a0\u901f\u79df\u6237\u5185\u7684\u6876\u6216\u8005\u6876\u5185\u7684\u76ee\u5f55\u3002\n\u8bbe\u7f6e\u8de8\u79df\u6237\u52a0\u901f\u8def\u5f84\uff1a\u4e3a\u8de8\u79df\u6237\u6216\u8005\u5bf9\u8c61\u5b58\u50a8\u79df\u6237\u5185\u90e8\u65e0\u6cd5list\u5230\u7684\u5177\u6709\u8bfb\u5199\u6743\u9650\u7684\u6876\u3002\n\u7b2c\u4e09\u65b9\u5b58\u50a8\u52a0\u901f\uff1a\u652f\u6301\u52a0\u901f\u975eSenseCore\u7684\u5b58\u50a8\u8d44\u6e90\uff0c\u76ee\u524d\u652f\u6301 S3\u534f\u8bae\u7684\u5b58\u50a8\u3002 "),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(47039).A,width:"1781",height:"537"})," "),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(61764).A,width:"612",height:"690"})," "),(0,a.yg)("p",null,"2.\u8be6\u60c5\u4fe1\u606f\u5c55\u793a"),(0,a.yg)("p",null,"\u70b9\u51fb\u7f13\u5b58\u670d\u52a1\u5bf9\u5e94\u7684\u3010\u8be6\u60c5\u3011\u6309\u94ae\u8fdb\u5165\u5230\u8be6\u60c5\u9875\uff0c\u5c55\u793a\u4e86\u7f13\u5b58\u7684\u57fa\u672c\u4fe1\u606f\u3001\u52a0\u901f\u8def\u5f84\uff0c\u5176\u4e2d\u3010\u52a0\u901f\u8def\u5f84\u3011\u4e3aSenseCore\u79df\u6237\u5185\u6876\u52a0\u901f,\u3010\u5176\u4ed6\u8def\u5f84\u3011\u4e3a\u8de8\u79df\u6237\u6216\u8005\u5bf9\u8c61\u5b58\u50a8\u79df\u6237\u5185\u90e8\u65e0\u6cd5list\u5230\u7684\u5177\u6709\u8bfb\u5199\u6743\u9650\u7684\u6876\u3001\u3010\u7b2c\u4e09\u65b9\u5b58\u50a8\u8def\u5f84\u3011\u4e3a\u975eSenseCore\u7684\u5b58\u50a8\u52a0\u901f\uff0c\u76ee\u524d\u652f\u6301S3\u534f\u8bae\u5b58\u50a8;\u652f\u6301SDK\u547d\u4ee4\u884c\u4f7f\u7528\u548c\u4ed8\u8d39\u65b9\u5f0f\u7684\u4fe1\u606f"),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(25005).A,width:"1278",height:"743"})),(0,a.yg)("p",null,"3.\u6027\u80fd\u76d1\u63a7"),(0,a.yg)("p",null,"\u70b9\u51fb\u3010\u6027\u80fd\u76d1\u63a7\u3011\uff0c\u5728\u672c\u9875\u5c55\u793a\u4e86\u7f13\u5b58\u7684\u8bfb\u5199IOPS\u3001\u8bfb\u5199\u541e\u5410\u3001\u8bfb\u5199\u5ef6\u8fdf\u7684\u6298\u7ebf\u56fe\u548c\u7f13\u5b58\u547d\u4e2d\u7387\u7684\u73af\u5f62\u56fe\u4fe1\u606f\u5c55\u793a\u3002\n\u5176\u4e2d\u7f13\u5b58\u547d\u4e2d\u7387\u8ba1\u7b97\u516c\u5f0f\uff1a\u7f13\u5b58\u547d\u4e2d\u7387=\u7ecf\u7f13\u5b58\u8bfb\u7684\u6587\u4ef6\u6570\u91cf/\uff08\u7ecf\u7f13\u5b58\u8bfb\u7684\u6587\u4ef6\u6570\u91cf+\u76f4\u63a5\u4ece\u5bf9\u8c61\u5b58\u50a8\u8bfb\u53d6\u7684\u6587\u4ef6\u6570\u91cf\uff09"),(0,a.yg)("p",null," ",(0,a.yg)("img",{src:t(2347).A,width:"1858",height:"741"})),(0,a.yg)("h2",{id:"\u5e38\u89c1\u95ee\u9898"},"\u5e38\u89c1\u95ee\u9898"),(0,a.yg)("p",null,"1.\u7f13\u5b58\u4e3b\u8981\u652f\u6301\u54ea\u79cd\u5b58\u50a8\u52a0\u901f\uff1f\u52a0\u901f\u8303\u56f4\u662f\u4ec0\u4e48\uff1f"),(0,a.yg)("p",null,"\u7b54\uff1a\u4e3b\u8981\u652f\u6301\u5bf9\u8c61\u5b58\u50a8\u7684\u7f13\u5b58\u52a0\u901f\u670d\u52a1\uff0c\u4e3a\u591a\u6a21\u6001\u3001\u7279\u522b\u662f\u56fe\u50cf\u3001\u8bed\u97f3\u7b49\u6d77\u91cf\u4e2d\u5c0f\u6570\u636e\u8bfb\u53d6\u52a0\u901f\u7684\u573a\u666f\u3002",(0,a.yg)("br",{parentName:"p"}),"\n","\u7f13\u5b58\u52a0\u901f\u8303\u56f4\uff1a\u521b\u5efa\u7f13\u5b58\u65f6\uff0c\u7528\u6237\u586b\u5165\u52a0\u901f\u8def\u5f84\uff0c\u7f13\u5b58\u53ea\u52a0\u901f\u52a0\u901f\u8def\u5f84\u8303\u56f4\u5185\u7684\u5bf9\u8c61\u8bfb\u53d6\u3002 "),(0,a.yg)("p",null,"2.ERROR: acs_sdk_py-xxx.whl is not a supported wheel on this platform."),(0,a.yg)("p",null,"\u7b54\uff1aPython \u7248\u672c\u548c\u5f53\u524dwhl\u5305\u4e0d\u5339\u914d\u3002"),(0,a.yg)("p",null,"\u89e3\u51b3\u529e\u6cd5\uff1a\u6309\u624b\u518cSDK\u5b89\u88c5\u65b9\u6cd5\u5b89\u88c5\u3002\u5982\u679c\u6ca1\u6709\u5bf9\u5e94python\u7248\u672c\u7684whl\u5305\uff0c\u8bf7\u8054\u7cfb\u4ea4\u4ed8\u652f\u6301\u3002"),(0,a.yg)("p",null,"3.OSError\uff1atransport error"),(0,a.yg)("p",null,"\u7b54\uff1a\u5ba2\u6237\u7aef\u8ddf\u670d\u52a1\u7aef\u7f51\u7edc\u901a\u4fe1\u95ee\u9898\uff0c\u8bf7\u5148\u6392\u67e5\u5ba2\u6237\u673a\u5668\u672c\u8eab\u7f51\u7edc\u901a\u7545\u3002\u6392\u9664\u673a\u5668\u672c\u8eab\u7f51\u7edc\u95ee\u9898\u540e\uff0c\u5982\u679c\u9519\u8bef\u4ecd\u65e7\u5b58\u5728\uff0c\u8bf7\u8054\u7cfb\u4ea4\u4ed8\u4eba\u5458\u8bf7\u6c42\u652f\u6301\u3002"),(0,a.yg)("p",null,"4.preload_by_file_list()\u662f\u5426\u53ef\u591a\u6b21\u8c03\u7528\uff0c\u591a\u6b21\u8c03\u7528\u6709\u4ec0\u4e48\u5f71\u54cd "),(0,a.yg)("p",null,"\u7b54\uff1a\u53ef\u4ee5\u591a\u6b21\u8c03\u7528\u3002\u5f53file list\u5728\u7f13\u5b58\u91cc\u7d2f\u8ba1\u6570\u636e\u96c6\u5408\u5927\u5c0f\u8d85\u8fc7\u5bb9\u91cf90%\u65f6\uff0c\u6309\u5148\u5165\u5148\u51fa\u6dd8\u6c70\u3002\u5f53\u4e00\u4e2a\u6587\u4ef6\u591a\u6b21\u52a0\u5165\u65f6\uff0c\u6309\u6700\u540e\u7684\u4f4d\u7f6e\u6dd8\u6c70\u3002 "),(0,a.yg)("p",null,"5.preload_by_file_list()\u5185\u5bb9\u8ddf\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u7684\u5173\u7cfb "),(0,a.yg)("p",null,"\u7b54\uff1a\u53ea\u5bf9\u7f13\u5b58\u52a0\u901f\u8def\u5f84\u8303\u56f4\u6709\u6548\u3002\u5f53\u67d0\u4e2a\u6587\u4ef6\u4e0d\u5728\u4e00\u4e2a\u7f13\u5b58\u5b9e\u4f8b\u7684\u52a0\u901f\u8def\u5f84\u91cc\u65f6\uff0c\u4e0d\u4f1a\u88ab\u8fd9\u4e2a\u7f13\u5b58\u52a0\u901f\u3002 "),(0,a.yg)("p",null,"6.\u4e0d\u4f7f\u7528preload_by_file_list()\u65f6\u7f13\u5b58\u7684\u884c\u4e3a "),(0,a.yg)("p",null,"\u7b54\uff1a\u7f13\u5b58get\u540e\u7f13\u5b58\uff0c\u5982\u679c\u6570\u636e\u5927\u4e8e\u7f13\u5b58\u5bb9\u91cf\u768490%\uff0c\u90a3\u4e48\u89e6\u53d1\u5148\u5165\u5148\u51fa\u6dd8\u6c70\u3002"),(0,a.yg)("p",null,"7.\u7f13\u5b58\u521b\u5efa\u5927\u5c0f "),(0,a.yg)("p",null,"\u7b54\uff1a\u6bcf\u4e2a\u7f13\u5b58\u5bf9\u5e94\u4e00\u4e2a\u8ba1\u7b97\u4efb\u52a1\u8bbf\u95ee\u7684\u6570\u636e\u96c6\uff0c\u7f13\u5b58\u5927\u5c0f\u5e94\u7565\u5927\u4e8e\u6570\u636e\u96c6\u5927\u5c0f\u3002"))}y.isMDXComponent=!0},26927:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/228-3-c57e0a6042ecd1ed656fff121f4dcc7c.png"},14704:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/228-4-f76bcd55463baca464c4024a1f96bc2b.png"},2347:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/228-7-f1f298890760e17a7bb63b3b8ea73bef.png"},51158:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/24430-1-e6c4caab116535a7641db9e27fb0958c.png"},65133:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/24430-2-8d675232d2fa6466c26e7efe495fa7ae.png"},87176:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/24430-3-update-1f509d5f34b0a9adadffda1d24060d96.png"},97072:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/5-1-3d80d69c5e67962a4938fe0a5c2cf5cc.png"},47039:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/730-1-0760e0c87e01d405b3df57abd09e0fca.png"},61764:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/730-2-576a9f18581ecf5796fe780b87df3b0f.png"},25005:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/730-3-bc2f7412efd9a28c40f3b3e08496dc03.png"},95026:(e,n,t)=>{t.d(n,{A:()=>l});const l=t.p+"assets/images/730-4-84e731443a6a0c2d09487721011ab672.png"}}]);