日記ブログ、または雑多なメモ
見栄子LINEスタンプ
広告

VMware + Paravirtualization on Linux@X31 その2

 ややこしい仕事の片がついたっぽいので、かためてベンチマークを取ってみた。

Host Linux@X31 Pen-M 1.3 banias cpufreq-dynamic
 X.Org-7.2 KDE-3.5.6 beryl glibc-2.5-dev
VMware Workstation 6 beta build-39849上のWindows2000で実施

CrystalMark 2004R2
kernel
paravirt
Total
[ ALU ]
[ FPU ]
[ MEM ]
[ HDD ]
[ GDI ]
[ D2D ]
[ OGL ]

2.6.19.7-ck2
無し
44211
4261
5221
2382
29281
987
1620
459
2.6.20.3-rsdl
無し
31931
4336
5324
2528
16829
1184
1388
342
2.6.20.3-rsdl
有り
34265
4364
5264
2561
19423
921
1391
341
.
.
.
.
.
.
.
.
.
.
おまけwine@2.6.19.7-ck2

42850
4259
5675
2954
26376
384
1522(表示は出ず)
1050



【総評】
 それぞれ何度か走らせてみたが、各項目の100-200程度の差は誤差の範囲内のようである。 HDDについてはkernelの違いのせいかparavirtがボトルネックになっているのか、いまひとつ不明。 メモリが若干paravirtが効いてるちっくではある。 なんであれ、2.6.20では少々パフォーマンスが落ちる模様。


ZFS beta 1 for Linux
 出ましたよ、ベータ1。 パフォーマンスが大幅に改善されたようなので、実験してみた。 特定の状況下でバリバリとメモリを食うことがあるらしいので、搭載メモリ1Gb以上推奨だそうである。 ちなみに我がThinkPad X31は1Gb。

# zpool create hda3 /dev/hda3
 で、完了。 /hda3に自動マウントされる。

# zfs set mountpoint="/mnt/work" hda3 #プールのマウントポイントを/mnt/workに変更。
# zfs mount hda3 #マウント
# zfs umount hda3 #アンマウント
# zfs set exec=on hda3 #ファイル実行権限オン

% df -ahT|grep hda3
hda3          fuse     23G  3.5G   19G  16% /mnt/work



 パフォーマンスはいかほどか、bonnie++でベンチマークを取ってみた。

zfs
Version  1.03       ------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
X31              2G 12236  47 10638   2  4751   2  7646  31 10369   2  50.3   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  3435   5  7598   5  3969   4  2600   3  5215   4  2727   2
ext3
Version  1.03       ------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
X31              2G 12887  50 13184   6  5913   3 15399  56 17035   5  93.6   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 25487  90 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
reiserfs
Version  1.03       ------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
X31              2G 12344  57 13755   9  5681   4 12775  48 15651   6  90.9   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 11908  84 +++++ +++ 17235  96 19495  98 +++++ +++ 15254  92
jfs            
Version  1.03       ------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
X31              2G 12917  51 12789   3  5229   2 10777  42 13641   4 101.1   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  4056  16 +++++ +++  2540   9  1225  13 +++++ +++   439   3
xfs                
Version  1.03       ------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
X31              2G 12215  47 12804   4  5960   3 11482  45 14758   5  99.2   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16   884  11 +++++ +++   891   8   963  12 +++++ +++   406   4
reiser4
Version  1.03       ------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
X31              2G           20821   5  7957   6           17309   7 112.9   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 20362  98 +++++ +++ 12895  97 14968  99 +++++ +++ 14931  97


 ついでなので他のfsもテスト。 こうしてみるとべらぼうに遅いわけでもない。 FUSEでどこまで速度が上げられるのかお楽しみである。

 しばらくワークドライブで使ってみたところ、感覚としてはjfsと同じかそれよりちょっと遅い印象である。 今後のパフォーマンスアップに期待しつつ引き続き使ってみよう。
- C'sGallery Blogっぽく見えるシステム3.2 -
小武 (管理人) eta2@tim.hi-ho.ne.jp