« 2011年2月 | メイン | 2011年5月 »

2011年3月25日

マイ電柱 その後

とりあえず、立てたまま二十日ぐらい放置していましたが、やっと思い腰を上げました。

配管と電力の2次側の配線です。


縦管下ろして


配管の穴掘って


メータ板とボックス付けて


ブレーカー付けて
拾ってきたボックス使ったけど、ここまで丁寧な仕事するなら、新品使えば良かったと後で後悔。主幹は30Aの漏電ブレーカー。屋外用コンセントに20A。


パイプ曲げて
手曲げですよ?w


パイプ立ち上げて
ジョイント1足らなかった・・・orz


トタンの隙間から入れるw


こんな感じ。

配管を2条にしたのは自宅からファイバーを引いて、自宅のLANを使えるようにしようかと。LANケーブル飛ばすよりファイバー飛ばす方が楽だしw

2011年3月 2日

建柱してみた

ちょっと前から、倉庫に電気を引こうと思案中だったんだが
丁度良いブツが手に入ったの建柱してみた。

いわゆる8m柱。


作業中の写真を撮り忘れたというか、撮る余裕がなかった。
流石に一人では無理だった。(当たり前)
思ったより重たかったのでバケット車でつり上げて穴に入れた。
ユニック車なら一人でも出来たかもしれん。

ちなみに、微妙に寝てるのは、電力引込の逆側に少し傾けてるからです。


根入れ長もこんなモンだろ。規格より数センチ足らんけど。


そしてブレーカーも事務所のゴミ箱から拾ってきた。。。えへへ

ココまでかかった費用、ホームセンターで買ってきたコンクリート代のみ・・・

2011年3月 1日

unixbench

unixbenchがどうもマルチコアに対応してないような気がしてググってると
http://taraijpn.blogspot.com/2010/01/unixbench-512-freebsd-cpu.html
この人のブログのパッチを適用してみた。


8 CPUs in system; running 1 parallel copy of testsで813.1
8 CPUs in system; running 8 parallel copies of testsで1965.7

マルチコアに対応してはいるけど、パラレルでテストするかしないかなのね。


> perl ./Run_FreeBSD
gmake all
gmake[1]: ディレクトリ `/tmp/unixbench/unixbench-5.1.2' に入ります
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
gmake[1]: ディレクトリ `/tmp/unixbench/unixbench-5.1.2' から出ます
Unknown keyword: `LC_CTYPE'
Use of uninitialized value $map in substitution (s///) at ./Run_FreeBSD line 779.
Unknown keyword: `LC_COLLATE'
Use of uninitialized value $coll in substitution (s///) at ./Run_FreeBSD line 781.
Use of uninitialized value $map in sprintf at ./Run_FreeBSD line 782.
Use of uninitialized value $coll in sprintf at ./Run_FreeBSD line 782.
3dinfo: not found
runlevel: not found

# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #

Version 5.1.2 Based on the Byte Magazine Unix Benchmark

Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
December 22, 2007 johantheghost at yahoo period com


1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput 1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3

1 x File Copy 256 bufsize 500 maxblocks 1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3

1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10

1 x Process Creation 1 2 3

1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent) 1 2 3

1 x Shell Scripts (8 concurrent) 1 2 3

8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10

8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10

8 x Execl Throughput 1 2 3

8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3

8 x File Copy 256 bufsize 500 maxblocks 1 2 3

8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3

8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10

8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10

8 x Process Creation 1 2 3

8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10

8 x Shell Scripts (1 concurrent) 1 2 3

8 x Shell Scripts (8 concurrent) 1 2 3

========================================================================
BYTE UNIX Benchmarks (Version 5.1.2-custom)

System: ml110.mcu.or.jp: FreeBSD
OS: FreeBSD -- 8.2-RELEASE -- FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Machine: amd64 (GENERIC)
Language: en_US.utf8 (charmap=, collate=)
Compiler: gcc (GCC) 4.2.1 20070719 [FreeBSD]
CPU 0: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 1: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 2: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 3: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 4: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 5: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 6: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

CPU 7: hw.model: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (0.0 bogomips)

11:35午後 up 3 days, 20:58, 2 users, load averages: 0.00, 0.00, 0.00; runlevel

------------------------------------------------------------------------
Benchmark Run: 月 2月 28 2011 23:35:31 - 00:04:30
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 19575265.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3985.7 MWIPS (9.8 s, 7 samples)
Execl Throughput 3401.1 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 116600.2 KBps (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 28633.1 KBps (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 414061.3 KBps (30.1 s, 2 samples)
Pipe Throughput 1488902.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 215398.5 lps (10.0 s, 7 samples)
Process Creation 12976.9 lps (30.1 s, 2 samples)
Shell Scripts (1 concurrent) 7230.4 lpm (60.2 s, 2 samples)
Shell Scripts (8 concurrent) 2181.1 lpm (60.2 s, 2 samples)
System Call Overhead 871033.8 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 19575265.9 1677.4
Double-Precision Whetstone 55.0 3985.7 724.7
Execl Throughput 43.0 3401.1 790.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 116600.2 294.4
File Copy 256 bufsize 500 maxblocks 1655.0 28633.1 173.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 414061.3 713.9
Pipe Throughput 12440.0 1488902.5 1196.9
Pipe-based Context Switching 4000.0 215398.5 538.5
Process Creation 126.0 12976.9 1029.9
Shell Scripts (1 concurrent) 42.4 7230.4 1705.3
Shell Scripts (8 concurrent) 6.0 2181.1 3635.2
System Call Overhead 15000.0 871033.8 580.7
========
System Benchmarks Index Score 813.1

------------------------------------------------------------------------
Benchmark Run: 火 3月 01 2011 00:04:30 - 00:34:00
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables 80591915.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 25306.8 MWIPS (9.9 s, 7 samples)
Execl Throughput 7632.0 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 93580.6 KBps (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 23463.5 KBps (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 359799.7 KBps (30.1 s, 2 samples)
Pipe Throughput 8001166.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1980285.2 lps (10.0 s, 7 samples)
Process Creation 19775.1 lps (30.1 s, 2 samples)
Shell Scripts (1 concurrent) 18250.7 lpm (60.2 s, 2 samples)
Shell Scripts (8 concurrent) 2451.1 lpm (60.3 s, 2 samples)
System Call Overhead 4845364.0 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 80591915.7 6905.9
Double-Precision Whetstone 55.0 25306.8 4601.2
Execl Throughput 43.0 7632.0 1774.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 93580.6 236.3
File Copy 256 bufsize 500 maxblocks 1655.0 23463.5 141.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 359799.7 620.3
Pipe Throughput 12440.0 8001166.6 6431.8
Pipe-based Context Switching 4000.0 1980285.2 4950.7
Process Creation 126.0 19775.1 1569.5
Shell Scripts (1 concurrent) 42.4 18250.7 4304.4
Shell Scripts (8 concurrent) 6.0 2451.1 4085.2
System Call Overhead 15000.0 4845364.0 3230.2
========
System Benchmarks Index Score 1965.7