1FIO安装

FIO 工具用来测试裸盘的IO性能,直接操作存储设备,当然,在测试的时候,对会整个设备进行读写。如果不想对整盘进行操作,可以先用dd 命令,创建出一个文件,放在存储设备上,然后使用该文件进行测试。FIO 工具非常小巧,使用也很简单。

fio is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 19 different types of I/O engines (sync, mmap, libaio, posixaio, SG v3, splice, null, network, syslet, guasi, solarisaio, and more), I/O priorities (for newer Linux kernels), rate I/O, forked or threaded jobs, and much more. It can work on block devices as well as files. fio accepts job descriptions in a simple-to-understand text format. Several example job files are included. fio displays all sorts of I/O performance information, including complete IO latencies and percentiles. Fio is in wide use in many places, for both benchmarking, QA, and verification purposes. It supports Linux, FreeBSD, NetBSD, OpenBSD, OS X, OpenSolaris, AIX, HP-UX, Android, and Windows.

可以同github上下载:

安装FIO 依赖如下2个包

https://www.cndba.cn/dave/article/104

yum install libaio libaio-devel -y

[root@dave ~]# ls

anaconda-ks.cfg  Documents  fio-2.1.10         install.log         Music     Public     Videos

Desktop          Downloads  fio-2.1.10.tar.gz  install.log.syslog  Pictures  Templates

[root@dave ~]#

[root@dave ~]# tar xzvf fio-2.1.10.tar.gz

[root@dave ~]# cd fio-2.1.10

[root@dave fio-2.1.10]# ls

arch                  err.h            gclient.h         HOWTO         memalign.c      SERVER-TODO

backend.c             eta.c            gcompat.c         idletime.c    memalign.h      smalloc.c

blktrace_api.h        examples         gcompat.h         idletime.h    memory.c        smalloc.h

blktrace.c            fifo.c           gerror.c          init.c        minmax.h        stat.c

cairo_text_helpers.c  fifo.h           gerror.h          io_ddir.h     mutex.c         stat.h

cairo_text_helpers.h  file.h           gettime.c         ioengine.h    mutex.h         t

cconv.c               filehash.c       gettime.h         ioengines.c   options.c       td_error.c

cgroup.c              filehash.h       gettime-thread.c  iolog.c       options.h       td_error.h

cgroup.h              filelock.c       gfio.c            iolog.h       os              thread_options.h

client.c              filelock.h       gfio.h            io_u.c        parse.c         tickmarks.c

client.h              filesetup.c      GFIO-TODO         io_u_queue.c  parse.h         tickmarks.h

compiler              fio.1            ghelpers.c        io_u_queue.h  printing.c      time.c

configure             fio.c            ghelpers.h        json.c        printing.h      tools

COPYING               fio.h            goptions.c        json.h        profile.c       trim.c

crc                   fio_time.h       goptions.h        lib           profile.h       trim.h

debug.c               FIO-VERSION-GEN  graph.c           libfio.c      profiles        verify.c

debug.h               flist.h          graph.h           LICENSE       README          verify.h

diskutil.c            flow.c           hash.h            log.c         REPORTING-BUGS

diskutil.h            flow.h           helpers.c         log.h         server.c

engines               gclient.c        helpers.h         Makefile      server.h

--安装

[root@dave fio-2.1.10]# make all

[root@dave fio-2.1.10]# make install

install -m 755 -d /usr/local/bin

install fio tools/fio_generate_plots tools/plot/fio2gnuplot tools/genfio /usr/local/bin

install -m 755 -d /usr/local/man/man1

install -m 644 fio.1 /usr/local/man/man1

install -m 644 tools/fio_generate_plots.1 /usr/local/man/man1

install -m 644 tools/plot/fio2gnuplot.1 /usr/local/man/man1

install -m 755 -d /usr/local/share/fio

install -m 644 tools/plot/*gpm /usr/local/share/fio/

2语法说明

[root@rac1 ~]# fio

No jobs(s) defined

fio-2.1.10

fio [options] [job options]

--debug=options   Enable debug logging. May be one/more of:

process,file,io,mem,blktrace,verify,random,parse,

diskutil,job,mutex,profile,time,net,rate

--parse-only      Parse options only, don't start any IO

--output      Write output to file

--runtime     Runtime in seconds

--latency-log     Generate per-job latency logs

--bandwidth-log   Generate per-job bandwidth logs

--minimal     Minimal (terse) output

--output-format=x Output format (terse,json,normal)

--terse-version=x Set terse version output format to 'x'

--version     Print version info and exit

--help        Print this page

--cpuclock-test   Perform test/validation of CPU clock

--crctest     Test speed of checksum functions

--cmdhelp=cmd     Print command help, "all" for all of them

--enghelp=engine  Print ioengine help, or list available ioengines

--enghelp=engine,cmd  Print help for an ioengine cmd

--showcmd     Turn a job file into command line options

--eta=when        When ETA estimate should be printed

May be "always", "never" or "auto"

--eta-newline=time    Force a new line for every 'time' period passed

--status-interval=t   Force full status dump every 't' period passed

--readonly        Turn on safety read-only checks, preventing writes

--section=name    Only run specified section in job file

--alloc-size=kb   Set smalloc pool to this size in kb (def 1024)

--warnings-fatal  Fio parser warnings are fatal

--max-jobs=nr     Maximum number of threads/processes to support

--server=args     Start a backend fio server

--daemonize=pidfile   Background fio server, write pid to file

--client=hostname Talk to remote backend fio server at hostname

--idle-prof=option    Report cpu idleness on a system or percpu basis

(option=system,percpu) or run unit work

calibration only (option=calibrate)

Fio was written by Jens Axboe

Jens Axboe

Jens Axboe axboe@fb.com

filename=/dev/sdb1 测试文件名称,通常选择需要测试的盘的data目录。

direct=1 测试过程绕过机器自带的buffer。使测试结果更真实。

rw=randwrite 测试随机写的I/O

rw=randrw 测试随机写和读的I/O

bs=16k 单次io的块文件大小为16k

bsrange=512-2048 同上,提定数据块的大小范围

size=5g 本次的测试文件大小为5g,以每次4k的io进行测试。

numjobs=30 本次的测试线程为30.

runtime=1000 测试时间为1000秒,如果不写则一直将5g文件分4k每次写完为止。

ioengine=psync io引擎使用pync方式

rwmixwrite=30 在混合读写的模式下,写占30%

group_reporting 关于显示结果的,汇总每个进程的信息。

lockmem=1g 只使用1g内存进行测试。

zero_buffers 用0初始化系统buffer。

nrfiles=8 每个进程生成文件的数量。

bw:磁盘的吞吐量,这个是顺序读写考察的重点

iops:磁盘的每秒读写次数,这个是随机读写考察的重点

--测试随机写带宽

fio --name=wbw --filename=/dev/dfa --numjobs=4 --bs=128k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

--rw=randwrite --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

--gtod_reduce=1 --runtime=30

fio --name=wlat --filename=/dev/dfa --numjobs=1 --runtime=30 --bs=4k --ioengine=libaio --direct=1 --norandommap /

--randrepeat=0 --rw=randwrite --group_reporting --iodepth=1 --iodepth_batch_complete=0

--测试4k 随机写IOPS:

https://www.cndba.cn/dave/article/104

fio --name=wiops --filename=/dev/dfa --numjobs=4 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

--rw=randwrite --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

--gtod_reduce=1 --runtime=30

--测试4k 读带宽:

fio --name=rbw --filename=/dev/dfa --numjobs=4 --bs=128k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

--rw=randread --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

--gtod_reduce=1 --runtime=30

https://www.cndba.cn/dave/article/104https://www.cndba.cn/dave/article/104

--测试4k 随机读延迟:

fio --name=rlat --filename=/dev/dfa --numjobs=1 --runtime=30 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 /

--rw=randread --group_reporting --iodepth=1 --iodepth_batch_complete=0

--测试4k 随机读IOPS:

fio --name=riops --filename=/dev/dfa --numjobs=4 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

--rw=randread --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

--gtod_reduce=1 --runtime=30

--随机读:

fio -filename=/dev/dfa -iodepth=1 -ioengine=libaio -direct=1 -rw=randread -bs=4k -size=1G -numjobs=10 -runtime=20 -group_reporting -name=test-rand-read

--随机写:

fio -filename=/home/test -iodepth=64 -ioengine=libaio -direct=1 -rw=randwrite -bs=4k -size=2G -numjobs=64 -runtime=20 -group_reporting -name=test-rand-write

--顺序读:

fio -filename=/dev/sdb1 -direct=1 -iodepth 1 -thread -rw=read -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=1000 -group_reporting -name=mytest

--顺序写:

fio -filename=/dev/sdb1 -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=1000 -group_reporting -name=mytest

--混合随机读写:

fio -filename=/dev/sdb1 -direct=1 -iodepth 1 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=100 -group_reporting -name=mytest -ioscheduler=noop

3实测示例

3.1 测试随机写带宽

[root@rac1 ~]# fio --name=wbw --filename=/dev/dfa --numjobs=4 --bs=128k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

> --rw=randwrite --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

> --gtod_reduce=1 --runtime=30

wbw: (g=0): rw=randwrite, bs=128K-128K/128K-128K/128K-128K, ioengine=libaio, iodepth=512

...

wbw: (g=0): rw=randwrite, bs=128K-128K/128K-128K/128K-128K, ioengine=libaio, iodepth=512

fio-2.0.13

Starting 4 processes

Jobs: 4 (f=4): [wwww] [100.0% done] [0K/1872M/0K /s] [0 /14.1K/0  iops] [eta 00m:00s]

wbw: (groupid=0, jobs=4): err= 0: pid=63788: Mon Dec 21 22:02:34 2015

write: io=55887MB, bw=1858.2MB/s, iops=14865 , runt= 30076msec

cpu          : usr=9.76%, sys=8.17%, ctx=12461, majf=0, minf=86

IO depths    : 1=0.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=99.9%

submit    : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=99.9%

complete  : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=100.0%

issued    : total=r=0/w=447096/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

WRITE: io=55887MB, aggrb=1858.2MB/s, minb=1858.2MB/s, maxb=1858.2MB/s, mint=30076msec, maxt=30076msec

Disk stats (read/write):

dfa: ios=0/444800, merge=0/0, ticks=0/16680784, in_queue=16760571, util=99.76%

[root@rac1 ~]#

https://www.cndba.cn/dave/article/104

3.2 测试4K 随机写延迟

[root@rac1 ~]# fio --name=wlat --filename=/dev/dfa --numjobs=1 --runtime=30 --bs=4k --ioengine=libaio --direct=1 --norandommap /

> --randrepeat=0 --rw=randwrite --group_reporting --iodepth=1 --iodepth_batch_complete=0

wlat: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=1

fio-2.0.13

Starting 1 process

Jobs: 1 (f=1): [w] [100.0% done] [0K/351.6M/0K /s] [0 /89.1K/0  iops] [eta 00m:00s]

wlat: (groupid=0, jobs=1): err= 0: pid=66726: Mon Dec 21 22:10:48 2015

write: io=10624MB, bw=362634KB/s, iops=90658 , runt= 30001msec

slat (usec): min=2 , max=808 , avg= 3.92, stdev= 1.20

clat (usec): min=0 , max=960 , avg= 6.81, stdev= 1.81

lat (usec): min=7 , max=965 , avg=10.79, stdev= 2.16

clat percentiles (usec):

|  1.00th=[    5],  5.00th=[    6], 10.00th=[    6], 20.00th=[    6],

| 30.00th=[    6], 40.00th=[    7], 50.00th=[    7], 60.00th=[    7],

| 70.00th=[    7], 80.00th=[    7], 90.00th=[    8], 95.00th=[    8],

| 99.00th=[   10], 99.50th=[   10], 99.90th=[   12], 99.95th=[   26],

| 99.99th=[   39]

bw (KB/s)  : min=355360, max=457536, per=100.00%, avg=362687.73, stdev=16744.99

lat (usec) : 2=0.01%, 4=0.01%, 10=98.14%, 20=1.79%, 50=0.05%

lat (usec) : 250=0.01%, 500=0.01%, 1000=0.01%

cpu          : usr=14.04%, sys=86.05%, ctx=130, majf=0, minf=22

IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%

submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%

complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%

issued    : total=r=0/w=2719843/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

WRITE: io=10624MB, aggrb=362633KB/s, minb=362633KB/s, maxb=362633KB/s, mint=30001msec, maxt=30001msec

Disk stats (read/write):

dfa: ios=0/2711308, merge=0/0, ticks=0/18630, in_queue=18509, util=61.71%

[root@rac1 ~]#

3.3 测试4k 随机写IOPS

fio --name=wiops --filename=/dev/dfa --numjobs=4 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

--rw=randwrite --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

--gtod_reduce=1 --runtime=30

[root@rac1 ~]# fio --name=wiops --filename=/dev/dfa --numjobs=4 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

> --rw=randwrite --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

> --gtod_reduce=1 --runtime=30

wiops: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=512

...

wiops: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=512

fio-2.0.13

Starting 4 processes

Jobs: 4 (f=4): [wwww] [100.0% done] [0K/1856M/0K /s] [0 /475K/0  iops] [eta 00m:00s]

wiops: (groupid=0, jobs=4): err= 0: pid=65083: Mon Dec 21 22:06:03 2015

write: io=55594MB, bw=1852.1MB/s, iops=474338 , runt= 30004msec

cpu          : usr=6.03%, sys=36.80%, ctx=5450027, majf=0, minf=86

IO depths    : 1=0.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=100.0%

submit    : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=100.0%

complete  : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=100.0%

issued    : total=r=0/w=14232056/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

WRITE: io=55594MB, aggrb=1852.1MB/s, minb=1852.1MB/s, maxb=1852.1MB/s, mint=30004msec, maxt=30004msec

Disk stats (read/write):

dfa: ios=0/14187613, merge=0/0, ticks=0/50514448, in_queue=53271406, util=100.00%

[root@rac1 ~]#

3.4 测试4k 读带宽

[root@rac1 ~]# fio --name=rbw --filename=/dev/dfa --numjobs=4 --bs=128k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap --rw=randread --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 --gtod_reduce=1 --runtime=30

rbw: (g=0): rw=randread, bs=128K-128K/128K-128K/128K-128K, ioengine=libaio, iodepth=512

...

rbw: (g=0): rw=randread, bs=128K-128K/128K-128K/128K-128K, ioengine=libaio, iodepth=512

fio-2.0.13

Starting 4 processes

Jobs: 4 (f=4): [rrrr] [100.0% done] [12064M/0K/0K /s] [96.6K/0 /0  iops] [eta 00m:00s]

rbw: (groupid=0, jobs=4): err= 0: pid=67769: Mon Dec 21 22:14:10 2015

read : io=362047MB, bw=12065MB/s, iops=96520 , runt= 30008msec

cpu          : usr=0.78%, sys=99.30%, ctx=151, majf=0, minf=2262

IO depths    : 1=0.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=100.0%

submit    : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=100.0%

complete  : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=100.0%

issued    : total=r=2896376/w=0/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

READ: io=362047MB, aggrb=12065MB/s, minb=12065MB/s, maxb=12065MB/s, mint=30008msec, maxt=30008msec

Disk stats (read/write):

dfa: ios=2887839/0, merge=0/0, ticks=163897/0, in_queue=166373, util=100.00%

3.5 测试4k 随机读延迟

[root@rac1 ~]# fio --name=rlat --filename=/dev/dfa --numjobs=1 --runtime=30 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 /

> --rw=randread --group_reporting --iodepth=1 --iodepth_batch_complete=0

rlat: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=1

fio-2.0.13

Starting 1 process

Jobs: 1 (f=1): [r] [100.0% done] [779.2M/0K/0K /s] [199K/0 /0  iops] [eta 00m:00s]

rlat: (groupid=0, jobs=1): err= 0: pid=68757: Mon Dec 21 22:16:43 2015

read : io=23251MB, bw=793604KB/s, iops=198401 , runt= 30001msec

slat (usec): min=1 , max=65 , avg= 2.14, stdev= 0.55

clat (usec): min=0 , max=86 , avg= 2.47, stdev=11.08

lat (usec): min=2 , max=88 , avg= 4.67, stdev=11.16

clat percentiles (usec):

|  1.00th=[    0],  5.00th=[    0], 10.00th=[    0], 20.00th=[    0],

| 30.00th=[    0], 40.00th=[    0], 50.00th=[    0], 60.00th=[    0],

| 70.00th=[    1], 80.00th=[    1], 90.00th=[    1], 95.00th=[    1],

| 99.00th=[   64], 99.50th=[   65], 99.90th=[   68], 99.95th=[   69],

| 99.99th=[   69]

bw (KB/s)  : min=779168, max=809720, per=99.98%, avg=793466.98, stdev=7401.14

lat (usec) : 2=96.18%, 4=0.02%, 10=0.01%, 20=0.01%, 50=0.13%

lat (usec) : 100=3.66%

cpu          : usr=17.58%, sys=82.52%, ctx=32, majf=0, minf=24

IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%

submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%

complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%

issued    : total=r=5952229/w=0/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

READ: io=23251MB, aggrb=793604KB/s, minb=793604KB/s, maxb=793604KB/s, mint=30001msec, maxt=30001msec

Disk stats (read/write):

dfa: ios=5908454/0, merge=0/0, ticks=24555/0, in_queue=24571, util=81.92%

https://www.cndba.cn/dave/article/104

3.6 测试4k 随机读IOPS

[root@rac1 ~]# fio --name=riops --filename=/dev/dfa --numjobs=4 --bs=4k --ioengine=libaio --direct=1 --randrepeat=0 --norandommap /

> --rw=randread --group_reporting --iodepth=512 --iodepth_batch=128 --iodepth_batch_complete=128 /

> --gtod_reduce=1 --runtime=30

riops: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=512

...

riops: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=512

fio-2.0.13

Starting 4 processes

Jobs: 4 (f=4): [rrrr] [100.0% done] [7001M/0K/0K /s] [1792K/0 /0  iops] [eta 00m:00s]

riops: (groupid=0, jobs=4): err= 0: pid=69105: Mon Dec 21 22:17:59 2015

read : io=209962MB, bw=6998.6MB/s, iops=1791.7K, runt= 30001msec

cpu          : usr=8.08%, sys=92.01%, ctx=241, majf=0, minf=2138

IO depths    : 1=0.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=100.0%

submit    : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=100.0%

complete  : 0=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=100.0%

issued    : total=r=53750392/w=0/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):

READ: io=209962MB, aggrb=6998.6MB/s, minb=6998.6MB/s, maxb=6998.6MB/s, mint=30001msec, maxt=30001msec

Disk stats (read/write):

dfa: ios=53591338/0, merge=0/0, ticks=164668/0, in_queue=210358, util=100.00%

[root@rac1 ~]#

https://www.cndba.cn/dave/article/104

版权声明:本文为博主原创文章,未经博主允许不得转载。

fio模拟mysql写入速度_IO压力测试工具 -- FIO 使用说明相关推荐

  1. benchmarksql测试mysql_数据库压力测试工具 -- BenchmarkSQL 使用说明

    关于数据库的压力测试,之前写过3篇Blog: 数据库基准测试(Database Benchmarking) 说明 数据库压力测试工具 -- Hammerdb 使用说明 数据库压力测试工具 -- Swi ...

  2. http压力测试工具及使用说明

    说明:介绍几款简单.易使用http压测工具,便于研发同学,压测服务,明确服务临界值,寻找服务瓶颈点. 压测时候可重点以下指标,关注并发用户数.TPS(每秒事务数量).RT(事务响应时间).事物失败率. ...

  3. fio模拟mysql写入速度_fio 测试工具

    一 何为fio 总之就是一个磁盘io的测试工具,支持多引擎和多系统测试,非常灵活和强大. 二 安装 Linux:yum install libaio-devel  依赖包安装 解压tar包 然后mak ...

  4. MySQL数据库自带基准压力测试工具MySQLSlap使用探索

    一.介绍 mysqlslap是MySQL5.1.4之后自带的benchmark基准测试工具,可以生成schema,装载数据,执行benckmark和查询数据,语法简单,灵活,容易使用. 该工具可以模拟 ...

  5. mysql压力测试教程_Mysqlslap MySQL压力测试工具 简单教程

    MySQL从5.1.4版开始带有一个压力测试工具mysqlslap,通过模拟多个并发客户端访问mysql来执行测试,使用起来非常的简单.通过mysqlslap –help可以获得可用的选项,这里列一些 ...

  6. mysql 工具_MySQL压力测试工具,值得收藏

    一.MySQL自带的压力测试工具--Mysqlslap mysqlslap是mysql自带的基准测试工具,该工具查询数据,语法简单,灵活容易使用.该工具可以模拟多个客户端同时并发的向服务器发出查询更新 ...

  7. mysql压力测试工具Mysqlslap

    mysql 性能测试工具:The MySQL Benchmark Suite(不支持多CPU而且不是压力工具) 压力测试工具: MySQL super-smack:需要找能连接外网的机器,能连接外网的 ...

  8. (转)MySQL自带的性能压力测试工具mysqlslap详解

    mysqlslap 是 Mysql 自带的压力测试工具,可以模拟出大量客户端同时操作数据库的情况,通过结果信息来了解数据库的性能状况 mysqlslap 的一个主要工作场景就是对数据库服务器做基准测试 ...

  9. mysql压力写入测试_mysql压力测试工具

    相关推荐:测试工具 测试工具 测试管理工具                          Quality Center 基于WEB的测试管理工具 Test  Director 功能测试工具     ...

最新文章

  1. php-cgi.sock 权限,php-fpm sock文件权限设置
  2. python opencv生成模糊图像
  3. 【BZOJ】 2463 [中山市选2009]谁能赢呢?(博弈论)
  4. 第二百二十三节,jQuery EasyUI,ComboBox(下拉列表框)组件
  5. 拼接的option会多出空行_Word空格,空行,页眉横线等问题,我只花一分钟就全解决了...
  6. 有鱼上钩!卖鱼!卖鱼!
  7. 参数方法(parameter)与非参数方法(nonparameter)
  8. 站立会议07(第二次冲刺)
  9. Objective-C写出Json文件(可作配置文件)
  10. 前端登陆界面 html+js
  11. 计算机网络 | 实验二 WINPCWP编程
  12. kartoslam找bug之行
  13. hexo嵌入html传消息的,Hexo添加Toc支持,生成文章目录
  14. 虚拟机安装-ubuntu
  15. Studio 3T无法连接MongoDB异常错误 解决方法
  16. 计算机无法连接蓝牙键盘,Windows10下蓝牙键盘连接后使用不了如何解决
  17. 电脑浏览器收藏夹中的记录如何恢复?
  18. P7-Windows与网络基础-虚拟机基本操作
  19. 【嵌入式开发基础】gn ninja命令安装
  20. 了解OLED显示屏的工作原理

热门文章

  1. 会写代码是你创业路上的包袱吗?
  2. 如何看待消息中间件的选型
  3. mxnet输出训练loss
  4. OpenVINO FPS也可以达100帧
  5. LFFD ncnn torch
  6. pytorch加载预训练 加载部分参数
  7. python ffmpeg4 保存h264
  8. cl: 命令行 error D8021 :无效的数值参数“/Wno-cpp” 和 cl: 命令行 error D8021 :无效的数值参数“/Wno-unused-function”
  9. java执行linux shell命令,并拿到返回值
  10. opencv 灰度图