CentOS installation Sysbench and easy to use

Source: Internet
Author: User

Download sysbench

git clone https://github.com/akopytov/sysbench.git

Compiling the installation

./autogen.sh./configure #./configure--without-mysql (do not compile the function module to test MySQL) make && make install


The following commands are copied from high-performance MySQL

Test the CPU, calculate the run time of the prime number

Sysbench--TEST=CPU--cpu-max-prime=20000 Run

Test file I/O

SEQWR sequential write seqrewr sequential rewrite seqrd sequential read RNDRD Random read Rndwr random write RNDRW mixed random Read/write
Sysbench--test=fileio--file-total-size=150g Prepare # New test Catalog
Sysbench--test=fileio--file-total-size=150g--file-test-mode=rndrw--init-rng=on--max-time=300--max-requests=0 Run
Sysbench--test=fileio--file-total-size=150g Cleanup #清理生成出来的文件


Sysbench Other test modules

Memory: Test continuous Read and write performance of memory

Thread: Test the performance of the thread altimeter

Mutex (mutex): Test the performance of an interlocking lock

Sequential Write (SEQWR): Testing the performance of sequential writes

CentOS installation Sysbench and easy to use

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.