最近、インストールばっかしてる気がします。
ネットの波をうろうろしていたら「UnixBench」というおもしろそうなものを見つけたのでインストールしてみました。
まずはソースをダウンロード。
[[2010-07-17 18:44:16]–[paz@paz-para]]
[[0 Dirs]-[0 Files]]–((8610)(42)(1))
[[ ~/unixbench ]]-> wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
–2010-07-17 18:44:25– http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
byte-unixbench.googlecode.com をDNSに問いあわせています… 64.233.183.82
byte-unixbench.googlecode.com|64.233.183.82|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 200 OK
長さ: 139571 (136K) [application/x-gzip]
`unixbench-5.1.2.tar.gz’ に保存中
100%[=====================================================================================>] 139,571 555K/s 時間 0.2s
2010-07-17 18:44:25 (555 KB/s) – `unixbench-5.1.2.tar.gz’ へ保存完了 [139571/139571]
解凍して
[[2010-07-17 18:44:25]–[paz@paz-para]]
[[0 Dirs]-[1 Files]]–((8611)(43)(1))
[[ ~/unixbench ]]-> tar xzvf unixbench-5.1.2.tar.gz
移動して、
[[2010-07-17 18:45:30]–[paz@paz-para]]
[[1 Dirs]-[1 Files]]–((8613)(45)(1))
[[ ~/unixbench ]]-> cd unixbench-5.1.2
makeして、
[[2010-07-17 18:45:32]–[paz@paz-para]]
[[5 Dirs]-[5 Files]]–((8614)(46)(1))
[[ ~/unixbench/unixbench-5.1.2 ]]-> sudo make
・
・
・
make: *** [pgms/ubgears] エラー 1
エラー発生。
エラーで検索。
こちらのサイトでなにやらインストールされていたので真似してみる。
[[2010-07-17 18:45:55]–[paz@paz-para]]
[[5 Dirs]-[5 Files]]–((8615)(47)(1))
[[ ~/unixbench/unixbench-5.1.2 ]]-> sudo yum install libXext-devel
読み込んだプラグイン:fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.tsukuba.wide.ad.jp
* updates: ftp.tsukuba.wide.ad.jp
インストール処理の設定をしています
依存性の解決をしています
–> トランザクションの確認を実行しています
—> パッケージ libXext-devel.i386 0:1.0.4-1.fc9 を更新に設定しました
–> 依存性の処理をしています: xorg-x11-proto-devel >= 7.0-1 のパッケージ: libXext-devel-1.0.4-1.fc9.i386
–> 依存性の処理をしています: libX11-devel のパッケージ: libXext-devel-1.0.4-1.fc9.i386
–> トランザクションの確認を実行しています
—> パッケージ libX11-devel.i386 0:1.1.5-4.fc10 を更新に設定しました
–> 依存性の処理をしています: libxcb-devel のパッケージ: libX11-devel-1.1.5-4.fc10.i386
–> 依存性の処理をしています: libXau-devel のパッケージ: libX11-devel-1.1.5-4.fc10.i386
–> 依存性の処理をしています: libXdmcp-devel のパッケージ: libX11-devel-1.1.5-4.fc10.i386
—> パッケージ xorg-x11-proto-devel.noarch 0:7.4-5.fc10 を更新に設定しました
–> 依存性の処理をしています: mesa-libGL-devel のパッケージ: xorg-x11-proto-devel-7.4-5.fc10.noarch
–> トランザクションの確認を実行しています
—> パッケージ libXau-devel.i386 0:1.0.4-1.fc10 を更新に設定しました
—> パッケージ libXdmcp-devel.i386 0:1.0.2-6.fc10 を更新に設定しました
—> パッケージ libxcb-devel.i386 0:1.1.91-8.fc10 を更新に設定しました
—> パッケージ mesa-libGL-devel.i386 0:7.2-0.15.fc10 を更新に設定しました
–> 依存性解決を終了しました
依存性を解決しました
===============================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================
インストールしています:
libXext-devel i386 1.0.4-1.fc9 fedora 60 k
依存性関連でのインストールをします:
libX11-devel i386 1.1.5-4.fc10 updates 1.1 M
libXau-devel i386 1.0.4-1.fc10 fedora 11 k
libXdmcp-devel i386 1.0.2-6.fc10 fedora 8.0 k
libxcb-devel i386 1.1.91-8.fc10 updates 145 k
mesa-libGL-devel i386 7.2-0.15.fc10 updates 460 k
xorg-x11-proto-devel noarch 7.4-5.fc10 updates 278 k
Transaction Summary
===============================================================================================================================
Install 7 Package(s)
Upgrade 0 Package(s)
総ダウンロード容量: 2.0 M
これでいいですか? [y/N]y
パッケージをダウンロードしています:
(1/7): libX11-devel-1.1.5-4.fc10.i386.rpm | 1.1 MB 00:00
(2/7): libXau-devel-1.0.4-1.fc10.i386.rpm | 11 kB 00:00
(3/7): libXdmcp-devel-1.0.2-6.fc10.i386.rpm | 8.0 kB 00:00
(4/7): libXext-devel-1.0.4-1.fc9.i386.rpm | 60 kB 00:00
(5/7): libxcb-devel-1.1.91-8.fc10.i386.rpm | 145 kB 00:00
(6/7): mesa-libGL-devel-7.2-0.15.fc10.i386.rpm | 460 kB 00:00
(7/7): xorg-x11-proto-devel-7.4-5.fc10.noarch.rpm | 278 kB 00:00
——————————————————————————————————————————-
合計 1.7 MB/s | 2.0 MB 00:01
rpm_check_debug を実行しています
トランザクションのテストを実行しています
トランザクションのテストを終了しました
トランザクションのテストを成功しました
トランザクションを実行しています
インストールし : libxcb-devel-1.1.91-8.fc10.i386 1/7
インストールし : mesa-libGL-devel-7.2-0.15.fc10.i386 2/7
インストールし : xorg-x11-proto-devel-7.4-5.fc10.noarch 3/7
インストールし : libXau-devel-1.0.4-1.fc10.i386 4/7
インストールし : libXdmcp-devel-1.0.2-6.fc10.i386 5/7
インストールし : libX11-devel-1.1.5-4.fc10.i386 6/7
インストールし : libXext-devel-1.0.4-1.fc9.i386 7/7
インストールしました:
libXext-devel.i386 0:1.0.4-1.fc9
依存性関連をインストールしました:
libX11-devel.i386 0:1.1.5-4.fc10 libXau-devel.i386 0:1.0.4-1.fc10 libXdmcp-devel.i386 0:1.0.2-6.fc10
libxcb-devel.i386 0:1.1.91-8.fc10 mesa-libGL-devel.i386 0:7.2-0.15.fc10 xorg-x11-proto-devel.noarch 0:7.4-5.fc10
完了しました!
インストールできたようなので、再度makeしてみて、
[[2010-07-17 18:47:46]–[paz@paz-para]]
[[5 Dirs]-[5 Files]]–((8616)(48)(1))
[[ ~/unixbench/unixbench-5.1.2 ]]-> sudo make
Runを叩くと、
[[2010-07-17 18:48:05]–[paz@paz-para]]
[[5 Dirs]-[5 Files]]–((8617)(49)(1))
[[ ~/unixbench/unixbench-5.1.2 ]]-> ./Run
30分くらいまたされて、
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)
System: examle.net: GNU/Linux
OS: GNU/Linux — 2.6.27.41-170.2.117.fc10.i686 — #1 SMP Thu Dec 10 11:00:29 EST 2009
Machine: i686 (i386)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Celeron(R) M processor 900MHz (1260.1 bogomips)
MMX, Physical Address Ext
18:48:46 up 4 days, 22:25, 1 user, load average: 0.13, 0.11, 0.03; runlevel 3
————————————————————————
Benchmark Run: 土 7月 17 2010 18:48:46 – 19:16:55
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 2613759.8 lps (10.0 s, 7 samples)
Double-Precision Whetstone 520.2 MWIPS (10.2 s, 7 samples)
Execl Throughput 940.5 lps (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 91743.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 27208.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 232687.2 KBps (30.0 s, 2 samples)
Pipe Throughput 171987.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 59126.6 lps (10.0 s, 7 samples)
Process Creation 2940.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 1158.0 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 159.2 lpm (60.3 s, 2 samples)
System Call Overhead 294806.3 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 2613759.8 224.0
Double-Precision Whetstone 55.0 520.2 94.6
Execl Throughput 43.0 940.5 218.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 91743.5 231.7
File Copy 256 bufsize 500 maxblocks 1655.0 27208.5 164.4
File Copy 4096 bufsize 8000 maxblocks 5800.0 232687.2 401.2
Pipe Throughput 12440.0 171987.5 138.3
Pipe-based Context Switching 4000.0 59126.6 147.8
Process Creation 126.0 2940.4 233.4
Shell Scripts (1 concurrent) 42.4 1158.0 273.1
Shell Scripts (8 concurrent) 6.0 159.2 265.4
System Call Overhead 15000.0 294806.3 196.5
========
System Benchmarks Index Score 202.7
こんな感じになります。
途中で止まったかと思いました。
結果を見てもいまいちよくわかりませんが、それは追って勉強しようと思います。