September 2014
Intermediate to advanced
298 pages
6h 13m
English
Sysbench is a benchmarking tool that has several modes to bench:
- fileio: This performs the file I/O test- cpu: This performs the CPU performance test- memory: This performs the memory functions speed test- threads: This performs the thread subsystem performance test- mutex: This performs the mutex performance test- oltp: This performs the OLTP testTo install it, run this command:
> aptitude install sysbench
The common test is to use the Online Transaction Processing (OLTP) scenario with small transactions to hit an optimized database. We will pass arguments to the command to simulate application threads (the --num-threads argument).
You can run this OLTP test with two kinds of scenarios:
SELECT queries per transaction)Read now
Unlock full access