Difference between revisions of "UnixBench"

From OnnoWiki
Jump to navigation Jump to search
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
Untuk melakukan benchmarking kemampuan komputasi komputer yang kita gunakan. Ada banyak test yang dilakukan oleh UnixBench yang lumayan memusingkan untuk di bahas dalam waktu yang singkat. Yang menarik UnixBench akan pada akhirnya memberikan Final Score dari komputer yang kita evaluasi / benchmarking. Hanya saja tampaknya UnixBench ini belum memanfaatkan secara penuh  kemampuan multiprocessor yang ada di sebuah mesin. Jadi untuk sebuah mesin Xeon Quad, maka score UnixBench mungkin perlu dikalikan dengan jumlah processor yang ada, karena memang unixbench belum memanfaatkan penuh multiprocessor yang ada.
+
Untuk melakukan benchmarking kemampuan komputasi komputer yang kita gunakan. Ada banyak test yang dilakukan oleh UnixBench yang lumayan memusingkan untuk di bahas dalam waktu yang singkat. Yang menarik UnixBench akan pada akhirnya memberikan Final Score dari komputer yang kita evaluasi / benchmarking.
 +
 
 +
UnixBench versi 4.1.0 lebih di arahkan untuk single processor. UnixBench 5.1.3 lebih di arahkan untuk multicore.
  
 
Dari hasil evaluasi yang ada tampak bahwa score UnixBench untuk masing-masing processor berikut adalah,
 
Dari hasil evaluasi yang ada tampak bahwa score UnixBench untuk masing-masing processor berikut adalah,
Line 5: Line 7:
 
  Intel Pentium III 179.6
 
  Intel Pentium III 179.6
 
  Axioo Seri N Centrino Duo 687.1
 
  Axioo Seri N Centrino Duo 687.1
  Rainer Server Xeon Quad 867.0 (perlu di kali 4)
+
  Rainer Server Xeon Quad Lama 867.0 (perlu di kali 4)
 
+
Rainer Server  Xeon Quad Baru
  
 
==Instalasi==
 
==Instalasi==
  
  apt-get install x11proto-xext-dev x-dev libx11-xcb-dev
+
  apt update
 +
apt install mesa-common-dev libsdl-net1.2-dev libsdl-net1.2 unzip
 +
apt install mesa-common-dev libsdl* unzip
  
 
Download
 
Download
  
  http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
+
  http://code.google.com/p/byte-unixbench/downloads/detail?name=UnixBench5.1.3.tgz&can=2&q=
 +
 
 +
Atau
 +
 
 +
cd /usr/local/src
 +
wget https://github.com/kdlucas/byte-unixbench/archive/master.zip
 +
unzip master.zip
 +
cd /usr/local/src/byte-unixbench-master/UnixBench
 +
 
 +
Lanjutkan ..
 +
 
 +
cd /usr/local/src/byte-unixbench-master/UnixBench
 +
make
 +
./Run
 +
 
 +
Simpan hasil dengan cara
  
  cp unixbench-5.1.2.tar.gz /usr/local/src/
+
  cd /usr/local/src/byte-unixbench-master/UnixBench
cd /usr/local/src/
+
  ./Run > hasil.txt
  tar zxvf unixbench-5.1.2.tar.gz
+
 
  cd /usr/local/src/unixbench-5.1.2
+
   
 +
 
 +
===Pada masa lalu===
 +
 
 +
Hal ini di ubuntu 18.04 tampaknya sudah solved.
  
 
Entah kenapa -lXext tidak tersedia di Ubuntu source Makefile perlu di edit
 
Entah kenapa -lXext tidak tersedia di Ubuntu source Makefile perlu di edit
  
  cd /usr/local/src/unixbench-5.1.2
+
  cd /usr/local/src/UnixBench
 
  vi Makefile
 
  vi Makefile
  
Line 32: Line 55:
 
  GL_LIBS = -lGL -lX11
 
  GL_LIBS = -lGL -lX11
  
Lanjutkan ..
+
==Hasil UnixBench 4.1.0==
 
 
cd /usr/local/src/unixbench-5.1.2
 
make
 
./Run
 
  
==Detail Proses Evaluasi Dengan UnixBench 4.1.0==
+
* [[UnixBench 4.1.0: Laptop Axioo Zetta FINAL SCORE 382.4]]
 +
