zfsで作成したボリュームに対してベンチを取った

bonnie++†

root@e:~#  ./bonnie++/sbin/bonnie++ -d /export -n 256:1024:1024:16 -u root
Sequential OutputSequential InputRandom SeeksSequential CreateRandom Create
Per CharBlockRewritePer CharBlockCreateReadDeleteCreateReadDelete
153921(99)450206(35)119961(12)116441(70)423327(16)135.8(2)29158(97)112763(100)38937(99)30153(99)69070(99)27296(99)
153221(99)475151(37)121036(12)124435(75)443408(17)141.7(2)26555(88)96790(99)39911(99)29933(98)77299(99)26804(100)
153974(99)470489(37)120965(12)125620(74)431974(16)140.4(1)24588(81)88395(99)34717(99)29340(97)71462(99)27607(100)

dd†

root@e:~# cd /export/
root@e:/export# dd if=/dev/zero of=./zero1 bs=1G count=10 conv=fsync
bs=1G count=10 conv=fsyncbs=4k count=2621440 conv=fsync
1st2nd3rd1st2nd3rd
519 MB/s464 MB/s496 MB/s480 MB/s472 MB/s461 MB/s

fio†

fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIREC

と表示されて計測不可能だった
一応、「direct=0」にすれば測定できるが、目的のデバイスに注目した測定ではなく、まわりのページキャッシュ効果も含まれて計測されてしまう。全体で評価できるから構わないのかもしれないが..

zpool に cache を加えてみた†

参照ubuntu/zfs#sfeeabfb

root@e:~#  ./bonnie++/sbin/bonnie++ -d /export -n 256:1024:1024:16 -u root
Sequential OutputSequential InputRandom SeeksSequential CreateRandom Create
Per CharBlockRewritePer CharBlockCreateReadDeleteCreateReadDelete
152831(99)468778(37)137765(14)126994(76)491093(18)641.6(4)22837(73)114659(99)37960(100)29091(98)72301(99)27488(99)
153041(99)474821(37)141204(14)126771(75)495649(19)687.6(3)28914(98)119100(99)37043(99)29772(99)77998(99)29106(99)
152683(99)463327(37)134613(13)123973(76)490372(19)625.7(4)28420(98)125637(99)38407(99)29312(99)67978(99)27275(99)

Random Seeksに効果があるみたい。

root@e:~# cd /export/
root@e:/export# dd if=/dev/zero of=./zero1 bs=1G count=10 conv=fsync
bs=1G count=10 conv=fsyncbs=4k count=2621440 conv=fsync
1st2nd3rd1st2nd3rd
496 MB/s502 MB/s466 MB/s465 MB/s464 MB/s474 MB/s
最新の60件
2026-10-09 2026-10-08 2026-10-07 2026-10-06 2026-10-05 2026-10-04 2026-10-02 2026-10-01 2026-09-30 2026-09-28 2026-09-27 2026-09-26 2026-09-22 2026-09-17 2026-09-11 2026-09-06 2026-08-31 2026-08-27 2026-08-24 2026-08-20 2026-08-19 2026-08-18 2026-08-17 2026-08-16 2026-08-15 2026-08-13 2026-08-12 2026-08-11 2026-08-09 2026-07-30 2026-07-25 2026-07-24 2026-07-20 2026-07-18 2026-07-17 2026-07-16 2026-07-08 2026-07-06 2026-07-04 2026-07-02

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-08-14 (日) 01:58:05