Benchmark: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
{| class="wikitable"
{| class="wikitable"
! Device
! Device
! Timing
! Total time (1-thread)
! Comment
! Total time (all threads)
|-
|-
| x86
| [http://ark.intel.com/products/64601/Intel-Xeon-Processor-E5-1650-12M-Cache-3_20-GHz-0_0-GTs-Intel-QPI Xeon E5-1650 (12 threads)]
|  
| 23s
|  
| 2.46s
|-
|-
| [[Raspberry#Benchmark|RPi1]]
| [[Raspberry#Benchmark|RPi1 (1-core)]]
|  
| 1412s
|  
|  
|-
|-
| RPi2
| RPi2 (4-core)
|  
| 768s
|  
| 191s
|-
|-
| RPi3
| RPi3 (4-core 64bit)
|  
| 477s
|  
| 119s
|-
|-
| [[Beaglebone#Benchmark_.28Raspberry_Pi_vs_BBB_vs_Edison.29_using_the_sysbench_utility|BeagleBlack]]
| [[Beaglebone#Benchmark_.28Raspberry_Pi_vs_BBB_vs_Edison.29_using_the_sysbench_utility|BeagleBlack (1-core)]]
|  
|  
|  
|  
|-
|-
| [[Udoo#Benchmark|UDoo]]
| [[Udoo#Benchmark|UDoo (2-core)]]
|  
| 603s
|  
| 302s
|-
|-
| ODroid xu4
| [[Odroid#Benchmark|ODroid xu4 (8-core)]]
|  
| 372s
|  
| 60s
|}
|}
Note that for the Xeon(R) E5-1650 @ 3.2GHz,
<syntaxhighlight lang='bash'>
brb@T3600 ~ $ cat /proc/cpuinfo
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model          : 45
model name      : Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz
stepping        : 7
microcode      : 0x70d
cpu MHz        : 1229.125
cache size      : 12288 KB
physical id    : 0
siblings        : 12
core id        : 0
cpu cores      : 6
apicid          : 0
initial apicid  : 0
fpu            : yes
fpu_exception  : yes
cpuid level    : 13
wp              : yes
brb@T3600 ~ $ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                12
On-line CPU(s) list:  0-11
Thread(s) per core:    2
Core(s) per socket:    6
Socket(s):            1
NUMA node(s):          1
Vendor ID:            GenuineIntel
CPU family:            6
Model:                45
Stepping:              7
CPU MHz:              1221.625
BogoMIPS:              6384.41
Virtualization:        VT-x
L1d cache:            32K
L1i cache:            32K
L2 cache:              256K
L3 cache:              12288K
NUMA node0 CPU(s):    0-11
</syntaxhighlight>


= [http://www.tux.org/~mayer/linux/bmark.html nbench] =
= [http://www.tux.org/~mayer/linux/bmark.html nbench] =

Revision as of 16:29, 29 February 2016

Sysbench

sudo apt-get update
sudo apt-get install sysbench
sysbench --num-threads=1 --test=cpu --cpu-max-prime=20000 --validate run
Device Total time (1-thread) Total time (all threads)
Xeon E5-1650 (12 threads) 23s 2.46s
RPi1 (1-core) 1412s
RPi2 (4-core) 768s 191s
RPi3 (4-core 64bit) 477s 119s
BeagleBlack (1-core)
UDoo (2-core) 603s 302s
ODroid xu4 (8-core) 372s 60s

Note that for the Xeon(R) E5-1650 @ 3.2GHz,

brb@T3600 ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz
stepping        : 7
microcode       : 0x70d
cpu MHz         : 1229.125
cache size      : 12288 KB
physical id     : 0
siblings        : 12
core id         : 0
cpu cores       : 6
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes

brb@T3600 ~ $ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                12
On-line CPU(s) list:   0-11
Thread(s) per core:    2
Core(s) per socket:    6
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               1221.625
BogoMIPS:              6384.41
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              12288K
NUMA node0 CPU(s):     0-11

nbench

wget http://www.tux.org/~mayer/linux/nbench-byte-2.2.3.tar.gz
tar xzvf nbench-byte-2.2.3.tar.gz
cd nbench-byte-2.2.3
make
./nbench