• home
  • about
  • 全ての投稿
  • ソフトウェア・ハードウェアの設定のまとめ
  • 分析関連のまとめ
  • ヘルスケア関連のまとめ
  • 生涯学習関連のまとめ

unixbench

date: 2021-09-05 excerpt: unixbenchの使い方

tag: unixbench


unixbenchの使い方

概要

  • UnixやLinux向けのベンチマークソフト
  • 実行にはperl, gcc, g++が必要
  • 一回の実行に時間がかかるためサンプルサイズを指定する-iオプションを付けるとよい
  • macOSで使用するにはgccとclangの互換性問題を避けるためpatchを当てる

インストール

ubuntu

$ wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/byte-unixbench/UnixBench5.1.3.tgz
$ tar zxvf UnixBench5.1.3.tgz
$ cd UnixBench

macOS

$ wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/byte-unixbench/UnixBench5.1.3.tgz
$ tar zxvf UnixBench5.1.3.tgz
$ cd UnixBench
$ git clone https://gist.github.com/11033924.git
$ patch -p1 < ./11033924/UnixBench5.1.3.mavericks.patch

実行

$ ./Run -i 1

コア数を指定して実行

$ ./Run -i 1 -c <コア数>

サンプル結果

ubuntu, ryzen 3700x

# シングルコア
System Benchmarks Index Score                                        2036.4
# マルチコア
System Benchmarks Index Score                                        8266.5

ubuntu, ryzen 5700G

# シングルコア
System Benchmarks Index Score                                        2786.6
# マルチコア
System Benchmarks Index Score                                       16117.7

macOS, m1

# シングルコア
System Benchmarks Index Score                                        1545.4
# マルチコア
System Benchmarks Index Score                                        2485.2

MS-R1 CP8180

# シングルコア
System Benchmarks Index Score                                         938.8
# マルチコア
System Benchmarks Index Score                                        4016.5

windows 11, wsl2, ubuntu, ryzen 3800x

# シングルコア
System Benchmarks Index Score                                        1221.6
# マルチコア
System Benchmarks Index Score                                        5989.3

ubuntu, Oracle Cloud Always Free(Arm 4CPU, 24GB)

# シングルコア
System Benchmarks Index Score                                        1539.9
# マルチコア
System Benchmarks Index Score                                        3434.3


unixbench Share Tweet