* [[UnixBench 4.1.0: Laptop Celeron FINAL SCORE 599.4]]
 +
* [[UnixBench 4.1.0: Xeon Quad FINAL SCORE 867.0]]
 +
* [[UnixBench 4.1.0: Server Rainer Quad CPU X3430 @ 2.40GHz FINAL SCORE 940.6]]
  
Detail proses evaluasi oleh UnixBench tampak pada cuplikan di bawah ini. Pada dasarnya yang perlu kita lakukan hanya (1) membuka file tar, dan (2) menjalankan ./Run dari folder UnixBench. Tampilannya adalah sebagai berikut,
+
==Hasil UnixBench 5.1.2==
 
 
make all
 
make[1]: Entering directory `/usr/local/src/unixbench-4.1.0'
 
Checking distribution of files
 
./pgms  exists
 
./src  exists
 
./testdir  exists
 
./tmp  exists
 
./results  exists
 
make[1]: Leaving directory `/usr/local/src/unixbench-4.1.0'
 
 
    #    #  #    #  #  #    #          #####  ######  #    #  ####  #    #
 
    #    #  ##  #  #  #  #          #    #  #      ##  #  #    #  #    #
 
    #    #  # #  #  #    ##            #####  #####  # #  #  #      ######
 
    #    #  #  # #  #    ##            #    #  #      #  # #  #      #    #
 
    #    #  #  ##  #  #  #          #    #  #      #  ##  #    #  #    #
 
    ####  #    #  #  #    #          #####  ######  #    #  ####  #    #
 
 
                  4        1          Based on the Byte Magazine Unix Benchmark
 
                44      11
 
    v  v      4 4        1
 
    v v      44444      1          v4.1 revisions mostly by David C. Niemi,
 
      v          4  o  111          Reston, VA, USA  <niemi@tux.org>
 
 
 
 
 
 
Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10
 
 
Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10
 
 
System Call Overhead  1 2 3 4 5 6 7 8 9 10
 
 
Pipe Throughput  1 2 3 4 5 6 7 8 9 10
 
 
Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10
 
 
Process Creation  1 2 3
 
 
Execl Throughput  1 2 3
 
 
Filesystem Throughput 1024 bufsize 2000 maxblocks  1 2 3
 
 
Filesystem Throughput 256 bufsize 500 maxblocks  1 2 3
 
 
Filesystem Throughput 4096 bufsize 8000 maxblocks  1 2 3
 
 
Shell Scripts (1 concurrent)  1 2 3
 
Shell Scripts (8 concurrent)  1 2 3
 
