threads test

threads test using sysbench

Purpose

       Do threads performance test base on sysbench

 

Eevironment

       RK3328 arm64 ubuntu 16.04

 

Procdeure

 

root@IOTP-EPC:/test/sysbench# sysbench --test=threads --debug  run

sysbench 0.4.12:  multi-threaded system evaluation benchmark

 

Running the test with following options:

Number of threads: 1

Debug mode enabled.

 

 

Doing thread subsystem performance test

Thread yields per test: 1000 Locks used: 8

Threads started!

DEBUG: Runner thread started (0)!

Done.

 

 

Test execution summary:

    total time:                          9.3920s

    total number of events:              10000

    total time taken by event execution: 9.3859

    per-request statistics:

         min:                                  0.90ms

         avg:                                  0.94ms

         max:                                  3.41ms

         approx.  95 percentile:               0.94ms

 

Threads fairness:

    events (avg/stddev):           10000.0000/0.00

    execution time (avg/stddev):   9.3859/0.00

 

DEBUG: Verbose per-thread statistics:

 

DEBUG:     thread #  0: min: 0.0009s  avg: 0.0009s  max: 0.0034s  events: 10000

DEBUG:                  total time taken by even execution: 9.3859s

posted @ 2019-04-22 13:21  嵌入式实操  阅读(125)  评论(0编辑  收藏  举报