Apr 28, 1999 onl7v2: デスクトップ Solaris 2.6、cc ドライバのテスト --- スタンドアロン・システム上での cc ドライバの実行、スピード測定(その3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl7v2-sol2.6/camac-step06-1.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). 株式会社ロジックハウスの白田様より SPARC CPU-8VT と、VMEドライバ v2.3.1 を借用した。 (B). 株式会社ロジックハウスの白田様より Server Solaris 2.6 のシステム がインストールされているハードディスクを借用した。 (C). 借用したハードディスクのサーバ側のシステム設定を変更して、KEK の FP クラスタ上で立ち上げた。 (D). ファイルを直接修正する方法で、クライアント(その1)側のシステム 設定を変更したがクライアントは立ち上がれなかった。 (E). Solsticeを起動してホストマネージャを使って、frc7v-cl1ディスクレス クライアントの設定をやり直した。 (F). ディスクレス・クライアントのシステム、frc7v-cl1 が起動できること を確認した。 (G). frc7v-cl1 のシステムにVMEドライバ、FRCvme-2.3.1 をインストールし、 その後、frc7v-cl1 のシステム設定をやり直した。 (H). Solsticeを起動してホストマネージャを使って、frc7v-cl2ディスクレス クライアントの設定をやり直した。 (I). ディスクレス・クライアントのシステム、frc7v-cl2 が起動できること を確認した。 (J). frc7v-cl1、クライアントのシステムに ccドライバをインストールした。 (K). frc7v-cl1、クライアントのシステム上でサンプル・プログラムを実行 シングルアクションの 24ビットread/write は ok. LAM割り込み処理は、ok. ブロック転送 read/write は NG. (L). CPU-7Vのボードで FRCvme2.3.1 が正しく動作できることを確認した。 (M). frc8vt、サーバ・システムに ccドライバをインストールした。 (N). frc8vt、サーバ・システム上でンプル・プログラムを実行 シングルアクションの 24ビットread/write は ok. LAM割り込み処理は、ok. ブロック転送 read/write は 16 および 24ビットとも、ok. (O). 株式会社ロジックハウスの高橋様の修正された ccドライバを実行したが 状況に変化はなかった。 (P). 株式会社ロジックハウスの白田様の提案より、デスクレス・クライアント のシステムにローカル・ディスクをつなぎ、マウントした後で ccドライバ を実行したが状況に変化はなかった。 (Q). cam2 プログラムを実行すると、 cc.cプログラム中のどの命令を実行 した時にパニックを起こすのか調べた。 (R). 株式会社ロジックハウスの高橋様の提案より、savecore について調べる。 savecoreコマンドにより、vmcore.x および unix.x ファイルを入手した。 (S). ドライバ・プログラムが DMA完了の待ち状態のままになっているのを 確認 (T). cam2プログラムを frc8vt、frc7v-cl1上で実行して結果を調べた。    frc8vt上での実行: (1). cv_wait_sig()コールが入っていると、そこで待ち状態が続く。 (2). cv_wait_sig()コールが入っていないと、正常終了する。    frc7v-cl1上での実行: (1). cv_wait_sig()コールが入っていると、そこで待ち状態が続く。 (U). cv_wait_sig() を while文でループさせることで、シグナルを受け取れた (V). DMA 開始前に以前の割り込み信号が残って影響を与えていないことを 確認した。 (W). バーチャル・アドレス・スペースの割り当てを追加して動作させてみたが 症状は変わらない。 (X). cc->bp へのアクセスを camac_b()ルーチンでやらないようにしてみたが 症状は変わらない。 (Y). Soft State Managementルーチンを使ってみたが症状は変わらない。 (Z). minphys のバッファサイズを大きくして試してみたが症状は変わらない。 (2-A). camac_b()を呼び出す箇所で渡す値をチェックしたが症状は変わらない。 (2-B). クラッシュダンプのチェック。 physio()でエラー。 (2-C). cc_strategy()ルーチンをチェック。 physio()でエラー。 (2-D). cc_strategy()ルーチンのcv_wait() を mutexロックした。変化なし。 (2-E). クラッシュダンプのチェック。 camac_b+0x2d0アドレスでエラー。 0xf60b5080?i camac_b+0x2d0: ld [%l0], %l1 $q (2-F). cc_device構造体へ cc_sys_statusを付加して調べた。 変化なし。 (2-G). cc->cc_sys_status = bp->b_error; の行をcc_intr()ルーチンへ持って いって動作させた。 ok. cam2、camacブロック転送は正常に実行できた。 (2-H). デバッグ用に付加した部分で実行上必要のない文を削除した。cam3実行 でタイムアウト時にシステムクラッシュが起きた。 (2-I). cam3のデバッグをやった。 cc_timeout()への引数の定義変更、および ddi_get_soft_state()への引数の定義変更、ioctl(...CCIOC_WAIT_LAM..) での timeout()コール後に mutex_enter()するように変更することで cc_timeout()実行時のクラッシュはなくなった。 (2-J). frc7v-cl2、ディスクレス・クライアントのシステムに ccドライバを インストールした。 (2-K). frc7v-cl2、ディスクレス・クライアントのシステム上で サンプル プログラムを実行した(デバッグ後)。 正常に実行できた。 (2-L). frc7v-cl1、ディスクレス・クライアントのシステム上で サンプル プログラムを実行した(デバッグ後)。 正常に実行できた。 (2-M). frc8vt、サーバのシステム上でサンプル・プログラムを実行した。 cam1実行でシステムクラッシュが起きた。 (2-N). cc_open()ルーチンを修正した。 サーバ側でのシステムクラッシュは なくなった。 (2-O). サーバ側でサンプル・プログラムを実行した。 正常に実行できた。 (2-P). クライアント側でのデバッグおよびサーバ側でのデバッグ後、 クライアント、frc7v-cl1上で再度サンプルプログラムを実行した。 正常に実行できた。 (2-Q). クライアント側でのデバッグおよびサーバ側でのデバッグ後、 クライアント、frc7v-cl2上で再度サンプルプログラムを実行した。 正常に実行できた。 (2-R). サーバ Solaris2.6 のシステム、frc8vt および frc7v-cl1、frc7v-cl2上 でデバッグした後の camacドライバを使って、デスクトップ Solaris2.6 のスタンドアロン・システム、onl7v2上で再度サンプルプログラムを実行 した。 正常に実行できた。 (2-S). frc7v-cl1 上で、シングルアクション、割り込み、ブロック転送を実行 した時のデータ転送速度を調べた。 (2-T). frc7v-cl2 上で、シングルアクション、割り込み、ブロック転送を実行 した時のデータ転送速度を調べた。 (2-U). サーバ、frc8vt 上で、シングルアクション、割り込み、ブロック転送を 実行した時のデータ転送速度を調べた。 (2). ここでやるべきこと サーバ Solaris2.6 のシステム、frc8vt および frc7v-cl1、frc7v-cl2上 でデバッグした後の camacドライバを使って、デスクトップ Solaris2.6 のスタンドアロン・システム、onl7v2上で、データ転送速度を調べる。 (3). camacドライバ(FORCE-8VT-sol2.6)をインストールする camacドライバ(FORCE-8VT-sol2.6)のインストールはすでにやってある。 以下の URLを参照。 http://onlax2.kek.jp/~inoue/CAMAC/onl7v2-sol2.6/ frc8vt-step02.txt (4). データ転送速度測定プログラムの修正およびコンパイル データ転送速度測定には、安さん作成のテスト・プログラムを Solaris用に 修正したものを使うことにする。 (4-1). テスト・プログラムを入手する (4-1-1). シングルアクションのテスト用プログラムの入手 以前 onl7v2 上で精度を上げて、シングルアクションの実行時間を測定した時 のプログラムを使用する。 onl7v2[97]% pwd /export/home/onl7v2/inoue onl7v2[98]% ls 8VT/ FRCvme-2.2.2/ higz_windows.dat Bench/ FRCvme-2.2.2.tar.gz last.kumac CAMAC/ FastEthernet/ last.kumacold CAMAC-new/ System/ onl7v2/ CAMAC-shared/ cc0-messages.log out CAMAC-speed/ dead.letter paw.metafile CAMAC-speed.onlsun1/ etc-log/ sendmail/ CAMAC-speed1/ examples-Solaris2.x/ t1 Cern/ frc8vt/ wrk/ onl7v2[99]% rcp -r onlsun1:/export/home/onlsun1/inoue/workstation/onl7v2/Solaris 2.6/CAMAC-speed1 CAMAC-speed1-new onl7v2[100]% 測定の精度を上げるために測定方法は次のようにしてある。 シングル アクションRead の CAMAC コールを 1000回実行し、この1000回実行の前後で 時間を測り、その値を 1000 で割った。 (4-1-2). /usr/ucb/cc を使えるように設定する onl7v2# pwd /usr/ccs/bin onl7v2# ls -l total 4344 -rwxr-xr-x 1 bin bin 45928 May 3 1997 admin -r-xr-xr-x 1 bin bin 27060 Jul 16 1997 ar -rwxr-xr-x 1 bin bin 371420 Sep 20 1996 as -rwxr-xr-x 1 bin bin 41516 May 3 1997 cdc -rwxr-xr-x 1 bin bin 28892 May 3 1997 comb -rwxr-xr-x 1 bin bin 59044 May 3 1997 delta -r-xr-xr-x 1 bin bin 119924 Jul 16 1997 dis -r-xr-xr-x 1 bin bin 89580 Jul 16 1997 dump -r-xr-xr-x 1 bin bin 30936 Jul 16 1997 error -rwxr-xr-x 1 bin bin 51808 May 3 1997 get -r-xr-xr-x 1 bin bin 77496 Jul 16 1997 gprof -r--r--r-- 1 bin bin 3377 Jul 16 1997 gprof.callg.blurb -r--r--r-- 1 bin bin 1173 Jul 16 1997 gprof.flat.blurb -rwxr-xr-x 1 bin bin 4176 May 3 1997 help -rwxr-xr-x 1 bin bin 43452 Jul 16 1997 ld -r-xr-xr-x 1 bin bin 73124 Jul 16 1997 lex -r-xr-xr-x 1 bin bin 2454 Jul 16 1997 lorder -r-xr-xr-x 1 bin bin 31108 Jul 16 1997 m4 -rwxr-xr-x 1 bin bin 560280 Dec 17 1996 make -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 mcs -rw-r--r-- 1 bin bin 8401 Jul 16 1997 nceucform -rw-r--r-- 1 bin bin 5862 Jul 16 1997 ncform -r-xr-xr-x 1 bin bin 60244 Jul 16 1997 nm -rw-r--r-- 1 bin bin 3198 Jul 16 1997 nrform -r-xr-xr-x 1 bin bin 58704 Jul 16 1997 prof -rwxr-xr-x 1 bin bin 36400 May 3 1997 prs -rwxr-xr-x 1 bin bin 18876 May 3 1997 prt -r-xr-xr-x 1 bin bin 375 Jul 16 1997 ranlib -r-xr-xr-x 1 bin bin 7120 Jul 16 1997 regcmp -rwxr-xr-x 1 bin bin 41516 May 3 1997 rmdel -rwxr-xr-x 1 bin bin 24044 May 3 1997 sact -rwxr-xr-x 1 bin bin 25276 May 3 1997 sccs -rwxr-xr-x 1 bin bin 2196 Feb 4 1997 sccsdiff -r-xr-xr-x 1 bin bin 9808 Jul 16 1997 size -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 strip -r-xr-xr-x 1 bin bin 335 Jul 16 1997 symorder -r-xr-xr-x 1 bin bin 10216 Jul 16 1997 tsort -rwxr-xr-x 1 bin bin 24044 May 3 1997 unget -r-xr-xr-x 1 bin bin 9860 Jul 16 1997 unifdef -rwxr-xr-x 1 bin bin 15560 May 3 1997 val -rwxr-xr-x 1 bin bin 14624 Feb 4 1997 vc -rwxr-xr-x 1 bin bin 7544 May 3 1997 what -r-xr-xr-x 1 bin bin 54608 Jul 16 1997 yacc -rw-r--r-- 1 bin bin 11848 Jul 16 1997 yaccpar onl7v2# ln -s /kek/compilers/volume5/SUNWspro/SC4.2/bin/acc ucbcc onl7v2# ln -s /kek/compilers/volume5/SUNWspro/SC4.2/bin/lint ucblint onl7v2# ls -l total 4348 -rwxr-xr-x 1 bin bin 45928 May 3 1997 admin -r-xr-xr-x 1 bin bin 27060 Jul 16 1997 ar -rwxr-xr-x 1 bin bin 371420 Sep 20 1996 as -rwxr-xr-x 1 bin bin 41516 May 3 1997 cdc -rwxr-xr-x 1 bin bin 28892 May 3 1997 comb -rwxr-xr-x 1 bin bin 59044 May 3 1997 delta -r-xr-xr-x 1 bin bin 119924 Jul 16 1997 dis -r-xr-xr-x 1 bin bin 89580 Jul 16 1997 dump -r-xr-xr-x 1 bin bin 30936 Jul 16 1997 error -rwxr-xr-x 1 bin bin 51808 May 3 1997 get -r-xr-xr-x 1 bin bin 77496 Jul 16 1997 gprof -r--r--r-- 1 bin bin 3377 Jul 16 1997 gprof.callg.blurb -r--r--r-- 1 bin bin 1173 Jul 16 1997 gprof.flat.blurb -rwxr-xr-x 1 bin bin 4176 May 3 1997 help -rwxr-xr-x 1 bin bin 43452 Jul 16 1997 ld -r-xr-xr-x 1 bin bin 73124 Jul 16 1997 lex -r-xr-xr-x 1 bin bin 2454 Jul 16 1997 lorder -r-xr-xr-x 1 bin bin 31108 Jul 16 1997 m4 -rwxr-xr-x 1 bin bin 560280 Dec 17 1996 make -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 mcs -rw-r--r-- 1 bin bin 8401 Jul 16 1997 nceucform -rw-r--r-- 1 bin bin 5862 Jul 16 1997 ncform -r-xr-xr-x 1 bin bin 60244 Jul 16 1997 nm -rw-r--r-- 1 bin bin 3198 Jul 16 1997 nrform -r-xr-xr-x 1 bin bin 58704 Jul 16 1997 prof -rwxr-xr-x 1 bin bin 36400 May 3 1997 prs -rwxr-xr-x 1 bin bin 18876 May 3 1997 prt -r-xr-xr-x 1 bin bin 375 Jul 16 1997 ranlib -r-xr-xr-x 1 bin bin 7120 Jul 16 1997 regcmp -rwxr-xr-x 1 bin bin 41516 May 3 1997 rmdel -rwxr-xr-x 1 bin bin 24044 May 3 1997 sact -rwxr-xr-x 1 bin bin 25276 May 3 1997 sccs -rwxr-xr-x 1 bin bin 2196 Feb 4 1997 sccsdiff -r-xr-xr-x 1 bin bin 9808 Jul 16 1997 size -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 strip -r-xr-xr-x 1 bin bin 335 Jul 16 1997 symorder -r-xr-xr-x 1 bin bin 10216 Jul 16 1997 tsort lrwxrwxrwx 1 root other 45 Apr 23 16:48 ucbcc -> /kek/compilers/volume5/SUNWspro/SC4.2/bin/acc lrwxrwxrwx 1 root other 46 Apr 23 16:48 ucblint -> /kek/compilers/volume5/SUNWspro/SC4.2/bin/lint -rwxr-xr-x 1 bin bin 24044 May 3 1997 unget -r-xr-xr-x 1 bin bin 9860 Jul 16 1997 unifdef -rwxr-xr-x 1 bin bin 15560 May 3 1997 val -rwxr-xr-x 1 bin bin 14624 Feb 4 1997 vc -rwxr-xr-x 1 bin bin 7544 May 3 1997 what -r-xr-xr-x 1 bin bin 54608 Jul 16 1997 yacc -rw-r--r-- 1 bin bin 11848 Jul 16 1997 yaccpar onl7v2# (4-2). /export/home/onl7v2/inoue/CAMAC-speed1-new/examples-Solaris2.x の下をコンパイルする (4-2-1). シングルアクションのテスト用プログラムのコンパイル onl7v2[65]% pwd /export/home/onl7v2/inoue/CAMAC-speed1-new/examples-Solaris2.x onl7v2[66]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue kek 75404 Apr 27 16:41 camsingle_measure1* onl7v2[67]% mv camsingle_measure1 camsingle_measure1.bak onl7v2[68]% make camsingle_measure1 /usr/ucb/cc -DOSF1 -o camsingle_measure1 camsingle_measure1.c -I../includes -L../lib -lcamac onl7v2[69]% ok. 正常にコンパイルできた。 (4-2-2). 割り込みのテスト用プログラムのコンパイル onl7v2[69]% ls -l camint_measure1 -rwxr-xr-x 1 inoue kek 16936 Apr 27 16:41 camint_measure1* onl7v2[70]% mv camint_measure1 camint_measure1.bak onl7v2[71]% make camint_measure1 /usr/ucb/cc -DOSF1 -o camint_measure1 camint_measure1.c -I../includes -L../lib -lcamac onl7v2[72]% ok. コンパイルは正常に実行できた。 (4-2-3). ブロック転送のテスト用プログラムのコンパイル onl7v2[72]% ls -l camblock_measure1 -rwxr-xr-x 1 inoue kek 17356 Apr 27 16:41 camblock_measure1* onl7v2[73]% mv camblock_measure1 camblock_measure1.bak onl7v2[74]% make camblock_measure1 /usr/ucb/cc -DOSF1 -o camblock_measure1 camblock_measure1.c -I../includes -L../lib -lcamac onl7v2[75]% ok. コンパイルは正常に実行できた。 (5). データ転送速度測定プログラムの実行 上記でコンパイルしたデータ転送速度測定プログラムを実行する。 (5-1). 24 ビット camac シングルアクションのテスト用プログラムの実行 シェルスクリプトを使って、データ転送速度測定プログラムを 100回繰り返し ている。 さらにこのシェルスクリプトを 5回実行した。 onl7v2# pwd /export/home/onl7v2/inoue/CAMAC-speed1-new/examples-Solaris2.x onl7v2# ls -l camsingle.sh -rwxr--r-- 1 inoue kek 313 Apr 27 16:41 camsingle.sh onl7v2# camsingle.sh program execution : loop count = 1 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65142 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 2 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64997 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 3 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65193 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 4 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65268 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 5 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65424 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 6 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65137 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 7 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65010 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 8 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65357 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 9 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65728 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 10 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65080 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 11 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65286 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 12 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65085 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 13 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65092 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 14 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64979 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 15 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65221 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 16 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 64944 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 17 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 65119 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 18 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65353 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 19 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65321 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 20 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65362 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 21 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 65373 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 22 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65586 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 23 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65134 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 24 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65081 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 25 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65441 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 26 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65498 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 27 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65068 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 28 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65101 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 29 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65007 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 30 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64956 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 31 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65802 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 32 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64995 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 33 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65237 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 34 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64925 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 35 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65025 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 36 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65405 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 37 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65039 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 38 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65105 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 39 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65054 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 40 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65084 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 41 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65156 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 42 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65055 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 43 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65405 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 44 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65343 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 45 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65014 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 46 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65077 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 47 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65063 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 48 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65331 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 49 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65271 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 50 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65249 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 51 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65131 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 52 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65330 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 53 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65475 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 54 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65091 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 55 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65452 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 56 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65219 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 57 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65458 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 58 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65050 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 59 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65402 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 60 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65163 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 61 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65233 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 62 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65256 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 63 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 65466 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 64 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64947 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 65 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65437 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 66 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65218 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 67 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65510 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 68 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65340 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 69 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65413 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 70 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65353 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 71 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65316 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 72 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65312 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 73 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65426 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 74 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65214 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 75 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65469 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 76 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 70981 microsec elapsed time 70 microsec CAMAC READ single action takes 64 microsec. program execution : loop count = 77 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65346 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 78 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65251 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 79 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65438 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 80 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65044 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 81 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65147 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 82 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64997 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 83 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65156 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 84 elapsed time 0 sec, 35 microsec overhead time 7 microsec elapsed time 0 sec, 65324 microsec elapsed time 65 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 85 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65110 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 86 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65076 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 87 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65060 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 88 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65104 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 89 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65107 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 90 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 64978 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 91 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65155 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 92 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 64970 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 93 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65016 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 94 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 65180 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 95 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65055 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 96 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 65187 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 97 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 65625 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 98 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 64967 microsec elapsed time 64 microsec CAMAC READ single action takes 58 microsec. program execution : loop count = 99 elapsed time 0 sec, 34 microsec overhead time 6 microsec elapsed time 0 sec, 65139 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program execution : loop count = 100 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 65235 microsec elapsed time 65 microsec CAMAC READ single action takes 59 microsec. program stop onl7v2# シングルアクションを実行するのに要した時間は、59μsec であった。 (5-2). camac LAM 割り込みのテスト用プログラムの実行 onl7v2# priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 366 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 366 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 365 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 371 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 382 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 380 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 364 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl7v2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 386 microsec. onl7v2# 割り込み処理を実行するのに要した時間は、370μsec であった。 (5-3). 16 ビット camac ブロック転送のテスト用プログラムの実行 onl7v2# priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 524 microsec. CAMAC READ block action with 8Kwords takes 18345 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 523 microsec. CAMAC READ block action with 8Kwords takes 18342 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 521 microsec. CAMAC READ block action with 8Kwords takes 18362 microsec. transfer speed is 897 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 546 microsec. CAMAC READ block action with 8Kwords takes 18357 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 526 microsec. CAMAC READ block action with 8Kwords takes 18362 microsec. transfer speed is 897 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 538 microsec. CAMAC READ block action with 8Kwords takes 18365 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 533 microsec. CAMAC READ block action with 8Kwords takes 18430 microsec. transfer speed is 894 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 536 microsec. CAMAC READ block action with 8Kwords takes 18363 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 530 microsec. CAMAC READ block action with 8Kwords takes 18348 microsec. transfer speed is 898 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 523 microsec. CAMAC READ block action with 8Kwords takes 18351 microsec. transfer speed is 897 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 539 microsec. CAMAC READ block action with 8Kwords takes 18586 microsec. transfer speed is 887 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 525 microsec. CAMAC READ block action with 8Kwords takes 18396 microsec. transfer speed is 895 KB/S onl7v2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 539 microsec. CAMAC READ block action with 8Kwords takes 18369 microsec. transfer speed is 897 KB/S onl7v2# ブロック転送のにオーバーヘッドに要した時間は、530μsec であった。 データを、8Kワード読み出すのに要した時間は 18348μsec で、転送速度 は、890 KByte/sec であった。 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル