meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ... my Sys/Db Admin and developper notes - I don't care about typos
Tuesday, May 12, 2015
sql disk io
short reblogged from http://www.mssqltips.com/sqlservertip/2127/benchmarking-sql-server-io-with-sqlio/
1) change param.txt to bigger testfile (10Gb) and correct drive:
param.txt
c:\testfile.dat 8 0x0 10240
#name threads cpuaffinity sizeInMB
2) create testfile: sqlio -kW -s5 -fsequential -o4 -b64 -Fparam.txt
C:\Program Files (x86)\SQLIO>sqlio -kW -s5 -fsequential -o4 -b64 -Fparam.txt
sqlio v1.5.SG
parameter file used: param.txt
file c:\testfile.dat with 8 threads (0-7) using mask 0x0 (0)
8 threads writing for 5 secs to file c:\testfile.dat
using 64KB sequential IOs
enabling multiple I/Os per thread with 4 outstanding
size of file c:\testfile.dat needs to be: 10737418240 bytes
current file size: 0 bytes
need to expand by: 10737418240 bytes
expanding c:\testfile.dat ... done.
using specified size: 10240 MB for file: c:\testfile.dat
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec: 1327.03
MBs/sec: 82.93
VM on HyperV on SSD Raid,other examples:
Al:
IOs/sec: 3862.24
MBs/sec: 241.39
3) RANDOM WRITE TEST: (-d ... Drive -s seconds -t threads simultan)
sqlio -dC -BH -kW -frandom -t1 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kW -frandom -t2 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kW -frandom -t4 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kW -frandom -t8 -o1 -s60 -b64 \testfile.dat
C:\Program Files (x86)\SQLIO>sqlio -dC -BH -kW -frandom -t1 -o1 -s90 -b64 \testfile.dat
sqlio v1.5.SG
1 thread writing for 90 secs to file C:\testfile.dat
using 64KB random IOs
enabling multiple I/Os per thread with 1 outstanding
buffering set to use hardware disk cache (but not file cache)
using current size: 10240 MB for file: C:\testfile.dat
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec: 1082.02
MBs/sec: 67.62
Al -t1:
IOs/sec: 915.90
MBs/sec: 57.24
4)RANDOM READ TEST:
sqlio -dC -BH -kR -frandom -t1 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kR -frandom -t2 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kR -frandom -t4 -o1 -s60 -b64 \testfile.dat
sqlio -dC -BH -kR -frandom -t8 -o1 -s60 -b64 \testfile.dat
C:\Program Files (x86)\SQLIO>sqlio -dC -BH -kR -frandom -t1 -o1 -s30 -b64 \testfile.dat
sqlio v1.5.SG
1 thread reading for 30 secs from file C:\testfile.dat
using 64KB random IOs
enabling multiple I/Os per thread with 1 outstanding
buffering set to use hardware disk cache (but not file cache)
using current size: 10240 MB for file: C:\testfile.dat
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec: 2409.36
MBs/sec: 150.58
Al:
IOs/sec: 278.00
MBs/sec: 17.37
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment