comparison paper/chapter4.tex @ 41:a59ede6b5a5a

Writed chapter4
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Wed, 29 Jan 2014 03:37:51 +0900
parents 8ea1a684bfbe
children 585196deaace
comparison
equal deleted inserted replaced
40:8ea1a684bfbe 41:a59ede6b5a5a
122 \begin{lstlisting}[frame=lrbt,label=src:max_up_filedisc,caption=ファイル記述子の制限を増やす,numbers=left] 122 \begin{lstlisting}[frame=lrbt,label=src:max_up_filedisc,caption=ファイル記述子の制限を増やす,numbers=left]
123 % ulimit -n 10000 123 % ulimit -n 10000
124 \end{lstlisting} 124 \end{lstlisting}
125 125
126 \section{実験結果1} 126 \section{実験結果1}
127 サーバノード数は10台から50台まで10台単位でweighttpにより負荷をかけ測定した.
128 weighttpに付けたオプションは以下のとおりである
129 \begin{lstlisting}[frame=lrbt,label=src:weighttp_op,caption=weighttpのオプション,numbers=left]
130 weighttp -n 1000000 -c 1000 -t 10 -k "http://url"
131 \end{lstlisting}
132 ネイティブスレッドを10個生成し, 同時接続は1000までで, 百万リクエストを送るオプションとなっている.
127 133
134 実験の結果を示す.
135 縦軸は全てのリクエストに対してレスポンスが返ってくるのにかかった時間(秒), 横軸は
136 サーバノード数を表す.
137 Jungle と, Cassandra のコンシステンシー・レベルをQUORUM, ONEと両方の結果を測定した.
138 Cassandraのレプリケーションは5である.
128 139
129 \begin{figure}[htpb] 140 \begin{figure}[htpb]
130 \begin{center} 141 \begin{center}
131 \includegraphics[scale=1.0]{figures/read_bench.pdf} 142 \includegraphics[scale=1.0]{figures/read_bench.pdf}
132 \caption{読み込みベンチマーク結果} 143 \caption{読み込みベンチマーク結果}
133 \label{fig:read_cassandra} 144 \label{fig:read_cassandra}
134 \end{center} 145 \end{center}
135 \end{figure} 146 \end{figure}
136 147
137
138 \begin{figure}[htpb] 148 \begin{figure}[htpb]
139 \begin{center} 149 \begin{center}
140 \includegraphics[scale=1.0]{figures/write_bench.pdf} 150 \includegraphics[scale=1.0]{figures/write_bench.pdf}
141 \caption{書き込みベンチマーク結果} 151 \caption{書き込みベンチマーク結果}
142 \label{fig:write_cassandra} 152 \label{fig:write_cassandra}
143 \end{center} 153 \end{center}
144 \end{figure} 154 \end{figure}
145 155
156 読み込み, 書き込み, どちらともJungleが3倍以上の性能の差を出していることが確認できる.
157
158
159
160
146 \section{実験結果2} 161 \section{実験結果2}
147 162
148 163
149 164