Skip to content

Does diskspd create "real" sparse files? / Behaviour when using SMB #223

@mt1102

Description

@mt1102

Hello,

(i hope its ok to ask a question like this here)

Can you help me explain the following behaviour of diskspd:

When i use this to work with a local file:

diskspd.exe -c10G -w50 -b32K -F8 -r32K -o32 -W60 -d60 -Sh -L c:\Testfile

the results are as expected.

When i use this to work with a remote file:

diskspd.exe -c10G -w50 -b32K -F8 -r32K -o32 -W60 -d60 -Sh -L \servername\c$\Testfile

(servername is a VM hosted on the same ESX in a vSphere environment so i guess i can rule out network issues etc.)

the following happens:

  • The results are very bad, much worse than expected.

  • The 10G file is created immediately on the remote server. So i guess it is a sparse file? However, fsutil says it is not marked as sparse file (command is use: fsutil sparse queryflag on the SMB server locally).

  • I can see in the taskmanager of the client that almost no network traffic is happening, even beyound the 60s waiting delay. This is different when i use a much smaller file - for example 5M - then i can see fast network traffic immediately.

Do you have an explanation for this behaviour? It seems to me that the way the file is created causes measurements over SMB access to show odd results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions