S70

FreeNasにwget

FreeNASにwgetを入れようと
# pkg_add -r wget
したところ、エラーで躓いたので。


setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-7.3-release/Latest/
の後に
# pkg_add -r wget
で、OK。
 

ESXi の設定をバックアップ



ESXi自体はUSBメモリにインストールしてあるのですが
設定のバックアップ方法を備忘録的に書いておこう。

Win機に「VMware vSphere Remote CLI」 をインストール。
コマンドプロンプト から

> cd bin
>vicfg-cfgbackup.pl --server (IP) -s (FileName) 

復元には
>vicfg-cfgbackup.pl --server (IP) -l (FileName) 


ESXi 5.0 patch



ESXi5.0へのパッチのあて方。
こちら を参考にあてました。
ファイルは、
http://www.vmware.com/patchmgr/download.portal
から落とします。
ESXi 5.0.0 を選んで、searchをクリックして
ESXi500-201109001.zipを落としてきます。

VMware vSphere Clientのデータストア ブラウザ等を使い
データストアにコピーします。
後は、SSHなりコマンドラインから
# esxcli software vib install -d /vmfs/volumes/ データストア名/ESXi500-201109001.zip
 
暫く待つと
Installation Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
   VIBs Installed: VMware_bootbank_esx-base_5.0.0-0.3.474610, VMware_locker_tools-light_5.0.0-0.3.474610
   VIBs Removed: VMware_bootbank_esx-base_5.0.0-0.0.469512, VMware_locker_tools-light_5.0.0-0.0.469512
   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.500.0.0.469512, (後略)

となるので、reboot。

Buildが5.0.0, 469512 から 5.0.0, 474610 に変わっていれば成功です。
 

UnixBench

ESXi5.0上の Linuxでベンチマークを走らせるために、こちらを参考にUnixBenchをインストールしました。
 
確認環境
  • Ubuntu 11.04
  • CentOS6.0
手順

(0) 必要パッケージをインストール

CentOS
# yum install perl-Time-HiRes
# yum install gcc
Ubuntu
apt-get install build-essential
(1) UnixBenchをダウンロード

# wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz

(2) 展開

# tar zxvf UnixBench5.1.3.tgz 

(3) コンパイル

# cd UnixBench/
# make

(4) 実行
# ./Run
 
結果
Express5800/S70 タイプPJがML115G1の3倍。
あくまで、ESXi5.0上の仮想マシンですが。

ML115G1 

BYTE UNIX Benchmarks (Version 5.1.3)

Test System Information


