èŠåïŒå€ãã®æçŽãé·ãèªã¿ã
æè©
éåžžã«äžè¬çãªåé¡ã¯ãããµãŒããŒã®é床ããç解ããããšããè©Šã¿ã§ãããã¹ãŠã®ãã¹ãã®äžã§ããã£ã¹ã¯ãµãã·ã¹ãã ã®ããã©ãŒãã³ã¹ãè©äŸ¡ããæãåããªè©Šã¿ã§ãã ç§ã®äººçã§èŠãææã¯æ¬¡ã®ãšããã§ãã
- ddã䜿çšããŠã¯ã©ã¹ã¿ãŒFSé床ãè©äŸ¡ããç§åŠçåºçç©ïŒããã³ãã¡ã€ã«ãã£ãã·ã¥ãæå¹ã«ãããã€ãŸãçŽæ¥ãªãã·ã§ã³ãªãïŒ
- ãããŒ++ã䜿çšããŠ
- iozoneã䜿çšãã
- ã©ã³ã¿ã€ã 枬å®ã§ã®cpãã³ãã«ã®äœ¿çš
- 64ãããã·ã¹ãã ã§ãã€ãã¢ã§iometerã䜿çšãã
ãããã¯ãã¹ãŠå®å šã«ééã£ãæ¹æ³ã§ãã ããã«åŸ®åŠãªæž¬å®èª€å·®ãåæããŸããããããã®ãã¹ãã«é¢ããŠã¯ã1ã€ã ãèšãããšãã§ããŸã-ãããæšãŠãŠã䜿çšããªãã§ãã ããã
ãããŒ++ãšã€ãªãŸã³ã¯ããã¡ã€ã«ã·ã¹ãã ã®é床ã枬å®ããŸãã ããã¯ããã£ãã·ã¥ãã«ãŒãã«ã®ææ ®æ·±ãããã£ã¹ã¯äžã®FSãã±ãŒã·ã§ã³ã®æåãªã©ã«äŸåããŸãã éæ¥çã«ãiozoneã§è¯å¥œãªçµæãåŸãããå Žåãããã¯è¯å¥œãªãã£ãã·ã¥ããŸãã¯æããªãã©ã¡ãŒã¿ãŒã»ããããŸãã¯éåžžã«é«éãªãã£ã¹ã¯ïŒã©ã®ãªãã·ã§ã³ãååŸããããæšæž¬ããŸãïŒã§ãããšèšããŸãã ãããŒ++ã¯ãäžè¬çã«ãã¡ã€ã«ã®ãªãŒãã³/ã¯ããŒãºæäœã«çŠç¹ãåœãŠãŠããŸãã ã€ãŸã 圌女ã¯ç¹ã«ãã£ã¹ã¯ã®ããã©ãŒãã³ã¹ããã¹ãããŠããŸããã
ãã€ã¬ã¯ããªãã·ã§ã³ãªãã®ddã¯ããã£ãã·ã¥é床ã®ã¿ã衚瀺ããŸãã äžéšã®æ§æã§ã¯ããã£ãã·ã¥ã䜿çšããå Žåããããã£ãã·ã¥ã䜿çšããªããŠãç·åœ¢é床ãåŸãããšãã§ããŸãã äžéšã§ã¯ãã¡ã¬ãã€ãåäœã®ç·åœ¢ããã©ãŒãã³ã¹ã§æ¯ç§æ°çŸã¡ã¬ãã€ããåä¿¡ããŸãã
directãªãã·ã§ã³ïŒiflag =èªã¿åãçšã«çŽæ¥ãoflag =æžã蟌ã¿çšã«çŽæ¥ïŒã䜿çšãããšãddã¯ç·åœ¢é床ã®ã¿ããã§ãã¯ããŸãã ããã¯ãæ倧é床ïŒè€æ°ã®ãã£ã¹ã¯ã§RAIDãå®è¡ããå Žåãè€æ°ã®ã¹ããªãŒã ã§RAIDãå®è¡ãããš1ã€ãããé«éã«ãªãå¯èœæ§ããããŸãïŒãŸãã¯å®éã®ããã©ãŒãã³ã¹ãšã¯ãŸã£ããç°ãªããŸãã
IOmeterã¯äœãããåªããŠããŸãããLinuxã§ã®åäœã«åé¡ããããŸãã 64ãããããŒãžã§ã³ã§ã¯ãè² è·ã®çš®é¡ãæ£ããèšç®ããããéå°è©äŸ¡ãããçµæã衚瀺ãããŸãïŒä¿¡ããªã人ã¯ãramdiskã§å®è¡ããŠãã ããïŒã
ãã¿ãã¬ïŒLinuxã®æ£ãããŠãŒãã£ãªãã£ã¯fioã§ãã ããããããã¯ãã¹ãã®éåžžã«ææ ®æ·±ãæºåãšçµæã®ããã«ææ ®æ·±ãåæãå¿ èŠãšããŸãã 以äžã¯ãçè«ã®æºåãšãfioã§ã®äœæ¥ã«é¢ããå®éçãªã¡ã¢ã®ã¿ã§ãã
åé¡ã®å£°æ
ïŒçŸåšã®VSæ倧ããã©ãŒãã³ã¹ïŒ
ä»ãããã«éå±ãªæçŽããããŸãã 誰ãããæ°ã«å ¥ãã®SSD'shkaãã©ãããããããžãªã©ã®ãªãŠã ã®æ°ã«èå³ãããå Žå -èšäºã®æåŸã«ããã¬ã·ããã芧ãã ããã
ramdiskãé€ããã¹ãŠã®çŸä»£ã®ã¡ãã£ã¢ã¯ãã©ã³ãã æžã蟌ã¿æäœã«å¯ŸããŠéåžžã«åŠå®çãªæ 床ãæã£ãŠããŸãã HDDã®å Žåãæžã蟌ã¿ãšèªã¿åãã®éã«éãã¯ãããŸããããããããã£ã¹ã¯ãé§åããããšãéèŠã§ãã ãã ããSSDã®å Žåããã³ã»ã³ã¹ãèªã¿åããå°ããªãããã¯ã§æžã蟌ãã©ã³ãã æäœã«ãããã³ããŒãªã³ã©ã€ããçºçããŸãã æå°èšé²ãµã€ãºã¯1ã2 MBã§ã4 KBãæžã蟌ã¿ãŸãã 2MBãèªã¿åãã4KBã«çœ®ãæããŠæžãæ»ãå¿ èŠããããŸãã ãã®çµæãããšãã°ãSSDã«4kbãæžã蟌ãã«ã¯1ç§ããã400ãªã¯ãšã¹ããå¿ èŠã«ãªãã800 Mb / sïŒ!!!!ïŒãèªã¿åããããããæžãæ»ãããšã«ãªããŸãã ïŒramdiskã®å Žåããã®ãããªåé¡ã¯åããããããŸããããDDRã®ãæå°ãããã¯ãã®ãµã€ãºã¯çŽ128ãã€ãã§ããããã¹ãã®ãããã¯ã¯éåžž4kbã§ãããããRAMãã£ã¹ã¯ã®ããã©ãŒãã³ã¹ã®ãã¹ãã§ã¯DDRã®ç²åºŠã¯éèŠã§ã¯ãããŸããïŒ ã
ãã®æçš¿ã¯ç°ãªãã¡ãã£ã¢ã®è©³çŽ°ã«é¢ãããã®ã§ã¯ãªããããäžè¬çãªåé¡ã«æ»ããŸãã
Mb / sã§ãšã³ããªã枬å®ããããšã¯ã§ããŸããã éèŠãªããšã¯ãé ã®åãã®æ°ãšãSSDã§ä¹±ããã©ã³ãã ãããã¯ã®æ°ã§ãã ã€ãŸã ã¢ã«ãŠã³ãã¯IOãªãã¬ãŒã·ã§ã³ã®æ°ã«ãªããIO / sã®å€ã¯IOPSãšåŒã°ããŸãã ãããã£ãŠãã©ã³ãã ãªè² è·ã枬å®ãããšããIOPSã«ã€ããŠè©±ããŸãïŒwIOPSãrIOPSãããããæžã蟌ã¿ããã³èªã¿åãçšïŒã 倧èŠæš¡ãªã·ã¹ãã ã§ã¯ãkIOPSå€ïŒæ³šæãåžžã«ã©ãã§ãã1024ãªãïŒ1kIOPS = 1000 IOPSã䜿çšããŸãã
ãããŠãããã§ãå€ãã¯ç¬¬äžçš®ã®trapã«é¥ããŸãã 圌ãã¯ããã©ã€ããäœIOPSãæäŸããŠããããç¥ãããã£ãŠããŸãã ãŸãã¯ãã£ã¹ã¯ã·ã§ã«ãã ãŸãã¯ãã«ããŒã®äžã«ãã£ã¹ã¯ãè©°ãããã200å°ã®ãµãŒããŒãã£ããããã
å®è¡ãããæäœã®æ°ïŒ12:00:15ãã12:00:16 245790ã®ãã£ã¹ã¯æäœãå®è¡ãããããšãèšé²ãããŸã-ã€ãŸããè² è·ã¯245kIOPSã§ããïŒãšã·ã¹ãã ãæ倧æäœãå®è¡ã§ããéãåºå¥ããããšãéèŠã§ãã
å®è¡ãããæäœã®æ°ã¯åžžã«æ¢ç¥ã§ããã枬å®ã容æã§ãã ãããããã£ã¹ã¯æäœã«ã€ããŠè©±ããšãã¯ãå°æ¥æå¶ã§ããã«ã€ããŠè©±ããŸãã ãã·ã¹ãã ã¯ããã€ã®æäœãå®è¡ã§ããŸããïŒã-ãã©ã®æäœã§ããïŒã ç°ãªãæäœã¯ãã¹ãã¬ãŒãžã·ã¹ãã ã«ç°ãªãè² è·ãäžããŸãã ããšãã°ã誰ãã1 MBã®ã©ã³ãã ãããã¯ã§æžã蟌ãå Žåã4 KBã®ãããã¯ã§é çªã«èªã¿åãå Žåãããããªãå°ãªãiopsãåãåããŸãã
ãããŠãè² è·ã®å Žåã«ããæ¥ããåŠçãããããªã¯ãšã¹ãã®æ°ã«ã€ããŠè©±ããŠãããªããèšç»ã®å Žåãã©ã®iopsã«ãªãããç¥ãããã§ãã
ãã©ãã¯ãã©ããªèŠæ±ãæ¥ãã®ã誰ãç¥ããªããšããããšã§ãã å°ããªãã®ïŒ 倧ããªãã®ïŒ å¥çŽïŒ æèŠã®äžäžèŽïŒ ãããã¯ãã£ãã·ã¥ããèªã¿åãããŸããããããšãæãé ãå Žæã«ç§»åããŠãã£ã¹ã¯ã®ç°ãªãååãããã€ããéžæããå¿ èŠããããŸããïŒ
ãã©ãããã以äžãšã¹ã«ã¬ãŒãããã€ããã¯ãããŸãããç°¡åãªçãããããŸãã
- ãã£ã¹ã¯ãã¹ãïŒã¹ãã¬ãŒãž/ã¢ã¬ã€ïŒã®ãã¹ãã±ãŒã¹ïŒãããããã£ãã·ã¥ãã·ãŒã±ã³ã·ã£ã«æäœïŒ
- ææªã®å Žåã®ãã£ã¹ã¯ãã¹ãã ã»ãšãã©ã®å Žåããã®ãããªãã¹ãã¯ãã£ã¹ã¯ããã€ã¹ã®ç¥èã䜿çšããŠèšç»ãããŸãã ã64MBã®ãã£ãã·ã¥ããããŸããïŒã ãã¹ãé åã®ãµã€ãºã2GBã«ãããšã©ããªããŸããïŒã ããŒããã©ã€ãã¯ããã©ã€ãã®å€åŽããããéãèªã¿åããŸããïŒ ãããŠããã¹ãé åãå åŽïŒã¹ãã³ãã«ã«æãè¿ãïŒé åã«é 眮ãããšããããã移åããçµè·¯ãããå€ããªããŸããïŒ åœŒã¯å èªã¿ãããŸãããïŒ ãããŠãéã®é åºã§èªãã ãïŒ ç
ãã®çµæãæ°åãåŸãããŸããããããããééã£ãŠããŸãã äŸïŒ15kIOPSããã³150 IOPSã
å®éã®ã·ã¹ãã ããã©ãŒãã³ã¹ã¯ã©ããªããŸããïŒ ããã¯ãè² è·ãè¯ãåŽãšæªãåŽã«ã©ãã ãè¿ããã«ãã£ãŠã®ã¿æ±ºãŸããŸãã ïŒã€ãŸãããããµããã人çã衚瀺ãããŸããïŒã
ã»ãšãã©ã®å Žåã圌ãã¯æ¬¡ã®ææšã«çŠç¹ãåœãŠãŠããŸãã
- ãã®æè¯ã®ã±ãŒã¹ã¯äŸç¶ãšããŠæé«ã§ãã ææªããæé«ã®ã±ãŒã¹ãã»ãšãã©å€ãããªãããã«æé©åã§ããããã§ãã ããã¯æªãããšã§ãïŒãŸããããããææªã®ææªã®äºæ ããããŸãïŒã
- ææªã®å Žåã ãããããã°ãã¹ãã¬ãŒãžã·ã¹ãã ã¯åŸãããæ°å€ãããéãåäœãããšèšããŸãã ã€ãŸã 3000 IOPSãååŸããå Žåããæ倧2000ãã®è² è·ã§ã·ã¹ãã /ãã£ã¹ã¯ãå®å šã«äœ¿çšã§ããŸãã
ããŠããããã¯ãµã€ãºã«ã€ããŠã åŸæ¥ããã¹ãã®ãããã¯ãµã€ãºã¯4kã§ããã ãªãã§ïŒ ããã¯ããã¡ã€ã«ãä¿åãããšãã«OSã䜿çšããæšæºãããã¯ãµã€ãºã§ããããã§ãã ããã¯ã¡ã¢ãªããŒãžã®ãµã€ãºã§ãããäžè¬ã«ãVery Round Computer Numberã§ãã
ã·ã¹ãã ã4kãããã¯ã§100 IOPSïŒææªïŒãåŠçããå Žåã8kãããã¯ã§ã¯åŠçãå°ãªããªããŸãïŒå°ãªããšã50 IOPSãã»ãšãã©ã®å Žå70ã80ïŒã ããŠã1MBãããã¯ã§ã¯ããŸã£ããç°ãªãæ°å€ã衚瀺ãããŸãã
ããã ãã§ããïŒ ããããããã¯åãªã玹ä»ã§ããã äžã«æžãããŠãããã®ã¯ãã¹ãŠå€ããå°ãªããããç¥ãããŠããŸãã éèŠãªããšã¯ä»¥äžããå§ãŸããŸãã
æåã«ããäŸåIOPSãã®æŠå¿µãèŠãŠãããŸãã ã¢ããªã±ãŒã·ã§ã³ã次ã®ããã«æ©èœããããšãæ³åããŠãã ããã
- èšé²ãèªã
- ã¬ã³ãŒããå€æŽãã
- æžãæ»ã
䟿å®äžãåŠçæéã¯ãŒãã§ãããšæ³å®ããŠããŸãã åèªã¿åãããã³æžã蟌ã¿èŠæ±ã1ããªç§åŠçãããå Žåãã¢ããªã±ãŒã·ã§ã³ã¯1ç§ãããããã€ã®ã¬ã³ãŒããåŠçã§ããŸããïŒ 500ã§ãããããŠãã¢ããªã±ãŒã·ã§ã³ã®2çªç®ã®ã³ããŒã®é£ã§èµ·åãããšã©ããªããŸããïŒ é©åãªã·ã¹ãã ã§ã¯1000ã«ãªããŸãã1000ãå€§å¹ ã«äžåããšãã·ã¹ãã ããã©ãŒãã³ã¹ã®éçã«éããŸããã ããã§ãªãå ŽåãäŸåIOPSãæã€ã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ã¯ãã¹ãã¬ãŒãžããã©ãŒãã³ã¹ã§ã¯ãªããã¬ã€ãã³ã·ãšIOPSäŸåæ§ã®2ã€ã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠå¶éãããããšãæå³ããŸãã
ã¬ã€ãã³ã·ãŒããå§ããŸãããã é 延 -èŠæ±ã®å®è¡æéãå¿çåã®é 延ã éåžžããå¹³åé 延ããšããå€ã䜿çšããŸãã ããé«åºŠãªãã®ã¯ãç¹å®ã®ééïŒã»ãšãã©ã®å Žå1ç§ïŒã§ãã¹ãŠã®æäœã®äžå€®å€ã䜿çšããŸãã ã¬ã€ãã³ã·ãŒã®æž¬å®ã¯éåžžã«å°é£ã§ãã ããã¯ãã¹ãã¬ãŒãžã·ã¹ãã ã§ã¯ããªã¯ãšã¹ãã®äžéšãè¿ éã«å®è¡ãããäžéšãäœéã§ãããéåžžã«äžå¿«ãªç¶æ³ã«é¥ããæ®ãã®äœååãã®ãµãŒãã¹ãæäŸã§ãããšããäºå®ã«ãããã®ã§ãã
é°è¬ã¯ãèŠæ±ã®ãã¥ãŒã®ååšã«ãã£ãŠåŒ·åããããã®äžã§èŠæ±ã®äžŠã¹æ¿ããšãã®äžŠåå®è¡ãå®è¡ã§ããŸãã éåžžã®SATAãã©ã€ãã®ãã¥ãŒæ·±åºŠïŒNCQïŒã¯31ã§ããã匷åãªã¹ãã¬ãŒãžã·ã¹ãã ã¯æ°åã«éããå¯èœæ§ããããŸãã ïŒãã¥ãŒã®å®éã®é·ãïŒå®äºãåŸ æ©ããŠããèŠæ±ã®æ°ïŒã¯ãããè² ã®ãã©ã¡ãŒã¿ãŒã§ããããšã«æ³šæããŠãã ããããã¥ãŒã«å€ãã®èŠæ±ãããå Žåããããã¯ããé·ããã€ãŸãé ããªããŸããã¹ãŒããŒããŒã±ããã®ã©ãã·ã¥ã¢ã¯ãŒã«ç«ã£ãŠãã人ã¯ããã¥ãŒã¯ããµãŒãã¹ãçããªããŸãã
é 延ã¯ãã·ãªã¢ã«ã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ã«çŽæ¥åœ±é¿ããŸãããã®äŸãäžèšã«ç€ºããŸãã ããé«ãã¬ã€ãã³ã·ãŒ-ããäœãããã©ãŒãã³ã¹ã 5msã§ã¯ããªã¯ãšã¹ãã®æ倧æ°ã¯200 pcs / sã20ms-50ã§ããããã«ã1msã§100åã®ãªã¯ãšã¹ããåŠçãã100msã§9åã®ãªã¯ãšã¹ããããå Žåã1ç§ã§å¹³å109msã®IOPSãååŸããŸãã ïŒå¹³åïŒ10ããªç§ã
ãããã£ãŠãçµè«ãç解ããã®ã¯ããªãå°é£ã§ããããã©ãŒãã³ã¹ãžã®è² è·ã®çš®é¡ã¯ããã·ãŒã±ã³ã·ã£ã«ããŸãã¯ãã©ã³ãã ãã ãã§ãªãããã£ã¹ã¯ã䜿çšããã¢ããªã±ãŒã·ã§ã³ã®é 眮ã«ã圱é¿ããŸãã
äŸïŒã¢ããªã±ãŒã·ã§ã³ïŒéåžžã®ãã¹ã¯ãããã¿ã¹ã¯ïŒã®èµ·åã¯ãã»ãŒ100ïŒ é 次ã§ãã ã¢ããªã±ãŒã·ã§ã³ãèªã¿ãå¿ èŠãªã©ã€ãã©ãªã®ãªã¹ããèªã¿ãåã©ã€ãã©ãªãé çªã«èªã¿ãŸã...ã ããããããã¹ã¯ãããäžã§SSDãéåžžã«æ ç±çã«æããŠããã®ã§ã-èªã¿åãã«ã¯åŸ®èŠçãªé 延ïŒãã€ã¯ãç§ïŒããããŸã-ãã¡ããããæ°ã«å ¥ãã®ãã©ãã·ã§ããããã¬ã³ããŒã¯10åã®1ç§ã§å§ãŸããŸãã
ããããããšãã°ãããŒããããWebãµãŒããŒã®äœæ¥ã¯ã»ãŒäžŠè¡ããŠè¡ãããŸã-åŸç¶ã®åã¯ã©ã€ã¢ã³ãã¯ãé£æ¥ããã¯ã©ã€ã¢ã³ããšã¯ç¬ç«ããŠåŠçãããŸãã åŸ ã¡æéã¯åã¯ã©ã€ã¢ã³ãã®ãµãŒãã¹æéã«ã®ã¿åœ±é¿ãããæ倧ã¯ã©ã€ã¢ã³ãæ°ãã«ã¯åœ±é¿ããŸããã ãããŠãç§ãã¡ã¯ãã®1msã10msãèªããŸã-ãšã«ãããŠã§ããµãŒããŒã®ããã«ã ïŒãã ãã10ããªç§ã®äžŠåãªã¯ãšã¹ããããã€éä¿¡ã§ãããã¯ããã¹ãŠåããã§ã¯ãããŸããïŒã
è±ç© ã ãã¹ã¯ããããŠãŒã¶ãŒã¯ãã·ã¹ãã 管çè ããããã®çŸè±¡ã«ç²ŸéããŠãããšæããŸãã ããŒããã©ã€ãã®ã²ã©ãã¯ã©ã³ããèšãããã®ãªããã¬ãŒãããäœãæ©èœããããã¹ãŠãé ããªããŸããã
ãã£ã¹ã¯ãã¥ãŒãè©°ãŸããå§ãããšïŒãŸãã¯ã¹ãã¬ãŒãžãèšäºã®æèã§ã¯äž¡è ã«éãã¯ãããŸããïŒãåŸ ã¡æéãæ¥æ¿ã«å¢å ãå§ããŸãã ãã£ã¹ã¯ã¯å¶éãŸã§å®è¡ãããŸããããµãŒãã¹ã®é床ãããå€ãã®çä¿¡åŒã³åºãããããŸãã é 延ã¯æ¥éã«å¢å ãå§ããæ°ç§ãšããæãããæ°ã«éããŸãïŒããã¯ãããšãã°ãã¢ããªã±ãŒã·ã§ã³ãäœæ¥ãå®äºããããã«100ã®æäœãè¡ãå¿ èŠãããã«ããããããã5ããªç§ã®é 延ã§ã¯0.5ç§ã®é 延ãæå³ããŸã...ïŒã ãã®ç¶æ ã¯ã¹ã©ãã·ã³ã°ãšåŒã°ããŸãã
ã³ã£ããããã§ãããããã©ã®ãã©ã€ããã¹ãã¬ãŒãžã§ããéåžžã®èªã¿èŸŒã¿ãããã¹ã©ãã·ã³ã°ç¶æ ã§ããå€ãã®IOPSã衚瀺ã§ããŸãã ãã®çç±ã¯ç°¡åã§ããéåžžã¢ãŒãã§ãã¥ãŒãã»ãšãã©ç©º
ãããŠãããã§ã¯ããã£ã¹ã¯ããã©ââãŒãã³ã¹ã枬å®ãã人ã ã®æ¬¡ã®é »ç¹ãªïŒãããŠãåè«ããã®ãéåžžã«é£ããïŒãšã©ãŒãåŸ ã£ãŠããŸãã
ãã¹ãäžã®é 延å¶åŸ¡
ãç§ã®ãã£ã¹ã¯ã¯180 IOPSãçæããããã10åã®ãã£ã¹ã¯ã䜿çšãããšã1800 IOPSã«ãªããŸããã ïŒããã¯ãŸãã«ãæªãã¹ãŒããŒããŒã±ãããèãããã®ã§ãå¿ èŠä»¥äžã«ã¬ãžä¿ãå°ãªãããŸãïŒã åæã«ãã¬ã€ãã³ã·ãŒã¯è¶ è¶çã§ããããšãå€æããŸãã-ãããŠãããã®ããã«çããããšã¯ã§ããŸãããã
å®éã®ããã©ãŒãã³ã¹ãã¹ãã§ã¯ãã¬ã€ãã³ã·ãå¶åŸ¡ããå¿ èŠããããŸããã€ãŸããã¬ã€ãã³ã·ãåæãããå¶éãäžåãããã«ããã®ãããªãã¹ããã©ã¡ãŒã¿ãéžæããå¿ èŠããããŸãã
ãããŠãããã§ç§ãã¡ã¯2çªç®ã®åé¡ã«çŽé¢ããŠããŸãïŒå¶éã¯äœã§ããïŒ çè«ã¯ãã®è³ªåã«çããããšãã§ããŸãã-ãã®ææšã¯ãµãŒãã¹å質ã®ææšã§ãã èšãæããã°ã誰ããèªåã§éžæããŸãã
å人çã«ã¯ãã¬ã€ãã³ã·ã10ããªç§ãè¶ ããªãããã«èªåã§ãã¹ããè¡ã£ãŠããŸãã ãã®ææšã¯ãã¹ãã¬ãŒãžããã©ãŒãã³ã¹ã®äžéãšèããŠããŸãã ïŒåæã«ãç§ã®å¿ã§ã¯ãé ããæããããéçå€ã¯20ããªç§ã ãšæããŸãããäžèšã®äŸã§ã¯900ãã1ããªç§ãš10ãã100ããªç§ãå¹³åã10ããªç§ã«ãªã£ãããšãèŠããŠããŸããïŒèªå+ã©ã³ãã ããŒã¹ãã®å Žåã¯10ããªç§ïŒã
䞊è¡æ§
äŸåIOPSãšç¬ç«IOPSã®åé¡ã«ã€ããŠã¯ãã§ã«èª¬æããŸããã äŸåIopã®ããã©ãŒãã³ã¹ã¯ã¬ã€ãã³ã·ã«ãã£ãŠæ£ç¢ºã«å¶åŸ¡ããããã®åé¡ã«ã€ããŠã¯ãã§ã«èª¬æããŸããã ããããç¬ç«ããIOPSïŒã€ãŸãã䞊åããŒãïŒã§ã®ããã©ãŒãã³ã¹ã¯ãäœã«äŸåããŠããŸããïŒ
çãã¯ããã£ã¹ã¯ãçºæããããã¹ãã¬ãŒãžãèšèšãã人ã®æ³ååããã§ãã SSDã®ããããã¹ãã³ãã«ã䞊åæžã蟌ã¿ãã¥ãŒã®æ°ã«ã€ããŠã¯èª¬æã§ããŸãããããã¯ãã¹ãŠæšæž¬ã§ãã å®çšåã®èŠ³ç¹ããã1ã€ã®è³ªåã«èå³ããããŸãã 䞊åããŒãã¹ããªãŒã ãã©ãã ãå®è¡ã§ããŸããïŒ ïŒã¬ã€ãã³ã·ãŒã倩åœã«éä¿¡ã§ããããã«ãããšã䞊åã¹ã¬ããã®æ°ãããã«ç§»åããŸããããã®é床ã§ã¯ãªããããã¬ã€ãã³ã·ãŒãå¿ããªãã§ãã ããïŒã 質åã¯æ¬¡ã®ãšããã§ããæå®ããããããå€æªæºã®ã¬ã€ãã³ã·ã§å®è¡ã§ãã䞊åã¹ã¬ããã®æ°ã¯ããã€ã§ããïŒ ãã¹ãã¯ãã®è³ªåã«çããå¿ èŠããããŸãã
SANããã³NAS
ãããšã¯å¥ã«ãã¹ãã¬ãŒãžãTCPã䜿çšããŠãããã¯ãŒã¯çµç±ã§ãã¹ãã«æ¥ç¶ãããšãã®ç¶æ³ã«ã€ããŠè©±ãå¿ èŠããããŸãã TCPã«ã€ããŠã¯ãæžããæžããæžããæžãçŽãå¿ èŠããããŸãã Linuxã«ã¯ãããŸããŸãªç¶æ³ã«åãããŠèšèšããããããã¯ãŒã¯çšã®12ã®ç°ãªã茻茳å¶åŸ¡ã¢ã«ãŽãªãºã ããããšèšãã°ååã§ãã ãŸããçŽ20ã®ã«ãŒãã«ãã©ã¡ãŒã¿ãŒãããããããããåºåãªãŠã ã«å€§ãã圱é¿ããå¯èœæ§ããããŸãïŒç³ãèš³ãããŸãããããã¹ãçµæïŒã
ããã©ãŒãã³ã¹è©äŸ¡ã®èŠ³ç¹ããããã®ã«ãŒã«ãåãå ¥ããå¿ èŠããããŸãããããã¯ãŒã¯æ¥ç¶ã¹ãã¬ãŒãžã®å Žåããã¹ãã¯è€æ°ã®ãã¹ãïŒãµãŒããŒïŒãã䞊è¡ããŠå®è¡ããå¿ èŠããããŸãã 1å°ã®ãµãŒããŒããã®ãã¹ãã¯ã¹ãã¬ãŒãžãã¹ãã§ã¯ãªãããããã¯ãŒã¯ãã¹ãã¬ãŒãžãããã³ãµãŒããŒèªäœã®æ£ããèšå®ã®çµ±åãã¹ãã«ãªããŸãã
ãã¹é£œå
æåŸã®è³ªåã¯ãã¿ã€ã€ã®ã·ã§ãŒãã£ã³ã°ã®åé¡ã§ãã äœèšã£ãŠãã®ïŒ 400 MB / sãé ä¿¡ã§ããssdããããSATA / 300ãä»ããŠæ¥ç¶ããå Žåããã¹ãŠã®ããã©ãŒãã³ã¹ã衚瀺ãããªãããšã¯æããã§ãã ããã«ãã¬ã€ãã³ã·ãŒã®èŠ³ç¹ããã¯ãåèŠæ±ïŒããã³ãã®å¿çïŒãSATAã±ãŒãã«ã®ããã«ããã¯ãããæãããŸã§é çªã«åŸ æ©ããå¿ èŠããããããåé¡ã¯300MB / sã«è¿ã¥ããã£ãšåã«çŸãå§ããŸãã
ãããããã£ãšæ¥œããç¶æ³ããããŸãã ããšãã°ãSAS / 300x4ãä»ããŠæ¥ç¶ããããã©ã€ãã®ã·ã§ã«ããããå ŽåïŒã€ãŸãããããã300MBã®4æ¬ã®SASã©ã€ã³ïŒã ããããã®ããã§ãã ãŸããã·ã§ã«ãã«24åã®ãã£ã¹ã¯ãããå Žåã¯ã©ããªããŸããïŒ 24 * 100 = 2400 MB / sã§ã1200ïŒ300x4ïŒãããããŸããã
ããã«ãäžéšã®ïŒãµãŒããŒïŒïŒãã¶ãŒããŒãã§ã®ãã¹ãã§ã¯ãçµã¿èŸŒã¿ã®SATAã³ã³ãããŒã©ãŒãPCIx4ãä»ããŠæ¥ç¶ãããããšãå€ãããšãããããŸããã
ç¹°ãè¿ããŸããããã¹ã®é£œåã®äž»ãªåé¡ã¯ãã¹ããªããã®ã倩äºã®äžããé£ã¹å°œããããšã§ã¯ãªãããã¹ã®è² è·ã«å¿ããŠã¬ã€ãã³ã·ãŒãå¢å ããããšã§ãã
ã¹ã¿ã³ãã¡ãŒã«ãŒ
å®åçãªã¢ããã€ã¹ã®åã«ãç£æ¥çšã¹ãã¬ãŒãžã§èŠãããæåãªããªãã¯ã«ã€ããŠã話ããŸãã æåã«ã空ã®ãã£ã¹ã¯ãèªã¿åãå Žåããã©ãããã§ããããèªã¿åããŸãã ãã®ã·ã¹ãã ã¯ããããŸã§æžããªãã£ããã©ã€ãã®é åãããŒããæäŸããã®ã«ååãªã»ã©ã¹ããŒãã§ãã
第äºã«ãå€ãã®ã·ã¹ãã ã§ã¯ãããããçš®é¡ã®ã¹ãããã·ã§ãããã·ã³ããããžã§ãã³ã°ãéè€æé€ãå§çž®ãé 延å²ãåœãŠãã¹ããŒã¹é 眮ãªã©ã®ã¡ã«ããºã ã«ãããæåã®ã¬ã³ãŒããåŸç¶ã®ãã®ãããæªãã ã€ãŸããæåã®èšé²åŸã«ãã¹ãããå¿ èŠããããŸãã
第äžã«ããã£ãã·ã¥ã ææªã®ã±ãŒã¹ããã¹ãããå Žåããã£ãã·ã¥ã圹ã«ç«ããªããšãã®ã·ã¹ãã ã®åäœãç¥ãå¿ èŠããããŸãã ãããè¡ãã«ã¯ããã®ãããªãã¹ããµã€ãºãååŸããŠããéå»ã®ãã£ãã·ã¥ãã®èªã¿åã/æžã蟌ã¿ãã€ãŸããã£ãã·ã¥ããã®è±åºãä¿èšŒããå¿ èŠããããŸãã
æžã蟌ã¿ãã£ãã·ã¥ã¯ç¹å¥ãªè©±ã§ãã ãã¹ãŠã®æžã蟌ã¿èŠæ±ïŒã·ãŒã±ã³ã·ã£ã«ããã³ã©ã³ãã ïŒãä¿åããã³ã³ãã©ãŒãã¢ãŒãã§æžã蟌ãããšãã§ããŸãã å¯äžã®ææªã®å Žåã®æ¹æ³ã¯ããã£ãã·ã¥ãã©ãã·ã³ã°ãã§ããã€ãŸãããã®ãããªããªã¥ãŒã ã§æžã蟌ã¿èŠæ±ãéä¿¡ããæžã蟌ã¿ãã£ãã·ã¥ãæžã蟌ã¿ãåæ¢ããã³ã³ãã©ãŒãã¢ãŒãã§ã¯ãªãããŒã¿ã匷å¶çã«æžã蟌ã¿ïŒé£æ¥é åãçµåïŒããŸãããã©ã³ãã ããŒã¿ãã©ã³ãã ã«ç Žæ£ããŸãæžãã ããã¯ããã£ãã·ã¥ãµã€ãºãè¶ ããŠãã¹ãé åãç¹°ãè¿ãè¶ éããããšã«ãã£ãŠã®ã¿å®çŸã§ããŸãã
å€å®-æå°x10ãã£ãã·ã¥ïŒççŽã«èšã£ãŠãæ°å€ã¯äžéããåãããŠããŸããæ£ç¢ºãªèšç®ã¡ã«ããºã ã¯ãããŸããïŒã
OSããŒã«ã«ãã£ãã·ã¥
ãã¡ããããã¹ãã¯ããŒã«ã«OSãã£ãã·ã¥ã®åå ãªãã§è¡ãå¿ èŠããããŸããã€ãŸãããã£ãã·ã¥ã䜿çšããªãã¢ãŒãã§ãã¹ããå®è¡ããå¿ èŠããããŸãã Linuxã§ã¯ãããã¯ãã¡ã€ã«ïŒãŸãã¯ãã£ã¹ã¯ïŒãéããšãã®O_DIRECTãªãã·ã§ã³ã§ãã
ãã¹ãã®èª¬æ
åèšïŒ
1ïŒææªã®ã±ãŒã¹-ãã£ã¹ã¯ãµã€ãºã®100ïŒ ããã¹ãããŠããŸããããã¯ãã¹ãã¬ãŒãžã®æšå®ãã£ãã·ã¥ãµã€ãºã®æ°åã§ãã ãã¹ã¯ãããã®å Žåãããã¯åãªãç£æ¥çšã¹ãã¬ãŒãžã®ããã£ã¹ã¯å šäœãã§ããLUNãŸãã¯ä»®æ³ãã·ã³ã®ãã£ã¹ã¯ãµã€ãºã¯1TB以äžã§ãã ïŒHeheã64GBã®RAMãã£ãã·ã¥ãå€ããšæããªã...ïŒã
2ïŒãã¹ããããã¯ã4kbãµã€ãºã§å®æœããŸãã
3ïŒã¬ã€ãã³ã·ã劥åœãªå¶éå ã«åãŸãããã«ãæäœã®äžŠå床ãéžæããŸãã
åºåã§ã¯ãIOPSã®æ°ãåŸ æ©æéããã¥ãŒæ·±åºŠãªã©ã®ãã©ã¡ãŒã¿ãŒã«é¢å¿ããããŸãã ãã¹ããè€æ°ã®ãã¹ãã§å®è¡ãããå Žåãã€ã³ãžã±ãŒã¿ãŒãèŠçŽããïŒiopsããã³ãã¥ãŒã®æ·±ãïŒãåŸ ã¡æéã«ã€ããŠã¯ãã¹ãŠã®ãã¹ãã®ã€ã³ãžã±ãŒã¿ãŒããavgãŸãã¯maxãååŸãããŸãã
ãã£ãª
ããã§ãå®éã®éšåã«é²ã¿ãŸãã å¿ èŠãªçµæãéæã§ãããŠãŒãã£ãªãã£fioããããŸãã
éåžžã®fioã¢ãŒãã§ã¯ããããã ãžã§ããã¡ã€ã«ãã€ãŸã ãã¹ãã®å€èŠ³ãæ£ç¢ºã«èšè¿°ããæ§æã ãžã§ããã¡ã€ã«ã®äŸã以äžã«ç€ºããŸãããããã§ã¯ãfioã®ä»çµã¿ã«ã€ããŠèª¬æããŸãã
fioã¯ãæå®ããããã¡ã€ã«ã«å¯ŸããŠæäœãå®è¡ããŸãã ãã¡ã€ã«ã®ä»£ããã«ãããã€ã¹ã瀺ãããå ŽåããããŸãã ãã¡ã€ã«ã·ã¹ãã ãèæ ®ããé€å€ã§ããŸãã ããã€ãã®ãã¹ãã¢ãŒãããããŸãã randwriteãrandreadãrandrwã«èå³ããããŸãã æ®å¿µãªãããrandrwã¯äŸåiopsãæäŸããŸãïŒèªã¿åãã¯æžã蟌ã¿åŸã«è¡ãããŸãïŒãå®å šã«ç¬ç«ãããã¹ããè¡ãã«ã¯ãèªã¿åãçšãšæžã蟌ã¿çšïŒrandreadãrandwriteïŒã®2ã€ã®äžŠè¡ã¿ã¹ã¯ãå®è¡ããå¿ èŠããããŸãã
ãããŠãfioã«ãäºåå²ãåœãŠããè¡ãå¿ èŠããããŸãã ïŒã¡ãŒã«ãŒã®ããªãã¯ã«ã€ããŠã¯äžèšãåç §ïŒã 次ã«ããããã¯ãµã€ãºïŒ4kïŒãä¿®æ£ããŸãã
ãã1ã€ã®ãã©ã¡ãŒã¿ãŒã¯ããã£ã¹ã¯ã¢ã¯ã»ã¹æ¹æ³ã§ãã æãéãã®ã¯libaioã§ãããã䜿çšããŸãã
å®çšçãªã¬ã·ã
fioã®ã€ã³ã¹ããŒã«ïŒapt-get install fioïŒdebian / ubntuïŒã ã©ã¡ãããšããã°ãsquezeã«ã¯ãŸã ãããŸããã
ãã®ãŠãŒãã£ãªãã£ã¯éåžžã«å·§åŠã«é ãããŠããããããããŒã ããŒãžãã¯ãªããgitãªããžããªã®ã¿ããããŸãã ãã©ãŒã®1ã€ã次ã«ç€ºããŸããfreecode.com / projects / fio
ãã£ã¹ã¯ããã¹ããããšãã¯ãã«ãŒãããå®è¡ããå¿ èŠããããŸãã
èªæžãã¹ã
èµ·åïŒfio read.ini
Read.iniã³ã³ãã³ã
[readtest] ãããã¯ãµã€ãº= 4k ãã¡ã€ã«å= / dev / sda rw = randread ãã€ã¬ã¯ã= 1 ãããã¡ãªã³ã°= 0 ioengine = libaio iodepth = 32
ã¿ã¹ã¯ã¯ãavg.latencyã10ããªç§æªæºã«ãªãããã«ãã®ãããªiodepthãéžæããããšã§ãã
ãã¹ãã®èšé²
ïŒæ³šæïŒééã£ããã©ã€ãæå-ããŒã¿ããªããŸãŸã«ãªããŸãïŒ
[æžã蟌ã¿ãã¹ã] ãããã¯ãµã€ãº= 4k ãã¡ã€ã«å= / dev / sdz rw = randwrite ãã€ã¬ã¯ã= 1 ãããã¡ãªã³ã°= 0 ioengine = libaio iodepth = 32
ãã€ããªãããã¹ã
æãããããéšåïŒ
ïŒæ³šæïŒééã£ããã©ã€ãæå-ããŒã¿ããªããŸãŸã«ãªããŸãïŒ
[readtest] ãããã¯ãµã€ãº= 4k ãã¡ã€ã«å= / dev / sdz rw = randread ãã€ã¬ã¯ã= 1 ãããã¡ãªã³ã°= 0 ioengine = libaio iodepth = 32 [æžã蟌ã¿ãã¹ã] ãããã¯ãµã€ãº= 4k ãã¡ã€ã«å= / dev / sdz rw = randwrite ãã€ã¬ã¯ã= 1 ãããã¡ãªã³ã°= 0 ioengine = libaio iodepth = 32
åºååæ
ãã¹ãäžã次ã®ããã«è¡šç€ºãããŸãã
ãžã§ãïŒ2ïŒf = 2ïŒïŒ[rw] [2.8ïŒ å®äº] [13312K / 11001K / s] [3250/2686 iops] [eta 05mïŒ12s]
è§æ¬åŒ§å ã¯IOPSã®æ°ã§ãã ããããç§ãã¡ã¯åŸ ã¡æéã«èå³ãããã®ã§ãåã¶ã«ã¯æ©ãããŸãã
åºåïŒCtrl-CããŸãã¯æåŸïŒã§ã次ã®ããã«ãªããŸãã
^ C
fioïŒã·ã°ãã«2ã§çµäº
èªã¿åãïŒïŒgroupid = 0ãjobs = 1ïŒïŒerr = 0ïŒpid = 11048 èªã¿åãïŒio = 126480KBãbw = 14107KB / sãiops = 3526ãrunt = 8966msec ã¹ã©ããïŒusecïŒïŒæå°= 3ãæ倧= 432ãå¹³å= 6.19ãæšæºåå·®= 6.72 clatïŒusecïŒïŒæå°= 387ãæ倧= 208677ãå¹³å= 9063.18ãstdev = 22736.45 bwïŒKB / sïŒïŒæå°= 10416ãæ倧= 18176ãper = 98.74ïŒ ãå¹³å= 13928.29ãstdev = 2414.65 cpuïŒusr = 1.56ïŒ ãsys = 3.17ïŒ ãctx = 15636ãmajf = 0ãminf = 57 IO深床ïŒ1 = 0.1ïŒ ã2 = 0.1ïŒ ã4 = 0.1ïŒ ã8 = 0.1ïŒ ã16 = 0.1ïŒ ã32 = 99.9ïŒ ã> = 64 = 0.0ïŒ éä¿¡ïŒ0 = 0.0ïŒ ã4 = 100.0ïŒ ã8 = 0.0ïŒ ã16 = 0.0ïŒ ã32 = 0.0ïŒ ã64 = 0.0ïŒ ã> = 64 = 0.0ïŒ å®äºïŒ0 = 0.0ïŒ ã4 = 100.0ïŒ ã8 = 0.0ïŒ ã16 = 0.0ïŒ ã32 = 0.1ïŒ ã64 = 0.0ïŒ ã> = 64 = 0.0ïŒ r / wãçºè¡ïŒåèš= 31620/0ãçã= 0/0 latïŒusecïŒïŒ500 = 0.07ïŒ ã750 = 0.99ïŒ ã1000 = 2.76ïŒ latïŒããªç§ïŒïŒ2 = 16.55ïŒ ã4 = 35.21ïŒ ã10 = 35.47ïŒ ã20 = 3.68ïŒ ã50 = 0.76ïŒ latïŒããªç§ïŒïŒ100 = 0.08ïŒ ã250 = 4.43ïŒ æžã蟌ã¿ïŒïŒgroupid = 0ãjobs = 1ïŒïŒerr = 0ïŒpid = 11050 æžã蟌ã¿ïŒio = 95280KBãbw = 10630KB / sãiops = 2657ãrunt = 8963msec ã¹ã©ããïŒusecïŒïŒæå°= 3ãæ倧= 907ãå¹³å= 7.60ãstdev = 11.68 clatïŒusecïŒïŒæå°= 589ãæ倧= 162693ãå¹³å= 12028.23ãstdev = 25166.31 bwïŒKB / sïŒïŒæå°= 6666ãæ倧= 14304ãper = 100.47ïŒ ãå¹³å= 10679.50ãstdev = 2141.46 cpuïŒusr = 0.49ïŒ ãsys = 3.57ïŒ ãctx = 12075ãmajf = 0ãminf = 25 IO深床ïŒ1 = 0.1ïŒ ã2 = 0.1ïŒ ã4 = 0.1ïŒ ã8 = 0.1ïŒ ã16 = 0.1ïŒ ã32 = 99.9ïŒ ã> = 64 = 0.0ïŒ éä¿¡ïŒ0 = 0.0ïŒ ã4 = 100.0ïŒ ã8 = 0.0ïŒ ã16 = 0.0ïŒ ã32 = 0.0ïŒ ã64 = 0.0ïŒ ã> = 64 = 0.0ïŒ å®äºïŒ0 = 0.0ïŒ ã4 = 100.0ïŒ ã8 = 0.0ïŒ ã16 = 0.0ïŒ ã32 = 0.1ïŒ ã64 = 0.0ïŒ ã> = 64 = 0.0ïŒ r / wãçºè¡ïŒåèš= 0/23820ãç= 0/0 latïŒusecïŒïŒ750 = 0.03ïŒ ã1000 = 0.37ïŒ latïŒããªç§ïŒïŒ2 = 9.04ïŒ ã4 = 24.53ïŒ ã10 = 49.72ïŒ ã20 = 9.56ïŒ ã50 = 0.82ïŒ latïŒããªç§ïŒïŒ100 = 0.07ïŒ ã250 = 5.87ïŒ
ãã®ãã¡ãç§ãã¡ã¯ïŒæäœéïŒæ¬¡ã®ããšã«èå³ããããŸãïŒ
èªã¿åãïŒiops = 3526 clat = 9063.18ïŒusecïŒãã€ãŸã9ããªç§
æžã蟌ã¿ïŒiops = 2657 clat = 12028.23
ã¹ã©ãããšã¯ã©ãããæ··åããªãã§ãã ããã slatã¯ãªã¯ãšã¹ããéä¿¡ãããæéïŒã€ãŸããLinuxãã£ã¹ã¯ã¹ã¿ãã¯ã®ããã©ãŒãã³ã¹ïŒã§ãããclatã¯å®å šãªã¬ã€ãã³ã·ãã€ãŸããç§ãã¡ãè¿°ã¹ãã¬ã€ãã³ã·ã§ãã èªãããšã¯æžãããšãããæããã«çç£çã§ããããšããããããããé床ã®æ·±ãã瀺ããŸããã
åãäŸã§ã¯ãiodepthã16/16ã«äžããŠä»¥äžãååŸããŸãã
èªã¿åã6548 iopsã243.79usec = 2.4ms
æžã蟌ã¿5301 iopsã3005.13usec = 3ms
æããã«ã64ã®æ·±ãïŒ32 + 32ïŒã倧ããããããšãå€æãããããæçµçãªããã©ãŒãã³ã¹ãäœäžããŸããã æ·±ã32ã¯ããã¹ãã«ããé©ããŠããŸãã
ããã©ãŒãã³ã¹ãªãªãšã³ããŒã·ã§ã³
ãã¡ããã誰ããæ¢ã«ãªãŠã ãçºèŠããŠããŸãã 芳å¯ããå€ã瀺ããŸãã
- RAMDISKïŒrbdïŒ-ã200kIOPS / 0.1msïŒiodepth = 2ïŒ
- SSDïŒIntel 320thã·ãªãŒãºïŒ-40k IOPSèªã¿åãïŒ0.8msïŒ; ã¬ã³ãŒããããçŽ800 IOPSïŒé·ããã¹ãæéã®åŸïŒ
- SASãã£ã¹ã¯ïŒ15k RPMïŒ-180 IOPSã9ms
- SATAãã©ã€ãïŒ7.2ãWD REïŒ-100 IOPSã12ms
- SATA WDã©ãã¿ãŒ-140 IOPSã12mc
- SATA WD Green-40 IOPSãiodepth = 1ã§ã20æªæºã®ã¬ã€ãã³ã·ãéæã§ããŸããã§ãã
èŠåïŒãããä»®æ³ãã·ã³ã§å®è¡ãããšã
aïŒIOPSã®ããã«ãéãåãå Žåãããã¯éåžžã«å ·äœçãªãéã«ãªããŸãã
bïŒãã¹ãã£ã³ã°äºæ¥è ã®ã¹ãã¬ãŒãžãäžååã§ãæ°åã®ã¬ãã€ãã®ãã£ãã·ã¥ã®ã¿ã«äŸåããŠããå Žåã倧ããªãã£ã¹ã¯ïŒ> 1TBïŒã䜿çšãããã¹ãã¯ããã¹ãã£ã³ã°äºæ¥è ãšãã¹ãã£ã³ã°ãã€ããŒã®åé¡ã«ã€ãªãããŸãã äžéšã®ãã¹ãã¯æ°åã害ããããªãã«å°ããå ŽåããããŸãã
cïŒãã¹ãã®åã«ãã£ã¹ã¯ããŒãã«ããããšãå¿ããªãã§ãã ããïŒã€ãŸããdd if = / dev / zero of = / dev / sdz bs = 2M oflag = directïŒ