Azure A3 and A4v2 Benchmark

  • Category: 電腦相關
  • Last Updated: Friday, 27 January 2017 22:59
  • Published: Friday, 27 January 2017 11:49
  • Written by sam

看到又推出新"舊"系列 (Azure A3 and A4v2 Benchmark)

來試下(結果是並無差別…)

使用sysbench

Azure A3 std

root@wantgooM:~# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run -> default cpu-max-prime=10000 and default num-threads=1
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          19.2541s
    total number of events:              10000
    total time taken by event execution: 76.9445
    per-request statistics:
         min:                                  2.58ms
         avg:                                  7.69ms
         max:                                 67.12ms
         approx.  95 percentile:               9.71ms

Threads fairness:
    events (avg/stddev):           2500.0000/105.02
    execution time (avg/stddev):   19.2361/0.01

Azure A4v2 std

root@wantgooA:/# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run 
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          18.2789s
    total number of events:              10000
    total time taken by event execution: 73.0799
    per-request statistics:
         min:                                  2.87ms
         avg:                                  7.31ms
         max:                                 18.84ms
         approx.  95 percentile:               8.97ms

Threads fairness:
    events (avg/stddev):           2500.0000/6.16
    execution time (avg/stddev):   18.2700/0.00

Disk io

A4v2 std (/mntdisk2 is raid0(two disk))

root@wantgooA:/mntdisk2# sysbench --test=fileio --num-threads=16 --file-total-size=2G --file-test-mode=rndrw prepare
root@wantgooA:/mntdisk2# sysbench --test=fileio --num-threads=20 --file-total-size=2G --file-test-mode=rndrw run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 20

Extra file open flags: 0
128 files, 16Mb each
2Gb total file size
Block size 16Kb
Number of random requests for random IO: 10000
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 r/w test
Threads started!
Done.

Operations performed:  6002 Read, 4009 Write, 12800 Other = 22811 Total
Read 93.781Mb  Written 62.641Mb  Total transferred 156.42Mb  (29.949Mb/sec)
 1916.72 Requests/sec executed

Test execution summary:
    total time:                          5.2230s
    total number of events:              10011
    total time taken by event execution: 1.8585
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.19ms
         max:                                 47.04ms
         approx.  95 percentile:               0.01ms

Threads fairness:
    events (avg/stddev):           500.5500/205.17
    execution time (avg/stddev):   0.0929/0.03

A4v2 Memory

root@wantgooA:~# sysbench --test=memory run  -> default 100G and type is write
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing memory operations speed test
Memory block size: 1K

Memory transfer size: 102400M

Memory operations type: write
Memory scope type: global
Threads started!
Done.

Operations performed: 104857600 (223677.54 ops/sec)

102400.00 MB transferred (218.44 MB/sec)


Test execution summary:
    total time:                          468.7891s
    total number of events:              104857600
    total time taken by event execution: 355.4232
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.00ms
         max:                                 35.71ms
         approx.  95 percentile:               0.00ms

Threads fairness:
    events (avg/stddev):           104857600.0000/0.00
    execution time (avg/stddev):   355.4232/0.00