System: localhost.localdomain: GNU/Linux
OS: GNU/Linux -- 2.6.32-71.29.1.el6.x86_64 -- #1 SMP Mon Jun 27 19:49:27 BST 2011
Machine: x86_64: x86_64
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPUs: 0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (5600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSCALL/SYSRET
1: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (5600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSCALL/SYSRET
Uptime: 20:47:06 up 1 day, 11:46, 1 user, load average: 0.23, 0.05, 0.02; runlevel 3




Benchmark Run: 2 CPUs; 1 parallel process

Time: 20:47:06 - 21:15:22; 28m 16s

System Benchmarks


Test Score Unit Time Iters. Baseline Index
Dhrystone 2 using register variables 20662955.8 lps 10.0 s 7 116700.0 1770.6
Double-Precision Whetstone 2690.0 MWIPS 9.8 s 7 55.0 489.1
Execl Throughput 747.7 lps 30.0 s 2 43.0 173.9
File Copy 1024 bufsize 2000 maxblocks 268565.7 KBps 30.0 s 2 3960.0 678.2
File Copy 256 bufsize 500 maxblocks 81293.9 KBps 30.0 s 2 1655.0 491.2
File Copy 4096 bufsize 8000 maxblocks 647940.9 KBps 30.0 s 2 5800.0 1117.1
Pipe Throughput 555075.2 lps 10.0 s 7 12440.0 446.2
Pipe-based Context Switching 23804.8 lps 10.0 s 7 4000.0 59.5
Process Creation 1573.4 lps 30.0 s 2 126.0 124.9
Shell Scripts (1 concurrent) 1707.6 lpm 60.0 s 2 42.4 402.7
Shell Scripts (8 concurrent) 298.0 lpm 60.1 s 2 6.0 496.7
System Call Overhead 623573.9 lps 10.0 s 7 15000.0 415.7
System Benchmarks Index Score: 397.3




Benchmark Run: 2 CPUs; 2 parallel processes

Time: 21:15:22 - 21:43:40; 28m 18s

System Benchmarks


Test Score Unit Time Iters. Baseline Index
Dhrystone 2 using register variables 39352656.5 lps 10.0 s 7 116700.0 3372.1
Double-Precision Whetstone 5322.1 MWIPS 9.9 s 7 55.0 967.7
Execl Throughput 1422.9 lps 30.0 s 2 43.0 330.9
File Copy 1024 bufsize 2000 maxblocks 377985.9 KBps 30.0 s 2 3960.0 954.5
File Copy 256 bufsize 500 maxblocks 101193.6 KBps 30.0 s 2 1655.0 611.4
File Copy 4096 bufsize 8000 maxblocks 940905.0 KBps 30.0 s 2 5800.0 1622.2
Pipe Throughput 1024638.1 lps 10.0 s 7 12440.0 823.7
Pipe-based Context Switching 154536.2 lps 10.0 s 7 4000.0 386.3
Process Creation 2944.4 lps 30.0 s 2 126.0 233.7
Shell Scripts (1 concurrent) 2328.8 lpm 60.0 s 2 42.4 549.2
Shell Scripts (8 concurrent) 304.9 lpm 60.2 s 2 6.0 508.2
System Call Overhead 1046669.7 lps 10.0 s 7 15000.0 697.8
System Benchmarks Index Score: 703.9
 

Express5800/S70 タイプPJ 

BYTE UNIX Benchmarks (Version 5.1.3)

Test System Information


System: ubuntu: GNU/Linux
OS: GNU/Linux -- 2.6.38-8-server -- #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011
Machine: x86_64: x86_64
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPUs: 0: Intel(R) Pentium(R) CPU G6950 @ 2.80GHz (5586.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
1: Intel(R) Pentium(R) CPU G6950 @ 2.80GHz (5586.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
Uptime: 21:10:31 up 2 min, 1 user, load average: 0.60, 0.52, 0.23; runlevel 2




Benchmark Run: 2 CPUs; 1 parallel process

Time: 21:10:31 - 21:38:43; 28m 12s

System Benchmarks


Test Score Unit Time Iters. Baseline Index
Dhrystone 2 using register variables 28903868.6 lps 10.0 s 7 116700.0 2476.8
Double-Precision Whetstone 3421.6 MWIPS 9.9 s 7 55.0 622.1
Execl Throughput 3568.2 lps 30.0 s 2 43.0 829.8
File Copy 1024 bufsize 2000 maxblocks 831485.0 KBps 30.0 s 2 3960.0 2099.7
File Copy 256 bufsize 500 maxblocks 288739.7 KBps 30.0 s 2 1655.0 1744.7
File Copy 4096 bufsize 8000 maxblocks 1561626.5 KBps 30.0 s 2 5800.0 2692.5
Pipe Throughput 2004050.7 lps 10.0 s 7 12440.0 1611.0
Pipe-based Context Switching 309115.7 lps 10.0 s 7 4000.0 772.8
Process Creation 8544.9 lps 30.0 s 2 126.0 678.2
Shell Scripts (1 concurrent) 4962.0 lpm 60.0 s 2 42.4 1170.3
Shell Scripts (8 concurrent) 991.2 lpm 60.0 s 2 6.0 1652.0
System Call Overhead 3635652.2 lps 10.0 s 7 15000.0 2423.8
System Benchmarks Index Score: 1385.2




Benchmark Run: 2 CPUs; 2 parallel processes

Time: 21:38:43 - 22:06:56; 28m 13s

System Benchmarks


Test Score Unit Time Iters. Baseline Index
Dhrystone 2 using register variables 56951955.4 lps 10.0 s 7 116700.0 4880.2
Double-Precision Whetstone 6801.4 MWIPS 9.9 s 7 55.0 1236.6
Execl Throughput 6751.3 lps 29.5 s 2 43.0 1570.1
File Copy 1024 bufsize 2000 maxblocks 897762.0 KBps 30.0 s 2 3960.0 2267.1
File Copy 256 bufsize 500 maxblocks 302824.9 KBps 30.0 s 2 1655.0 1829.8
File Copy 4096 bufsize 8000 maxblocks 1887221.5 KBps 30.0 s 2 5800.0 3253.8
Pipe Throughput 3943266.5 lps 10.0 s 7 12440.0 3169.8
Pipe-based Context Switching 600068.7 lps 10.0 s 7 4000.0 1500.2
Process Creation 21738.3 lps 30.0 s 2 126.0 1725.3
Shell Scripts (1 concurrent) 7898.2 lpm 60.0 s 2 42.4 1862.8
Shell Scripts (8 concurrent) 989.1 lpm 60.1 s 2 6.0 1648.5
System Call Overhead 5859542.7 lps 10.0 s 7 15000.0 3906.4
System Benchmarks Index Score: 2196.1





Express5800/S70 タイプPJ



ひょんなことから、久しぶりに安サーバ(Express5800/S70 タイプPJ)を買ってしまいました。
何年か前にSC440やらML115 G1,ML110 G5等がやたらめったら安くて無駄に買い込んでしまったことがあったのですが、それ以来です。
タイミングよくESXi5.0がリリースされていたので、仮想サーバにして遊んでいます。

まず、驚いたのが消費電力。
第一期 安サーバ時代(!?)、いつの間にやら実験サーバが何台も稼働していて、電気代が3万over・・
流石にまずいと思い、消費電力を減らすために色々工夫する羽目になるわけですが、こいつは、何もせずにワットチェッカー読みで
  • アイドル時 47w
  • 最大 61W
ベンチを比べると3倍!(シャアか!)。
品質と効率、どちらも上がっていくような事象が起こりえるのだなぁと改めて思い知らされました。
気づいていないだけで、技術は着々と進歩していました。

明日には、iphone 4sも発売されます。
夢と技術。2つがうまく絡み合った見本を見せてくれるでしょう。
iOS5のアップデートは、トラブっているようですが。

世界に楽しませてもらってばかりでは、申し訳ない。
世界を楽しませられるよう、また、頑張ろう。

カテゴリ別アーカイブ
人気ブログランキングへ
QRコード
QRコード
  • ライブドアブログ