創(chuàng)新互聯建站專注于企業(yè)成都營銷網站建設、網站重做改版、洞口網站定制設計、自適應品牌網站建設、H5響應式網站、成都做商城網站、集團公司官網建設、外貿營銷網站建設、高端網站制作、響應式網頁設計等建站業(yè)務,價格優(yōu)惠性價比高,為洞口等各大城市提供網站開發(fā)制作服務。
https://wiki.mikejung.biz/Benchmarking
譯文有增刪
FIO
Sysbench
Phoronix Test Suite (moved to it's own page)
IOzone
Ioping
UnixBench
Google's Perfkit Benchmarker
fio算是比較老的io測試工具了,作者是Jens Axboe。
主頁https://www.thomas-krenn.com/en/wiki/Fio
我的測試環(huán)境有centos7 redhat5因此要下載兩個版本的fio包
redhat5版本的需要去歸檔站點去下載
http://archives.fedoraproject.org/pub/archive/epel/
下載后的安裝 rpm -ivh fio-1.57-1.el5.x86_64.rpm
centos7則可以去很多鏡像站點下載,站點列表可以查詢
https://admin.fedoraproject.org/mirrormanager/mirrors/EPEL
如果配置了epel的yum源,直接yum install -y fio
示例 使用fio測試磁盤的隨機寫
fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k \
--direct=0 --size=512M --numjobs=8 --runtime=240 --group_reporting
--rw=randwrite指定隨機寫
--direct=0指定使用buffered IO還是direct IO。如果使用buffer,注意總大小不要超過物理內存
--numjobs=8啟動8個進程
--size=512M每個進程寫512M
--group_reporting 將多個進程的統計結果進行聚合,更易閱讀
--runtime=240持續(xù)運行時間4分鐘
--bs=4k --blocksize=4k (default)
--ioengine=libaio可用的io引擎可以使用 fio --enghelp查看(fio-2.2.8)
--iodepth=1缺省 測試ssd磁盤時,可以擴大到32,通常4就夠了
The iodepth option defines the amount of IO units that will continue to hammer a file with requests during the test.
避免使用buffer的方法是指定--direct=1或者使用比物理內存大一倍的寫文件
fio結果的重點關注項目:
iops=1416 iops = 1416
95.00th=[ 2] 95%的IO在2毫秒完成
util=99.62% 設備繁忙程度
示例 使用fio測試磁盤的隨機讀
fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k \
--direct=0 --size=512M --numjobs=8 --runtime=240 --group_reporting
fio幫助
man fio
fio -h
fio -v
fio命令行中寫上選項,也可以將命令行選項寫入一個參數文件job file中
fio安裝后,自帶了一些樣例
# rpm -ql -p fio-1.57-1.el5.x86_64.rpm
/usr/bin/fio
/usr/bin/fio_generate_plots
/usr/share/doc/fio-1.57
/usr/share/doc/fio-1.57/COPYING
/usr/share/doc/fio-1.57/HOWTO
/usr/share/doc/fio-1.57/README
/usr/share/doc/fio-1.57/REPORTING-BUGS
/usr/share/doc/fio-1.57/examples
/usr/share/doc/fio-1.57/examples/1mbs_clients
/usr/share/doc/fio-1.57/examples/aio-read
......
aio-read參數文件,修改一下可以馬上使用
# fio aio-read.bak
file1: (g=0): rw=randread, bs=128K-128K/128K-128K, ioengine=libaio, iodepth=4
file2: (g=0): rw=randread, bs=128K-128K/128K-128K, ioengine=libaio, iodepth=32
file3: (g=0): rw=randread, bs=128K-128K/128K-128K, ioengine=libaio, iodepth=8
file4: (g=0): rw=randread, bs=128K-128K/128K-128K, ioengine=libaio, iodepth=16
fio 1.57
......
fio輸出結果的一些注釋
io Number of megabytes of I/O performed.
bw Average data rate (bandwidth).
runt Threads run time.
slat Submission latency minimum, maximum, average and standard deviation. This
is the time it took to submit the I/O.
clat Completion latency minimum, maximum, average and standard deviation. This
is the time between submission and completion.
bw Bandwidth minimum, maximum, percentage of aggregate bandwidth received, average and standard deviation.
The group statistics show:
io Number of megabytes I/O performed.
aggrb Aggregate bandwidth of threads in the group.
minb Minimum average bandwidth a thread saw.
maxb Maximum average bandwidth a thread saw.
mint Shortest runtime of threads in the group.
maxt Longest runtime of threads in the group.
Finally, disk statistics are printed with reads first:
ios Number of I/Os performed by all groups.
merge Number of merges in the I/O scheduler.
ticks Number of ticks we kept the disk busy.
io_queue
Total time spent in the disk queue.
util Disk utilization.
示例 隨機讀直接IO
fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=1 --size=1G --numjobs=8 --runtime=240 --group_reporting
csdn上一個翻譯成中文的帖子 http://blog.csdn.net/yuesichiu/article/details/8722417沒耐心看英文的估計中文的也不會看完。
sysbench可以測試cpu \ oltp MySQL\ fileio網上用來測試mysql的文章比較多。
在centos中,可以從epel直接安裝。安裝時需要mysql / postgresql
源文中的安裝方法
wget ftp://ftp.gnome.org/mirror/fedora/epel/6/x86_64/sysbench-0.4.12-5.el6.x86_64.rpm
wget http://downloads.mysql.com/archives/mysql-5.1/MySQL-shared-compat-5.1.49-1.rhel5.x86_64.rpm
rpm -iv MySQL-shared-compat-5.1.49-1.rhel5.x86_64.rpm
yum install postgresql-libs.x86_64
rpm -iv sysbench-0.4.12-5.el6.x86_64.rpm
實際安裝方法
rpm -ivh http://archives.fedoraproject.org/pub/archive/epel/epel-release-latest-5.noarch.rpm
or
rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install sysbench
先掌握sysbench的語法
# sysbench
Missing required command argument.
Usage:
sysbench [general-options]... --test= [test-options]... command
General options:
--num-threads=N number of threads to use [1]
--max-requests=N limit for total number of requests [10000]
--max-time=N limit for total execution time in seconds [0]
--forced-shutdown=STRING amount of time to wait after --max-time before forcing shutdown [off]
--thread-stack-size=SIZE size of stack per thread [32K]
--init-rng=[on|off] initialize random number generator [off]
--test=STRING test to run
--debug=[on|off] print more debugging info [off]
--validate=[on|off] perform validation checks where possible [off]
--help=[on|off] print help and exit
--version=[on|off] print version and exit
Compiled-in tests:
fileio - File I/O test
cpu - CPU performance test
memory - Memory functions speed test
threads - Threads subsystem performance test
mutex - Mutex performance test
oltp - OLTP test
Commands: prepare run cleanup help version
來一些命令
# run a random write test with "--file-extra-flags=direct"隨機寫
sysbench --test=fileio --file-total-size=4G --file-num=2 --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=8K --num-threads=4 --file-extra-flags=direct
prepare
run
cleanup
sysbench --test=fileio --file-total-size=1G --file-num=10 --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=8K --file-extra-flags=direct
或者
隨機寫
sysbench --test=fileio --file-total-size=2G --file-num=64 prepare
sysbench --test=fileio --file-total-size=2G --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=4K --file-num=64 --num-threads=1 run
for each in 1 4 8 16 32 64; do \
sysbench --test=fileio --file-total-size=2G --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=4K --file-num=64 --num-threads=$each run; \
sleep 10; done
隨機讀
sysbench --test=fileio --file-total-size=2G --file-test-mode=rndrd --max-time=240 --max-requests=0 --file-block-size=4K --file-num=64 --num-threads=1 run
for each in 1 4 8 16 32 64; do sysbench --test=fileio --file-total-size=2G --file-test-mode=rndrd --max-time=240 --max-requests=0 --file-block-size=4K --file-num=64 --num-threads=$each run; sleep 10; done
測試結果中的幾個重點:
一個虛擬機(openstack)的測試結果
[root@v-yfb-cos72-sql05 test]# sysbench --test=fileio --file-total-size=4G --file-num=2 --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=8K --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Extra file open flags: 0
2 files, 2Gb each
4Gb total file size
Block size 8Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random write test
Threads started!
Time limit exceeded, exiting...
(last message repeated 3 times)
Done.
Operations performed: 0 Read, 14433721 Write, 288270 Other = 14721991 Total
Read 0b Written 110.12Gb Total transferred 110.12Gb (469.84Mb/sec) <---- 60140.13 * 8k = 469.84
60140.13 Requests/sec executed <----重點1 IOPS
Test execution summary:
total time: 240.0015s
total number of events: 14433721
total time taken by event execution: 66.3879
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 2.05ms
approx. 95 percentile: 0.01ms <----重點2每個請求的響應時間
Threads fairness:
events (avg/stddev): 3608430.2500/38671.29
execution time (avg/stddev): 16.5970/0.16
另外一個虛擬機(VMware esx)的測試結果
[root@dbsrvb test]# sysbench --test=fileio --file-total-size=4G --file-num=2 --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=8K --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Extra file open flags: 0
2 files, 2Gb each
4Gb total file size
Block size 8Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random write test
Threads started!
FATAL: Failed to fsync file! file: -1667944680 errno = 9 ()
FATAL: Incorrect file discovered in request
(last message repeated 2 times)
Done.
Operations performed: 0 Read, 10503 Write, 208 Other = 10711 Total
Read 0b Written 82.055Mb Total transferred 82.055Mb (21.993Mb/sec)
2815.05 Requests/sec executed <----重點1 IOPS
Test execution summary:
total time: 3.7310s
total number of events: 10503
total time taken by event execution: 0.9682
per-request statistics:
min: 0.01ms
avg: 0.09ms
max: 17.76ms
approx. 95 percentile: 0.22ms <----重點2比上面的服務器要差一些
Threads fairness:
events (avg/stddev): 2625.7500/377.73
execution time (avg/stddev): 0.2421/0.02
另外一個虛擬機(筆記本上的VirtualBox)的測試結果
[root@node1 test]# sysbench --test=fileio --file-total-size=4G --file-num=2 --file-test-mode=rndwr --max-time=240 --max-requests=0 --file-block-size=8K --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Extra file open flags: 0
2 files, 2Gb each
4Gb total file size
Block size 8Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random write test
Threads started!
Time limit exceeded, exiting...
(last message repeated 3 times)
Done.
Operations performed: 0 Read, 635100 Write, 12701 Other = 647801 Total
Read 0b Written 4.8454Gb Total transferred 4.8454Gb (20.673Mb/sec)
2646.16 Requests/sec executed <--- Virtual Box的 IOPS比VMware稍微低一點
Test execution summary:
total time: 240.0086s
total number of events: 635100
total time taken by event execution: 2.7852
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 3.75ms
approx. 95 percentile: 0.01ms <---這個就比VMware快
Threads fairness:
events (avg/stddev): 158775.0000/3440.64
execution time (avg/stddev): 0.6963/0.02
如果測試硬件性能,要在物理服務器上進行對比。
為了避免從內存讀取數據,測試文件要大于內存的兩倍。
##Create Database
mysql‐u root‐ppassword‐e "CREATE DATABASE sysbench;"
##Create User
mysql‐u root‐ppassword‐e "CREATE USER 'sysbench'@'localhost' IDENTIFIED BY 'password';"
##Grant Access
mysql‐u root‐ppassword‐e "GRANT ALL PRIVILEGES ON *.* TO 'sysbench'@'localhost' IDENTIFIED BY 'password';"
或者
mysql> create database sysbench;
mysql> create user 'sysbench'@'%' identified by 'sysbench' ;
mysql> select host,user from mysql.user;
+-----------+-----------+
| host | user |
+-----------+-----------+
| % | sysbench |
| localhost | mysql.sys |
| localhost | root |
+-----------+-----------+
3 rows in set (0.00 sec)
mysql> grant all privileges on *.* to 'sysbench'@'%' ;
mysql> flush privileges;
數據庫環(huán)境準備完畢后,準備sysbench命令
sysbench --test=oltp --db-driver=mysql --oltp-table-size=1000000 \
--mysql-db=sysbench --mysql-user=sysbench --mysql-password=sysbench \
prepare
自動產生的測試表的樣子
mysql> desc sbtest
-> ;
+-------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| k | int(10) unsigned | NO | MUL | 0 | |
| c | char(120) | NO | | | |
| pad | char(60) | NO | | | |
+-------+------------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
mysql>
mysql> select * from sbtest limit 5;
+----+---+---+----------------------------------------------------+
| id | k | c | pad |
+----+---+---+----------------------------------------------------+
| 1 | 0 | | qqqqqqqqqqwwwwwwwwwweeeeeeeeeerrrrrrrrrrtttttttttt |
| 2 | 0 | | qqqqqqqqqqwwwwwwwwwweeeeeeeeeerrrrrrrrrrtttttttttt |
| 3 | 0 | | qqqqqqqqqqwwwwwwwwwweeeeeeeeeerrrrrrrrrrtttttttttt |
| 4 | 0 | | qqqqqqqqqqwwwwwwwwwweeeeeeeeeerrrrrrrrrrtttttttttt |
| 5 | 0 | | qqqqqqqqqqwwwwwwwwwweeeeeeeeeerrrrrrrrrrtttttttttt |
+----+---+---+----------------------------------------------------+
5 rows in set (0.00 sec)
for each in 1 4 8 16 32 64; do \
sysbench --test=oltp --db-driver=mysql --oltp-table-size=10000000 \
--mysql-db=sysbench --mysql-user=sysbench --mysql-password=sysbench \
--max-time=240 --max-requests=0 --oltp-read-only --oltp-skip-trx \
--oltp-nontrxmode=select --num-threads=$each run; \
sleep 10; done
sysbench --test=oltp --db-driver=mysql --oltp-table-size=10000000 \
--mysql-db=sysbench --mysql-user=sysbench --mysql-password=sysbench \
--max-time=240 --max-requests=0 --oltp-read-only --oltp-skip-trx \
--oltp-nontrx-mode=select --num-threads=2 run;
Phoronix測試套件簡稱pts,從官網http://phoronix-test-suite.com/?k=downloads下載安裝包 phoronix-test-suite-7.0.1.tar.gz
pts的安裝依賴php-cli等多個包
tar xvf phoronix-test-suite_6.2.2.tar.gz
cd phoronix-test-suite/
./install-sh
/usr/bin/phoronix-test-suite list-available-suites
/usr/bin/phoronix-test-suite list-available-tests
phoronix-test-suite info pts/disk
phoronix-test-suite install pts/iozon
phoronix-test-suite install pts/disk
pts/disk包括了fio iozone aio-stress等等多個工具,pts太過龐大,install時因為網速原因,耗時較長。這里只使用一個iozone做個測試。
使用pts套件運行iozone
[root@node1 ~]# phoronix-test-suite run pts/iozone-1.8.0
IOzone 3.405:
pts/iozone-1.8.0
Disk Test Configuration
1: 4Kb
2: 64Kb
3: 1MB
4: Test All Options
Record Size: 1
1: 512MB
2: 2GB
3: 4GB
4: 8GB
5: Test All Options
File Size: 4
1: Write Performance
2: Read Performance
3: Test All Options
Disk Test: 1
Phoronix Test Suite v6.6.0
System Information
Hardware:
Processor: Intel Core i7-3537U @ 2.49GHz (1 Core), Motherboard: Oracle VirtualBox v1.2, Chipset: Intel 440FX- 82441FX PMC, Memory: 4096MB, Disk: 72GB VBOX HDD, Graphics: InnoTek VirtualBox, Audio: Intel 82801AA AC 97 Audio, Network: Intel 82540EM Gigabit
Software:
OS: Oracle Linux Server 7.3, Kernel: 4.1.12-61.1.18.el7uek.x86_64 (x86_64), Compiler: GCC 4.8.5 20150623, File-System: xfs, System Layer: KVM VirtualBox
Would you like to save these test results (Y/n): y
Enter a name to save these results under: tmp
Enter a unique name to describe this test run / configuration: tmp
If desired, enter a new description below to better describe this result set / system configuration under test.
Press ENTER to proceed without changes.
Current Description: KVM VirtualBox testing on Oracle Linux Server 7.3 via the Phoronix Test Suite.
New Description:
IOzone 3.405:
pts/iozone-1.8.0 [Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance]
Test 1 of 1
Estimated Trial Run Count: 3
Estimated Time To Completion: 22 Minutes (04:14 CDT)
Started Run 1 @ 03:53:01
Started Run 2 @ 04:11:11
Started Run 3 @ 04:22:17 [Std. Dev: 108.27%]
Started Run 4 @ 04:26:15 [Std. Dev: 83.68%]
Started Run 5 @ 04:29:54 [Std. Dev: 69.61%]
Started Run 6 @ 04:33:32 [Std. Dev: 60.77%]
Test Results:
8.509765625
14.8359375
69.3681640625
74.802734375
74.82421875
76.93359375
Average: 53.21 MB/s
Do you want to view the results in your web browser (Y/n): n
Would you like to upload the results to OpenBenchmarking.org (Y/n): n
單獨運行iozone
# find / -name iozone
/var/lib/phoronix-test-suite/installed-tests/pts/iozone-1.8.0/iozone3_405/src/current/iozone
/var/lib/phoronix-test-suite/installed-tests/pts/iozone-1.8.0/iozone
# cd /var/lib/phoronix-test-suite/installed-tests/pts/iozone-1.8.0/
# export LOG_FILE=1.log
# ./iozone -Ra -g 8G -i 0 -b iozone.xls
參考
http://phoronix-test-suite.com/documentation/phoronix-test-suite.html#GettingStarted
https://wiki.mikejung.biz/Phoronix_Test_Suite
官網 http://iozone.org/
官方幫助文檔 IOzone_msword_98.doc
下載安裝包 [Stable tarball] iozone3_465.tar
安裝過程
150 mkdir test_iozone
151 mv iozone3_465.tar test_iozone/
152 cd test_iozone/
153 ls
154 tar -xf iozone3_465.tar
155 cd iozone3_465/src/current/
156 ls
157 make
158 uname -a
159 make linux-AMD64
160 yum provides cc
161 yum install -y gcc
162 make linux-AMD64
163 ll
164 ls -ort
165 date
166 iozone
167 ./iozone
168 ./iozone -h
169 ./iozone -Ra -g 8G -i 0 -b iozone.xls這個輸出到xls文件
運行命令
./iozone -Ra -g 8G -i 0 這個輸出到屏幕
iozone產生的結果比較直觀地看到不同塊大小和不同文件大小對IO的影響。
apt‐get install make gcc
wget https://byte‐unixbench.googlecode.com/files/UnixBench6.1.3.tgz
tar zxvf UnixBench6.1.3.tgz
cd UnixBench
make
./Run ‐i 1
download UnixBench6.1.3.tgz from
https://code.google.com/archive/p/byte-unixbench/downloads
255 tar -xzf UnixBench6.1.3.tgz
256 ls
257 cd UnixBench
258 ls
259 make
260 ls -ort
261 ./Run -i 1
262 which perl
263 yum install -y perl
[root@v-yfb-cos72-sql05 UnixBench]#./Run -i 1
make all
make[1]: Entering directory `/root/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/root/UnixBench'
sh: 3dinfo: command not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
......
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: v-yfb-cos72-sql05.novalocal: GNU/Linux
OS: GNU/Linux -- 3.10.0-327.el7.x86_64 -- #1 SMP Thu Nov 19 22:10:57 UTC 2015
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel Core Processor (Haswell, no TSX) (4600.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel Core Processor (Haswell, no TSX) (4600.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
06:01:21 up 78 days, 3:34, 1 user, load average: 0.11, 0.04, 0.05; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Thu May 04 2017 06:01:21 - 06:08:05
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 29114714.8 lps (10.0 s, 1 samples)
Double-Precision Whetstone 3660.1 MWIPS (9.8 s, 1 samples)
Execl Throughput 3227.4 lps (29.1 s, 1 samples)
File Copy 1024 bufsize 2000 maxblocks 962272.0 KBps (30.0 s, 1 samples)
File Copy 256 bufsize 500 maxblocks 256736.0 KBps (30.0 s, 1 samples)
File Copy 4096 bufsize 8000 maxblocks 2537028.0 KBps (30.0 s, 1 samples)
Pipe Throughput 1282585.0 lps (10.0 s, 1 samples)
Pipe-based Context Switching 284899.6 lps (10.0 s, 1 samples)
Process Creation 9563.0 lps (30.0 s, 1 samples)
Shell Scripts (1 concurrent) 6315.2 lpm (60.0 s, 1 samples)
Shell Scripts (8 concurrent) 1360.1 lpm (60.0 s, 1 samples)
System Call Overhead 2215239.6 lps (10.0 s, 1 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 29114714.8 2494.8
Double-Precision Whetstone 55.0 3660.1 665.5
Execl Throughput 43.0 3227.4 750.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 962272.0 2430.0
File Copy 256 bufsize 500 maxblocks 1655.0 256736.0 1551.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 2537028.0 4374.2
Pipe Throughput 12440.0 1282585.0 1031.0
Pipe-based Context Switching 4000.0 284899.6 712.2
Process Creation 126.0 9563.0 759.0
Shell Scripts (1 concurrent) 42.4 6315.2 1489.4
Shell Scripts (8 concurrent) 6.0 1360.1 2266.8
System Call Overhead 15000.0 2215239.6 1476.8
========
System Benchmarks Index Score 1400.8
------------------------------------------------------------------------
Benchmark Run: Thu May 04 2017 06:08:05 - 06:14:49
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 58393583.7 lps (10.0 s, 1 samples)
Double-Precision Whetstone 7356.6 MWIPS (9.8 s, 1 samples)
Execl Throughput 7037.2 lps (29.9 s, 1 samples)
File Copy 1024 bufsize 2000 maxblocks 1368114.0 KBps (30.0 s, 1 samples)
File Copy 256 bufsize 500 maxblocks 390873.0 KBps (30.0 s, 1 samples)
File Copy 4096 bufsize 8000 maxblocks 3596554.0 KBps (30.0 s, 1 samples)
Pipe Throughput 2688283.4 lps (10.0 s, 1 samples)
Pipe-based Context Switching 572723.9 lps (10.0 s, 1 samples)
Process Creation 22877.0 lps (30.0 s, 1 samples)
Shell Scripts (1 concurrent) 9545.3 lpm (60.0 s, 1 samples)
Shell Scripts (8 concurrent) 1391.3 lpm (60.0 s, 1 samples)
System Call Overhead 3284659.7 lps (10.0 s, 1 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 58393583.7 5003.7
Double-Precision Whetstone 55.0 7356.6 1337.6
Execl Throughput 43.0 7037.2 1636.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 1368114.0 3454.8
File Copy 256 bufsize 500 maxblocks 1655.0 390873.0 2361.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 3596554.0 6201.0
Pipe Throughput 12440.0 2688283.4 2161.0
Pipe-based Context Switching 4000.0 572723.9 1431.8
Process Creation 126.0 22877.0 1815.6
Shell Scripts (1 concurrent) 42.4 9545.3 2251.2
Shell Scripts (8 concurrent) 6.0 1391.3 2318.8
System Call Overhead 15000.0 3284659.7 2189.8
========
System Benchmarks Index Score 2394.8
[root@v-yfb-cos72-sql05 UnixBench]#
[root@node1 UnixBench]# ./Run -i 1
make all
make[1]: Entering directory `/root/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/root/UnixBench'
sh: 3dinfo: command not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,