Windows Performance Trouble shooting

1.Open the Dump file using windbg.exe

Image

2. First use !analyze –v command it will give the exception code, errors, stacks, faulty image or driver name.

Image

3. See the Bug check code, Module name or Image name if it point to any driver’s .sys files related to windows check for any latest version or hotfix available. You can check version of drivers by collecting MPS report. You need google with driver file BSOD error code mostly it will give you hotfix KB

 

Image

4.For memory Leak and Non paged file usage use !vm command to see the memory usage.

Use !vm 1 . It will give the memory details will show excessive Memory usage.

Image

5. !poolused /t10 2 this command will top 10 users of paged and non-paged memory. So with Pooltag identify the driver and check any latest update available or known issues with driver and update it to latest version.

Image

Tools for troubleshooting

Windbg,Perfmon,xperf

References:

for understanding the memory limits.

http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx

Understanding Crash dump files:

http://blogs.technet.com/b/askperf/archive/2008/01/08/understanding-crash-dump-files.aspx

Ask performance Blog: http://blogs.technet.com/b/askperf/default.aspx?PostSortBy=MostViewed&PageIndex=1

Debugging Blog: http://blogs.msdn.com/b/ntdebugging/archive/tags/pool+leak+series/ (Memory Leak series)

http://www.dumpanalysis.org/memory-dump-analysis-pattern-classification

Windbg commands: http://windbg.info/doc/1-common-cmds.html

 

 

 

 

 

Windows 2012 R2,Windows 8.1 Preview Available

Windows 2012 R2 Preview is available now..!!!

http://technet.microsoft.com/en-us/evalcenter/dn205292.aspx?CR_CC=200142594

Also MS is pushing to remove the XP and 2003 from your environment.!

Notable changes in 2012 R2:

  • The File Backup and Restore feature has been removed. Use the File History feature instead.
  • The File Replication Service (FRS; part of the Active Directory Domain Services role) is deprecated. You should migrate any FRS-based SYSVOLs to use Distributed File System Replication.
  • The Windows Server 2003 domain and forest functional levels are deprecated. When you create a new domain or forest, you should consider using a functional level from Windows Server 2008 or newer. When you deploy Windows Server 2012 R2 Preview into an existing Windows Server 2003 environment, you will be notified to move to a newer functional level.
  • Nfsshare.exe is deprecated. Instead, use Windows PowerShell cmdlets in scripts for share provisioning.
  • Dfscmd.exe is deprecated. Instead, use Windows PowerShell cmdlets for Distributed File System Namespaces or the Dfsutil.exe command set.
  • SMB 1.0 is deprecated. Once this is removed, systems running Windows XP or Windows Server 2003 (or older) operating systems will not be able to access file shares. SMB 1.0 has been replaced by SMB 2.0 and newer versions.

For full information : http://technet.microsoft.com/en-us/library/dn303411.aspx

Windows 8.1 Preview also available for download.

http://windows.microsoft.com/en-us/windows-8/preview-download

AD,Exchange,Lync Schema Versions

Version of the Active Directory Forest Schema Version

To discover Active Directory Forest Schema Version for the domain home. intranet.

1. Using ADSIEdit

 Plug in the Naming Context in Schema

“CN = Schema, CN = Configuration, DC = home, DC = intranet”

and find the following entry:

“objectVersion”

2. Using the DSQuery command prompt:

dsquery * cn = schema, cn = configuration, dc = home, dc = intranet-scope base-attr objectVersion

Map of the objectVersion: version history

 

Windows Server

The objectVersion value

Windows 2000 Server

13

Windows Server 2003 RTM, Windows 2003 Service Pack 1, Windows 2003 Service Pack 2

30

Windows Server 2003 R2

31

Windows Server 2008 RTM, Windows 2008 Service Pack 1, Windows 2008 Service Pack 2

44

Windows Server 2008 R2, Windows Server 2008 R2 Service Pack 1

47

Windows 8 Beta

52

Windows Server 2012

56

Windows Server 2012 R2 Preview

69

Active Directory Exchange version Schema Version

To discover the Exchange Active Directory Schema Version for the domain home. intranet.

1. Using ADSIEdit

Plug in the Naming Context in Schema

“CN = ms-Exch-Schema-Version-Pt, CN = Schema, CN = Configuration, DC = home, DC = intranet”

and find the following entry:

“rangeUpper”


    2. Using the DSQuery

at the command prompt:

 
 dsquery * CN = ms-Exch-Schema-Version-Pt, cn = schema, cn = configurationration, dc = home, dc = com-scope base-attr intranet rangeUpper

Map of versions of rangeUpper:

Exchange

Value of rangeUpper

2000 RTM

4397

2000 SP3

4406

2003 RTM

6870

2003 SP1

6870

2003 SP2

6870

2003 SP3

6936

2007 RTM

10637

2007 SP1

11116

2007 SP2

14622

2007 SP3

14625

2010 RTM

14622

2010 SP1

14726

2010 SP2

14732

2013 RTM

15137

2013 RTM CU1

15254

 

Active Directory version Lync (OCS) Schema Version

To discover Active Directory Lync (OCS) Schema Version for the domain home. intranet.

1. Using ADSIEdit

 

Plug in the Naming Context in Schema

 

“CN = ms-RTC-SIP-SchemaVersion, CN = Schema, CN = Configuration, DC = home, DC = intranet”

and find the following entry:

 

“rangeUpper”

    2. Using the DSQuery

 

at the command prompt:

 

dsquery * CN = ms-RTC-SIP-SchemaVersion, cn = schema, cn = configurationration, dc = home, dc = com-scope base-attr intranet rangeUpper

Map of versions of rangeUpper:

 

Communicator

rangeUpper

LCS 2005 1006

OCS 2007

1007

OCS 2007 R2

1008

Lync 2010

1100

Lync 2013 1150
 

References