我正在运行 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.
同时我得到以下弹出窗口:
我对文件夹 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
关于testing - 运行 diskspd 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50141461/