Apr 23, 1999 frc7v-cl2: Server Solaris 2.6、cc ドライバのテスト --- クライアントシステム上での cc ドライバの実行、スピード測定(その2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/onl8v1-sol2.6-serv/ Cli2-CAMAC/camac-step03.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). ここでやるべきこと ディスクレス・クライアント、frc7v-cl2 上で、シングルアクション、割り 込み、ブロック転送を実行した時のデータ転送速度を調べる。 (3). データ転送速度測定プログラムの修正およびコンパイル 注. frc7v-cl2 ディスクレス・クライアントのシステムはスワップ用には サーバ・ディスクをネットワーク経由で使っている。 データ転送速度測定には、安さん作成のテスト・プログラムを Solaris用に 修正したものを使うことにする。 (3-1). テスト・プログラムを入手する (3-1-1). シングルアクションのテスト用プログラムの入手 onl7v2 上で精度を上げて、シングルアクションの実行時間を測定した時の プログラムを使用する。 このプログラムは frc7v-cl1 の実行時間測定時に サーバ、frc8vt のホームディレクトリ上に入手してある。 frc7v-cl2 の システムはサーバのホームディレクトリをマウントして使っているので ここでは、プログラムの入手のための作業は必要ない。 測定の精度を上げるために測定方法は次のようにしてある。 シングル アクションRead の CAMAC コールを 1000回実行し、この1000回実行の前後で 時間を測り、その値を 1000 で割った。 (3-1-2). /usr/ucb/cc を使えるように設定する この設定はサーバ側、frc8vt 上ですでにやってあるのでここでやるべき作業 はない。 (3-4). /export/home/frc7v-cl2/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x の下をコンパイルする (3-4-1). シングルアクションのテスト用プログラムのコンパイル frc7v-cl2[51]% pwd /export/home/frc7v-cl2/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x frc7v-cl2[52]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue staff 76308 Apr 22 16:52 camsingle_measure1* frc7v-cl2[53]% rm camsingle_measure1 frc7v-cl2[54]% make camsingle_measure1 /usr/ucb/cc -DOSF1 -o camsingle_measure1 camsingle_measure1.c -I../includes -L../lib -lcamac frc7v-cl2[55]% ok. 正常にコンパイルできた。 (3-4-2). 割り込みのテスト用プログラムのコンパイル frc7v-cl2[55]% ls -l camint_measure1 -rwxr-xr-x 1 inoue staff 17712 Apr 22 16:56 camint_measure1* frc7v-cl2[56]% rm camint_measure1 frc7v-cl2[57]% make camint_measure1 /usr/ucb/cc -DOSF1 -o camint_measure1 camint_measure1.c -I../includes -L../lib -lcamac frc7v-cl2[58]% ok. コンパイルは正常に実行できた。 (3-4-3). ブロック転送のテスト用プログラムのコンパイル frc7v-cl2[58]% ls -l camblock_measure1 -rwxr-xr-x 1 inoue staff 18196 Apr 22 16:57 camblock_measure1* frc7v-cl2[59]% rm camblock_measure1 frc7v-cl2[60]% make camblock_measure1 /usr/ucb/cc -DOSF1 -o camblock_measure1 camblock_measure1.c -I../includes -L../lib -lcamac frc7v-cl2[61]% ok. コンパイルは正常に実行できた。 (4). データ転送速度測定プログラムの実行 上記でコンパイルしたデータ転送速度測定プログラムを実行する。 (4-1). 24 ビット camac シングルアクションのテスト用プログラムの実行 シェルスクリプトを使って、データ転送速度測定プログラムを 100回繰り返し ている。 さらにこのシェルスクリプトを 5回実行した。 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x frc7v-cl2# ls -l camsingle.sh -rwxr-xr-x 1 inoue staff 313 Oct 28 17:48 camsingle.sh* frc7v-cl2# camsingle.sh program execution : loop count = 1 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 56638 microsec elapsed time 56 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 2 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54652 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 3 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54377 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 4 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54448 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 5 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54810 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 6 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54881 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 7 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54812 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 8 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54699 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 9 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54786 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 10 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54833 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 11 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54817 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 12 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54850 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 13 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54777 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 14 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55002 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 15 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 54871 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 16 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 54748 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 17 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54810 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 18 elapsed time 0 sec, 30 microsec Segmentation Fault program execution : loop count = 19 elapsed time 0 sec, 30 microsec Segmentation Fault program execution : loop count = 20 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54784 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 21 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54846 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 22 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54762 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 23 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54685 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 24 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54625 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 25 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54920 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 26 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54786 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 27 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54970 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 28 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54810 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 29 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54694 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 30 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54875 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 31 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54856 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 32 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55122 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 33 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 55008 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 34 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54688 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 35 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 55381 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 36 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54765 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 37 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54930 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 38 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54950 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 39 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54679 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 40 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 55546 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 41 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54734 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 42 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55045 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 43 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54778 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 44 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54766 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 45 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54834 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 46 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54842 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 47 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54831 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 48 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54824 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 49 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54709 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 50 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54567 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 51 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55012 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 52 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54860 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 53 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54581 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 54 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54655 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 55 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54576 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 56 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54613 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 57 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54597 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 58 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54586 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 59 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54670 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 60 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54635 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 61 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54671 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 62 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54603 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 63 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55630 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 64 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55048 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 65 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54775 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 66 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 54766 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 67 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55246 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 68 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54693 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 69 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54777 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 70 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54826 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 71 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54561 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 72 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54773 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 73 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 55060 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 74 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54833 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 75 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54703 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 76 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54621 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 77 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54709 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 78 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54777 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 79 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54793 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 80 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54786 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 81 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55032 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 82 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54814 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 83 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54790 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 84 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54818 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 85 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55129 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 86 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54800 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 87 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54839 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 88 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 55385 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 89 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54706 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 90 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55009 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 91 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54817 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 92 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54763 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 93 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54769 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 94 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54803 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 95 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54804 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 96 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 54856 microsec elapsed time 54 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 97 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 54769 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 98 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 55055 microsec elapsed time 55 microsec CAMAC READ single action takes 49 microsec. program execution : loop count = 99 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54670 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program execution : loop count = 100 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 54890 microsec elapsed time 54 microsec CAMAC READ single action takes 48 microsec. program stop frc7v-cl2# シングルアクションを実行するのに要した時間は、48μsec であった。 (4-2). camac LAM 割り込みのテスト用プログラムの実行 frc7v-cl2# priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 350 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 352 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 353 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 346 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 363 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 348 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 346 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 349 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 348 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 345 microsec. frc7v-cl2# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 344 microsec. frc7v-cl2# 割り込み処理を実行するのに要した時間は、350μsec であった。 (4-3). 16 ビット camac ブロック転送のテスト用プログラムの実行 frc7v-cl2# priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 477 microsec. CAMAC READ block action with 8Kwords takes 15078 microsec. transfer speed is 1096 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 468 microsec. CAMAC READ block action with 8Kwords takes 15108 microsec. transfer speed is 1093 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 481 microsec. CAMAC READ block action with 8Kwords takes 15128 microsec. transfer speed is 1092 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 747 microsec. CAMAC READ block action with 8Kwords takes 15131 microsec. transfer speed is 1112 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 465 microsec. CAMAC READ block action with 8Kwords takes 15133 microsec. transfer speed is 1091 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 469 microsec. CAMAC READ block action with 8Kwords takes 15119 microsec. transfer speed is 1092 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 473 microsec. CAMAC READ block action with 8Kwords takes 15111 microsec. transfer speed is 1093 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 474 microsec. CAMAC READ block action with 8Kwords takes 15117 microsec. transfer speed is 1093 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 469 microsec. CAMAC READ block action with 8Kwords takes 15101 microsec. transfer speed is 1093 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 475 microsec. CAMAC READ block action with 8Kwords takes 15209 microsec. transfer speed is 1086 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 464 microsec. CAMAC READ block action with 8Kwords takes 15123 microsec. transfer speed is 1091 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 464 microsec. CAMAC READ block action with 8Kwords takes 15110 microsec. transfer speed is 1092 KB/S frc7v-cl2# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 474 microsec. CAMAC READ block action with 8Kwords takes 15123 microsec. transfer speed is 1092 KB/S frc7v-cl2# ブロック転送のにオーバーヘッドに要した時間は、470μsec であった。 データを、8Kワード読み出すのに要した時間は 15115μsec で、転送速度 は、1 MByte/sec であった。 --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション