annotate presen/presen.html @ 14:06fe904e1951

fix
author Yutaka_Kinjyo
date Wed, 13 Apr 2011 17:26:26 +0900
parents 083c7035b2cf
children 413e772d6cea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
Yutaka_Kinjyo
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Yutaka_Kinjyo
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Yutaka_Kinjyo
parents:
diff changeset
3
Yutaka_Kinjyo
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml">
Yutaka_Kinjyo
parents:
diff changeset
5 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
Yutaka_Kinjyo
parents:
diff changeset
6
Yutaka_Kinjyo
parents:
diff changeset
7 <head>
Yutaka_Kinjyo
parents:
diff changeset
8 <title>発表資料</title>
Yutaka_Kinjyo
parents:
diff changeset
9 <!-- metadata -->
Yutaka_Kinjyo
parents:
diff changeset
10 <meta name="generator" content="S5" />
Yutaka_Kinjyo
parents:
diff changeset
11 <meta name="version" content="S5 1.1" />
Yutaka_Kinjyo
parents:
diff changeset
12 <meta name="presdate" content="20050728" />
Yutaka_Kinjyo
parents:
diff changeset
13 <meta name="author" content="Eric A. Meyer" />
Yutaka_Kinjyo
parents:
diff changeset
14 <meta name="company" content="Complex Spiral Consulting" />
Yutaka_Kinjyo
parents:
diff changeset
15 <!-- configuration parameters -->
Yutaka_Kinjyo
parents:
diff changeset
16 <meta name="defaultView" content="slideshow" />
Yutaka_Kinjyo
parents:
diff changeset
17 <meta name="controlVis" content="hidden" />
Yutaka_Kinjyo
parents:
diff changeset
18 <!-- style sheet links -->
Yutaka_Kinjyo
parents:
diff changeset
19 <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
Yutaka_Kinjyo
parents:
diff changeset
20 <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
Yutaka_Kinjyo
parents:
diff changeset
21 <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
Yutaka_Kinjyo
parents:
diff changeset
22 <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
Yutaka_Kinjyo
parents:
diff changeset
23 <!-- S5 JS -->
Yutaka_Kinjyo
parents:
diff changeset
24 <script src="ui/default/slides.js" type="text/javascript"></script>
Yutaka_Kinjyo
parents:
diff changeset
25
Yutaka_Kinjyo
parents:
diff changeset
26 <style type="text/css">
Yutaka_Kinjyo
parents:
diff changeset
27 body {
Yutaka_Kinjyo
parents:
diff changeset
28 font-size: 100%;
Yutaka_Kinjyo
parents:
diff changeset
29 }
Yutaka_Kinjyo
parents:
diff changeset
30 p.ex10 { font-size: 2.0em; }
Yutaka_Kinjyo
parents:
diff changeset
31 p.ex9 { font-size: 1.9em; }
Yutaka_Kinjyo
parents:
diff changeset
32 p.ex8 { font-size: 1.8em; }
Yutaka_Kinjyo
parents:
diff changeset
33 p.ex7 { font-size: 1.7em; }
Yutaka_Kinjyo
parents:
diff changeset
34 p.ex6 { font-size: 1.6em; }
Yutaka_Kinjyo
parents:
diff changeset
35 p.ex5 { font-size: 1.5em; }
Yutaka_Kinjyo
parents:
diff changeset
36 p.ex4 { font-size: 1.4em; }
Yutaka_Kinjyo
parents:
diff changeset
37 p.ex3 { font-size: 1.3em; }
Yutaka_Kinjyo
parents:
diff changeset
38 p.ex2 { font-size: 1.2em; }
Yutaka_Kinjyo
parents:
diff changeset
39 p.ex1 { font-size: 1.1em; }
Yutaka_Kinjyo
parents:
diff changeset
40 p.ex0 { font-size: 1.0em; }
Yutaka_Kinjyo
parents:
diff changeset
41 p.ex05 { font-size: 0.5em; }
Yutaka_Kinjyo
parents:
diff changeset
42
Yutaka_Kinjyo
parents:
diff changeset
43 span.classifier {
Yutaka_Kinjyo
parents:
diff changeset
44 font-family: sans-serif ;
Yutaka_Kinjyo
parents:
diff changeset
45 font-style: oblique }
Yutaka_Kinjyo
parents:
diff changeset
46
Yutaka_Kinjyo
parents:
diff changeset
47 span.classifier-delimiter {
Yutaka_Kinjyo
parents:
diff changeset
48 font-family: sans-serif ;
Yutaka_Kinjyo
parents:
diff changeset
49 font-weight: bold }
Yutaka_Kinjyo
parents:
diff changeset
50
Yutaka_Kinjyo
parents:
diff changeset
51 span.interpreted {
Yutaka_Kinjyo
parents:
diff changeset
52 font-family: sans-serif }
Yutaka_Kinjyo
parents:
diff changeset
53
Yutaka_Kinjyo
parents:
diff changeset
54 span.option {
Yutaka_Kinjyo
parents:
diff changeset
55 white-space: nowrap }
Yutaka_Kinjyo
parents:
diff changeset
56
Yutaka_Kinjyo
parents:
diff changeset
57 span.pre {
Yutaka_Kinjyo
parents:
diff changeset
58 white-space: pre }
Yutaka_Kinjyo
parents:
diff changeset
59
Yutaka_Kinjyo
parents:
diff changeset
60 span.problematic {
Yutaka_Kinjyo
parents:
diff changeset
61 color: red }
Yutaka_Kinjyo
parents:
diff changeset
62
Yutaka_Kinjyo
parents:
diff changeset
63 span.section-subtitle {
Yutaka_Kinjyo
parents:
diff changeset
64 /* font-size relative to parent (h1..h6 element) */
Yutaka_Kinjyo
parents:
diff changeset
65 font-size: 80% }
Yutaka_Kinjyo
parents:
diff changeset
66
Yutaka_Kinjyo
parents:
diff changeset
67 </style>
Yutaka_Kinjyo
parents:
diff changeset
68 </head>
Yutaka_Kinjyo
parents:
diff changeset
69
Yutaka_Kinjyo
parents:
diff changeset
70
Yutaka_Kinjyo
parents:
diff changeset
71 <body>
Yutaka_Kinjyo
parents:
diff changeset
72
Yutaka_Kinjyo
parents:
diff changeset
73 <div class="layout">
Yutaka_Kinjyo
parents:
diff changeset
74 <div id="controls"><!-- DO NOT EDIT --></div>
Yutaka_Kinjyo
parents:
diff changeset
75 <div id="currentSlide"><!-- DO NOT EDIT --></div>
Yutaka_Kinjyo
parents:
diff changeset
76 <div id="header"></div>
Yutaka_Kinjyo
parents:
diff changeset
77 <div id="footer">
Yutaka_Kinjyo
parents:
diff changeset
78 <!--<h1>Cell上のソフトウェアレンダリングの高速化と高機能化</h1>
Yutaka_Kinjyo
parents:
diff changeset
79 <h2>琉球大学工学部情報工学科並列信頼研</h2>-->
Yutaka_Kinjyo
parents:
diff changeset
80 </div>
Yutaka_Kinjyo
parents:
diff changeset
81
Yutaka_Kinjyo
parents:
diff changeset
82 </div>
Yutaka_Kinjyo
parents:
diff changeset
83
Yutaka_Kinjyo
parents:
diff changeset
84 <div class="presentation">
Yutaka_Kinjyo
parents:
diff changeset
85
Yutaka_Kinjyo
parents:
diff changeset
86 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
87
Yutaka_Kinjyo
parents:
diff changeset
88 <h1>ゲームフレームワーク Cerium TaskManager の改良</h1>
Yutaka_Kinjyo
parents:
diff changeset
89 <h3>金城 裕, 河野 真治, <br>多賀野 海人, 小林 佑亮</h3>
Yutaka_Kinjyo
parents:
diff changeset
90 <h4>琉球大学大学院理工学研究科情報工学専攻並列信頼研</h4>
Yutaka_Kinjyo
parents:
diff changeset
91 </div>
Yutaka_Kinjyo
parents:
diff changeset
92
Yutaka_Kinjyo
parents:
diff changeset
93 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
94 <h1>概要</h1>
Yutaka_Kinjyo
parents:
diff changeset
95
14
Yutaka_Kinjyo
parents: 13
diff changeset
96 ゲームフレームワーク Cerium TaskManager を開発した。
Yutaka_Kinjyo
parents: 13
diff changeset
97 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
98 <li>琉球大学の学生実験で使用している</li>
Yutaka_Kinjyo
parents: 13
diff changeset
99 <li>短期間でPS3/Cell上で並列処理されるゲーム開発が可能</li>
Yutaka_Kinjyo
parents: 13
diff changeset
100 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
101
Yutaka_Kinjyo
parents: 13
diff changeset
102 <p class="ex2">Ceriumの改良を行いOpenGLと比べ、2.9倍の性能向上を達成した(Cell上)</p>
Yutaka_Kinjyo
parents: 13
diff changeset
103 <table border="1" cellspacing="0" cellspacing="2" cellpadding="5" align="center">
Yutaka_Kinjyo
parents: 13
diff changeset
104 <tr>
Yutaka_Kinjyo
parents: 13
diff changeset
105 <th></th>
Yutaka_Kinjyo
parents: 13
diff changeset
106 <th>OpenGL</th>
Yutaka_Kinjyo
parents: 13
diff changeset
107 <th>Cerium</th>
Yutaka_Kinjyo
parents: 13
diff changeset
108 <th>性能差</th>
Yutaka_Kinjyo
parents: 13
diff changeset
109 </tr>
Yutaka_Kinjyo
parents: 13
diff changeset
110 <tr align="center">
Yutaka_Kinjyo
parents: 13
diff changeset
111 <td>dandy</td>
Yutaka_Kinjyo
parents: 13
diff changeset
112 <td>17.5FPS</td>
Yutaka_Kinjyo
parents: 13
diff changeset
113 <td>49.5FPS</td>
Yutaka_Kinjyo
parents: 13
diff changeset
114 <td>2.9倍</td>
Yutaka_Kinjyo
parents: 13
diff changeset
115 </tr>
Yutaka_Kinjyo
parents: 13
diff changeset
116 </table>
Yutaka_Kinjyo
parents: 13
diff changeset
117 FPS(Frames Per Second)
Yutaka_Kinjyo
parents: 13
diff changeset
118 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
119
Yutaka_Kinjyo
parents: 13
diff changeset
120 <div class="slide">
Yutaka_Kinjyo
parents: 13
diff changeset
121 <h1>概要</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
122
Yutaka_Kinjyo
parents: 13
diff changeset
123 Amdahlの法則より<br>
Yutaka_Kinjyo
parents: 13
diff changeset
124  プログラム全体の並列化率が低ければ、マルチコアの性能を活かすことはできない。<br><br>
Yutaka_Kinjyo
parents: 13
diff changeset
125
Yutaka_Kinjyo
parents: 13
diff changeset
126 <u>SPEの稼働率を落とさない為の改良点</u>
12
Yutaka_Kinjyo
parents:
diff changeset
127
Yutaka_Kinjyo
parents:
diff changeset
128 <ul>
14
Yutaka_Kinjyo
parents: 13
diff changeset
129 <li>PPEとSPE間の通信回数を削減、タイミングを変更</li>
Yutaka_Kinjyo
parents: 13
diff changeset
130 <li>Taskのパイプライン化</li>
Yutaka_Kinjyo
parents: 13
diff changeset
131 <li>テクスチャをSPE内でキャッシュ</li>
12
Yutaka_Kinjyo
parents:
diff changeset
132 </ul><br>
Yutaka_Kinjyo
parents:
diff changeset
133
14
Yutaka_Kinjyo
parents: 13
diff changeset
134 以上の改良により、FPSが5〜10倍程度性能向上がありました
Yutaka_Kinjyo
parents: 13
diff changeset
135
Yutaka_Kinjyo
parents: 13
diff changeset
136 <!--以上の改良により、OpenGL-->
12
Yutaka_Kinjyo
parents:
diff changeset
137
Yutaka_Kinjyo
parents:
diff changeset
138 </div>
Yutaka_Kinjyo
parents:
diff changeset
139
Yutaka_Kinjyo
parents:
diff changeset
140
14
Yutaka_Kinjyo
parents: 13
diff changeset
141
Yutaka_Kinjyo
parents: 13
diff changeset
142
12
Yutaka_Kinjyo
parents:
diff changeset
143 <div class="slide">
14
Yutaka_Kinjyo
parents: 13
diff changeset
144 <h1>概要</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
145
Yutaka_Kinjyo
parents: 13
diff changeset
146 Amdahlの法則より<br>
Yutaka_Kinjyo
parents: 13
diff changeset
147  プログラム全体の並列化率が低ければ、マルチコアの性能を活かすことはできない。<br><br>
Yutaka_Kinjyo
parents: 13
diff changeset
148
Yutaka_Kinjyo
parents: 13
diff changeset
149
Yutaka_Kinjyo
parents: 13
diff changeset
150 <u>SPEの稼働率を落とさない為の改良点</u>
12
Yutaka_Kinjyo
parents:
diff changeset
151
Yutaka_Kinjyo
parents:
diff changeset
152 <ul>
14
Yutaka_Kinjyo
parents: 13
diff changeset
153 <li>PPEとSPE間の通信回数を削減、タイミングを変更</li>
Yutaka_Kinjyo
parents: 13
diff changeset
154 <li>Taskのパイプライン化</li>
Yutaka_Kinjyo
parents: 13
diff changeset
155 <li>テクスチャをSPE内でキャッシュ</li>
12
Yutaka_Kinjyo
parents:
diff changeset
156 </ul><br>
Yutaka_Kinjyo
parents:
diff changeset
157
14
Yutaka_Kinjyo
parents: 13
diff changeset
158 Ceriumの改良点を紹介していく。
Yutaka_Kinjyo
parents: 13
diff changeset
159
12
Yutaka_Kinjyo
parents:
diff changeset
160 </div>
Yutaka_Kinjyo
parents:
diff changeset
161
Yutaka_Kinjyo
parents:
diff changeset
162 <div class="slide">
14
Yutaka_Kinjyo
parents: 13
diff changeset
163 <h1>Cellの構成</h1>
12
Yutaka_Kinjyo
parents:
diff changeset
164 Cell Broadband Engine
Yutaka_Kinjyo
parents:
diff changeset
165
14
Yutaka_Kinjyo
parents: 13
diff changeset
166 <img src="gazo/cell_arch.jpg" style="display:block; width:50%; float: right; margin-top:0%">
12
Yutaka_Kinjyo
parents:
diff changeset
167
Yutaka_Kinjyo
parents:
diff changeset
168 <ul>
14
Yutaka_Kinjyo
parents: 13
diff changeset
169 <li>ソニー・コンピュータエンタテインメント、ソニー、IBM , 東芝によって開発されたマルチコア CPU である</li>
Yutaka_Kinjyo
parents: 13
diff changeset
170 <li>1個のPPEと8個のSPEがリングバスで構成されている</li>
Yutaka_Kinjyo
parents: 13
diff changeset
171 <li>SPEは256KBのLocalStore(LS)を持つ</li>
Yutaka_Kinjyo
parents: 13
diff changeset
172 <li>SPEからメインメモリへは直接アクセスできない</li>
Yutaka_Kinjyo
parents: 13
diff changeset
173 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
174 <li>SPEが持つMFC(Memroy Flow Controller)へDMA命令を送ることで行う</li>
Yutaka_Kinjyo
parents: 13
diff changeset
175 </ul>
12
Yutaka_Kinjyo
parents:
diff changeset
176 </ul><br>
Yutaka_Kinjyo
parents:
diff changeset
177
Yutaka_Kinjyo
parents:
diff changeset
178
Yutaka_Kinjyo
parents:
diff changeset
179 </div>
Yutaka_Kinjyo
parents:
diff changeset
180
Yutaka_Kinjyo
parents:
diff changeset
181 <div class="slide">
14
Yutaka_Kinjyo
parents: 13
diff changeset
182 <h1>Cellの基本機能</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
183 <u>DMA</u>
Yutaka_Kinjyo
parents: 13
diff changeset
184 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
185 <li>メインメモリとLS間でデータが転送される</li>
Yutaka_Kinjyo
parents: 13
diff changeset
186 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
187 <u>Mailbox</u>
Yutaka_Kinjyo
parents: 13
diff changeset
188 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
189 <li>SPEのMFC内にあるFIFOキュー</li>
Yutaka_Kinjyo
parents: 13
diff changeset
190 <li>PPEとSPE間で32bitメッセージの交換に用いられる</li>
Yutaka_Kinjyo
parents: 13
diff changeset
191 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
192 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
193
Yutaka_Kinjyo
parents: 13
diff changeset
194
Yutaka_Kinjyo
parents: 13
diff changeset
195 <div class="slide">
12
Yutaka_Kinjyo
parents:
diff changeset
196 <h1>Ceriumの構成</h1>
Yutaka_Kinjyo
parents:
diff changeset
197
Yutaka_Kinjyo
parents:
diff changeset
198 Ceriumの構成
Yutaka_Kinjyo
parents:
diff changeset
199
14
Yutaka_Kinjyo
parents: 13
diff changeset
200 <img src="gazo/cerium.png" style="display:block; width:50%; float: right; margin-top:0%">
Yutaka_Kinjyo
parents: 13
diff changeset
201
12
Yutaka_Kinjyo
parents:
diff changeset
202 <ul>
Yutaka_Kinjyo
parents:
diff changeset
203 <li>TaskManager</li>
Yutaka_Kinjyo
parents:
diff changeset
204 <ul>
Yutaka_Kinjyo
parents:
diff changeset
205 <li>ユーザが定義したTaskを管理し、各コアに割り当てる</li>
Yutaka_Kinjyo
parents:
diff changeset
206 </ul>
Yutaka_Kinjyo
parents:
diff changeset
207
Yutaka_Kinjyo
parents:
diff changeset
208 <li>RenderingEngine</li>
Yutaka_Kinjyo
parents:
diff changeset
209 <ul>
Yutaka_Kinjyo
parents:
diff changeset
210 <li>オブジェクトを画面に描画する</li>
Yutaka_Kinjyo
parents:
diff changeset
211 <li>3種類のTaskから構成される</li>
Yutaka_Kinjyo
parents:
diff changeset
212 </ul>
Yutaka_Kinjyo
parents:
diff changeset
213
Yutaka_Kinjyo
parents:
diff changeset
214 <li>SceneGraph</li>
Yutaka_Kinjyo
parents:
diff changeset
215 <ul>
Yutaka_Kinjyo
parents:
diff changeset
216 <li>ゲームのルールを記述してく</li>
Yutaka_Kinjyo
parents:
diff changeset
217 <li>ゲームのシーンを作成し、それを切り替えながらゲームを進行する</li>
Yutaka_Kinjyo
parents:
diff changeset
218 <li>OpenSceneGraphのようなもの</li>
Yutaka_Kinjyo
parents:
diff changeset
219 </ul>
Yutaka_Kinjyo
parents:
diff changeset
220
Yutaka_Kinjyo
parents:
diff changeset
221 </ul><br>
Yutaka_Kinjyo
parents:
diff changeset
222
Yutaka_Kinjyo
parents:
diff changeset
223 </div>
Yutaka_Kinjyo
parents:
diff changeset
224
Yutaka_Kinjyo
parents:
diff changeset
225 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
226 <h1>TaskManager</h1>
Yutaka_Kinjyo
parents:
diff changeset
227
14
Yutaka_Kinjyo
parents: 13
diff changeset
228 TaskManager は、Taskと呼ばれる分割された各プログラムを管理する。Task の単位
Yutaka_Kinjyo
parents: 13
diff changeset
229 はサブルーチンである。Task 同士の依存関係を考慮しながら実行していく。</p>
Yutaka_Kinjyo
parents: 13
diff changeset
230 <p>Task を生成する際に、以下のような要素が設定可能である</p>
12
Yutaka_Kinjyo
parents:
diff changeset
231
Yutaka_Kinjyo
parents:
diff changeset
232 <ul>
14
Yutaka_Kinjyo
parents: 13
diff changeset
233 <li><b>input data, output data, parameter</b><br>
Yutaka_Kinjyo
parents: 13
diff changeset
234  これらは関数でいうところの引数に価する</li>
Yutaka_Kinjyo
parents: 13
diff changeset
235 <li><b>cpu type</b><br>
Yutaka_Kinjyo
parents: 13
diff changeset
236  Task を PPE または SPE のどちらで実行するのかを示している</li>
Yutaka_Kinjyo
parents: 13
diff changeset
237 <li><b>dependency</b></li>
Yutaka_Kinjyo
parents: 13
diff changeset
238  他の Task との依存関係を示している
Yutaka_Kinjyo
parents: 13
diff changeset
239 </li>
12
Yutaka_Kinjyo
parents:
diff changeset
240 </ul>
Yutaka_Kinjyo
parents:
diff changeset
241
Yutaka_Kinjyo
parents:
diff changeset
242 </div>
Yutaka_Kinjyo
parents:
diff changeset
243
Yutaka_Kinjyo
parents:
diff changeset
244
Yutaka_Kinjyo
parents:
diff changeset
245 <div class="slide">
13
Yutaka_Kinjyo
parents: 12
diff changeset
246 <h1>RenderingEngineの構成</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
247 RenderingEngineの構成
14
Yutaka_Kinjyo
parents: 13
diff changeset
248
Yutaka_Kinjyo
parents: 13
diff changeset
249 <img src="gazo/renderingengine1.png" style="display:block; width:40%; float: right; margin-top:0%">
Yutaka_Kinjyo
parents: 13
diff changeset
250
13
Yutaka_Kinjyo
parents: 12
diff changeset
251 <ul>
Yutaka_Kinjyo
parents: 12
diff changeset
252 <li>CreatePolygon</li>
Yutaka_Kinjyo
parents: 12
diff changeset
253 <ul>
Yutaka_Kinjyo
parents: 12
diff changeset
254 <li>モデリングデータからポリゴンを生成する(PPE)</li>
Yutaka_Kinjyo
parents: 12
diff changeset
255 </ul>
Yutaka_Kinjyo
parents: 12
diff changeset
256 <li>CreateSpan</li>
Yutaka_Kinjyo
parents: 12
diff changeset
257 <ul>
Yutaka_Kinjyo
parents: 12
diff changeset
258 <li>ポリゴンをSpanと呼ばれる水平な線に分ける(SPE)</li>
Yutaka_Kinjyo
parents: 12
diff changeset
259 </ul>
Yutaka_Kinjyo
parents: 12
diff changeset
260 <li>DrawSpan</li>
Yutaka_Kinjyo
parents: 12
diff changeset
261 <ul>
Yutaka_Kinjyo
parents: 12
diff changeset
262 <li>Spanを実際にディスプレイに描画する(SPE)</li>
Yutaka_Kinjyo
parents: 12
diff changeset
263 </ul>
Yutaka_Kinjyo
parents: 12
diff changeset
264 </ul><br>
Yutaka_Kinjyo
parents: 12
diff changeset
265
14
Yutaka_Kinjyo
parents: 13
diff changeset
266 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
267
Yutaka_Kinjyo
parents: 13
diff changeset
268
Yutaka_Kinjyo
parents: 13
diff changeset
269 <div class="slide">
Yutaka_Kinjyo
parents: 13
diff changeset
270 <h1>改良前RenderingEngine</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
271
Yutaka_Kinjyo
parents: 13
diff changeset
272 <img src="gazo/universe.png" style="display:block; width:50%; float: right; margin-top:0%">
Yutaka_Kinjyo
parents: 13
diff changeset
273
Yutaka_Kinjyo
parents: 13
diff changeset
274 <u>改良前のRenderingEngineの例題</u><br>
Yutaka_Kinjyo
parents: 13
diff changeset
275 地球と月の例題
Yutaka_Kinjyo
parents: 13
diff changeset
276
Yutaka_Kinjyo
parents: 13
diff changeset
277 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents: 13
diff changeset
278 <tr>
Yutaka_Kinjyo
parents: 13
diff changeset
279 <th></th>
Yutaka_Kinjyo
parents: 13
diff changeset
280 <th>FPS</th>
Yutaka_Kinjyo
parents: 13
diff changeset
281 <th>mail待ちの割合</th>
Yutaka_Kinjyo
parents: 13
diff changeset
282 <th>SPE稼働率</th>
Yutaka_Kinjyo
parents: 13
diff changeset
283 <!--<th>Mac(Core2Duo)</th>-->
Yutaka_Kinjyo
parents: 13
diff changeset
284 </tr>
Yutaka_Kinjyo
parents: 13
diff changeset
285 <tr align="center">
Yutaka_Kinjyo
parents: 13
diff changeset
286 <td>universe</td>
Yutaka_Kinjyo
parents: 13
diff changeset
287 <td>17FPS</td>
Yutaka_Kinjyo
parents: 13
diff changeset
288 <td>53.6%</td>
Yutaka_Kinjyo
parents: 13
diff changeset
289 <td>45.4%</td>
Yutaka_Kinjyo
parents: 13
diff changeset
290 </tr>
Yutaka_Kinjyo
parents: 13
diff changeset
291 </table><br>
Yutaka_Kinjyo
parents: 13
diff changeset
292
Yutaka_Kinjyo
parents: 13
diff changeset
293 処理全体の45%時間がmail待ちになっている.
13
Yutaka_Kinjyo
parents: 12
diff changeset
294
Yutaka_Kinjyo
parents: 12
diff changeset
295 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
296
14
Yutaka_Kinjyo
parents: 13
diff changeset
297 <div class="slide">
Yutaka_Kinjyo
parents: 13
diff changeset
298 <h1>Mail待ちについて</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
299
Yutaka_Kinjyo
parents: 13
diff changeset
300 <u>mail待ちが起こるタイミング</u>
Yutaka_Kinjyo
parents: 13
diff changeset
301
Yutaka_Kinjyo
parents: 13
diff changeset
302 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
303 <li>SPEが次のTaskのリストを待つとき</li>
Yutaka_Kinjyo
parents: 13
diff changeset
304 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
305 <li>Taskのパイプライン化で削減</li>
Yutaka_Kinjyo
parents: 13
diff changeset
306 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
307 <li>SPEがTaskの完了を書きこむとき</li>
Yutaka_Kinjyo
parents: 13
diff changeset
308 <ul>
Yutaka_Kinjyo
parents: 13
diff changeset
309 <li>MailQueueで削減</li>
Yutaka_Kinjyo
parents: 13
diff changeset
310 <li>TaskArrayで削減</li>
Yutaka_Kinjyo
parents: 13
diff changeset
311 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
312 </ul>
Yutaka_Kinjyo
parents: 13
diff changeset
313
Yutaka_Kinjyo
parents: 13
diff changeset
314 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
315
Yutaka_Kinjyo
parents: 13
diff changeset
316
Yutaka_Kinjyo
parents: 13
diff changeset
317 <div class="slide">
Yutaka_Kinjyo
parents: 13
diff changeset
318 <h1>Mailbox機能</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
319
Yutaka_Kinjyo
parents: 13
diff changeset
320 <table height="100%" width="100%" border="0">
Yutaka_Kinjyo
parents: 13
diff changeset
321 <tr><td align="center" valign="middle">
Yutaka_Kinjyo
parents: 13
diff changeset
322 <img src="gazo/mailbox.png" style="width: 60%%"></td></tr>
Yutaka_Kinjyo
parents: 13
diff changeset
323 </table>
Yutaka_Kinjyo
parents: 13
diff changeset
324
Yutaka_Kinjyo
parents: 13
diff changeset
325 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
326
Yutaka_Kinjyo
parents: 13
diff changeset
327
Yutaka_Kinjyo
parents: 13
diff changeset
328 <div class="slide">
Yutaka_Kinjyo
parents: 13
diff changeset
329 <h1>バリア同期</h1>
Yutaka_Kinjyo
parents: 13
diff changeset
330 <table height="100%" width="100%" border="0">
Yutaka_Kinjyo
parents: 13
diff changeset
331 <tr><td align="center" valign="middle">
Yutaka_Kinjyo
parents: 13
diff changeset
332 <img src="gazo/renderingengine1.png" style="width: 35%%"></td></tr>
Yutaka_Kinjyo
parents: 13
diff changeset
333 </table>
Yutaka_Kinjyo
parents: 13
diff changeset
334
Yutaka_Kinjyo
parents: 13
diff changeset
335 RenderingEngineのTaskは、3つそれぞれバリア同期をしている。
Yutaka_Kinjyo
parents: 13
diff changeset
336
Yutaka_Kinjyo
parents: 13
diff changeset
337 </div>
Yutaka_Kinjyo
parents: 13
diff changeset
338
Yutaka_Kinjyo
parents: 13
diff changeset
339
13
Yutaka_Kinjyo
parents: 12
diff changeset
340
Yutaka_Kinjyo
parents: 12
diff changeset
341 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
342 <h1>パイプライン化</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
343
Yutaka_Kinjyo
parents: 12
diff changeset
344 地球と月を表示する例題(universe)を使用。
Yutaka_Kinjyo
parents: 12
diff changeset
345
Yutaka_Kinjyo
parents: 12
diff changeset
346 <table height="100%" width="100%" border="0">
Yutaka_Kinjyo
parents: 12
diff changeset
347 <tr><td align="center" valign="middle">
Yutaka_Kinjyo
parents: 12
diff changeset
348 <img src="gazo/universe.png" style="width: 45%%"></td></tr>
Yutaka_Kinjyo
parents: 12
diff changeset
349 </table>
Yutaka_Kinjyo
parents: 12
diff changeset
350
Yutaka_Kinjyo
parents: 12
diff changeset
351 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
352
Yutaka_Kinjyo
parents: 12
diff changeset
353 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
354 <h1>パイプライン化の比較</h1>
12
Yutaka_Kinjyo
parents:
diff changeset
355
13
Yutaka_Kinjyo
parents: 12
diff changeset
356 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
357 <caption>パイプライン化の効果(universe)</caption>
Yutaka_Kinjyo
parents: 12
diff changeset
358 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
359 <th></th>
Yutaka_Kinjyo
parents: 12
diff changeset
360 <th>FPS</th>
Yutaka_Kinjyo
parents: 12
diff changeset
361 <th>mail待ちの割合</th>
Yutaka_Kinjyo
parents: 12
diff changeset
362 <th>稼働率</th>
Yutaka_Kinjyo
parents: 12
diff changeset
363 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
364 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
365 <td>Pipelineあり</td>
Yutaka_Kinjyo
parents: 12
diff changeset
366 <td>19.6FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
367 <td>68.8%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
368 <td>29%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
369 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
370 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
371 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
372 <td>Pipelineなし</td>
Yutaka_Kinjyo
parents: 12
diff changeset
373 <td>17FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
374 <td>72.6%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
375 <td>25.4%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
376 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
377
Yutaka_Kinjyo
parents: 12
diff changeset
378 </table>
Yutaka_Kinjyo
parents: 12
diff changeset
379 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
380
Yutaka_Kinjyo
parents: 12
diff changeset
381 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
382 <h1>パイプライン化の比較</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
383
Yutaka_Kinjyo
parents: 12
diff changeset
384 地球と月を表示する例題(universe)を使用。
Yutaka_Kinjyo
parents: 12
diff changeset
385
Yutaka_Kinjyo
parents: 12
diff changeset
386 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
387 <caption>パイプライン化の効果(universe)</caption>
Yutaka_Kinjyo
parents: 12
diff changeset
388 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
389 <th></th>
Yutaka_Kinjyo
parents: 12
diff changeset
390 <th>FPS</th>
Yutaka_Kinjyo
parents: 12
diff changeset
391 <th>mail待ちの割合</th>
Yutaka_Kinjyo
parents: 12
diff changeset
392 <th>稼働率</th>
Yutaka_Kinjyo
parents: 12
diff changeset
393 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
394 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
395 <td>Pipelineあり</td>
Yutaka_Kinjyo
parents: 12
diff changeset
396 <td>19.6FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
397 <td>68.8%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
398 <td>29%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
399 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
400 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
401 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
402 <td>Pipelineなし</td>
Yutaka_Kinjyo
parents: 12
diff changeset
403 <td>17FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
404 <td>72.6%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
405 <td>25.4%</td>
Yutaka_Kinjyo
parents: 12
diff changeset
406 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
407
Yutaka_Kinjyo
parents: 12
diff changeset
408 </table>
Yutaka_Kinjyo
parents: 12
diff changeset
409 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
410
Yutaka_Kinjyo
parents: 12
diff changeset
411 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
412 <h1>RenderingEngine</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
413
Yutaka_Kinjyo
parents: 12
diff changeset
414 RenderingEngineでは、描画するためのテクスチャをSPEに読み込む必要がある<br>
Yutaka_Kinjyo
parents: 12
diff changeset
415
Yutaka_Kinjyo
parents: 12
diff changeset
416 テクスチャをSPE内でのキャッシュした。
12
Yutaka_Kinjyo
parents:
diff changeset
417
Yutaka_Kinjyo
parents:
diff changeset
418 <ul>
13
Yutaka_Kinjyo
parents: 12
diff changeset
419 <li>DrawSpan内で、描画するためのテクスチャデータを読み込む。</li>
Yutaka_Kinjyo
parents: 12
diff changeset
420 <li>テクスチャは分割さていて、必要な時に必要な部分を読み込む</li>
Yutaka_Kinjyo
parents: 12
diff changeset
421 <li>そこで、テクスチャをキャッシュするようにした(LRU)</li>
Yutaka_Kinjyo
parents: 12
diff changeset
422 <li>テクスチャのデータはハッシュで管理する</li>
12
Yutaka_Kinjyo
parents:
diff changeset
423 </ul>
Yutaka_Kinjyo
parents:
diff changeset
424
13
Yutaka_Kinjyo
parents: 12
diff changeset
425 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
426
Yutaka_Kinjyo
parents: 12
diff changeset
427 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
428 <h1>SPEのキャッシュ効果</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
429
Yutaka_Kinjyo
parents: 12
diff changeset
430 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
431 <caption>SPEのキャッシュの効果</caption>
Yutaka_Kinjyo
parents: 12
diff changeset
432 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
433 <th></th>
Yutaka_Kinjyo
parents: 12
diff changeset
434 <th>キャッシュなし</th>
Yutaka_Kinjyo
parents: 12
diff changeset
435 <th>キャッシュあり</th>
Yutaka_Kinjyo
parents: 12
diff changeset
436 <th>性能</th>
Yutaka_Kinjyo
parents: 12
diff changeset
437 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
438
Yutaka_Kinjyo
parents: 12
diff changeset
439 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
440 <td>ball_bound</td>
Yutaka_Kinjyo
parents: 12
diff changeset
441 <td>4FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
442 <td>30FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
443 <td>7.5倍</td>
Yutaka_Kinjyo
parents: 12
diff changeset
444 </tr>
12
Yutaka_Kinjyo
parents:
diff changeset
445
13
Yutaka_Kinjyo
parents: 12
diff changeset
446 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
447 <td>universe</td>
Yutaka_Kinjyo
parents: 12
diff changeset
448 <td>6FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
449 <td>17FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
450 <td>2.8倍</td>
Yutaka_Kinjyo
parents: 12
diff changeset
451 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
452
Yutaka_Kinjyo
parents: 12
diff changeset
453 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
454 <td>panel</td>
Yutaka_Kinjyo
parents: 12
diff changeset
455 <td>0.2FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
456 <td>2.6FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
457 <td>13倍</td>
Yutaka_Kinjyo
parents: 12
diff changeset
458 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
459
Yutaka_Kinjyo
parents: 12
diff changeset
460 </table>
Yutaka_Kinjyo
parents: 12
diff changeset
461
Yutaka_Kinjyo
parents: 12
diff changeset
462 <!--実は改良前の計測にバグが。
Yutaka_Kinjyo
parents: 12
diff changeset
463 キャッシュを無効にした場合にキャッシュヒットはしないが、
Yutaka_Kinjyo
parents: 12
diff changeset
464 キャッシュ処理は行う。つまり余計な処理が入っていた。
Yutaka_Kinjyo
parents: 12
diff changeset
465 -->
Yutaka_Kinjyo
parents: 12
diff changeset
466
Yutaka_Kinjyo
parents: 12
diff changeset
467 <!--テクスチャは頻繁に読み込みが行われるので、キャッシュは有効だった。-->
Yutaka_Kinjyo
parents: 12
diff changeset
468 <!--Span一つに対して、分割されたテクスチャが複数必要。
Yutaka_Kinjyo
parents: 12
diff changeset
469 Spanの数は、1920x1080 の解像度で、最低でも8000ほどのテクスチャ読み込みが起こる。-->
12
Yutaka_Kinjyo
parents:
diff changeset
470
Yutaka_Kinjyo
parents:
diff changeset
471 </div>
Yutaka_Kinjyo
parents:
diff changeset
472
13
Yutaka_Kinjyo
parents: 12
diff changeset
473
Yutaka_Kinjyo
parents: 12
diff changeset
474 <div class="slide">
Yutaka_Kinjyo
parents: 12
diff changeset
475 <h1>SPEのキャッシュ効果</h1>
Yutaka_Kinjyo
parents: 12
diff changeset
476
Yutaka_Kinjyo
parents: 12
diff changeset
477 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
478 <caption>SPEのキャッシュの効果</caption>
Yutaka_Kinjyo
parents: 12
diff changeset
479 <tr>
Yutaka_Kinjyo
parents: 12
diff changeset
480 <th></th>
Yutaka_Kinjyo
parents: 12
diff changeset
481 <th>キャッシュなし</th>
Yutaka_Kinjyo
parents: 12
diff changeset
482 <th>キャッシュあり</th>
Yutaka_Kinjyo
parents: 12
diff changeset
483 <th>性能差</th>
Yutaka_Kinjyo
parents: 12
diff changeset
484 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
485
Yutaka_Kinjyo
parents: 12
diff changeset
486 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
487 <td>ball_bound</td>
Yutaka_Kinjyo
parents: 12
diff changeset
488 <td>28FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
489 <td>30FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
490 <td>+2FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
491 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
492
Yutaka_Kinjyo
parents: 12
diff changeset
493 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
494 <td>universe</td>
Yutaka_Kinjyo
parents: 12
diff changeset
495 <td>22.9FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
496 <td>17FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
497 <td>-5.9FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
498 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
499
Yutaka_Kinjyo
parents: 12
diff changeset
500 <tr align="center">
Yutaka_Kinjyo
parents: 12
diff changeset
501 <td>panel</td>
Yutaka_Kinjyo
parents: 12
diff changeset
502 <td>5.0FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
503 <td>2.6FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
504 <td>-2.4FPS</td>
Yutaka_Kinjyo
parents: 12
diff changeset
505 </tr>
Yutaka_Kinjyo
parents: 12
diff changeset
506
Yutaka_Kinjyo
parents: 12
diff changeset
507 </table>
Yutaka_Kinjyo
parents: 12
diff changeset
508
Yutaka_Kinjyo
parents: 12
diff changeset
509 ball_bound は扱うテクスチャが少なく、小さい
Yutaka_Kinjyo
parents: 12
diff changeset
510
Yutaka_Kinjyo
parents: 12
diff changeset
511 </div>
Yutaka_Kinjyo
parents: 12
diff changeset
512
12
Yutaka_Kinjyo
parents:
diff changeset
513 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
514 <h1>MailQueueの効果</h1>
Yutaka_Kinjyo
parents:
diff changeset
515
Yutaka_Kinjyo
parents:
diff changeset
516 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents:
diff changeset
517 <caption>MailQueueの効果</caption>
Yutaka_Kinjyo
parents:
diff changeset
518 <tr>
Yutaka_Kinjyo
parents:
diff changeset
519 <th></th>
Yutaka_Kinjyo
parents:
diff changeset
520 <th>改良前</th>
Yutaka_Kinjyo
parents:
diff changeset
521 <th>改良後</th>
Yutaka_Kinjyo
parents:
diff changeset
522 <th>性能</th>
Yutaka_Kinjyo
parents:
diff changeset
523 </tr>
Yutaka_Kinjyo
parents:
diff changeset
524 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
525 <td>universe</td>
Yutaka_Kinjyo
parents:
diff changeset
526 <td>16FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
527 <td>18.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
528 <td>12%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
529 </tr>
Yutaka_Kinjyo
parents:
diff changeset
530 </table>
Yutaka_Kinjyo
parents:
diff changeset
531
Yutaka_Kinjyo
parents:
diff changeset
532 地球と月を表示する例題を使って計測した。
Yutaka_Kinjyo
parents:
diff changeset
533
Yutaka_Kinjyo
parents:
diff changeset
534 </div>
Yutaka_Kinjyo
parents:
diff changeset
535
Yutaka_Kinjyo
parents:
diff changeset
536 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
537 <h1>TaskArray</h1>
Yutaka_Kinjyo
parents:
diff changeset
538 Task毎のMailは、Task同士の依存関係を解決するために用いている。
Yutaka_Kinjyo
parents:
diff changeset
539
Yutaka_Kinjyo
parents:
diff changeset
540 <ul>
Yutaka_Kinjyo
parents:
diff changeset
541 <li>依存関係はグループ化できる</li>
Yutaka_Kinjyo
parents:
diff changeset
542 <li>TaskArrayを用いて複数のTaskのMailを一つに扱う</li>
13
Yutaka_Kinjyo
parents: 12
diff changeset
543 </ul><br>
12
Yutaka_Kinjyo
parents:
diff changeset
544
Yutaka_Kinjyo
parents:
diff changeset
545 Mailの数を減らせるので、Mailのための処理が減る。その分処理速度が上がる
Yutaka_Kinjyo
parents:
diff changeset
546
Yutaka_Kinjyo
parents:
diff changeset
547 </div>
Yutaka_Kinjyo
parents:
diff changeset
548
Yutaka_Kinjyo
parents:
diff changeset
549 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
550 <h1>TaskArray</h1>
Yutaka_Kinjyo
parents:
diff changeset
551
Yutaka_Kinjyo
parents:
diff changeset
552 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents:
diff changeset
553 <caption>TaskArrayの効果(universe)</caption>
Yutaka_Kinjyo
parents:
diff changeset
554 <tr>
Yutaka_Kinjyo
parents:
diff changeset
555 <th></th>
Yutaka_Kinjyo
parents:
diff changeset
556 <th>改良前</th>
Yutaka_Kinjyo
parents:
diff changeset
557 <th>改良後</th>
Yutaka_Kinjyo
parents:
diff changeset
558 <th>性能</th>
Yutaka_Kinjyo
parents:
diff changeset
559 </tr>
Yutaka_Kinjyo
parents:
diff changeset
560 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
561 <td>universe</td>
Yutaka_Kinjyo
parents:
diff changeset
562 <td>16FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
563 <td>18.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
564 <td>12%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
565 </tr>
Yutaka_Kinjyo
parents:
diff changeset
566 </table>
Yutaka_Kinjyo
parents:
diff changeset
567
Yutaka_Kinjyo
parents:
diff changeset
568 </div>
Yutaka_Kinjyo
parents:
diff changeset
569
Yutaka_Kinjyo
parents:
diff changeset
570
Yutaka_Kinjyo
parents:
diff changeset
571 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
572 <h1>MailQueueとTaskArray</h1>
Yutaka_Kinjyo
parents:
diff changeset
573
Yutaka_Kinjyo
parents:
diff changeset
574 <table border="1" cellspacing="0" cellspacing="2" cellpadding="8" align="center">
Yutaka_Kinjyo
parents:
diff changeset
575 <caption>MailQueueとTaskArrayの効果(universe)</caption>
Yutaka_Kinjyo
parents:
diff changeset
576 <tr>
Yutaka_Kinjyo
parents:
diff changeset
577 <th>TaskArray</th>
Yutaka_Kinjyo
parents:
diff changeset
578 <th>MailQueue</th>
Yutaka_Kinjyo
parents:
diff changeset
579 <th>FPS</th>
Yutaka_Kinjyo
parents:
diff changeset
580 <th>性能</th>
Yutaka_Kinjyo
parents:
diff changeset
581 </tr>
Yutaka_Kinjyo
parents:
diff changeset
582 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
583 <td>あり</td>
Yutaka_Kinjyo
parents:
diff changeset
584 <td>あり</td>
Yutaka_Kinjyo
parents:
diff changeset
585 <td>20FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
586 <td>22%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
587 </tr>
Yutaka_Kinjyo
parents:
diff changeset
588 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
589 <td>あり</td>
Yutaka_Kinjyo
parents:
diff changeset
590 <td>なし</td>
Yutaka_Kinjyo
parents:
diff changeset
591 <td>18.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
592 <td>12%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
593 </tr>
Yutaka_Kinjyo
parents:
diff changeset
594 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
595 <td>なし</td>
Yutaka_Kinjyo
parents:
diff changeset
596 <td>あり</td>
Yutaka_Kinjyo
parents:
diff changeset
597 <td>18.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
598 <td>12%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
599 </tr>
Yutaka_Kinjyo
parents:
diff changeset
600 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
601 <td>なし</td>
Yutaka_Kinjyo
parents:
diff changeset
602 <td>なし</td>
Yutaka_Kinjyo
parents:
diff changeset
603 <td>16.4FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
604 <td>0%向上</td>
Yutaka_Kinjyo
parents:
diff changeset
605 </tr>
Yutaka_Kinjyo
parents:
diff changeset
606 </table>
Yutaka_Kinjyo
parents:
diff changeset
607
Yutaka_Kinjyo
parents:
diff changeset
608 </div>
Yutaka_Kinjyo
parents:
diff changeset
609
Yutaka_Kinjyo
parents:
diff changeset
610
Yutaka_Kinjyo
parents:
diff changeset
611 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
612 <h1>OpenGLとの比較</h1>
Yutaka_Kinjyo
parents:
diff changeset
613 OpenGL(Open Graphics Library)とは、Silicon Graphics社が開発した、3Dグラフィックス処理の
Yutaka_Kinjyo
parents:
diff changeset
614 ためのプログラミングインターフェース。Taskに分割され、SPEを使用したCeriumと、PPEのみで動作
13
Yutaka_Kinjyo
parents: 12
diff changeset
615 するOpenGLとで、処理速度の比較をした。<br><br>
Yutaka_Kinjyo
parents: 12
diff changeset
616
Yutaka_Kinjyo
parents: 12
diff changeset
617 比較する例題には学生が実験中に作成したSuperDandyを用いた。
12
Yutaka_Kinjyo
parents:
diff changeset
618 </div>
Yutaka_Kinjyo
parents:
diff changeset
619
Yutaka_Kinjyo
parents:
diff changeset
620 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
621 <h1>OpenGLとの比較</h1>
Yutaka_Kinjyo
parents:
diff changeset
622
Yutaka_Kinjyo
parents:
diff changeset
623 <table border="1" cellspacing="0" cellspacing="2" cellpadding="10" align="center">
Yutaka_Kinjyo
parents:
diff changeset
624 <tr>
Yutaka_Kinjyo
parents:
diff changeset
625 <th></th>
Yutaka_Kinjyo
parents:
diff changeset
626 <th>OpenGL</th>
Yutaka_Kinjyo
parents:
diff changeset
627 <th>Cerium</th>
Yutaka_Kinjyo
parents:
diff changeset
628 <th>性能差</th>
Yutaka_Kinjyo
parents:
diff changeset
629 </tr>
Yutaka_Kinjyo
parents:
diff changeset
630 <tr align="center">
Yutaka_Kinjyo
parents:
diff changeset
631 <td>dandy</td>
Yutaka_Kinjyo
parents:
diff changeset
632 <td>17.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
633 <td>49.5FPS</td>
Yutaka_Kinjyo
parents:
diff changeset
634 <td>2.9倍</td>
Yutaka_Kinjyo
parents:
diff changeset
635 </tr>
Yutaka_Kinjyo
parents:
diff changeset
636 </table>
Yutaka_Kinjyo
parents:
diff changeset
637
Yutaka_Kinjyo
parents:
diff changeset
638 コア一つを使用するOpenGLに比べ、Cerium では2.9倍の性能向上が見られた。
Yutaka_Kinjyo
parents:
diff changeset
639 SPEを活用、待ち時間の短縮を行い、性能向上がみれた。
Yutaka_Kinjyo
parents:
diff changeset
640
Yutaka_Kinjyo
parents:
diff changeset
641 </div>
Yutaka_Kinjyo
parents:
diff changeset
642
Yutaka_Kinjyo
parents:
diff changeset
643
Yutaka_Kinjyo
parents:
diff changeset
644
Yutaka_Kinjyo
parents:
diff changeset
645
Yutaka_Kinjyo
parents:
diff changeset
646
Yutaka_Kinjyo
parents:
diff changeset
647 <div class="slide">
Yutaka_Kinjyo
parents:
diff changeset
648 <h1>END</h1>
Yutaka_Kinjyo
parents:
diff changeset
649
Yutaka_Kinjyo
parents:
diff changeset
650 /*end*/
Yutaka_Kinjyo
parents:
diff changeset
651
Yutaka_Kinjyo
parents:
diff changeset
652 </div>
Yutaka_Kinjyo
parents:
diff changeset
653
Yutaka_Kinjyo
parents:
diff changeset
654
Yutaka_Kinjyo
parents:
diff changeset
655 </ul>
Yutaka_Kinjyo
parents:
diff changeset
656
Yutaka_Kinjyo
parents:
diff changeset
657 <div class="handout">
Yutaka_Kinjyo
parents:
diff changeset
658 [any material that should appear in print but not on the slide]
Yutaka_Kinjyo
parents:
diff changeset
659 </div>
Yutaka_Kinjyo
parents:
diff changeset
660 </div>
Yutaka_Kinjyo
parents:
diff changeset
661
Yutaka_Kinjyo
parents:
diff changeset
662
Yutaka_Kinjyo
parents:
diff changeset
663 </div>
Yutaka_Kinjyo
parents:
diff changeset
664
Yutaka_Kinjyo
parents:
diff changeset
665 </body>
Yutaka_Kinjyo
parents:
diff changeset
666 </html>