綾小路龍之介の素人思考

[debian] sakura vpsのベンチマーク

512と新しい1Gでベンチマークを取ってみた。これの比較。512の方がCPUのクロックスピードが速いことでスコアも高め。

# aptitude install make gcc
$ wget 'http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz'
$ tar zxf UnixBench5.1.3.tgz
$ cd UnixBench
$ make
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./results  exists
gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c
gcc -o ./pgms/register -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum='register int' ./src/arith.c
gcc -o ./pgms/short -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=short ./src/arith.c
gcc -o ./pgms/int -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=int ./src/arith.c
gcc -o ./pgms/long -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=long ./src/arith.c
gcc -o ./pgms/float -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=float ./src/arith.c
gcc -o ./pgms/double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=double ./src/arith.c
gcc -o ./pgms/hanoi -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/hanoi.c
gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/syscall.c
gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/context1.c
gcc -o ./pgms/pipe -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/pipe.c
gcc -o ./pgms/spawn -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/spawn.c
gcc -o ./pgms/execl -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/execl.c
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c
gcc -o ./pgms/dhry2 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c -o dhry_1_reg.o
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c -o dhry_2_reg.o
gcc -o ./pgms/dhry2reg -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1_reg.o ./src/dhry_2_reg.o
cd ./src; rm -f dhry_1_reg.o dhry_2_reg.o
gcc -o ./pgms/looper -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/looper.c
gcc -o ./pgms/fstime -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/fstime.c
gcc -o ./pgms/whetstone-double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -DDP -DUNIX -DUNIXBENCH ./src/whets.c -lm

$ ./Run
make all
make[1]: Entering directory `/***********/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/***********/UnixBench'
sh: 3dinfo: not found
sh: runlevel: 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


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: www1029ue: GNU/Linux
   OS: GNU/Linux -- 2.6.32-5-686 -- #1 SMP Mon Mar 26 05:20:33 UTC 2012
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   10:23:18 up 10:01,  1 user,  load average: 0.17, 0.06, 0.02; runlevel

------------------------------------------------------------------------
Benchmark Run: Fri Mar 30 2012 10:23:18 - 10:51:06
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       14045512.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2442.2 MWIPS (7.9 s, 7 samples)
Execl Throughput                               1978.7 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        428906.2 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          114097.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1220707.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                              749738.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 205148.8 lps   (10.0 s, 7 samples)
Process Creation                               6188.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4371.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1261.3 lpm   (60.0 s, 2 samples)
System Call Overhead                         982452.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14045512.6   1203.6
Double-Precision Whetstone                       55.0       2442.2    444.0
Execl Throughput                                 43.0       1978.7    460.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     428906.2   1083.1
File Copy 256 bufsize 500 maxblocks            1655.0     114097.3    689.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    1220707.7   2104.7
Pipe Throughput                               12440.0     749738.5    602.7
Pipe-based Context Switching                   4000.0     205148.8    512.9
Process Creation                                126.0       6188.5    491.2
Shell Scripts (1 concurrent)                     42.4       4371.7   1031.1
Shell Scripts (8 concurrent)                      6.0       1261.3   2102.2
System Call Overhead                          15000.0     982452.8    655.0
                                                                   ========
System Benchmarks Index Score                                         812.9

------------------------------------------------------------------------
Benchmark Run: Fri Mar 30 2012 10:51:06 - 11:19:07
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       27773511.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4860.3 MWIPS (8.5 s, 7 samples)
Execl Throughput                               7444.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        645953.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          181704.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2172193.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1474211.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 421899.0 lps   (10.0 s, 7 samples)
Process Creation                              25267.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10337.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1363.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        1811725.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   27773511.4   2379.9
Double-Precision Whetstone                       55.0       4860.3    883.7
Execl Throughput                                 43.0       7444.1   1731.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     645953.7   1631.2
File Copy 256 bufsize 500 maxblocks            1655.0     181704.7   1097.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    2172193.0   3745.2
Pipe Throughput                               12440.0    1474211.4   1185.1
Pipe-based Context Switching                   4000.0     421899.0   1054.7
Process Creation                                126.0      25267.3   2005.3
Shell Scripts (1 concurrent)                     42.4      10337.3   2438.0
Shell Scripts (8 concurrent)                      6.0       1363.6   2272.7
System Call Overhead                          15000.0    1811725.7   1207.8
                                                                   ========
System Benchmarks Index Score                                        1650.8

リファレンス

  1. sshfs samba - Google 検索
  2. sshfs (HagyLog)
  3. filesystem/sshfs - Linux Tips
  4. sftp mount - Google 検索

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2010-05-14T20:16:59+09:00
  2. Modified: 2010-05-14T20:16:59+09:00
  3. Generated: 2017-03-13T23:09:17+09:00