Showing tag results for performance

Jan 12, 2007
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 4

maoni
maoni

.NET CLR Memory\% Time in GC counter and !runaway on thread(s) doing GC. The 2 common ways people use to look at the time spent in GC are the % Time in GC performance counter under .NET CLR Memory, and the CPU time displayed by the !runaway debugger command in cdb/windbg. What do they mean exactly? % Time in GC is calculated like this: When the nth...

.NET
Dec 20, 2006
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 3

maoni
maoni

Both the !SOS.gchandles command (added in CLR 2.0) and the .NET CLR Memory\# GC Handles counter show you the number of GC handles you have in your process. The # GC Handles counter is one of the rare counters in the .NET CLR Memory category that doesn’t get updated at the end of each GC. Rather we update it in the handle table code, for example, w...

.NET
Dec 12, 2006
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 1

maoni
maoni

So, there are many perf tools and some of them report either the same or the same type of data. I want to talk about various differences between the ones related to managed heap investigation. This is not supposed to cover everything..just the ones I think people use frequently. Managed Heap Size We have both .NET CLR Memory perf counters and SoS e...

.NET
Nov 14, 2006
Post comments count0
Post likes count0

My application seems to hang. What do I do? – Part 2

maoni
maoni

Last time I talked about the hang scenario where your process is taking 0 CPU and the CPU is taking by other process(es) on the same machine.   The next scenario is your process is taking 0 CPU and the CPU is barely used by other processes.   As one of the readers correctly pointed out, this is very likely because you have a deadlock. Us...

.NET
Oct 23, 2006
Post comments count0
Post likes count0

New MSDN Article – Investigating Memory Issues

maoni
maoni

We have a new MSDN article out in the November issue that talks about investigating managed memory issues. http://msdn.microsoft.com/msdnmag/issues/06/11/CLRInsideOut/default.aspx?loc=en Take a look and let me know what you think. Oh, and it's also in 6 other languages (German, Spanish, French, Russian, Portuguese and Chinese) for re...

.NET
Sep 28, 2006
Post comments count0
Post likes count0

My application seems to hang. What do I do? – Part 1

maoni
maoni

Defining “hang” is a good place to start.   When people say “hang” they could mean all sorts of things. When I say “hang” I mean the process is not making progress – the threads in the process are either blocked (eg. deadlocked, or not scheduled because of threads from other processes) or executing code (madly) but not doing useful work (eg. i...

.NET
Sep 1, 2006
Post comments count0
Post likes count1

Understand the problem before you try to find a solution

maoni
maoni

So far I’ve never written a blog entry that gives out philosophical advices on doing performance work. But lately I thought perhaps it’s time to write such an entry because I’ve seen enough people who looked really hard at some performance counters (often not correct ones) or some other data and asked tons of questions such as “is this allocation r...

.NET
Jun 6, 2006
Post comments count0
Post likes count1

When memory is running low…

maoni
maoni

When I say memory I mean physical memory. Let’s assume that you have enough virtual memory space. When the physical memory gets low you may start getting OOMs or start paging. You can experiment and see how you can avoid getting into the low memory situation but sometimes it’s hard to predict and hard to test all scenarios your app can get into. Fo...

.NET
May 10, 2006
Post comments count0
Post likes count0

Custom validation schema video on Channel 9

Web Development Tools Microsoft
Web Development Tools Microsoft

In this DevNugget, .net Developer Evangelist G. Andrew Duthie (aka *.net DEvHammer), shows you how you can quickly and easily create and register a custom XSD schema that allows get Intellisense and validation of your schema within the Web Form source view window.* https://channel9.msdn.com/ShowPost.aspx?PostID=191714   Thanks

ASP.NET
Apr 19, 2006
Post comments count0
Post likes count0

Large Object Heap

maoni
maoni

LOH (Large Object Heap) contains objects that are 85,000 bytes or bigger (there’s also some objects that are less than 85,000 bytes that are allocated on the LOH by the runtime itself but usually they are very small and we’ll ignore them for this discussion).   The way LOH is implemented changed dramatically from 1.0 to 1.1. In 1.0 we used a ...

.NET