Shell Scripts (16 concurrent)  1 2 3
 
 
Arithmetic Test (type = short)  1 2 3
 
 
Arithmetic Test (type = int)  1 2 3
 
 
Arithmetic Test (type = long)  1 2 3
 
 
Arithmetic Test (type = float)  1 2 3
 
 
Arithmetic Test (type = double)  1 2 3
 
 
Arithoh  1 2 3
 
 
C Compiler Throughput  1 2 3
 
 
Dc: sqrt(2) to 99 decimal places  1 2 3
 
 
Recursion Test--Tower of Hanoi  1 2 3
 
 
==============================================================
 
 
  BYTE UNIX Benchmarks (Version 4.1.0)
 
  System -- Linux ubuntu.test.co.id 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 GNU/Linux
 
  Start Benchmark Run: Mon Aug 13 06:58:08 WIT 2007
 
    1 interactive users.
 
    06:58:08 up 6 min,  1 user,  load average: 1.29, 0.95, 0.45
 
  lrwxrwxrwx 1 root root 4 2007-08-11 21:21 /bin/sh -> dash
 
  /bin/sh: symbolic link to `dash'
 
  /dev/sda1              9614116  2424588  6701156  27% /
 
Dhrystone 2 using register variables    8817660.0 lps  (10.0 secs, 10 samples)
 
Double-Precision Whetstone                1855.8 MWIPS (10.1 secs, 10 samples)
 
System Call Overhead                    1330497.9 lps  (10.0 secs, 10 samples)
 
Pipe Throughput                          946733.7 lps  (10.0 secs, 10 samples)
 
Pipe-based Context Switching            208263.7 lps  (10.0 secs, 10 samples)
 
Process Creation                          11352.3 lps  (30.0 secs, 3 samples)
 
Execl Throughput                          2843.4 lps  (29.7 secs, 3 samples)
 
File Read 1024 bufsize 2000 maxblocks    1535854.0 KBps  (30.0 secs, 3 samples)
 
File Write 1024 bufsize 2000 maxblocks  676668.0 KBps  (30.0 secs, 3 samples)
 
File Copy 1024 bufsize 2000 maxblocks    461129.0 KBps  (30.0 secs, 3 samples)
 
File Read 256 bufsize 500 maxblocks      380678.0 KBps  (30.0 secs, 3 samples)
 
File Write 256 bufsize 500 maxblocks    166056.0 KBps  (30.0 secs, 3 samples)
 
File Copy 256 bufsize 500 maxblocks      120679.0 KBps  (30.0 secs, 3 samples)
 
File Read 4096 bufsize 8000 maxblocks    2620935.0 KBps  (30.0 secs, 3 samples)
 
File Write 4096 bufsize 8000 maxblocks  1769559.0 KBps  (30.0 secs, 3 samples)
 
File Copy 4096 bufsize 8000 maxblocks    1010714.0 KBps  (30.0 secs, 3 samples)
 
Shell Scripts (1 concurrent)              3664.4 lpm  (60.0 secs, 3 samples)
 
Shell Scripts (8 concurrent)                948.8 lpm  (60.0 secs, 3 samples)
 
Shell Scripts (16 concurrent)              517.9 lpm  (60.0 secs, 3 samples)
 
Arithmetic Test (type = short)          1628116.7 lps  (10.0 secs, 3 samples)
 
Arithmetic Test (type = int)            1622095.2 lps  (10.0 secs, 3 samples)
 
Arithmetic Test (type = long)            1619780.3 lps  (10.0 secs, 3 samples)
 
Arithmetic Test (type = float)          565044.4 lps  (10.0 secs, 3 samples)
 
Arithmetic Test (type = double)          565630.3 lps  (10.0 secs, 3 samples)
 
Arithoh                                      nan lps  (10.0 secs, 3 samples)
 
C Compiler Throughput                      962.2 lpm  (60.0 secs, 3 samples)
 
Dc: sqrt(2) to 99 decimal places          84584.6 lpm  (30.0 secs, 3 samples)
 
Recursion Test--Tower of Hanoi            88032.9 lps  (20.0 secs, 3 samples)
 
 
 
                      INDEX VALUES           
 
TEST                                        BASELINE    RESULT      INDEX
 
 
Dhrystone 2 using register variables        116700.0  8817660.0      755.6
 
Double-Precision Whetstone                      55.0    1855.8      337.4
 
Execl Throughput                                43.0    2843.4      661.3
 
File Copy 1024 bufsize 2000 maxblocks        3960.0  461129.0    1164.5
 
File Copy 256 bufsize 500 maxblocks          1655.0  120679.0      729.2
 
File Copy 4096 bufsize 8000 maxblocks        5800.0  1010714.0    1742.6
 
Pipe Throughput                              12440.0  946733.7      761.0
 
Process Creation                              126.0    11352.3      901.0
 
Shell Scripts (8 concurrent)                    6.0      948.8    1581.3
 
System Call Overhead                        15000.0  1330497.9      887.0
 
                                                                  =========
 
      FINAL SCORE                                                    867.0
 
  
 +
* [[UnixBench 5.2.1: Laptop Celeron CPU 550 @ 2.00GHz FINAL SCORE 649.0]]
 +
* [[UnixBench 5.2.1: Laptop Axioo Zetta Dual CPU U7300 @ 1.30GHz FINAL SCORE 745.2]]
 +
* [[UnixBench 5.2.1: Server Rainer Quad CPU X3430 @ 2.40GHz FINAL SCORE 2871.5]]
  
==Detail Proses Evaluasi Dengan UnixBench 5.1.2==
+
==Hasil UnixBench 5.1.3==
  
  
 +
* [[UnixBench 5.1.3: RaspberryPi 3 Quad Core ARM Cortex-A53 @ 1.2GHz 1GB RAM SCORE 426.7]]
 +
* [[UnixBench 5.1.3: Asus VivoMini UN45H Intel® Braswell Dual-Core Celeron N3000 2 GB RAM SCORE 679.2]]
 +
* [[UnixBench 5.1.3: Pentium Dual Core T2390 1.86GHz FINAL SCORE 1082]]
 +
* [[UnixBench 5.1.3: Pentium Dual Core T2390 1.86GHz FINAL SCORE 1289]]
 +
* [[UnixBench 5.1.3: Intel Next Unit of Computing  Quad Core i5-3427U vPro CPU @ 1.80GHz FINAL SCORE 2994.2]]
 +
* [[UnixBench 5.1.3: Server Rainer Quad CPU Baru FINAL SCORE 3922]]
  
 
==Referensi==
 
==Referensi==
Line 177: Line 85:
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 +
* [[Linux]]
 +
* [[Ubuntu]]
 +
* [[Linux: CLI untuk Survival]]
 +
* [[Sistem Operasi]]
 +
* [[Linux: Instalasi Sistem Operasi]]
 +
* [[Linux: Skema Partisi di Linux]]
 +
* [[Kernel]]
 +
* [[Compile Kernel]]
 +
* [[Compile Kernel: Konfigurasi Kernel]]
 +
* [[Kernel: Anatomi Kernel Source]]
 +
* [[OS: Linux Kernel]]
 +
* [[OS: Parameter Kernel Default]]
 +
* [[OS: Kernel Scheduler]]
 +
* [[OS: Complete Teori Tuning Kernel Scheduler]]
 +
* [[OS: Complete Teori Tuning I/O Performance]]
 +
* [[OS: Tuning Manajemen Memory]]
 +
* [[OS: Tuning Kernel Scheduler]]
 +
* [[OS: Tuning Completely Fair Queueing CFQ I/O scheduler]]
 +
* [[OS: Tuning Completely Fair scheduler CFS]]
 +
* [[OS: Build in Monitoring Tool]]
 
* [[Linux Benchmarking]]
 
* [[Linux Benchmarking]]
 +
* [[OS: Benchmarking menggunakan UnixBench]]
 +
* [[OS: Benchmarking menggunakan LLCBench]]
 +
* [[OS: Mengerti System Call]]
 +
* [[OS: Membuat Kernel Modul]]
 +
* [[OS: Android - Download]]

Latest revision as of 16:23, 16 December 2018

Untuk melakukan benchmarking kemampuan komputasi komputer yang kita gunakan. Ada banyak test yang dilakukan oleh UnixBench yang lumayan memusingkan untuk di bahas dalam waktu yang singkat. Yang menarik UnixBench akan pada akhirnya memberikan Final Score dari komputer yang kita evaluasi / benchmarking.

UnixBench versi 4.1.0 lebih di arahkan untuk single processor. UnixBench 5.1.3 lebih di arahkan untuk multicore.

Dari hasil evaluasi yang ada tampak bahwa score UnixBench untuk masing-masing processor berikut adalah,

Intel		Pentium III		179.6
Axioo Seri N	Centrino Duo		687.1
Rainer Server	Xeon Quad Lama		867.0 (perlu di kali 4)
Rainer Server  Xeon Quad Baru

Instalasi

apt update
apt install mesa-common-dev libsdl-net1.2-dev libsdl-net1.2 unzip
apt install mesa-common-dev libsdl* unzip

Download

http://code.google.com/p/byte-unixbench/downloads/detail?name=UnixBench5.1.3.tgz&can=2&q=

Atau

cd /usr/local/src
wget https://github.com/kdlucas/byte-unixbench/archive/master.zip
unzip master.zip
cd /usr/local/src/byte-unixbench-master/UnixBench

Lanjutkan ..

cd /usr/local/src/byte-unixbench-master/UnixBench
make
./Run

Simpan hasil dengan cara

cd /usr/local/src/byte-unixbench-master/UnixBench
./Run > hasil.txt


Pada masa lalu

Hal ini di ubuntu 18.04 tampaknya sudah solved.

Entah kenapa -lXext tidak tersedia di Ubuntu source Makefile perlu di edit

cd /usr/local/src/UnixBench
vi Makefile

pastikan

# Set "GL_LIBS" to the libraries needed to link a GL program.
# GL_LIBS = -lGL -lXext -lX11
GL_LIBS = -lGL -lX11

Hasil UnixBench 4.1.0

Hasil UnixBench 5.1.2

Hasil UnixBench 5.1.3

Referensi

Pranala Menarik