changeset 18:cd7b9bc863ea

fix
author Yutaka_Kinjyo
date Sun, 12 Sep 2010 16:42:16 +0900
parents 414eb904c1ba
children a614fe775dd1
files presen/presen.html
diffstat 1 files changed, 33 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/presen/presen.html	Sun Sep 12 16:22:33 2010 +0900
+++ b/presen/presen.html	Sun Sep 12 16:42:16 2010 +0900
@@ -556,11 +556,11 @@
 <div class="slide">
 <h1>WordCount</h1>
 
+WordCount の dma wait 
+
 <ul>
-  <li>PPEで実行するTaskがないためPPEのMailチェックが間に合っている</li>
-  <li>ファイルのサイズが大き場合に、マッピングの際大量にメモリを消費してしまう。</li>
-  <li>それによってdmaでのメモリアクセスする際にスワッピングが起きていると考える</li>
-  <li>なので、メモリへのアクセスは局所性を維持したほうがよい</li>
+  <li>大きなファイルをメモリにマッピングするためスワップが起きる</li>
+  <li>dmaでメモリにアクセスするときに、時間がかかり待ち時間が生じるていると考えられる</li>
 </ul>
 
 </div>
@@ -571,10 +571,38 @@
 メモリアクセスの局所性を維持するために
 
 <ul>
-  <li>一度に
+  <li>一度にすべてのTaskを生成せず、一定のTaskを生成、実行を繰り返す</li>
   <li>同期する地点を設け、特定のSPEがはしり過ぎないようにする</li>
 </ul>
 
+<table border="3" style="width:100%;">
+<tr>
+<th></th>
+<th>一度に生成</th>
+<th>分割して生成</th>
+</tr>
+<tr>
+<th>time</th>
+<td align="center">2.083s</td>
+<td align="center">2.481s</td>
+
+</tr>
+<tr>
+<th>dma wait</th>
+<td align="center">17%</td>
+<td align="center">9(<font color="red">-8</font>)%</td>
+
+</tr>
+<tr>
+<th>mail wait</th>
+<td align="center">2%</td>
+<td align="center">22(+20)%</td>
+</tr>
+
+<caption>WordCountの比較</caption>
+
+</table><br>
+
 </div>
 
 <div class="slide">