Giter Site home page Giter Site logo

Comments (4)

dl2n avatar dl2n commented on June 16, 2024 1

OK, so that's exactly what's happening. There is certainly (always) a longer description to attach to it (see above), but DISKSPD when run w/o privilege to assert SeManageVolumePrivilege cannot invoke SetFileValidData and therefore has to write the entire file through to get it into its standard if-created-by-DISKSPD state: with valid data at the end of the file.

The good news is that one form of the right thing is happening for you, automatically.

If you are creating the file each time in a multi-invocation run, though (-c5G), you can avoid this overhead by creating the file once with a throwaway (or simply "preparation") load that runs for a brief time and leaves the file in a known state. Then reuse the file as many times as you like.

from diskspd.

dl2n avatar dl2n commented on June 16, 2024

Do you see the -d10 10s duration reflected in the output, or is it actually running for a longer period of time? Do you see IO for the entire minute, and is it constant or does it vary? (how much of the interval appears to be qd2 64k reads v. something else?)

-c5G creates a new file at the named location. When this happens, DISKSPD does one of two things to push valid data length Win32 SetFileValidData to the end of the new file: either SetFileValidData itself, requiring privileges described there, or it will write the file through once. All of this is before the warmup/measured duration/cooldown.

Do you see warning from DISKSPD about using a "slower" method to prepare the file (see code here), and is there any IOPS/BW constraint on the WSL environment and/or Ubuntu hosting environment that might make the slow method (5G of writes) take about 45s?

from diskspd.

PierreAntoineAP avatar PierreAntoineAP commented on June 16, 2024

For a duration of 10 seconds I see in the output that it lasts more than 1 minute and the IO are present throughout the minute constantly.
Yes, I've run two warnings:
WARNING: Error adjusting token privileges for SeManageVolumePrivilege (error code: 1300)
WARNING: Could not set privileges for setting valid file size; will use a slower method of preparing the file.

from diskspd.

PierreAntoineAP avatar PierreAntoineAP commented on June 16, 2024

Well, thank you for your help Dan.

from diskspd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.