diff paper/chapter4.tex @ 44:618adf0a9b2b

Added some figures
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Thu, 30 Jan 2014 16:15:32 +0900
parents 585196deaace
children c63aaa629330
line wrap: on
line diff
--- a/paper/chapter4.tex	Wed Jan 29 21:11:36 2014 +0900
+++ b/paper/chapter4.tex	Thu Jan 30 16:15:32 2014 +0900
@@ -45,7 +45,8 @@
 
 \subsection{weighttp}
 最初の実験で1つのノードに負荷をかけるプログラムはウェブサーバの測定ツールであるweighttpを使用する.
-weighttpは総リクエスト数, 同時接続数, ネイティブスレッド数をオプションとして指定することができる.
+weighttpは総リクエスト数, 同時接続数, ネイティブスレッド数をオプションとして指定することができるC言語
+でかかれたプログラムである.
 
 
 \subsection{掲示板プログラム}
@@ -69,6 +70,7 @@
 Memory & 8GB \\ \hline
 OS & CentOS 5.8 \\ \hline
 HyperVisor & VMWare ESXi \\ \hline
+JavaVM & Java(TM) SE Runtime Environment (build 1.7.0-b147) \\ \hline
 \end{tabular}
 \end{center}
 \end{table}
@@ -83,6 +85,7 @@
 Memory & 8GB \\ \hline
 OS & CentOS 5.8 \\ \hline
 HyperVisor & KVM \\ \hline
+JavaVM & Java(TM) SE Runtime Environment (build 1.7.0-b147) \\ \hline
 \end{tabular}
 \end{center}
 \end{table}
@@ -102,7 +105,6 @@
 論理コア数 & 24 \\ \hline
 Memory & 132GB \\ \hline
 OS & Fedora 16 \\ \hline
-JavaVM & Java(TM) SE Runtime Environment (build 1.7.0-b147) \\ \hline
 \end{tabular}
 \end{center}
 \end{table}
@@ -158,7 +160,40 @@
 
 
 
+
 \section{実験結果2}
+学科の並列環境クラスタを用いて分散環境下での実験を行う
+学科の提供するVMは48台だが, ブレードサーバ上で動くKVMから12台を利用し, 合計60台を使用する.
+JungleとCassandraをそれぞれサーバノード10台, 20台, 30台で動かし, クライアントも10台, 20台, 30台
+と増やして負荷をかける.
+KVM側はクライアント側だけに利用する.
+weighttpに付けたオプションを以下の通りである.
+\begin{lstlisting}[frame=lrbt,label=src:distributed_weighttp_op,caption=weighttpのオプション(実験2),numbers=left]
+weighttp -n 50000 -c 200 -t 2 -k "http://url"
+\end{lstlisting}
+クライアント1台からはそれぞれ5万のHTTPリクエストが送られる.
+実験1に比べ同時接続数とネイティブスレッド数が少ないのはVMの環境に合わせてあるからである.
+
+測定は読み込みと書き込みの両方を行う.
+測定の結果をグラフにしたのを図\ref{fig:distributed_read_bench}, \ref{fig:distributed_write_bench}に示す.
+
+\begin{figure}[htpb]
+  \begin{center}
+    \includegraphics[scale=1.0]{figures/distributed_read_bench.pdf}
+    \caption{分散環境下における読み込みベンチマーク結果}
+    \label{fig:distributed_read_bench}
+  \end{center}
+\end{figure}
+
+\begin{figure}[htpb]
+  \begin{center}
+    \includegraphics[scale=1.0]{figures/distributed_write_bench.pdf}
+    \caption{分散環境下における書き込みベンチマーク結果}
+    \label{fig:distributed_write_bench}
+  \end{center}
+\end{figure}
 
 
 
+
+