Stress Test - 壓力測試

    內容表格
    1. 1. stress-1.0.2
    2. 2. sysbench
      1. 2.1. Install)
      2. 2.2. For MySQL)

    版本為 08:21, 30 Nov 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    Stress/Benchmark Test - 壓力/效能測試工具

    stress-1.0.2

    RPM 安裝檔下載
    http://dag.wieers.com/rpm/packages/stress/

    使用方法

    stress --cpu 2 --io 4 --vm 1 --vm-bytes 128M --timeout 10s
    

    sysbench

    Home: https://github.com/akopytov/sysbench

    Install)
    • CentOS 6.9
    • sysbench 1.0.19
    • MySQL Client 5.1.73
    yum install make automake libtool pkgconfig libaio-devel
    
    # For MySQL support, replace with mariadb-devel on RHEL/CentOS 7
    yum install mysql-devel openssl-devel
    
    # For PostgreSQL support
    yum install postgresql-devel
    
    git clone https://github.com/akopytov/sysbench.git
    
    ./autogen.sh
    # Add --with-pgsql to build with PostgreSQL support
    ./configure --prefix=/opt/sysbench
    make -j
    make install
    
    For MySQL)

     

    Powered by MindTouch Core