ZFS

mirror プールで容量アップ

zpool replace pool1 ad8 ad8
zpool export -f pool1
zpool import pool1

RAID 10構成でこれをやると、片方のミラーボリュームに偏って悲しいことになります。

               capacity     operations    bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
pool1       2.44T  1.19T      8     65  1.03M  2.09M
  mirror    1.72T   102G      4     24   486K   465K
    ada1        -      -      2     12   243K   465K
    ada0        -      -      2     12   244K   465K
  mirror     744G  1.09T      4     41   566K  1.64M
    ada2        -      -      2     25   283K  1.64M
    ada3        -      -      2     25   282K  1.64M
----------  -----  -----  -----  -----  -----  -----

benchmark

前提

  • eggplant
    • HP MicroServer
    • Memory: 8GB
    • OS: FreeBSD 8.2-STABLE
    • DISK: HGST 2TB x 4(RAID10)
    • ZFS Version: 5
    • ZPOOL Version: 28
    • Network: 1Gbps
    • ZIL/L2ARCなし
  • 測定端末
    • MacMini
    • OS: Windows 7 on VMware Fusion
    • Network: 1Gbps
  • 備考
    • 測定対象と測定端末間は1対1で接続しているわけではありません。

対象: eggplant

Samba 3.6(CIFS)
-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    86.803 MB/s
          Sequential Write :    93.229 MB/s
         Random Read 512KB :    77.980 MB/s
        Random Write 512KB :    88.803 MB/s
    Random Read 4KB (QD=1) :     4.471 MB/s [  1091.5 IOPS]
   Random Write 4KB (QD=1) :     6.038 MB/s [  1474.2 IOPS]
   Random Read 4KB (QD=32) :    33.047 MB/s [  8068.2 IOPS]
  Random Write 4KB (QD=32) :    31.657 MB/s [  7728.6 IOPS]

  Test : 50 MB [H: 5.7% (72.3/1264.7 GB)] (x1)
  Date : 2012/02/08 22:28:46
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    86.616 MB/s
          Sequential Write :    78.135 MB/s
         Random Read 512KB :    87.913 MB/s
        Random Write 512KB :    56.960 MB/s
    Random Read 4KB (QD=1) :     4.859 MB/s [  1186.2 IOPS]
   Random Write 4KB (QD=1) :     2.543 MB/s [   621.0 IOPS]
   Random Read 4KB (QD=32) :    18.150 MB/s [  4431.2 IOPS]
  Random Write 4KB (QD=32) :     3.412 MB/s [   833.0 IOPS]

  Test : 500 MB [H: 5.7% (72.3/1264.7 GB)] (x1)
  Date : 2012/02/08 22:42:19
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)

 

-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    85.403 MB/s
          Sequential Write :    82.682 MB/s
         Random Read 512KB :    83.845 MB/s
        Random Write 512KB :    51.764 MB/s
    Random Read 4KB (QD=1) :     5.389 MB/s [  1315.6 IOPS]
   Random Write 4KB (QD=1) :     1.866 MB/s [   455.6 IOPS]
   Random Read 4KB (QD=32) :     4.414 MB/s [  1077.7 IOPS]
  Random Write 4KB (QD=32) :     1.413 MB/s [   344.9 IOPS]

  Test : 1000 MB [H: 5.7% (72.3/1264.7 GB)] (x1)
  Date : 2012/02/08 22:49:26
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
iSCSI
-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    95.325 MB/s
          Sequential Write :    46.470 MB/s
         Random Read 512KB :    97.139 MB/s
        Random Write 512KB :    81.361 MB/s
    Random Read 4KB (QD=1) :     4.879 MB/s [  1191.1 IOPS]
   Random Write 4KB (QD=1) :     5.565 MB/s [  1358.5 IOPS]
   Random Read 4KB (QD=32) :    49.038 MB/s [ 11972.2 IOPS]
  Random Write 4KB (QD=32) :    29.368 MB/s [  7169.9 IOPS]

  Test : 50 MB [O: 0.8% (0.1/10.0 GB)] (x1)
  Date : 2012/02/08 22:57:25
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)

 

-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    98.810 MB/s
          Sequential Write :    52.929 MB/s
         Random Read 512KB :    96.866 MB/s
        Random Write 512KB :    39.229 MB/s
    Random Read 4KB (QD=1) :     4.816 MB/s [  1175.7 IOPS]
   Random Write 4KB (QD=1) :     3.608 MB/s [   880.8 IOPS]
   Random Read 4KB (QD=32) :    50.029 MB/s [ 12214.2 IOPS]
  Random Write 4KB (QD=32) :     2.461 MB/s [   600.7 IOPS]

  Test : 500 MB [O: 0.8% (0.1/10.0 GB)] (x1)
  Date : 2012/02/08 23:04:20
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)

 

-----------------------------------------------------------------------
CrystalDiskMark 3.0 x64 (C) 2007-2010 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

           Sequential Read :    87.163 MB/s
          Sequential Write :    73.225 MB/s
         Random Read 512KB :    95.641 MB/s
        Random Write 512KB :    42.670 MB/s
    Random Read 4KB (QD=1) :     4.775 MB/s [  1165.8 IOPS]
   Random Write 4KB (QD=1) :     3.024 MB/s [   738.2 IOPS]
   Random Read 4KB (QD=32) :    49.338 MB/s [ 12045.5 IOPS]
  Random Write 4KB (QD=32) :     1.650 MB/s [   402.7 IOPS]

  Test : 1000 MB [O: 0.8% (0.1/10.0 GB)] (x1)
  Date : 2012/02/08 23:07:03
    OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
番外編
Version      1.96   ------Sequential Output------ --Sequential Input- --Random-
                    -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
eggplant.lan.ta 16G    68  98 80607  43 33073  27   187  95 56947  29 167.3  43
Latency               439ms    2786ms    1045ms     149ms     300ms     982ms
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min        /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
eggplant.lan.tat 16 12430  88 +++++ +++ 14081  95 13469  96 +++++ +++ 12184  86
Latency             75668us     279us    1278us   39600us      94us   60344us

参考にしたサイト

  1. コメントはありません。

  1. トラックバックはありません。

アーカイブ

2017年6月
« 3月    
 1234
567891011
12131415161718
19202122232425
2627282930