[转帖]UsingDiskspdforSQLServer --- 改天做下练习 官方文档.
Using DiskSpd in SQL Server environments Writer: Robert Beene Contributors: Jose Barreto, Ramu Konidena Technical Reviewers: Robert Dorr, Mike Zawadzki, Nitin Verma, Dan Lovinger Applies To: All Versions of SQL Server except Microsoft Azure SQL Database (MASD) Topics
|
||||||||||||||||||||||||
BACKGROUND |
A number of tools are available to stress and validate the functionality of I/O subsystems. Some of these tools actually simulate SQL Server I/O patterns, and others let you control the I/O patterns submitted to the subsystem. There are tools that confirm the functional validity of a configuration, while others are used only to test performance capacity. Software that performs a validation test simulates a read and write pattern, but it also verifies that the information was correctly read and written. This type of software is often used to help find root causes of corruption or to help determine whether drivers and hardware are functioning as expected when they’re performing I/O. There is likely to be a speed component to running this test, but this test is more about accuracy than speed. For the purposes of this document, a performance test tool focuses on simulating the READ and WRITE pattern, but it focuses even more heavily on the throughput and speed at which those operations take place (Load Generator). A performance test determines whether the hardware is capable of meeting the parameters at which it was designed to handle I/O throughput. The following table compares the most common tools that are currently used to test I/O subsystems in the context of SQL Server. Table 1 Tools used to test I/O subsystems
SQLIOSim For the |
|||||||||||||||||||||||
INFORMATION |
DiskSpd.exe You can use DiskSpd |
|||||||||||||||||||||||
FEATURES |
Some of the
|
|||||||||||||||||||||||
Open Source DiskSpd is
|
||||||||||||||||||||||||
Download details DISKSPD is To download DiskSpd, |
||||||||||||||||||||||||
CONTENTS |
The DiskSpd download Figure 1 |
|||||||||||||||||||||||
SYNTAX |
To display a DiskSpd DiskSpd [options] target1 [ target2 [ The following DiskSpd –d300 Test targets All available options and parameters are enumerated in |
|||||||||||||||||||||||
WARNINGS & PRECAUTIONS |
WARNING: When WARNING: If Note: Be aware that uppercase and lowercase Note: Make sure there’s nothing else Note: Run DiskSpd from an elevated Note: You can cancel a DiskSpd run at any Note: The iB notation is an international • 1KiB = 210 = 1,024 bytes • 1MiB = 1024 KiB = 220 = • 1GiB = 1024 MiB = 230 = |
|||||||||||||||||||||||
USAGE |
For complete In order to The following Note: Make sure that you always use a
Now that we The following DiskSpd.exe -c1000G –d300 -r -w0 -t8 -o8
Note: The test file that’s created for
EXAMPLES Note: All A single target file sized at 1000 GiB 8 threads for data files 4 threads for Log files (1 per NUMA node 300 Second duration 32 outstanding IOs for data files, 8 up Your test may require modifying these Note: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ANALYSIS |
For complete By default, Before For example, assume Figure 2
Understanding It’s For example,
There is a penalty MAX_WRITE * NUMBER_OF_DRIVES / The following
Even though each drive can handle up to 450 MB/sec
Now that we have an understanding of the possible max Repeats Command Line: Note: For this test, –L for latency Lists Input timespan: 1 ------------- duration: 10s warm up time: 5s cool down time: 0s measuring latency random seed: 0 path: 'F:\testfile.dat' think time: 0ms burst size: 0 software and hardware write performing read test block size: 8192 using random I/O (alignment: number of outstanding I/O thread stride size: 0 threads per file: 8 using I/O Completion Ports IO priority: normal Results for ******************************************************************************* Shows actual test thread count: 8 proc count: 12 Shows CPU | Usage | ------------------------------------------- 0| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| 11| ------------------------------------------- avg.| 2.43%| Gives Total IO thread | bytes | ----------------------------------------------------------------------------------------------------- 0 | 5341184 | 652 | 0.51 | 65.20 | 1 | 5865472 | 716 | 0.56 | 71.60 | 2 | 5636096 | 688 | 0.54 | 68.80 | 3 | 5545984 | 677 | 0.53 | 67.70 | 4 | 5308416 | 648 | 0.51 | 64.80 | 5 | 5947392 | 726 | 0.57 | 72.60 | 6 | 5414912 | 661 | 0.52 | 66.10 | 7 | 5431296 | 663 | 0.52 | 66.30 | The total: 44490752 | 5431 | 4.24 | 543.10 | For Read IO thread | bytes | ----------------------------------------------------------------------------------------------------- 0 | 5341184 | 652 | 0.51 | 65.20 | 1 | 5865472 | 716 | 0.56 | 71.60 | 2 | 5636096 | 688 | 0.54 | 68.80 | 3 | 5545984 | 677 | 0.53 | 67.70 | 4 | 5308416 | 648 | 0.51 | 64.80 | 5 | 5947392 | 726 | 0.57 | 72.60 | 6 | 5414912 | 661 | 0.52 | 66.10 | 7 | 5431296 | 663 | 0.52 | 66.30 | ----------------------------------------------------------------------------------------------------- total: 44490752 | 5431 | 4.24 | 543.10 | As Write IO thread | bytes | ----------------------------------------------------------------------------------------------------- 0 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 1 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 2 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 3 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 4 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 5 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 6 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) 7 | 0 | 0 | 0.00 | 0.00 | 0.000 | N/A | F:\testfile.dat (1000GB) ----------------------------------------------------------------------------------------------------- total: 0 | 0 | 0.00 | 0.00 | 0.000 | N/A %-ile | ---------------------------------------------- min | 25th | 50th | 75th | 90th | 95th | 99th | 3-nines 4-nines 5-nines 6-nines 7-nines 8-nines max | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* DO NOT USE. SQLIO and
SQLIOStress are deprecated and will officially be pulled from download site, if
they are not already. Any personal copies of the tools should be removed.
[转帖]UsingDiskspdforSQLServer --- 改天做下练习 官方文档.的更多相关文章
- 【AutoMapper官方文档】DTO与Domin Model相互转换(下)
写在前面 AutoMapper目录: [AutoMapper官方文档]DTO与Domin Model相互转换(上) [AutoMapper官方文档]DTO与Domin Model相互转换(中) [Au ...
- Spring Cloud官方文档中文版-Spring Cloud Config(下)-客户端等
官方文档地址为:http://cloud.spring.io/spring-cloud-static/Dalston.SR2/#_serving_alternative_formats 文中例子我做了 ...
- ubuntu16.04下snort的安装(官方文档安装)(图文详解)
不多说,直接上干货! 最近为了科研,需要安装和使用Snort. snort的官网 https://www.snort.org/ Snort作为一款优秀的开源主机入侵检测系统,在windows和Linu ...
- ubuntu14.04下snort的安装(官方文档安装)(图文详解)
不多说,直接上干货! 最近为了科研,需要安装和使用Snort. snort的官网 https://www.snort.org/ Snort作为一款优秀的开源主机入侵检测系统,在windows和Linu ...
- vue插件官方文档,做个记录
vue的插件,组件都可以按照这种方式添加 官方文档 https://cn.vuejs.org/v2/guide/plugins.html 做个记录用
- 参考Dubbo3官方文档做的学习笔记
文章目录 概念与架构 2.1 服务发现 Dubbo3官方文档: https://dubbo.apache.org 服务:是 Dubbo 中的核心概念,一个服务代表一组 RPC 方法的集合,服务是面向用 ...
- 【AutoMapper官方文档】DTO与Domin Model相互转换(上)
写在前面 AutoMapper目录: [AutoMapper官方文档]DTO与Domin Model相互转换(上) [AutoMapper官方文档]DTO与Domin Model相互转换(中) [Au ...
- 2DToolkit官方文档中文版打地鼠教程(三):Sprite Collections 精灵集合
这是2DToolkit官方文档中 Whack a Mole 打地鼠教程的译文,为了减少文中过多重复操作的翻译,以及一些无必要的句子,这里我假设你有Unity的基础知识(例如了解如何新建Sprite等) ...
- 【AutoMapper官方文档】DTO与Domin Model相互转换(中)
写在前面 AutoMapper目录: [AutoMapper官方文档]DTO与Domin Model相互转换(上) [AutoMapper官方文档]DTO与Domin Model相互转换(中) [Au ...
随机推荐
- linux编译安装aria2
一.安装aria2 [root@192-168-7-77 ~]# wget https://github.com/aria2/aria2/releases/download/release-1.33 ...
- 在eclipse中运行spring web application时的异常: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis ...
- SSIS 发送邮件
在SSIS中Send Mail的方法主要有三种,使用Send Mail Task,使用Script Task和使用存储过程msdb.dbo.sp_send_dbmail. 一,使用Send Mail ...
- Linux shell(4)
test比较两个值: 测试比较两个值是linux中常用的比较运算,test命令可以进行对两个值的比较,如果比较成功则返回值为0,否则为非0 常用比较方法: ·1.整数比较 2.字符串比较 3.逻辑比较 ...
- [PLC]ST语言五:STL/RET/CMP/ZCP
一:STL/RET/CMP/ZCP 说明:简单的顺控指令不做其他说明. 控制要求:无 编程梯形图: 结构化编程ST语言: (*步进指令STL(EN,s);*) SET(M8002,S3); STL(T ...
- 使用CNN做数字识别和人脸识别
上次写的一层神经网络也都贴这里了. 我有点困,我先睡觉,完了我再修改 这个代码写法不太符合工业代码的规范,仅仅是用来学习的的.还望各位见谅 import sys,ossys.path.append(o ...
- 小强版之无码理解C语言指针
1. 先从普通变量开始 2. 撸完变量撸指针 3. 故事情节进一步发展,此处少儿不宜 4. 奶茶妹妹捉奸,小强死定了 5. 源码欣赏 #include <stdio.h> ...
- Netty源码分析第7章(编码器和写数据)---->第2节: MessageToByteEncoder
Netty源码分析第七章: Netty源码分析 第二节: MessageToByteEncoder 同解码器一样, 编码器中也有一个抽象类叫MessageToByteEncoder, 其中定义了编码器 ...
- string类型和int类型之间的转换
一.string转int 1. 使用string流 /* 字符串转整型 */ /* * istringstream:从 string 读取数据 * ostringstream:向 string 写入数 ...
- JAVA第一次实验 ——凯撒密码的实现
JAVA实验一 编写程序实现凯撒密码 201352330 潘俊洋 一.实验说明 凯撒密码作为一种最为古老的对称加密体制,在古罗马的时候都已经很流行,他的基本思想是:通过把字母移动一定的位数来实现加 ...