Sign in
Vance Morrison's Weblog
Vance Morrison is currently an Architect on the .NET Runtime Team, specializing in performance issues with the runtime or managed code in general.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET Architecture
Concurrency
ETW
EventSource
Intro to programming
Perf
Perf Tools
PerfView
Tools
TraceEvent
Archive
Archives
May 2013
(1)
April 2013
(1)
March 2013
(2)
February 2013
(1)
January 2013
(1)
December 2012
(5)
November 2012
(2)
September 2012
(1)
August 2012
(3)
July 2012
(4)
June 2012
(1)
March 2012
(1)
January 2012
(2)
December 2011
(1)
August 2010
(1)
October 2009
(1)
July 2009
(1)
May 2009
(2)
February 2009
(1)
October 2008
(7)
September 2008
(1)
August 2008
(2)
May 2008
(1)
August 2007
(1)
April 2007
(3)
October 2006
(2)
September 2006
(2)
March 2006
(4)
February 2006
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Vance Morrison's Weblog
.NET Framework 3.5 SP1 Allows managed code to be launched from a network share!
Posted
over 5 years ago
by
Vance Morrison
21
Comments
Hurray, its finally fixed! manage code 'just works' from network file share! Now I know that some of you are probably just saying 'who cares' or 'huh?' but for those of us who have hit this problem, this has been a major deployment headache, and I...
Vance Morrison's Weblog
To Inline or not to Inline: That is the question
Posted
over 5 years ago
by
Vance Morrison
20
Comments
In a previous posting , I mentioned that .NET V3.5 Service Pack 1 had significant improvements in the Just in time (JIT) compiler for the X86 platform, and in particular its ability to inline methods was improved (especially for methods with value type...
Vance Morrison's Weblog
Low-Lock Techniques in action: Implementing a Reader-Writer lock
Posted
over 7 years ago
by
Vance Morrison
18
Comments
In my article What Every Dev Must Know About Multithreaded Apps I discuss the fundamental principles of using locks correctly. In that article I strongly encourage the use of reader-writer locks because these locks create the protection you need (insuring...
Vance Morrison's Weblog
How to use Visual Studio to investigate code generation questions in managed code.
Posted
over 7 years ago
by
Vance Morrison
16
Comments
Introduction: What does ‘foreach’ actually do? It is not uncommon for a new group to want to use manage code to pepper the CLR team with performance questions. They want to know how expensive ‘foreach’ is, or whether certain methods get inlined...
Vance Morrison's Weblog
Publication of the PerfView performance analysis tool!
Posted
over 2 years ago
by
Vance Morrison
15
Comments
I know it is has been a while since my last posting, but long ago I decided that I would not write just to have something to write about but rather only when I had something I really something useful to say. Well do have something really useful to...
Vance Morrison's Weblog
Next Version of PerfView has been released!
Posted
11 months ago
by
Vance Morrison
15
Comments
For those that don't know, PerfView is a performance profiling tool that can be used to diagnose a broad range of performance problems. We released a free copy of this to the web back in January. Well, it has been over 6 months since that release and...
Vance Morrison's Weblog
ETW in C#: Controlling which events get logged in an System.Diagnostics.Tracing.EventSource
Posted
9 months ago
by
Vance Morrison
15
Comments
In my EventSource demo blog entry we defined an EventSource and turned on the logging with the command PerfView /OnlyProviders= *MinimalEventSource run eventSourceDemo.exe Which turned on all the events defined in the 'MinimalEventSource' we defined...
Vance Morrison's Weblog
Introduction Tutorial: Logging ETW events in C#: System.Diagnostics.Tracing.EventSource
Posted
10 months ago
by
Vance Morrison
14
Comments
Event Tracing for Windows (ETW) is a fast, scalable logging mechanism built into the Windows operating system. It is powerful because of three reasons The operating system comes pre-wired with a bunch of useful events It can capture stack traces...
Vance Morrison's Weblog
Analysis of Reader-Writer lock
Posted
over 7 years ago
by
Vance Morrison
14
Comments
In my last post I posted readerWriterDemo.cs which is an implementation of a Reader-Writer lock. I held it up as an example of good design of a concurrent data structure. I want to now show you a bit of what my thinking was when it was designed and what...
Vance Morrison's Weblog
Writing approachable code: Introducing the hyperaddin for Visual Studio!
Posted
over 6 years ago
by
Vance Morrison
14
Comments
A few years ago now, several of us on the .NET Runtime team where lamenting how unapproachable the code base was for new developers to the team. We agreed that more commenting would certainly help the situation, but that alone was not enough, because...
Vance Morrison's Weblog
Measuring managed code quickly and easiliy: CodeTimers
Posted
over 7 years ago
by
Vance Morrison
13
Comments
My performance blog entries to date have been 'foundational'. In entries so far, I talk about how to use Visual Studio to look at the native code generated for the runtime. With this foundation, we can now start exploring what the native code for managed...
Vance Morrison's Weblog
Digging deeper into managed code with Visual Studio: Using SOS
Posted
over 7 years ago
by
Vance Morrison
10
Comments
I have let my blog laps for too long. I am back to blogging. I realized reciently that we have simply not written down many interesting facts about how the runtime actually works. I want to fix this. Coming up in future blogs I am going to be doing a...
Vance Morrison's Weblog
Digging into interface calls in the .NET Framework: Stub-based dispatch.
Posted
over 7 years ago
by
Vance Morrison
10
Comments
In my last blog , I demonstrated how to use the .NET SOS.DLL extension DLL in the Visual Studio. In this entry I will use the capabilities of this extension DLL to dig into the way the .NET framework handles interface dispatch. As with all my blog entries...
Vance Morrison's Weblog
Why doesn't my EventSource produce any events?
Posted
4 months ago
by
Vance Morrison
9
Comments
This is a quick entry to warn about a pitfall that you are likely to run into sooner or later if you build or maintain EventSources. As I have blogged about, it is very easy to get started with EventSources. Here is some code that someone might write...
Vance Morrison's Weblog
Windows high speed logging: ETW in C#/.NET using System.Diagnostics.Tracing.EventSource
Posted
9 months ago
by
Vance Morrison
8
Comments
In my introduction to EventSource posting and my posting of the EventSource specification , I tried to give you the 'quick start' for using EventSource to generate ETW events from C# (or any .NET language). In this posting I would like to back a bit...
Vance Morrison's Weblog
MeasureIt Update: Tool for doing MicroBenchmarks for .NET
Posted
over 4 years ago
by
Vance Morrison
8
Comments
Almost a year ago now I wrote part 1 and part 2 of a MSDN article entitled 'Measure Early and Measure Often for Good Performance'. In this article I argued that if you want to design high performance applications you need to be measuring performance early...
Vance Morrison's Weblog
Three new Videos on using PerfView's Event View (And Using it in conjunction with System.Diagnostics.Tracing.EventSource)
Posted
9 months ago
by
Vance Morrison
7
Comments
I have just posted the following 3 videos to the my Channel 9 PerfView Tutorial Series . Perfview Tutorial 6 - The Event Viewer Basics PerfView Tutorial 7 - Using the Event Viewer in ASP.NET Scenarios PerfView Tutorial 8 - Generating Your...
Vance Morrison's Weblog
New version of TraceEvent / PerfMonitor Posted to bcl.codeplex.com
Posted
4 months ago
by
Vance Morrison
7
Comments
For several years now, I have had code called the 'TraceEvent library' that allows you to access ETW files (ETL files) from C#. However for over a year now, I have not updated the public version of that library. Well, that time has ended. I updated...
Vance Morrison's Weblog
What's Coming in .NET Runtime Performance in Version V3.5 SP1
Posted
over 5 years ago
by
Vance Morrison
6
Comments
What's Coming in .NET Runtime Performance in Version V3.5 SP1 It certainly has been a while since I last blogged. Most of this is laziness on my part, but I can truthfully say that it is partly because I have been busy trying to get the next servicing...
Vance Morrison's Weblog
The windows prefetcher
Posted
over 6 years ago
by
Vance Morrison
5
Comments
In my last blog I talked about some of the conditions than need to hold for the cold startup formula ColdStartupTimeMSec = WarmStartupTimeMsec + 4 * NumberOfReads + 20 * NumberMBytes To be accurate. I mentioned that if you have overlap between the...
Vance Morrison's Weblog
Getting down to the metal: using the CLR Runtime's SOS extention in Visual Studio
Posted
over 7 years ago
by
Vance Morrison
5
Comments
In my last blog I talked a bit about how you go about using Visual Studio to look at "Release" code so that you can find out what code is actually generated by a particular high level programming construct. As a quick recap the tricky part of insuring...
Vance Morrison's Weblog
Slides for PDC 2008 Talk: Performance By Design: Measuring Memory
Posted
over 5 years ago
by
Vance Morrison
5
Comments
These are the slides for the second (of 3) talks I gave on 10/26/2008 at the Programmer Developer Converence (PDC) memory investigation.
Vance Morrison's Weblog
Using TraceEvent to mine information in OS registered ETW providers
Posted
2 months ago
by
Vance Morrison
5
Comments
In previous blocks on TraceEvent I shows you how easy it was to start up ETW sessions to collect information generated by System.Diagnnostics.Tracing.EventSource classes (typically logging that you yourself did). But I also mentioned in other blogs that...
Vance Morrison's Weblog
PerfMonitor runAnalyze: A quick performance 'checkup' for your managed App
Posted
over 3 years ago
by
Vance Morrison
5
Comments
About two years ago now I wrote part 1 and part 2 of a MSDN article entitled 'Measure Early and Measure Often for Good Performance'. In this article I mention some 'perf mantra' which is that Every application deserves a 'perf plan' (which and be...
Vance Morrison's Weblog
Slides for PDC 2008 Talk: Performance By Design: Measuring CPU Time
Posted
over 5 years ago
by
Vance Morrison
4
Comments
These are the slides for the talk I gave on 10/26/2008 at the Programmer Developer Converence (PDC) on the basics of performance investigation
Page 1 of 3 (58 items)
1
2
3