testing - 运行 diskspd 时出错
问题描述
我正在运行 diskspd.exe 工具,您可以从以下位置下载:
操作系统: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
推荐阅读
- python - Python OpenCV 以低质量读取视频
- c - 如何避免 uint8_t 数据类型的 sprintf 警告
- typescript - 什么是 TypeScript 中的可选链接(Elvis 运算符)以及它是如何工作的?
- paypal - 如何将 Azure API 管理与 Paypal 集成
- ansible - 询问是否安装包时的多个 vars_prompt 任务条件
- r - 调用中不包含错误和准确性:模型 - 随机森林模型
- python - 如果熊猫上的某些字符相同,如何替换字符串?
- python - 在迭代框架时添加后缀和重命名
- prometheus - 上传文件大小的 Prometheus 指标
- debugging - 在调试期间在哪里以及如何查看 vscode 中的返回值(或者如果在 gdb 中不可能)