10 December 2011 0 Comments

The Observer of Perception

Sometimes as a manager, I not only want to coach people on how to get things done at work, I’d love to be able to help them change the way they think.  Early in my career, an engineering coworker used to say that it’s all about “behavior modification” but I truly never understood what he meant at the time.  Now I do.

19 September 2011 0 Comments

Managing Performance Counter Logs with Windows Azure PowerShell Cmdlets 2.0

I put together a sample on how you can configure, download, analyze and manage your performance counter logs on a Windows Azure service all through the new capabilities we’ve added with Windows Azure PowerShell Cmdlets 2.0.

20 June 2011 0 Comments

Performance Testing Quick Reference Guide

This version of the quick reference guide QRG is a PDF file with a total of 241 articles (51 of these are either new or updated from version 3.5) that are all meant to provide quick information about various aspects of performance testing with Visual Studio. ..

29 April 2011 0 Comments

SharePoint Diagnostic Studio (SPDiag) has shipped!

SharePoint Diagnostic Studio (SPDiag) has Shipped , and along with it SharePoint Admin Toolkit (SPAT) v2 for SharePoint 2010. This is a very exciting day for our on-premise customers managing their own SP installations.  SPAT brings a crucial set of tools for managing and pinpointing issues with SharePoint farms.  With the inclusion of SPDiag, the set of tools have become even more powerful

28 March 2011 0 Comments

Improving CLRProfiler 4: Reducing SampleObject memory consumption by 58%

In the previous three posts, we managed to double the speed of file loading time of CLRProfiler through profile-guided optimization in three simple steps. Now let’s take a look at reducing CLRProfiler’s memory consumption, making it more useful to real world applications.

18 March 2011 0 Comments

A Web Standard Quickly: W3C Navigation Timing reaches Candidate Recommendation

Sometimes Web standards can converge quickly . The W3C standard for Navigation Timing started about six months ago in the newly chartered Web Performance Working Group .

17 February 2011 0 Comments

Understanding the IE9 Software Rendering Mode

I recently heard from some users who are seeing lower-than-expected scores on the Speed Reading and FishIE Tank benchmarks. I went to check these tests myself and found that my laptop’s score was low

29 January 2011 0 Comments

The ins and outs of MAXDOP

Configuring MAXDOP One of the few sp_configure options that good DBAs regularly change is “max degree of parallelism” or MAXDOP. So of course everyone is looking for the one best value to use for that setting.

11 January 2011 0 Comments

Remotely enabling windows azure diagnostics

I frequently need to Enable and configure collecting performance counters remotely in my windows azure deployment,  There are a few tasks you are trying to accomplish 1- Get all roles you have for your deployment 2- Get the Diagnostics manager associated with each instance of each role 3- Set your Windows Azure Diagnostics Settings.  I created the following helper class to make it easier for me, hope you find it useful:) 1: #region Default Counters 2: static string [] defaultCounterNames = new string [] 3: { 4: @”MemoryAvailable Mbytes” , 5: @”Processor(_Total)% Processor Time” , 6: @”Processor(*)% Processor Time” , 7: @”Process(*)Working Set” , 8: @”Process(*)Private Bytes” , 9: @”Process(*)Working Set Peak” , 10: @”Process(*)Virtual Bytes” , 11: @”Process(*)Virtual Bytes Peak” 12: }; 13: #endregion 14:   15: public static void SetState( string connectionString, string deploymentId , int sampleRateInSeconds, int transferPeriodInSeconds, string [] counterNames = null ) 16: { 17: if (counterNames == null || counterNames.Length == 0) 18: { 19: counterNames = defaultCounterNames; 20: } 21: 22: CloudStorageAccount cloudStorageAccount = CloudStorageAccount.Parse(connectionString); 23: 24: //TODO: Need to remove this if HTTPS is enabled – this allows connecting though http, otherwise the connection will fail. 25: DeploymentDiagnosticManager.AllowInsecureRemoteConnections = true ; 26: 27: //Get the diagnostis manager associated with this blob storage

23 March 2010 0 Comments

ASP.NET Performance: Get Rid of HTTP 401 and HTTP 304

      Making fewer calls to IIS web server improves your ASP.NET application’s performance, or more precisely, it improves UI responsiveness or, even more precisely, it improves UX, the User Experience. Better User Experience leads to better adoption.  Quick Resource Box Free Web Performance Tools From Microsoft, Google, Yahoo, And IBM Performance Tuning with Fiddler 12 Steps To Faster Web Pages With Visual Round Trip Analyzer Rules for high performance web pages Web Performance Best Practices In this post I will share how to improve User Experience by reducing the number of HTTP 401 and HTTP 304 responses. The Impact of HTTP 304 In general HTTP 304 is returned by web server when the browser is not really sure about up-to-date’ness of the resource

9 March 2010 0 Comments

Measuring ASP.NET Performance Using Counters

Following is a list of performance counters I am usually taking to spot low hanging fruits when measuring ASP.NET performance: Resource utilization .Processor%Processor Time .NET CLR Memory(*)Allocated Bytes/sec .NET CLR Memory(*)% Time in GC .NET CLR Exceptions(*)# of Exceps Thrown / sec .NET CLR Loading(*)Current Assemblies Throughput .NET CLR LocksAndThreads(*)Contention Rate / sec .NET CLR LocksAndThreads(*)Current Queue Length ASP.NETRequests Queued ASP.NETRequest Wait Time ASP.NETRequests Current ASP.NET ApplicationsRequests In Application Queue ASP.NET ApplicationsPipeline Instance Count ASP.NET ApplicationsRequests Executing ASP.NET ApplicationsRequests/Sec Web ServiceCurrent ISAPI Extension Requests Response time ASP.NETRequest Execution Time SQL Server SQL Server: General StatisticsLogins/sec SQL Server: General StatisticsLogouts/sec SQL Server: General StatisticsUser Connections Detailed explanation about each counter and its significance can be found here: Chapter 15 — Measuring .NET Application Performance I particularly love the following diagram from the guide. The diagram helps brainstorming while identifying root cause of the performance issues identified using the counters: Related Book Ultra-Fast ASP.NET: Build Ultra-Fast and Ultra-Scalable web sites using ASP.NET and SQL Server My Related Posts Use Performance Counters Templates To Streamline Performance Analysis Performance Testing Objectives Document Template

22 January 2010 0 Comments

Bandwidth testing using CRM Performance Toolkit

CRM Performance toolkit (available for download in http://crmperftoolkit.codeplex.com/ ) provides an easy and comprehensive way to test various performance aspects of your CRM implementation. Here, I will brief on how you can use CRM Performance toolkit along with NetMon and VRTA to measure the bandwidth utilization during a test run of your performance scenarios.