Hi,

I just finished developing a NDIS IM driver and now I want to start testing my performance, but I can't figure out how to do this. Is there any software I can use to monitor e.g. memory or cpu usage of my driver? Is there any professional profiling software?

Thanks a lot
Peter

Re: Performance on network driver by Brian

Brian
Wed Jun 23 14:49:33 CDT 2004

"Peter Schmitz" <PeterSchmitz@discussions.microsoft.com> wrote in message
news:F269BF92-2FF8-4030-8F6C-392A8A74C45D@microsoft.com...
> Hi,
>
> I just finished developing a NDIS IM driver and now I want to start testing my
> performance, but I can't figure out how to do this. Is there any software I
> can use to monitor e.g. memory or cpu usage of my driver? Is there any
> professional profiling software?

What does 'performance' mean to you? Packets per second? CPU overhead? Round
trip delay? What sort of precision are you looking for? How is memory usage
related to 'performance'?
First, decide exactly what it is you want to measure, then I can tell you how to
measure it. In most cases, you can use the performance monitor tool to gather
the data you need. NOTE: I like to use the PerfMon4 (from NT4, and available in
the resource kit (free download)) because it can display data *much* faster then
the version that sits in the MMC (the MMC only allows updates once per second).

-Brian

Brian Catlin, Sannas Consulting 310-944-9492
Windows Network, Video, WDM Device Driver Training & Consulting
See WWW.AZIUS.COM.bad for courses and scheduling
REMOVE .BAD FROM EMAIL AND WEB ADDRESS



Re: Performance on network driver by Stephan

Stephan
Tue Jun 29 14:04:46 CDT 2004

In addition to what Brian already said, note that each network driver
usually leads to a "performance" decrease. That is, either network
throughput is less or CPU utilization is higher or both.

AFAIK, MS actually measures network performance in magnitudes of "CPU
cycles per transferred network byte", which is IMHO a very good
performance quantity.

It is probably a good idea for an IM driver to measure both CPU
utilization and network throughput (i.e. bytes/sec or e.g. Mbps) both
with and without the IM installed. Then use the following as a
performance index:

PerfIndex = BytesPerSec / (CpuUtil * CpuClock)

Stephan
---
On Wed, 23 Jun 2004 11:48:01 -0700, "Peter Schmitz"
<PeterSchmitz@discussions.microsoft.com> wrote:

>Hi,
>
>I just finished developing a NDIS IM driver and now I want to start testing my performance, but I can't figure out how to do this. Is there any software I can use to monitor e.g. memory or cpu usage of my driver? Is there any professional profiling software?
>
>Thanks a lot
>Peter