WD20EARSãé ã
ã¨ã«ããï¼ç¶æ³ãããããããªãã®ã§ç¾ç¶ã ãè¨é²ï¼ãã£ã¡ãï¼WD20ERSã5åè²·ã£ã¦ãã¾ã£ã¦ãã®ã§æ»æ´»åé¡ï¼
ã¾ãï¼ãã¼ãã¯
ãCPUã i3 530 1.86GHz ãM/Bã DH55TC ãé»æºãKRPW-VII-600 ãFANã 120mm*1 140mm*1 ãVGAã ãªã³ãã¼ã ãHDDã ADATA SSD 300, WD20EARS*5 ãã¡ã¢ãªã DDR3 1333 2GB*2 ãSoundã ãªã³ã ãLANã ãªã³ã(82758DC) ãOSã FreeBSD 9.0-CURRENT ãå å¦ãã©ã¤ãããªã
ã¢ã¤ãã«ã¯HDDãå ¨é¨ã¹ãã³ãã¦ã³ããã°60Wå°ã«è½ã¡ããã©ï¼æ®éã¯72Wãããã¨ããªã大ããï¼ã¢ã¯ã»ã¹ããã¨å ´åã«ãã£ã¦ã¯100Wç¨åº¦ã«è·³ãä¸ããããªãå°çã«åªãããªãä»æ§ï¼
ã¾ãã¯ï¼ãã©ã¤ãèªä½ã®æ§è½ã¨ãã¦ã¯
dd if=/dev/zero of=/dev/ada3 bs=100M count=100 100+0 records in 100+0 records out 10485760000 bytes transferred in 96.476592 secs (108687090 bytes/sec)
ã§ï¼éãã¨ã¯è¨ãããããã©ï¼WD20EARSã®æ¨æºçãªæ§è½ã®æ å ï¼
ãããï¼æ®éã«zpool createã§ZFSã®ãã£ã¬ã¯ããªãä½ã£ã¦bonnie++ããçµæãï¼
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic_ 8G 72 99 62639 14 36662 11 213 99 77332 11 117.4 15 Latency 195ms 6076ms 6614ms 63691us 2221ms 1910ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 14451 97 +++++ +++ 15421 98 16878 96 +++++ +++ 15382 98 Latency 13895us 128us 287us 27652us 74us 388us
ã¨çµ¶æçã«é ãï¼
FreeBSDãï¼WD20EARSã4Kã»ã¯ã¿ã¼ã ã¨èªèã§ããªãã®ãæªã*1ã®ãã¨æãï¼
gnop create -S 4096 /dev/ada2
zpool create tank /dev/ada2.nop
ã¨ãã¦ï¼å¼·å¶çã«4Kã»ã¯ã¿ã¼ã¨ãã¦èªèããã¦ã¿ããã©ããªããã¨ããã®ã次ã§ï¼
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic_ 8G 70 99 72083 16 43463 13 208 99 80571 10 119.8 18 Latency 389ms 5480ms 5488ms 53622us 974ms 1513ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 14731 97 +++++ +++ 15269 98 16706 97 +++++ +++ 15229 98 Latency 14175us 122us 422us 28550us 72us 420us
å°ãã¯æ¹åããããã©ï¼ã¾ã é ãçãç¯å²ï¼
ã¨ããããï¼æã ã«åºã¦ãã63ã¨ããæ°åãæªãããããã®ã§ï¼ãããä¿®æ£ãã¦ã©ããªããããã£ã¦ã¿ãäºå®ï¼
追è¨
çç±ã¯ä¸æã ãï¼
dd if=/dev/zero of=/dev/ada1 bs=10M count=1
zpool create tank /dev/ada1
ã¨ãã¦ï¼bonnie++ãããã¨ï¼
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic_ 8G 74 99 70644 15 41450 12 212 99 85786 11 113.3 13 Latency 532ms 5792ms 5889ms 60440us 467ms 3403ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 14933 96 +++++ +++ 15281 98 16733 97 +++++ +++ 15272 98 Latency 14009us 126us 359us 28415us 71us 423us
ã¨ãªã£ã¦ï¼å¦ã«éããªãï¼è¬ã ï¼ãã®ç´°å·¥ãããå¾ã®2TB*5ã¹ãã©ã¤ãã
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic_ 8G 76 99 178456 40 66896 20 206 97 102828 13 269.5 15 Latency 464ms 1476ms 1386ms 426ms 414ms 394ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 16585 97 +++++ +++ 15231 98 16849 97 +++++ +++ 15142 98 Latency 13857us 82us 318us 27950us 71us 416us
ã¨ï¼readãé ãã®ã¿ã¯ããããï¼2TB*5ã®raidzã ã¨ï¼
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic_ 8G 76 99 112684 25 55420 17 212 99 113982 15 119.9 13 Latency 550ms 2732ms 2639ms 99935us 649ms 7214ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 14764 88 +++++ +++ 14268 93 16063 93 +++++ +++ 14646 93 Latency 14213us 128us 398us 28136us 102us 277us
ã¨ãªã£ã¦ï¼ã¾ãé ããã©ï¼è¨±å®¹ãããã¨ããã¬ãã«ã«è½ã¡çããããããããªã¨ï¼
追è¨2
ã¡ã¢ãªã4GB->8GBã«ãã¦ï¼prefetchãonã«ãããï¼vfs.zfs.prefetch_disable=0ï¼ï¼
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP hafnium.smectic 16G 66 98 123519 29 95487 30 211 99 316246 38 108.6 12 Latency 318ms 6803ms 5034ms 76517us 1027ms 7856ms Version 1.96 ------Sequential Create------ --------Random Create-------- hafnium.smectic_g.c -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 12121 74 1505 4 9606 77 14837 88 +++++ +++ 9957 78 Latency 100ms 5086ms 226ms 25163us 52us 240ms 1.96,1.96,hafnium.smectic_g.com,1,1269783359,16G,,66,98,123519,29,95487,30,211,99,316246,38,108.6,12,16,,,,,12121,74,1505,4,9606,77,14837,88,+++++,+++,9957,78,318ms,6803ms,5034ms,76517us,1027ms,7856ms,100ms,5086ms,226ms,25163us,52us,240ms
ã¨ï¼ä½ãæ¯ãåãã¡ãã£ãæãï¼ãã ï¼latencyãããªã¼ãæªåããã®ããªãã ãããããªããã©ï¼
*1:ã¨ãããï¼ã©ããªOSã§ããã£ã¹ã¯ã512Bã»ã¯ã¿ã¼ã§ãã¨è¨ãå¼µã£ã¦ãããã®ã4Kã»ã¯ã¿ã¼ã ã¨çç ´ãããã¨ãªãã¦åºæ¥ãããªãããã§