comparison paper/chapter3.tex @ 4:6cf0f731cbde draft

fix
author Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Wed, 08 Feb 2012 21:49:40 +0900
parents 5dbcea03717e
children 20d87c5e225a
comparison
equal deleted inserted replaced
2:8f30309c4096 4:6cf0f731cbde
17 \end{center} 17 \end{center}
18 \caption{wordcount flow} 18 \caption{wordcount flow}
19 \label{fig:wc-graf} 19 \label{fig:wc-graf}
20 \end{figure} 20 \end{figure}
21 21
22 サイズを 100MB, 200MB としたテキストファイルを対象に、速度の測定を行った。Linux wc は PS3上の Linux のが提供するwcコマンドを用いた結果で PPE 1基を利用したものである。Cerium wc は SPE 6基 を用い今回実装した word count の計測結果である。(\tabref{wc_speed})
23
24 \begin{table}[!htb]
25 \begin{center}
26 \caption{speed of WordCount} \label{tab:wc_speed}
27 \hbox to\hsize{\hfil
28 \begin{tabular}{|c|c|c|c|} \hline
29 wc & file size(MB) & time(sec) \\ \hline
30 Linux & 100 & 30.9 \\ \hline
31 Linux & 200 & 62.8 \\ \hline
32 Cerium & 100 & 2.2 \\ \hline
33 Cerium & 200 & 12.8 \\ \hline
34 \end{tabular}\hfil}
35 \end{center}
36 \end{table}
37
38 100MBのテキストを扱う場合には、Linux と比べ15倍ほどの差が見られた。200MB の場合は約5倍ほどであるのは、PPE のメモリ容量が256MBとなっており、200MBのファイルを扱う場合には、頻繁にスワップなどが起きているため、ファイルのIOの部分でのオーバヘッドが高いと考えられる。通常のwcコマンドよりも Cerium を用いた wc が高い性能を示した。
22 39
23 \section{Sort} 40 \section{Sort}
24 41
25 \section{Prime} 42 \section{Prime}
26 43