My favorite perfcounters

… are the NDIS counters.  Like you even had to ask. We love performance counters on the Windows Networking team. We routinely use performance counters to monitor & diagnose issues. Nearly every networking feature has its own counter set, and Windows ships with far too many counter sets to document here. Fortunately, I don’t have…


It’s perfcounter week on the NDIS blog!

Actually every week is perfcounter week. Performance counters are an essential tool for devs, ops, … and marketing. Yet they’re often not well understood. Fortunately, under the hood, performance counters are very simple: a perfcounter is just a number that counts things. Before we get too far along, let’s agree on a bit of terminology:…


Eliminating empty handlers

Don’t come back empty-handlered NDIS drivers have several opportunities to supply advanced functionality through optional handlers. But if you don’t want the advanced functionality, you don’t need to bother implementing an empty handler. Why does it matter to you? It matters because it makes your code (slightly) more difficult to maintain. “Dummy” code is more…