Linuxをベンチマークしてみる

Linux

本ページは広告が含まれています。気になる広告をクリック頂けますと、サーバ運営費になります(^^

Ubuntuでベンチマークしてみる

UnixBenchの使い方

インストール方法

sudo apt-get install make gcc
git clone https://github.com/kdlucas/byte-unixbench.git

実行方法

/byte-unixbench/UnixBench$ ./Run

 

テスト項目の解説

GitHub - kdlucas/byte-unixbench: Automatically exported from code.google.com/p/byte-unixbench
Automatically exported from code.google.com/p/byte-unixbench - GitHub - kdlucas/byte-unixbench: Automatically exported f...

Dhrystone

The test focuses on string handling, as there are no floating point operations.
文字列操作のパフォーマンス計測。浮動小数点演算は含まない。

Whetstone

This test measures the speed and efficiency of floating-point operations.
浮動小数点計算のパフォーマンス計測。

execl Throughput

This test measures the number of execl calls that can be performed per second.
1秒間に何回execlを呼び出せるかを計測。
※現在のプロセスイメージを新しいプロセスイメージで置き 換えます。

File Copy

This measures the rate at which data can be transferred from one file to another, using various buffer sizes.
様々なバッファサイズで単位時間(デフォルト10秒)に可能なread,write,copyを計測。

Pipe Throughput

Pipe throughput is the number of times (per second) a process can write 512 bytes to a pipe and read them back.
1秒間に何回512bytesのデータをpipeに送り応答をreadできるか計測。

Pipe-based Context Switching

This test measures the number of times two processes can exchange an increasing integer through a pipe.
2つのプロセスがpipeを通して整数値をやりとりする際のスループットを計測

Process Creation

This test measure the number of times a process can fork and reap a child that immediately exits.
直ちに終了する子プロセスを何回もforkするテスト。
OSのプロセス生成に関する実装の比較に用いられる。
※fork プロセスのコピーを生成するもの

Shell Scripts

The shells scripts test measures the number of times per minute a process can start and reap a set of one, two, four and eight concurrent copies of a shell scripts where the shell script applies a series of transformation to a data file.
データ変換処理をするシェルスクリプトを並列起動し(1,2,4,8並列)、1分間に開始/停止を何回繰り返せるか計測。

System Call Overhead

This estimates the cost of entering and leaving the operating system kernel, i.e., the overhead for performing a system call.
システムコールにかかるコストの見積もりテスト。

Graphical Tests

Both 2D and 3D graphical tests are provided; at the moment, the 3D suite in particular is very limited, consisting of the ubgears program.
2D, 3Dグラフィック描画の簡易テスト。

タイトルとURLをコピーしました