You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, One quick question. Is there a way to run the DiskSpd test for a particular number of IOs instead of time duration? like can i instrcut it to run until it finishes "x" number of IOs and record the time spent for it?
And is there an example to notify another process when it finishes that many IOs(completes execution)? I saw that notifications are possible by reading the documentation, but wanted to see an example for the same (a process invoking it and getting notified when DiskSpd done)
Thanks
Shubha
The text was updated successfully, but these errors were encountered:
No. there is no option to run for a given number of IOs.
As far as the support for signaling through named events, read here for CreateEvent/WaitForSingleObject/etc.:
https://docs.microsoft.com/en-us/windows/win32/sync/event-objects
Unless you have a strong need for asynchronous execution from native code, I’d be careful before heading down this path. It may be more complicated that you need.
________________________________
From: shubhamacheeri <[email protected]>
Sent: Monday, September 16, 2019 10:31:24 PM
To: microsoft/diskspd <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [microsoft/diskspd] To Run DiskSpd for a particular number of IOs instead of a particular duration. (#120)
Hi, One quick question. Is there a way to run the DiskSpd test for a particular number of IOs instead of time duration? like can i instrcut it to run until it finishes "x" number of IOs and record the time spent for it?
And is there an example to notify another process when it finishes that many IOs(completes execution)? I saw that notifications are possible by reading the documentation, but wanted to see an example for the same (a process invoking it and getting notified when DiskSpd done)
Thanks
Shubha
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#120?email_source=notifications&email_token=ACCWSKPZJIHWH6ZNKKM6JGTQKBTSZA5CNFSM4IXK36TKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLYCZXA>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ACCWSKO2PGRTDUCBYS7JBG3QKBTSZANCNFSM4IXK36TA>.
Hi, One quick question. Is there a way to run the DiskSpd test for a particular number of IOs instead of time duration? like can i instrcut it to run until it finishes "x" number of IOs and record the time spent for it?
And is there an example to notify another process when it finishes that many IOs(completes execution)? I saw that notifications are possible by reading the documentation, but wanted to see an example for the same (a process invoking it and getting notified when DiskSpd done)
Thanks
Shubha
The text was updated successfully, but these errors were encountered: