Sample ETW trace for WCF

You can see How do I collect an ETL trace for WF/WCF? for the commands or you can download the sample trace from here. Open the trace using the following command line or File –> Open and load the manifest from the Framework folder or launch the following from the command line.  SvcPerf.exe wcf.etl %windir%\Microsoft.Net\Framework\v4.0.30319\Microsoft.Windows.ApplicationServer.Applications.45.man…

0

Introducing SvcPerf – An End-to-End trace Analysis tool for WCF

Standardizing on ETW In 4.5 we introduced ETW tracing for WCF. In the past couple of months we have been trying to establish some common tools that can be used to debug and analyze ETW traces from WCF. We have a large number of tools that allow ETW analysis and the one aspect we wanted…

0

Efficient Buffer management – Reduced LOH allocation

BufferPools http://kennyw.com/indigo/51 I’m going to talk about the internals of WCF Bufferpooling as it stands today. Kenny and Andrew already have a posts on bufferpooling that cover them at a higher level. Here I dive into how the bufferPool was optimized further for working with the large object heap. This didn’t make it into .NET…

0

Debugging Assembly loading

Does a referenced assembly get loaded if no types in the assembly are “not used”? The term used is is very subjective. For a developer it would mean that you probably never created an instance or called a method on it. But this does not cover the whole story. You can instead consider what are…

0

How do I find all the ETW sessions on the machine?

logman is your tool for this. Here is how you can query for all the sessions and also how to see values from a particular session. c:\> logman -ets Data Collector Set Type Status ——————————————————————————- AITEventLog Trace Running Audio Trace Running DiagLog Trace Running EventLog-Application Trace Running EventLog-System Trace Running NtfsLog Trace Running SQMLogger Trace…

0

Checkin #199390

Here is something for you performance guys. This was a hard one to crack but. Let me know what you think of this and how you would like to see this evolve. It will be a while before this is actually available.     Thanks to Wenlong for driving this all the way and for…

0

Linq over Excel

I was writing a tool and needed to quickly query an excel sheet. I’m not diving into linq but you get general idea of how to query/sort over the datatable and once you have an enumerable object you can pretty easily run a linq query over it. public static DataTable GetData(string filename) { string fullPath…

0

How to synchronize multiple threads?

In certain load tests you want to make sure a bunch of threads reach a particular state before they proceed with the rest of the work. You cannot make sure that all threads execute a point simultaneously since the CPU scheduling would determine this. However you can move these threads to Ready. A ready-thread is…

0