Re[2]: QueryPerformanceCounter

How about using the built in Performance Monitor to track performance
with and without your driver in place? You can get through put as well
as other metrics. Alternatively you could use a tool such as FileSpy
that allows you to show the time it took to complete the request. Again,
doing this with and without your driver could give you the necessary
information.

Pete


Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295

------ Original Message ------
From: “Maneesh Anand Samria”
To: “Windows File Systems Devs Interest List”
Sent: 7/30/2015 10:53:08 AM
Subject: Re: [ntfsd] QueryPerformanceCounter

>Bo,
>Pardon , my sense of humour.
>I did not get it well.
>If it wont give consistent result , even without my filter driver.
>how would I make any statement , if I Filter is fast enough or not.
>I have to publish figures to customers , that’s why I am looking for
>some reliable.
>Thank you in advance.
>-Maneesh
>
>
>On Thu, Jul 30, 2015 at 5:22 PM, Bo Brantén wrote:
>>On Thu, 30 Jul 2015, xxxxx@gmail.com wrote:
>>
>>> QueryPerformanceCounter(&Start_Time);
>>> CreateFile( < appropriate ags …>,);
>>> QueryPerformanceCounter(&End_Time);
>>>
>>> Cost = End_TIME - Start_Time;
>>>used this approach to measure ReadFile /WriteFile also.
>>>But it generates inconsistent results. i.e. if run for over 100
>>>files there are huge spikes in chart
>>
>>Then you have proved that your measurements works and everyting is
>>alright!
>>
>>Bo Branten
>>
>>
>>—
>>NTFSD is sponsored by OSR
>>
>>OSR is hiring!! Info at http://www.osr.com/careers
>>
>>For our schedule of debugging and file system seminars visit:
>>http://www.osr.com/seminars
>>
>>To unsubscribe, visit the List Server section of OSR Online at
>>http://www.osronline.com/page.cfm?name=ListServer
>
>
>
>–
>मनीष आनंद सामरिया
>Maneesh Anand.Samria
>— NTFSD is sponsored by OSR OSR is hiring!! Info at
>http://www.osr.com/careers For our schedule of debugging and file
>system seminars visit: http://www.osr.com/seminars To unsubscribe,
>visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer

Thank you Bo & Pete,
I will try the tools suggested.

Regards,

  • Maneesh

On Thu, Jul 30, 2015 at 11:12 PM, PScott wrote:

>
> How about using the built in Performance Monitor to track performance with
> and without your driver in place? You can get through put as well as other
> metrics. Alternatively you could use a tool such as FileSpy that allows you
> to show the time it took to complete the request. Again, doing this with
> and without your driver could give you the necessary information.
>
> Pete
>
> –
> Kernel Drivers
> Windows File System and Device Driver Consulting
> www.KernelDrivers.com http:</http:>
> 866.263.9295
>
>
>
> ------ Original Message ------
> From: “Maneesh Anand Samria”
> To: “Windows File Systems Devs Interest List”
> Sent: 7/30/2015 10:53:08 AM
> Subject: Re: [ntfsd] QueryPerformanceCounter
>
>
> Bo,
> Pardon , my sense of humour.
> I did not get it well.
> If it wont give consistent result , even without my filter driver.
> how would I make any statement , if I Filter is fast enough or not.
> I have to publish figures to customers , that’s why I am looking for some
> reliable.
> Thank you in advance.
> -Maneesh
>
>
> On Thu, Jul 30, 2015 at 5:22 PM, Bo Brantén wrote:
>
>> On Thu, 30 Jul 2015, xxxxx@gmail.com wrote:
>>
>> QueryPerformanceCounter(&Start_Time);
>>> CreateFile( < appropriate ags …>,);
>>> QueryPerformanceCounter(&End_Time);
>>>
>>> Cost = End_TIME - Start_Time;
>>> used this approach to measure ReadFile /WriteFile also.
>>> But it generates inconsistent results. i.e. if run for over 100 files
>>> there are huge spikes in chart
>>>
>>
>> Then you have proved that your measurements works and everyting is
>> alright!
>>
>> Bo Branten
>>
>>
>> —
>> NTFSD is sponsored by OSR
>>
>> OSR is hiring!! Info at http://www.osr.com/careers
>>
>> For our schedule of debugging and file system seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
>
>
> –
> मनीष आनंद सामरिया
> Maneesh Anand.Samria
> — NTFSD is sponsored by OSR OSR is hiring!! Info at
> http://www.osr.com/careers For our schedule of debugging and file system
> seminars visit: http://www.osr.com/seminars To unsubscribe, visit the
> List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTFSD is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of debugging and file system seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>


मनीष आनंद सामरिया
Maneesh Anand.Samria

Just create some test suites of your own which are dealing with files (tree copies, random writes and reads etc), and measure the total execution time for each of these with the filter and without it.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

“Maneesh Anand Samria” wrote in message news:xxxxx@ntfsd…
Bo,

Pardon , my sense of humour.
I did not get it well.

If it wont give consistent result , even without my filter driver.

how would I make any statement , if I Filter is fast enough or not.

I have to publish figures to customers , that’s why I am looking for some reliable.

Thank you in advance.

-Maneesh

On Thu, Jul 30, 2015 at 5:22 PM, Bo Brantén wrote:

On Thu, 30 Jul 2015, xxxxx@gmail.com wrote:

QueryPerformanceCounter(&Start_Time);
CreateFile( < appropriate ags …>,);
QueryPerformanceCounter(&End_Time);

Cost = End_TIME - Start_Time;
used this approach to measure ReadFile /WriteFile also.
But it generates inconsistent results. i.e. if run for over 100 files there are huge spikes in chart

Then you have proved that your measurements works and everyting is alright!

Bo Branten


NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system seminars visit: http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer



मनीष आनंद सामरिया
Maneesh Anand.Samria