May 6, 1999 onl8v1: デスクトップ Solaris 2.6、cc ドライバのテスト --- スタンドアロン・システム上での cc ドライバの実行、スピード測定(その2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl8v1-sol2.6/camac-step03-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-V). camacドライバ、FORCE-8VT-sol2.6 を使ってonl7v2上で、再度データ転送 速度を調べた。 (2). ここでやるべきこと サーバ Solaris2.6 のシステム、frc8vt および frc7v-cl1、frc7v-cl2上 でデバッグした後の camacドライバ(FORCE-8VT-sol2.6)を使って、 デスクトップ Solaris2.6のスタンドアロン・システム、onl8v1上で、 データ転送速度を調べる。 (3). camacドライバ(FORCE-8VT-sol2.6)をインストールする (3-1). camacドライバ(FORCE-8VT-sol2.6)を入手する onl8v1[38]% pwd /export/home/onl8v1/inoue/CAMAC/Driver onl8v1[39]% ls -l total 258 drwxr-xr-x 3 inoue kek 512 Nov 9 15:55 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue kek 120320 Nov 9 15:34 FORCE-5V-sol2.5.tar onl8v1[40]% rcp -pr frc8vt:/export/home/frc8vt/inoue/CAMAC/Driver/FORCE-5V-sol2.5 FORCE-5V-sol2.6 onl8v1[41]% ls -l total 260 drwxr-xr-x 3 inoue kek 512 Nov 9 15:55 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue kek 120320 Nov 9 15:34 FORCE-5V-sol2.5.tar drwxr-xr-x 5 inoue kek 1024 Apr 21 13:52 FORCE-5V-sol2.6/ onl8v1[42]% (3-2). camacドライバ(FORCE-8VT-sol2.6)をコンパイルする onl8v1[45]% cd FORCE-5V-sol2.6 /export/home/onl8v1/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl8v1[46]% ls Makefile cc cc_config.h README cc.c forlib.c cam1* cc.c-Apr-7-1999-ok forlib.o cam1.c cc.c-Apr-9-1999-bak k2917.h cam2* cc.c-bak/ ktaka/ cam2.f cc.c-org libcamac.a cam2.nm cc.conf out cam3* cc.h out1 cam3.c cc.h-Apr-5-1999 out2 camlib.c cc.h-org script/ camlib.h cc.new.c* camlib.o cc_common.h onl8v1[47]% pwd /export/home/onl8v1/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl8v1[48]% which cc /kek/compilers/volume5/SUNWspro/bin/cc onl8v1[49]% which f77 /kek/compilers/volume5/SUNWspro/bin/f77 onl8v1[50]% cc -V cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 usage: cc [ options] files. Use 'cc -flags' for details onl8v1[51]% f77 -V f77: WorkShop Compilers 4.2.1 04 Feb 1997 FORTRAN 77 4.2.1 Usage: f77 [ options ] files. Use 'f77 -flags' for details onl8v1[52]% onl8v1[52]% make clean \rm -f cc *.o libcamac.a cam1 cam2 cam3 *~ core onl8v1[53]% make ./script/cc_build.sh [Building for sun4m] rm -f cc.o cc -O -c camlib.c -o camlib.o -I. cc -O -c forlib.c -o forlib.o -I. rm -f libcamac.a ar rcv libcamac.a camlib.o forlib.o a - camlib.o a - forlib.o ar: writing libcamac.a cc -O cam1.c -o cam1 -I. -L. -lcamac f77 -fast -O3 -u cam2.f -o cam2 -I. -L. -lcamac cam2.f: MAIN: cc -O cam3.c -o cam3 -I. -L. -lcamac onl8v1[54]% (3-3). camacドライバ(FORCE-8VT-sol2.6)をインストールする onl8v1# pwd /export/home/onl8v1/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl8v1# make install /usr/ucb/install -d /usr/local/vme/camac/include /usr/ucb/install -d /usr/local/vme/camac/lib /usr/ucb/install -m 644 camlib.h cc_config.h cc_common.h cc.h \ k2917.h /usr/local/vme/camac/include /usr/ucb/install -m 644 libcamac.a /usr/local/vme/camac/lib onl8v1# (3-4). camacドライバ(FORCE-8VT-sol2.6)をロードする onl8v1# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] onl8v1# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] onl8v1# ls -l /dev/cc lrwxrwxrwx 1 root other 69 May 6 15:10 /dev/cc -> /devices/iommu@0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc onl8v1# camacドライバ(FORCE-8VT-sol2.6)は正常にロードされた。 (4). データ転送速度測定プログラムの修正およびコンパイル データ転送速度測定には、安さん作成のテスト・プログラムを Solaris用に 修正したものを使うことにする。 (4-1). テスト・プログラムを入手する (4-1-1). シングルアクションのテスト用プログラムの入手 以前 onl7v2 上で精度を上げて、シングルアクションの実行時間を測定した時 のプログラムを使用する。 onl8v1 にはすでに onlsun1 から実行時間を測定用のプログラム・ファイルが コピーされている。 これをそのまま使うことにする。 測定の精度を上げるために測定方法は次のようにしてある。 シングル アクションRead の CAMAC コールを 1000回実行し、この1000回実行の前後で 時間を測り、その値を 1000 で割った。 (4-1-2). /usr/ucb/cc を使えるように設定する この処置もすでにやってある。 onl8v1[44]% ls -l /usr/ccs/bin total 4350 -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 Nov 17 14:24 ucbcc -> /kek/compilers/volume5/SUNWspro/SC4.2/bin/acc* lrwxrwxrwx 1 root other 46 Nov 17 14:25 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* lrwxrwxrwx 1 root other 56 Nov 20 14:08 whatdir -> /kek/compilers/volume5/SUNWspro/SPROutool4.2/bin/whatdir* -r-xr-xr-x 1 bin bin 54608 Jul 16 1997 yacc* -rw-r--r-- 1 bin bin 11848 Jul 16 1997 yaccpar onl8v1[45]% (4-2). /export/home/onl8v1/inoue/CAMAC-speed1/examples-Solaris2.x の下をコンパイルする (4-2-1). シングルアクションのテスト用プログラムのコンパイル onl8v1[53]% pwd /export/home/onl8v1/inoue/CAMAC-speed1/examples-Solaris2.x onl8v1[54]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue kek 75636 Apr 28 16:29 camsingle_measure1* onl8v1[55]% mv camsingle_measure1 camsingle_measure1.bak mv: overwrite camsingle_measure1.bak (yes/no)? y onl8v1[56]% make camsingle_measure1 /usr/ucb/cc -V -DOSF1 -o camsingle_measure1 camsingle_measure1.c -I../includes -L../lib -lcamac ucbcc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 cpp: Software Generation Utilities (SGU) SunOS/SVR4 acomp: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 ld: Software Generation Utilities - Solaris/ELF (3.0) onl8v1[57]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue kek 75636 May 6 15:42 camsingle_measure1* onl8v1[58]% ok. 正常にコンパイルできた。 (4-2-2). 割り込みのテスト用プログラムのコンパイル onl8v1[58]% ls -l camint_measure1 -rwxr-xr-x 1 inoue kek 17000 Apr 28 16:31 camint_measure1* onl8v1[59]% mv camint_measure1 camint_measure1.bak mv: overwrite camint_measure1.bak (yes/no)? y onl8v1[60]% make camint_measure1 /usr/ucb/cc -V -DOSF1 -o camint_measure1 camint_measure1.c -I../includes -L../lib -lcamac ucbcc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 cpp: Software Generation Utilities (SGU) SunOS/SVR4 acomp: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 ld: Software Generation Utilities - Solaris/ELF (3.0) onl8v1[61]% ok. コンパイルは正常に実行できた。 (4-2-3). ブロック転送のテスト用プログラムのコンパイル onl8v1[61]% ls -l camblock_measure1 -rwxr-xr-x 1 inoue kek 17420 Apr 28 16:33 camblock_measure1* onl8v1[62]% mv camblock_measure1 camblock_measure1.bak mv: overwrite camblock_measure1.bak (yes/no)? y onl8v1[63]% make camblock_measure1 /usr/ucb/cc -V -DOSF1 -o camblock_measure1 camblock_measure1.c -I../includes -L../lib -lcamac ucbcc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 cpp: Software Generation Utilities (SGU) SunOS/SVR4 acomp: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 ld: Software Generation Utilities - Solaris/ELF (3.0) onl8v1[64]% ok. コンパイルは正常に実行できた。 (5). データ転送速度測定プログラムの実行 上記でコンパイルしたデータ転送速度測定プログラムを実行する。 (5-1). 24 ビット camac シングルアクションのテスト用プログラムの実行 シェルスクリプトを使って、データ転送速度測定プログラムを 100回繰り返し ている。 さらにこのシェルスクリプトを 5回実行した。 onl8v1# pwd /export/home/onl8v1/inoue/CAMAC-speed1/examples-Solaris2.x onl8v1# ls -l camsingle.sh -rwxr--r-- 1 inoue kek 313 Oct 28 1998 camsingle.sh* onl8v1# camsingle.sh program execution : loop count = 1 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52187 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 2 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52318 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 3 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52078 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 4 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52100 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 5 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51969 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 6 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52022 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 7 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52171 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 8 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52034 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 9 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51936 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 10 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52043 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 11 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52029 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 12 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51875 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 13 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52020 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 14 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 51962 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 15 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52017 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 16 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52003 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 17 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52182 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 18 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52034 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 19 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51944 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 20 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52043 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 21 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52143 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 22 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51983 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 23 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 51999 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 24 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51998 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 25 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52043 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 26 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52460 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 27 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52144 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 28 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51975 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 29 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52013 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 30 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52047 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 31 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51978 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 32 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51852 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 33 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52096 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 34 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51950 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 35 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52123 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 36 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52026 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 37 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52059 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 38 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52050 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 39 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52012 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 40 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52158 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 41 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 51854 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 42 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 52107 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 43 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52118 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 44 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 52024 microsec elapsed time 52 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 45 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52014 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 46 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 51981 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 47 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51922 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 48 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 52005 microsec elapsed time 52 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 49 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52088 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 50 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51800 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 51 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52019 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 52 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52046 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 53 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52151 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 54 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 51986 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 55 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52067 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 56 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52110 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 57 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52006 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 58 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52205 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 59 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52053 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 60 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52017 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 61 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52107 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 62 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51939 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 63 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52057 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 64 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51965 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 65 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52095 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 66 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52129 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 67 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51987 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 68 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51842 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 69 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52005 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 70 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52343 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 71 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52034 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 72 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52100 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 73 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52274 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 74 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51989 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 75 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52084 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 76 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51997 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 77 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51917 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 78 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52125 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 79 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51984 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 80 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52067 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 81 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52029 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 82 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 51979 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 83 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52359 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 84 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 52139 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 85 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52074 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 86 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51904 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 87 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52061 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 88 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51962 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 89 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52082 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 90 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52042 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 91 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52138 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 92 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52062 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 93 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52126 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 94 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 52001 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 95 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 51832 microsec elapsed time 51 microsec CAMAC READ single action takes 46 microsec. program execution : loop count = 96 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52170 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 97 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 52445 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 98 elapsed time 0 sec, 28 microsec overhead time 5 microsec elapsed time 0 sec, 52050 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 99 elapsed time 0 sec, 27 microsec overhead time 5 microsec elapsed time 0 sec, 52074 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program execution : loop count = 100 elapsed time 0 sec, 26 microsec overhead time 5 microsec elapsed time 0 sec, 52081 microsec elapsed time 52 microsec CAMAC READ single action takes 47 microsec. program stop onl8v1# シングルアクションを実行するのに要した時間は、47μsec であった。 (5-2). camac LAM 割り込みのテスト用プログラムの実行 onl8v1# priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 195 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 191 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 197 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 192 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 192 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 192 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 211 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 193 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 193 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 200 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 194 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 199 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 193 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 193 microsec. onl8v1# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 192 microsec. onl8v1# 割り込み処理を実行するのに要した時間は、195μsec であった。 (5-3). 16 ビット camac ブロック転送のテスト用プログラムの実行 onl8v1# priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 235 microsec. CAMAC READ block action with 8Kwords takes 17943 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 247 microsec. CAMAC READ block action with 8Kwords takes 17945 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 236 microsec. CAMAC READ block action with 8Kwords takes 17942 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 237 microsec. CAMAC READ block action with 8Kwords takes 17933 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 243 microsec. CAMAC READ block action with 8Kwords takes 17929 microsec. transfer speed is 905 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 263 microsec. CAMAC READ block action with 8Kwords takes 17936 microsec. transfer speed is 905 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 231 microsec. CAMAC READ block action with 8Kwords takes 17931 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 237 microsec. CAMAC READ block action with 8Kwords takes 17962 microsec. transfer speed is 903 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 234 microsec. CAMAC READ block action with 8Kwords takes 17938 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 240 microsec. CAMAC READ block action with 8Kwords takes 17953 microsec. transfer speed is 903 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 229 microsec. CAMAC READ block action with 8Kwords takes 17930 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 232 microsec. CAMAC READ block action with 8Kwords takes 17977 microsec. transfer speed is 902 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 234 microsec. CAMAC READ block action with 8Kwords takes 17940 microsec. transfer speed is 904 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 236 microsec. CAMAC READ block action with 8Kwords takes 17982 microsec. transfer speed is 902 KB/S onl8v1# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 263 microsec. CAMAC READ block action with 8Kwords takes 17949 microsec. transfer speed is 905 KB/S onl8v1# ブロック転送のにオーバーヘッドに要した時間は、240μsec であった。 データを、8Kワード読み出すのに要した時間は 17953μsec で、転送速度 は、910 KByte/sec であった。 --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション