annotate paper/compare.tex @ 21:acd79634dc4e

finish?
author admin@e055734.st.ie.u-ryukyu.ac.jp
date Fri, 27 Mar 2009 00:29:08 +0900
parents d1e6ef9c38dc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
1 \newpage
1
admin@mb22-no-macbook.local
parents:
diff changeset
2 \section{評価と考察}
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
3
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
4 \subsection{Scale を用いた描画処理の効果検証}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
5 \begin{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
6 \item 検証に用いたサンプル (10個のオブジェクト)
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
7 \begin{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
8 \item Polygon 総数 : 19860
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
9 \item Texture 総数 : 10 \\
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
10 (8x8(3)、512x384(2)、616x123(4)、1024x768(1)) pixel
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
11 \end{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
12 \item 1つのオブジェクトが親、その他のオブジェクトが
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
13 その子になり回転しながら移動する。
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
14 \end{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
15  \\
21
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
16 \subsubsection{実行結果}
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
17
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
18 \begin{table}[!h]
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
19 \begin{center}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
20 \caption{Scale を用いることによる実行速度の比較}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
21 \hbox to\hsize{\hfil
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
22 \begin{tabular}{c|l|l|l} \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
23 & Scaleなし(FPS) & Scaleあり (FPS) & 速度の向上 (\%)\\ \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
24 \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
25 Mac OSX & 7.0 & 8.5 & 21 \\ \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
26 PS3Linux(SPE 1) & 4.3 & 5.6 & 30 \\ \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
27 PS3Linux(SPE 6) & 10.8 & 13.5 & 25 \\ \hline
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
28 \end{tabular}\hfil}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
29 \label{tb:scale}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
30 \end{center}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
31 \begin{center}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
32 {\small *FPS とは Frame Per Second の略で、1秒間に何回画面を書き換えたかを表している。}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
33 \end{center}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
34 \end{table}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
35 \begin{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
36 \item 実行速度の比較を行った結果、20 〜 30\% の速度向上が見られる。
16
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
37 \item Mac OSX は SDL\cite{sdl} 経由で出力、PlayStation 3 は Frame Buffer へ直接出力している。
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
38 \end{itemize}
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
39  \\
21
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
40 \subsubsection{考察}
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
41
16
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
42 Scale を適用した結果、実行速度の向上が見られた。
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
43 しかし、SPE を1つ用いたときと、6つ用いたときの速度が 2.6 倍ほどしか
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
44 向上していないことがわかる。
15
599e461dcb09 chapter "compare" add
admin@mb22-no-macbook.local
parents: 1
diff changeset
45
16
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
46 台数効果が出ていない原因として、DMA 転送の待ち時間
d1e6ef9c38dc finish...?
admin@mb22-no-macbook.local
parents: 15
diff changeset
47 の無駄を十分に利用できてことが考えられる (Amdahl則\cite{amdahl})
21
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
48
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
49 \newpage
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
50
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
51 \subsection{キャッシュ}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
52
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
53 SPE 上の Texture データのキャッシュの有効性を検証する。
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
54
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
55 キャッシュを用いた場合と用いてない場合を SPE の数を変更して比較する。
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
56
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
57 \begin{table}[!h]
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
58 \begin{center}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
59 \caption{キャッシュの有無による処理速度の比較}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
60 \hbox to\hsize{\hfil
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
61 \begin{tabular}{c|l} \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
62 キャッシュなし(SPE 1 個) & 0.08 FPS \\ \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
63 キャッシュなし(SPE 6 個) & 0.42 FPS \\ \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
64 \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
65 キャッシュあり(SPE 1 個) & 0.59 FPS \\ \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
66 キャッシュあり(SPE 6 個) & 2.54 FPS \\ \hline
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
67 \end{tabular}\hfil}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
68 \label{tb:cache}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
69 \end{center}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
70 \begin{center}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
71 \end{center}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
72 \end{table}
acd79634dc4e finish?
admin@e055734.st.ie.u-ryukyu.ac.jp
parents: 16
diff changeset
73