May 6, 1999 onl5v4: デスクトップ Solaris 2.6、cc ドライバのテスト --- スタンドアロン・システム上での cc ドライバの実行、スピード測定(その3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl5v4-sol2.6/camac-step08.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-W). camacドライバ、FORCE-8VT-sol2.6 を使ってonl8v1上で、再度データ転送 速度を調べた。 (2). ここでやるべきこと サーバ Solaris2.6 のシステム、frc8vt および frc7v-cl1、frc7v-cl2上 でデバッグした後の camacドライバ(FORCE-8VT-sol2.6)を使って、 デスクトップ Solaris2.6のスタンドアロン・システム、onl5v4上で、 データ転送速度を調べる。 (3). camacドライバ(FORCE-8VT-sol2.6)をインストールする (3-1). camacドライバ(FORCE-8VT-sol2.6)を入手する onl5v4[63]% pwd /export/home/onl5v4/inoue onl5v4[64]% ls Bench/ CAMAC-speed1/ System/ sendmail/ CAMAC/ CAMAC-speed1-old/ bin/ CAMAC-speed/ FastEthernet/ onl5v4/ onl5v4[65]% ls -l total 20 drwxr-xr-x 5 inoue kek 512 Nov 11 10:36 Bench/ drwxr-xr-x 4 inoue kek 512 May 12 1998 CAMAC/ drwxr-xr-x 8 inoue kek 512 Oct 21 1998 CAMAC-speed/ drwxr-xr-x 8 inoue kek 512 Oct 27 1998 CAMAC-speed1/ drwxr-xr-x 8 inoue kek 512 Oct 27 1998 CAMAC-speed1-old/ drwxr-xr-x 3 inoue kek 512 Jun 23 1998 FastEthernet/ drwxr-xr-x 2 inoue kek 512 May 6 1998 System/ drwxr-xr-x 2 inoue kek 512 Jun 23 1998 bin/ drwxr-xr-x 2 inoue kek 512 May 6 1998 onl5v4/ drwxr-xr-x 2 inoue kek 512 May 1 1998 sendmail/ onl5v4[66]% cd C*C /export/home/onl5v4/inoue/CAMAC onl5v4[67]% ls -l total 29444 drwxr-xr-x 3 inoue kek 512 May 6 1998 Driver/ -r-------- 1 inoue kek 15057621 May 1 1998 FRCvme-2.2.2.tar.gz drwxr-xr-x 2 inoue kek 512 May 12 1998 debug/ onl5v4[68]% ls -l D* total 258 drwxr-xr-x 3 inoue kek 512 May 6 1998 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue kek 120320 May 6 1998 FORCE-5V-sol2.5.tar onl5v4[69]% cd D* /export/home/onl5v4/inoue/CAMAC/Driver onl5v4[70]% ls -l total 258 drwxr-xr-x 3 inoue kek 512 May 6 1998 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue kek 120320 May 6 1998 FORCE-5V-sol2.5.tar onl5v4[71]% rcp -pr frc8vt:/export/home/frc8vt/inoue/CAMAC/Driver/FORCE-5V-sol2.5 FORCE-5V-sol2.6 onl5v4[72]% ls -l total 260 drwxr-xr-x 3 inoue kek 512 May 6 1998 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue kek 120320 May 6 1998 FORCE-5V-sol2.5.tar drwxr-xr-x 5 inoue kek 1024 Apr 21 13:52 FORCE-5V-sol2.6/ onl5v4[73]% (3-2). camacドライバ(FORCE-8VT-sol2.6)をコンパイルする onl5v4[73]% cd FORCE-5V-sol2.6 /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl5v4[74]% 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 onl5v4[75]% pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl5v4[76]% make clean \rm -f cc *.o libcamac.a cam1 cam2 cam3 *~ core onl5v4[77]% cc -V cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 usage: cc [ options] files. Use 'cc -flags' for details onl5v4[78]% 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 onl5v4[79]% make clean \rm -f cc *.o libcamac.a cam1 cam2 cam3 *~ core onl5v4[80]% 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 onl5v4[81]% (3-3). camacドライバ(FORCE-8VT-sol2.6)をインストールする onl5v4# pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl5v4# 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 onl5v4# (3-4). camacドライバ(FORCE-8VT-sol2.6)をロードする onl5v4# pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.6 onl5v4# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] onl5v4# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] onl5v4# ls -l /dev/cc lrwxrwxrwx 1 root other 54 Apr 30 17:02 /dev/cc -> /devices/iommu@0,10000000/VME@0,7ffffe00/cc@2d,ff00:cc onl5v4# # onl5v4[83]% camacドライバ(FORCE-8VT-sol2.6)は正常にロードされた。 (4). データ転送速度測定プログラムの修正およびコンパイル データ転送速度測定には、安さん作成のテスト・プログラムを Solaris用に 修正したものを使うことにする。 (4-1). テスト・プログラムを入手する (4-1-1). シングルアクションのテスト用プログラムの入手 以前 onl7v2 上で精度を上げて、シングルアクションの実行時間を測定した時 のプログラムを使用する。 onl5v4 にはすでに onlsun1 から実行時間を測定用のプログラム・ファイルが コピーされている。 これをそのまま使うことにする。 測定の精度を上げるために測定方法は次のようにしてある。 シングル アクションRead の CAMAC コールを 1000回実行し、この1000回実行の前後で 時間を測り、その値を 1000 で割った。 (4-1-2). /usr/ucb/cc を使えるように設定する この処置もすでにやってある。 onl5v4[85]% ls -l /usr/ccs/bin total 4348 -rwxr-xr-x 1 bin bin 45928 May 3 1997 admin* -r-xr-xr-x 1 bin bin 27060 Jul 16 1997 ar* -rwxr-xr-x 1 bin bin 371420 Sep 20 1996 as* -rwxr-xr-x 1 bin bin 41516 May 3 1997 cdc* -rwxr-xr-x 1 bin bin 28892 May 3 1997 comb* -rwxr-xr-x 1 bin bin 59044 May 3 1997 delta* -r-xr-xr-x 1 bin bin 119924 Jul 16 1997 dis* -r-xr-xr-x 1 bin bin 89580 Jul 16 1997 dump* -r-xr-xr-x 1 bin bin 30936 Jul 16 1997 error* -rwxr-xr-x 1 bin bin 51808 May 3 1997 get* -r-xr-xr-x 1 bin bin 77496 Jul 16 1997 gprof* -r--r--r-- 1 bin bin 3377 Jul 16 1997 gprof.callg.blurb -r--r--r-- 1 bin bin 1173 Jul 16 1997 gprof.flat.blurb -rwxr-xr-x 1 bin bin 4176 May 3 1997 help* -rwxr-xr-x 1 bin bin 43452 Jul 16 1997 ld* -r-xr-xr-x 1 bin bin 73124 Jul 16 1997 lex* -r-xr-xr-x 1 bin bin 2454 Jul 16 1997 lorder* -r-xr-xr-x 1 bin bin 31108 Jul 16 1997 m4* -rwxr-xr-x 1 bin bin 560280 Dec 17 1996 make* -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 mcs* -rw-r--r-- 1 bin bin 8401 Jul 16 1997 nceucform -rw-r--r-- 1 bin bin 5862 Jul 16 1997 ncform -r-xr-xr-x 1 bin bin 60244 Jul 16 1997 nm* -rw-r--r-- 1 bin bin 3198 Jul 16 1997 nrform -r-xr-xr-x 1 bin bin 58704 Jul 16 1997 prof* -rwxr-xr-x 1 bin bin 36400 May 3 1997 prs* -rwxr-xr-x 1 bin bin 18876 May 3 1997 prt* -r-xr-xr-x 1 bin bin 375 Jul 16 1997 ranlib* -r-xr-xr-x 1 bin bin 7120 Jul 16 1997 regcmp* -rwxr-xr-x 1 bin bin 41516 May 3 1997 rmdel* -rwxr-xr-x 1 bin bin 24044 May 3 1997 sact* -rwxr-xr-x 1 bin bin 25276 May 3 1997 sccs* -rwxr-xr-x 1 bin bin 2196 Feb 4 1997 sccsdiff* -r-xr-xr-x 1 bin bin 9808 Jul 16 1997 size* -r-xr-xr-x 2 bin bin 24868 Jul 16 1997 strip* -r-xr-xr-x 1 bin bin 335 Jul 16 1997 symorder* -r-xr-xr-x 1 bin bin 10216 Jul 16 1997 tsort* lrwxrwxrwx 1 root other 45 Oct 22 1998 ucbcc -> /kek/compilers/volume5/SUNWspro/SC4.2/bin/acc* lrwxrwxrwx 1 root other 46 Oct 22 1998 ucblint -> /kek/compilers/volume5/SUNWspro/SC4.2/bin/lint* -rwxr-xr-x 1 bin bin 24044 May 3 1997 unget* -r-xr-xr-x 1 bin bin 9860 Jul 16 1997 unifdef* -rwxr-xr-x 1 bin bin 15560 May 3 1997 val* -rwxr-xr-x 1 bin bin 14624 Feb 4 1997 vc* -rwxr-xr-x 1 bin bin 7544 May 3 1997 what* -r-xr-xr-x 1 bin bin 54608 Jul 16 1997 yacc* -rw-r--r-- 1 bin bin 11848 Jul 16 1997 yaccpar onl5v4[86]% (4-2). /export/home/onl5v4/inoue/CAMAC-speed1/examples-Solaris2.x の下をコンパイルする (4-2-1). シングルアクションのテスト用プログラムのコンパイル onl5v4[95]% pwd /export/home/onl5v4/inoue/CAMAC-speed1/examples-Solaris2.x onl5v4[96]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue kek 75572 Apr 30 16:33 camsingle_measure1* onl5v4[97]% mv camsingle_measure1 camsingle_measure1.bak mv: overwrite camsingle_measure1.bak (yes/no)? y onl5v4[98]% make camsingle_measure1 /usr/ucb/cc -DOSF1 -o camsingle_measure1 camsingle_measure1.c -I../includes -L../lib -lcamac onl5v4[99]% ls -l camsingle_measure1 -rwxr-xr-x 1 inoue kek 75572 May 6 11:40 camsingle_measure1* onl5v4[100]% ok. 正常にコンパイルできた。 (4-2-2). 割り込みのテスト用プログラムのコンパイル onl5v4[100]% ls -l camint_measure1 -rwxr-xr-x 1 inoue kek 16936 Apr 30 16:34 camint_measure1* onl5v4[101]% mv camint_measure1 camint_measure1.bak mv: overwrite camint_measure1.bak (yes/no)? y onl5v4[102]% make camint_measure1 /usr/ucb/cc -DOSF1 -o camint_measure1 camint_measure1.c -I../includes -L../lib -lcamac onl5v4[103]% ok. コンパイルは正常に実行できた。 (4-2-3). ブロック転送のテスト用プログラムのコンパイル onl5v4[103]% ls -l camblock_measure1 -rwxr-xr-x 1 inoue kek 17356 Apr 30 16:36 camblock_measure1* onl5v4[104]% mv camblock_measure1 camblock_measure1.bak mv: overwrite camblock_measure1.bak (yes/no)? y onl5v4[105]% make camblock_measure1 /usr/ucb/cc -DOSF1 -o camblock_measure1 camblock_measure1.c -I../includes -L../lib -lcamac onl5v4[106]% ok. コンパイルは正常に実行できた。 (5). データ転送速度測定プログラムの実行 上記でコンパイルしたデータ転送速度測定プログラムを実行する。 (5-1). 24 ビット camac シングルアクションのテスト用プログラムの実行 シェルスクリプトを使って、データ転送速度測定プログラムを 100回繰り返し ている。 さらにこのシェルスクリプトを 5回実行した。 onl5v4# pwd /export/home/onl5v4/inoue/CAMAC-speed1/examples-Solaris2.x onl5v4# ls -l camsingle.sh -rwxr--r-- 1 inoue kek 313 Oct 28 1998 camsingle.sh* onl5v4# camsingle.sh program execution : loop count = 1 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67544 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 2 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67510 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 3 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67719 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 4 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67598 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 5 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67637 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 6 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67529 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 7 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67740 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 8 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67540 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 9 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67665 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 10 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67630 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 11 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67702 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 12 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67736 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 13 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67867 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 14 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67723 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 15 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67604 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 16 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67679 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 17 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67575 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 18 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67721 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 19 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67615 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 20 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67534 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 21 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67451 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 22 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67492 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 23 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67489 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 24 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67757 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 25 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67636 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 26 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67855 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 27 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67780 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 28 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67689 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 29 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67503 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 30 elapsed time 0 sec, 29 microsec overhead time 5 microsec elapsed time 0 sec, 67538 microsec elapsed time 67 microsec CAMAC READ single action takes 62 microsec. program execution : loop count = 31 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67416 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 32 elapsed time 0 sec, 119 microsec overhead time 23 microsec elapsed time 0 sec, 67642 microsec elapsed time 67 microsec CAMAC READ single action takes 44 microsec. program execution : loop count = 33 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67551 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 34 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67598 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 35 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67693 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 36 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67672 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 37 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67664 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 38 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67669 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 39 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67543 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 40 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67530 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 41 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67846 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 42 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67531 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 43 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67632 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 44 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67622 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 45 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 68051 microsec elapsed time 68 microsec CAMAC READ single action takes 62 microsec. program execution : loop count = 46 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67486 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 47 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67527 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 48 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67642 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 49 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67638 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 50 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67563 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 51 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67715 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 52 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67528 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 53 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67755 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 54 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67512 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 55 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67910 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 56 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67705 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 57 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67730 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 58 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67541 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 59 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67719 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 60 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67752 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 61 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67646 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 62 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67674 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 63 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67696 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 64 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67534 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 65 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67713 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 66 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67505 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 67 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67706 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 68 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67547 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 69 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67670 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 70 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67640 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 71 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67469 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 72 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 67620 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 73 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67768 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 74 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67530 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 75 elapsed time 0 sec, 33 microsec overhead time 6 microsec elapsed time 0 sec, 67474 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 76 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67597 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 77 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67687 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 78 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 68219 microsec elapsed time 68 microsec CAMAC READ single action takes 62 microsec. program execution : loop count = 79 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67491 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 80 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 67587 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 81 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67530 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 82 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67678 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 83 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67730 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 84 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67482 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 85 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67699 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 86 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67572 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 87 elapsed time 0 sec, 30 microsec overhead time 6 microsec elapsed time 0 sec, 67578 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 88 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67479 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 89 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67721 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 90 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67521 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 91 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67737 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 92 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67730 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 93 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67629 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 94 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67524 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 95 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67657 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 96 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67547 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 97 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67625 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 98 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67935 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 99 elapsed time 0 sec, 32 microsec overhead time 6 microsec elapsed time 0 sec, 67608 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program execution : loop count = 100 elapsed time 0 sec, 31 microsec overhead time 6 microsec elapsed time 0 sec, 67516 microsec elapsed time 67 microsec CAMAC READ single action takes 61 microsec. program stop onl5v4# シングルアクションを実行するのに要した時間は、61μsec であった。 (4-2). camac LAM 割り込みのテスト用プログラムの実行 onl5v4# priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 370 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 395 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 370 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 367 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 402 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 365 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 366 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 376 microsec. onl5v4# !! priocntl -e -c RT -p 55 camint_measure1 CAM_WaitLAM takes 368 microsec. onl5v4# 割り込み処理を実行するのに要した時間は、370μsec であった。 (4-3). 16 ビット camac ブロック転送のテスト用プログラムの実行 onl5v4# priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 570 microsec. CAMAC READ block action with 8Kwords takes 18080 microsec. transfer speed is 914 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 577 microsec. CAMAC READ block action with 8Kwords takes 18095 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 567 microsec. CAMAC READ block action with 8Kwords takes 18091 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 567 microsec. CAMAC READ block action with 8Kwords takes 18095 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 574 microsec. CAMAC READ block action with 8Kwords takes 18093 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 571 microsec. CAMAC READ block action with 8Kwords takes 18092 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 569 microsec. CAMAC READ block action with 8Kwords takes 18096 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 566 microsec. CAMAC READ block action with 8Kwords takes 18092 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 571 microsec. CAMAC READ block action with 8Kwords takes 18106 microsec. transfer speed is 912 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 573 microsec. CAMAC READ block action with 8Kwords takes 18110 microsec. transfer speed is 912 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 567 microsec. CAMAC READ block action with 8Kwords takes 18096 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 571 microsec. CAMAC READ block action with 8Kwords takes 18095 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 566 microsec. CAMAC READ block action with 8Kwords takes 18089 microsec. transfer speed is 913 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 575 microsec. CAMAC READ block action with 8Kwords takes 18191 microsec. transfer speed is 908 KB/S onl5v4# !! priocntl -e -c RT -p 55 camblock_measure1 CAMAC READ block action with 1word takes 567 microsec. CAMAC READ block action with 8Kwords takes 18083 microsec. transfer speed is 913 KB/S onl5v4# ブロック転送のにオーバーヘッドに要した時間は、570μsec であった。 データを、8Kワード読み出すのに要した時間は 18080μsec で、転送速度 は、910 KByte/sec であった。 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル