wiki:jazz/Performance_Benchmark

CPU : POV-RAY

  • Persistence of vision raytracer (3D renderer)
  • 由於 Ray Tracing 的 3D 繪圖運算會消耗非常多 CPU 資源,因此我們經常使用 POV-RAY 來作為 CPU-intensive 的 Workload 模擬。

Network : netcat

  • 使用 netcat 搭配 dd 測試 TCP 與 UDP 的速度
    ==TCP==
    
    [recive firstly]
    
    ncat -l 60000 > /dev/null
    
    [then send]
    
    cat /dev/zero | ncat 140.110.X.X 60000
    
    ==UDP==
    
    [recive firstly]
    
    ncat -u -l 60000 > /dev/null
    
    [then send]
    
    cat /dev/zero | ncat -u 140.110.X.X 60000
    

Database

  • sysbench - Cross-platform and multi-threaded benchmark tool
    Current features allow to test the following system parameters:
    
     * file I/O performance
     * scheduler performance
     * memory allocation and transfer speed
     * POSIX threads implementation performance
     * database server performance (OLTP benchmark)
    
    Primarily written for MySQL server benchmarking, SysBench will be further 
    extended to support multiple database backends, distributed benchmarks and 
    third-party plug-in modules. 
    

Multi-thread

  • tiobench - Threaded I/O bench for Linux
    Tiobench is a file system benchmark especially designed to test I/O performance 
    with multiple running threads. 
    

Benchmark Tools

  • performance benchmark tools
  • 從以前 GPFS benchmark 報告看到的一個套件
    • 套件 - http://packages.debian.org/squeeze/dstat
      $ dstat -lrvn 10
      ---load-avg--- --io/total- ---procs--- ------memory-usage----- ---paging-- -dsk/total- ---system-- ----total-cpu-usage---- -net/total-
       1m   5m  15m | read  writ|run blk new| used  buff  cach  free|  in   out | read  writ| int   csw |usr sys idl wai hiq siq| recv  send
      5.76 5.32 5.17|13.6  10.5 |0.0   0 0.3|34.7G 20.0k 27.1G  774M| 941B 4086B| 954k 2466k|2844    23k| 35   5  58   0   0   1|   0     0 
      5.35 5.24 5.15|4.60  17.9 |7.3   0 5.0|34.7G 20.0k 27.1G  726M|   0     0 | 410k 4211k|  15k   42k| 61   6  31   0   0   2|4795k 3514k
      4.75 5.12 5.11|4.10  6.70 |7.3   0   0|34.7G 20.0k 27.2G  680M|   0     0 | 430k 1650k|  15k   44k| 60   6  32   0   0   2|4922k 3486k
      7.31 5.67 5.29|4.60  33.3 |7.2 0.1   0|34.7G 20.0k 27.2G  638M|   0     0 | 505k 8213k|  15k   44k| 59   6  33   0   0   2|4956k 3525k
      7.13 5.68 5.30|4.40  20.8 |7.8   0   0|34.7G 20.0k 27.3G  586M|   0     0 | 420k 4243k|  15k   45k| 60   6  32   0   0   2|4907k 3573k
      6.97 5.70 5.31|4.10  6.80 |6.9   0   0|34.7G 20.0k 27.3G  532M|   0     0 | 412k 1676k|  15k   44k| 59   6  32   0   0   2|4799k 3488k
      6.37 5.61 5.28|3.50  33.9 |5.3   0 0.2|34.7G 20.0k 27.4G  489M|   0     0 | 434k 8419k|  15k   44k| 59   6  33   0   0   2|5068k 3572k
      6.22 5.60 5.28|5.30  17.5 |8.7   0 0.1|34.7G 20.0k 27.4G  454M|   0     0 | 435k 4188k|  15k   44k| 59   6  32   0   0   2|4723k 3420k
      6.28 5.63 5.29|4.33     0 |6.3   0   0|34.7G 20.0k 27.4G  440M|   0     0 | 555k    0 |  15k   43k| 59   6  33   0   0   2|5022k 3549k
      
      *
      ~$ sudo dstat -g -m -t -d -D sda
      ---paging-- ------memory-usage----- ---time--- --dsk/sda--
      __in_ _out_|_used _buff _cach _free|__epoch___|_read _writ
         0     0 | 208M   18M  622M 2179M|1212050149|  25M    0 
         0     0 | 214M   18M  647M 2149M|1212050150|  25M    0 
         0     0 | 221M   18M  676M 2112M|1212050151|  29M  144k  
      
      *
      ~$ sudo dstat -g -m -t -d -D sda -M gpfs -N eth2
      ---paging-- ------memory-usage----- ---time--- --dsk/sda-- --gpfs-i/o-
      __in_ _out_|_used _buff _cach _free|__epoch___|_read _writ|_read write
         0     0 | 206M   20M 2050M  752M|1212052121|   0     0 |2048k    0
         0     0 | 209M   20M 2050M  748M|1212052122|   0     0 |  14M    0  
         0     0 | 216M   20M 2050M  741M|1212052123|   0     0 |  31M    0 
      
  • 工業標準 Industry standard
    • Embedded Microprocessor Benchmark Consortium (EEMBC)
    • Standard Performance Evaluation Corporation (SPEC)
  • http://www.primatelabs.com/geekbench/
  • http://wiki.hardinfo.org/Downloads
Type Tool License Cost Windows Linux URLs Last Version
CPU POV-RAY 自訂授權 Free V V http://www.povray.org/ 0.7.1 (2011-03)
CPU CoreMark 須註冊 ? - - http://www.coremark.org/
Microprocessor Benchmark
CPU/GPU/Memory Sandra 商業授權 - V - http://www.sisoftware.net/ Sandra 2011
Memory STREAM 自訂授權 Free V V http://www.cs.virginia.edu/stream/ (2010/10)
Disk iozone 自訂授權 Free V V http://www.iozone.org/ 3.373 (2010/10)
Disk boine++ GPL Free - V http://www.coker.com.au/bonnie++/ 1.96 (2009/07)
Disk iometer Intel Free V V http://www.iometer.org (2006/07)
Disk Hd Tach ?? Free V X http://www.simplisoftware.com/Public/index.php?request=HdTach 3.0
Disk ioblazer MIT Free V V http://labs.vmware.com/flings/ioblazer 1.01 (2011/01)
SMB/NFS/iSCSI dbench GPL Free X V http://dbench.samba.org/ 4.0 (2008/02)
NAS NPB NASA - - V http://www.nas.nasa.gov/Software/NPB/ 3.3.1
Network NTttcp ?? Free V X http://msdn.microsoft.com/en-us/windows/hardware/gg463264 (2008/04)
Network netperf HP 授權 Free V V http://www.netperf.org 2.4.5 (2009/06)
Network iperf 自訂授權 Free - V http://iperf.sourceforge.net/ 2.0.5 (2010/07)
Network iptraf 自訂授權 Free - V http://iptraf.seul.org/ 3.0.0 (2005/09)
Suite Phoronix Test Suite ?? Free - V http://www.phoronix-test-suite.com 3.0.1 (2011-03)
Suite HPCC 自訂授權 Free - V http://icl.cs.utk.edu/hpcc/ 1.4.1 (2010/06)
Suite VMmark 商業授權 ?? V V http://www.vmware.com/products/vmmark 2.1 (2011/02)
Last modified 8 years ago Last modified on Aug 29, 2016, 4:36:08 PM

Attachments (1)