[转帖]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 ...
随机推荐
- SQL Server 跨库查询
1. 开启Ad Hoc Distributed Queries组件,在sql查询编辑器中执行如下语句: reconfigure reconfigure 2. 跨库查询操作 select * from ...
- mysql自动化测试第一个例子
################################################################################ # This test verifie ...
- Appium知识积累
1.使用uiautomatorviewer 可以直接在命令行输入uiautomatorviewer,打开获取屏幕截图工具,连接手机,打开所要获取包名的应用,然后获取其截图,根据截图查看package即 ...
- vue处理循环列表动态数据问题
调用方法:Vue.set( target, key, value ) target:要更改的数据源(可以是对象或者数组) key:要更改的具体数据 value :重新赋的值 <!DOCTYPE ...
- SICP读书笔记 3.5
SICP CONCLUSION 让我们举起杯,祝福那些将他们的思想镶嵌在重重括号之间的Lisp程序员 ! 祝我能够突破层层代码,找到住在里计算机的神灵! 目录 1. 构造过程抽象 2. 构造数据抽象 ...
- Datawhale MySQL 训练营 Task2 查询语句
目录 MySQL 管理 MySQL 用户管理 参考 数据库管理 SQ查询语句 1. 导入示例数据库,教程 MySQL导入示例数据库 2. 查询语句 SELECT 3. 筛选语句 WHERE ,过滤 4 ...
- Axure 制作 轮播 左右按钮轮播图
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 ...
- python破解网吧收费系统,远控网吧电脑设备!
我今天呢 , 我就没事跟着朋友喝酒喝酒啊.喝了很多啊.晚上到旁边的酒店开了一个房间,到了酒店才十点! 感觉没啥事情干的,那就去网吧走走看把,看到是一个嘟嘟牛的,和上次是一样的.还是照常用MS170 ...
- 程序设计 之 C#实现《拼图游戏》 (上)代码篇
原理详解请参考博客中 拼图游戏(下)原理篇 http://www.cnblogs.com/labixiaohei/p/6713761.html 功能描述: 1.用户自定义上传图片 2.游戏难度选择:简 ...
- Erlang数据类型的表示和实现(3)——列表
列表 Erlang 中的列表是通过链表实现的,表示列表的 Eterm 就是这个链表的起点.列表 Eterm 中除去 2 位标签 01 之外,剩下的高 62 位表示指向列表中第一个元素的指针的高 62 ...