Apr 26, 1999 frc8vt: Server Solaris 2.6、cc ドライバのテスト --- サーバシステム上での cc ドライバの実行、スピード測定(その3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/onl8v1-sol2.6-serv/ Serv-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-T). frc7v-cl2 上で、シングルアクション、割り込み、ブロック転送を実行 した時のデータ転送速度を調べた。 (2). ここでやるべきこと サーバ、frc8vt 上で、シングルアクション、割り込み、ブロック転送を 実行した時のデータ転送速度を調べる。 (3). データ転送速度測定プログラムの修正およびコンパイル データ転送速度測定には、安さん作成のテスト・プログラムを Solaris用に 修正したものを使うことにする。 (3-1). テスト・プログラムを入手する (3-1-1). シングルアクションのテスト用プログラムの入手 onl7v2 上で精度を上げて、シングルアクションの実行時間を測定した時の プログラムを使用する。 このプログラムは frc7v-cl1 の実行時間測定時に サーバ、frc8vt のホームディレクトリ上に入手してある。 frc7v-cl2 の システムはサーバのホームディレクトリをマウントして使っているので ここでは、プログラムの入手のための作業は必要ない。 測定の精度を上げるために測定方法は次のようにしてある。 シングル アクションRead の CAMAC コールを 1000回実行し、この1000回実行の前後で 時間を測り、その値を 1000 で割った。 (3-1-2). /usr/ucb/cc を使えるように設定する この設定はサーバ側、frc8vt 上ですでにやってあるのでここでやるべき作業 はない。 以下のファイルを参照。 http://onlax2.kek.jp/~inoue/CAMAC/ onl8v1-sol2.6-serv/Cli1-CAMAC/camac-step03.txt (3-4). /export/home/frc8vt/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x の下をコンパイルする (3-4-1). シングルアクションのテスト用プログラムのコンパイル frc8vt[57]% pwd /export/home/frc8vt/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x frc8vt[58]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue staff 76308 Apr 23 10:20 camsingle_measure1* frc8vt[59]% rm camsingle_measure1 frc8vt[60]% make camsingle_measure1 /usr/ucb/cc -DOSF1 -o camsingle_measure1 camsingle_measure1.c -I../includes -L../lib -lcamac frc8vt[61]% ok. 正常にコンパイルできた。 (3-4-2). 割り込みのテスト用プログラムのコンパイル frc8vt[61]% ls -l camint_measure1 -rwxr-xr-x 1 inoue staff 17712 Apr 23 10:24 camint_measure1* frc8vt[62]% rm camint_measure1 frc8vt[63]% make camint_measure1 /usr/ucb/cc -DOSF1 -o camint_measure1 camint_measure1.c -I../includes -L../lib -lcamac frc8vt[64]% ok. コンパイルは正常に実行できた。 (3-4-3). ブロック転送のテスト用プログラムのコンパイル frc8vt[64]% ls -l camblock_measure1 -rwxr-xr-x 1 inoue staff 18196 Apr 23 10:25 camblock_measure1* frc8vt[65]% rm camblock_measure1 frc8vt[66]% make camblock_measure1 /usr/ucb/cc -DOSF1 -o camblock_measure1 camblock_measure1.c -I../includes -L../lib -lcamac frc8vt[67]% ok. コンパイルは正常に実行できた。 (4). データ転送速度測定プログラムの実行 上記でコンパイルしたデータ転送速度測定プログラムを実行する。 (4-1). 24 ビット camac シングルアクションのテスト用プログラムの実行 シェルスクリプトを使って、データ転送速度測定プログラムを 100回繰り返し ている。 さらにこのシェルスクリプトを 5回実行した。 frc8vt# pwd /export/home/frc8vt/inoue/CAMAC/CAMAC-speed1/examples-Solaris2.x frc8vt# ls -l camsingle.sh -rwxr-xr-x 1 inoue staff 313 Oct 28 17:48 camsingle.sh* frc8vt# camsingle.sh program execution : loop count = 1 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 67414 microsec elapsed time 67 microsec CAMAC READ single action takes 62 microsec. program execution : loop count = 2 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 56166 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 3 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 56245 microsec elapsed time 56 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 4 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55995 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 5 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55894 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 6 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55971 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 7 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55854 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 8 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56018 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 9 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55913 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 10 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55854 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 11 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55937 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 12 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55826 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 13 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55965 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 14 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55838 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 15 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55917 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 16 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55933 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 17 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55894 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 18 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 57187 microsec elapsed time 57 microsec CAMAC READ single action takes 52 microsec. program execution : loop count = 19 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55878 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 20 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56044 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 21 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55921 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 22 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55943 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 23 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55877 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 24 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55852 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 25 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55975 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 26 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55836 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 27 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56045 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 28 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55950 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 29 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55922 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 30 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55869 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 31 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56056 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 32 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55972 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 33 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55834 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 34 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55996 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 35 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55832 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 36 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55824 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 37 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55892 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 38 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55843 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 39 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55955 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 40 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55901 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 41 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55996 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 42 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 56673 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 43 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55856 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 44 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55880 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 45 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55798 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 46 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55939 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 47 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55921 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 48 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 56030 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 49 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56052 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 50 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56258 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 51 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56306 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 52 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55916 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 53 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 56043 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 54 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55915 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 55 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56234 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 56 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56307 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 57 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55818 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 58 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55937 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 59 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55875 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 60 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56002 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 61 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56000 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 62 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 56107 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 63 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 56099 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 64 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55910 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 65 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55949 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 66 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55888 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 67 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55999 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 68 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55853 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 69 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55925 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 70 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55918 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 71 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55867 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 72 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55862 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 73 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55824 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 74 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56433 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 75 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55819 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 76 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56181 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 77 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55854 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 78 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55831 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 79 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55939 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 80 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 56045 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 81 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56182 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 82 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55902 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 83 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 56017 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 84 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55978 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 85 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55840 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 86 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55813 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 87 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 55927 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 88 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55927 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 89 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55961 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 90 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 56253 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 91 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55928 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 92 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55945 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 93 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 55898 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 94 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 55927 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 95 elapsed time 0 sec, 28 microsec Segmentation Fault (core dumped) program execution : loop count = 96 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 56271 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 97 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56058 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 98 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 55903 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program execution : loop count = 99 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 56050 microsec elapsed time 56 microsec CAMAC READ single action takes 51 microsec. program execution : loop count = 100 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 55922 microsec elapsed time 55 microsec CAMAC READ single action takes 50 microsec. program stop frc8vt# シングルアクションを実行するのに要した時間は、51μsec であった。 (4-2). camac LAM 割り込みのテスト用プログラムの実行 frc8vt# priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 200 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 207 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 212 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 206 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 207 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 204 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 203 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 207 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 203 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 211 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 202 microsec. frc8vt# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 204 microsec. frc8vt# 割り込み処理を実行するのに要した時間は、207μsec であった。 (4-3). 16 ビット camac ブロック転送のテスト用プログラムの実行 frc8vt# priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 233 microsec. CAMAC READ block action with 8Kwords takes 14801 microsec. transfer speed is 1098 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 234 microsec. CAMAC READ block action with 8Kwords takes 14754 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 232 microsec. CAMAC READ block action with 8Kwords takes 14757 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 233 microsec. CAMAC READ block action with 8Kwords takes 14769 microsec. transfer speed is 1101 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 239 microsec. CAMAC READ block action with 8Kwords takes 14762 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 230 microsec. CAMAC READ block action with 8Kwords takes 14751 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 241 microsec. CAMAC READ block action with 8Kwords takes 14765 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 232 microsec. CAMAC READ block action with 8Kwords takes 14770 microsec. transfer speed is 1101 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 231 microsec. CAMAC READ block action with 8Kwords takes 14762 microsec. transfer speed is 1101 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 235 microsec. CAMAC READ block action with 8Kwords takes 14759 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 232 microsec. CAMAC READ block action with 8Kwords takes 14755 microsec. transfer speed is 1102 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 242 microsec. CAMAC READ block action with 8Kwords takes 14748 microsec. transfer speed is 1103 KB/S frc8vt# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 237 microsec. CAMAC READ block action with 8Kwords takes 14763 microsec. transfer speed is 1101 KB/S frc8vt# ブロック転送のにオーバーヘッドに要した時間は、235μsec であった。 データを、8Kワード読み出すのに要した時間は 14760μsec で、転送速度 は、1.1 MByte/sec であった。 --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション