我正在运行diskspd.exe工具,可以从以下网站下载:


Diskspd Utility: A Robust Storage Testing Tool (superseding SQLIO)
https://github.com/Microsoft/diskspd


操作系统:Windows 2016标准

我首先得到这个:

D:\Diskspd\amd64fre>diskspd.exe -d15 -o4 -t4 -b8k -r -L -w50  testdiskspd.dat
Error opening file: testdiskspd.dat [2]
Error opening file: testdiskspd.dat [2]
Error opening file: testdiskspd.dat [2]
Error opening file: testdiskspd.dat [2]


15秒后,我得到以下信息:

There has been an error during threads execution

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


同时,我得到以下弹出窗口:

testing - 运行diskspd时出错-LMLPHP

我在文件夹D:\Diskspd\amd64fre\中具有写权限。我通过创建.txt文件进行了测试。

这就是我在Windows日志中看到的内容。

Faulting application name: diskspd.exe, version: 0.0.0.0, time stamp: 0x54b9a313
Faulting module name: msvcrt.dll, version: 7.0.14393.0, time stamp: 0x57899b47
Exception code: 0x40000015
Fault offset: 0x000000000000c2c2
Faulting process id: 0x4b40
Faulting application start time: 0x01d3e2437778fe7f
Faulting application path: D:\Diskspd\amd64fre\diskspd.exe
Faulting module path: C:\Windows\System32\msvcrt.dll
Report Id: 2190f963-f533-4805-b23a-e3224c56e72d
Faulting package full name:
Faulting package-relative application ID:


有什么建议么?

最佳答案

我需要提供文件大小开关和一个值。然后运行良好。从文档中,尚不清楚它是否是必需参数。

D:\Diskspd\amd64fre>diskspd.exe -d15 -o4 -t4 -b8k -r -L -w50  -c1G testdiskspd

10-05 19:50