annotate 5.tex @ 9:6be2afd7063c

fix figure option, english author list add Makefile
author gongo@gendarme.local
date Sat, 28 Mar 2009 16:24:11 +0900
parents 624a45b40bfe
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 \section{ デバッグするには?}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 Federated Linda 上でデバッグする一つの方法は、デバッガ
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 からタプルスペースへ問い合わせの通信を行なうことである(図\ref{集中型デバッガ})。
9
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
5 \begin{figure}[tb]
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
6 \begin{center}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
7 \includegraphics[width=7cm]{fig/comDebug.eps}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
8 \caption{集中型デバッガ}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
9 \label{集中型デバッガ}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
10 \end{center}
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 \end{figure}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 この方法では、Linda Serverのad-hocな改変が必要であり、
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 デバッガは各Linda Serverへ1対多の集中的な通信を行なう
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 必要がある。この方法では、デバッガはLinda Server への
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 直接の通信路を持つ必要があるが、分散環境では、ファイアウォール
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 などの関係で、それが可能であるとは限らない。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 デバッグ自体は、
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 タプル空間に直接アクセス出来るプロトコルエンジンと
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 考えることができ、Federated Lindaのメタエンジン
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 ととらえることができる。メタエンジンのAPIを
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 Linda にそろえることにより、Linda Serverへの
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 ad-hoc な改変を、決まったAPI上のデバッグプロトコル
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 の設計にすることができる(図\ref{Debugger})。
9
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
27 \begin{figure}[tb]
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
28 \begin{center}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
29 \includegraphics[width=7cm]{fig/debugger.eps}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
30 \caption{Debugger}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
31 \label{Debugger}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
32 \end{center}
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 \end{figure}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 デバッグ自体をScalableにして、分散計算への影響を少なく
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 するためには、デバッグ用の通信自体がScalable である必要が
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 ある。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 それには、デバッグプロトコル自体が、Federated Linda に
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 よってScalable だと示されたプロトコルであることが望ましい。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 つまり、最初に情報収集などに適したプロトコルをFederated
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 Linda で作成し、それをそのままデバッガのプロトコルに
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 採用できることが望ましい。
9
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
45 \begin{figure}[tb]
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
46 \begin{center}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
47 \includegraphics[width=7cm]{fig/obj2meta.eps}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
48 \caption{メタへの移行}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
49 \label{メタへの移行}
6be2afd7063c fix figure option, english author list
gongo@gendarme.local
parents: 7
diff changeset
50 \end{center}
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 \end{figure}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
52
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56