-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with using it to benchmark an ERAM RAMDisk #82
Comments
It should be straightforward to see where this error comes from in DISKSPD (see IoRequestGenerator.cpp).
Have you looked at what is happening in your driver when IOCTL_DISK_GET_PARTITION_INFO_EX & failing over, IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS is issued?
If you haven’t created a partition and are running v. a drive letter (it looks like this is the case), try running against the drive number instead. This will go down a different path if you look further up into where DISKSPD is trying to figure out how big the target is:
//check if it is a disk
if (fPhysical)
{
fsize = GetPhysicalDriveSize(hFile);
}
// check if it is a partition
else if (fPartition)
{
fsize = GetPartitionSize(hFile);
}
// it has to be a regular file
else
{ … }
It may be that there is a problem with your driver with respect to lower level fallbacks for unpartitioned (RAW) media that those IOCTLs rely on normally, but it could be that drive letter-mapped raw media simply doesn’t work at the moment. Its not a usual case for us. I’m not sure what those problems could be without further investigation.
See if #<drivenumber> unblocks you first.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Zero3K<mailto:notifications@github.com>
Sent: Tuesday, November 27, 2018 10:34 PM
To: Microsoft/diskspd<mailto:diskspd@noreply.github.com>
Cc: Subscribed<mailto:subscribed@noreply.github.com>
Subject: [Microsoft/diskspd] Issue with using it to benchmark an ERAM RAM Disk (#82)
When I try to do it, I get the following error:
ERROR: Could not obtain dynamic volume extents (error code: 1)
The file is too small or there has been an error during getting file size
There has been an error during threads execution
The source code and drivers for it can be found at https://github.com/Zero3K/ERAM.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#82>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIVpKdfNERp-nZe-uksBLf3D9G_kF1omks5uzi5igaJpZM4Y284Q>.
|
I don't see those two functions in its source code. A different version of it did work though. By the way, maybe you could try fixing Zero3K/ERAM#10 and/or Zero3K/ERAM#14. |
I made a new version of it recently. You can get it at https://github.com/Zero3K/ERAM/releases/tag/v2.24. |
I'm citing from the current source on GitHub. If you're using a version of pre-compiled DISKSPD earlier than 2.0.21a (https://aka.ms/diskspd), it is possible something was fixed along the way. Update in any case, or compile from the head of the master branch here. |
When I try to do it, I get the following error:
ERROR: Could not obtain dynamic volume extents (error code: 1)
The file is too small or there has been an error during getting file size
There has been an error during threads execution
The source code and drivers for it can be found at https://github.com/Zero3K/ERAM.
The text was updated successfully, but these errors were encountered: