maximizing windows 7 performance: troubleshooting tips johan arwidmark chief technical architect...

30
Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Upload: amos-hampton

Post on 08-Jan-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Maximizing Windows 7 Performance: Troubleshooting TipsJohan ArwidmarkChief Technical ArchitectKnowledge Factory

WCL327

Page 2: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Objectives And TakeawaysPerformance is criticalLive production system analysisTools of the trade

Inbox toolsWindows Performance Toolkit

Page 3: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Defining PerformanceResponsiveness

Unresponsive system

Page 4: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Defining Performance, continuedResource utilization

CPU, disk, memory, network, batteryResources are limited and shared

Good CitizenshipIt takes one component to impact system performance

Page 5: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Windows 7 Performance EnhancementsPerformance work started with Windows Vista

I/O Models – Caching – Network ProtocolsStartup / Shutdown / Resume

Continued to improve in Windows 7All of the above...Superfetch and ReadyboostDevice Drivers (Industry / Parallelization)CPU / Memory ManagementLogon time (Redirected folders etc.)

Page 6: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Slow systems? User will let you know…

Page 7: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327
Page 8: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327
Page 9: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Performance ToolsWindows Inbox Tools

Task Manager, Resource Monitor, Perfmon

Write your own tools to gather dataEvent Tracing for Windows (ETW)Performance Counters

Page 10: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Windows Inbox Tools

Johan ArwidmarkChief Technical ArchitectKnowledge Factory

demo

Page 11: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Performance Tools, continuedNon-Inbox Tools

Windows Performance ToolkitSysinternals tools (http://www.sysinternals.com)

Page 12: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Non-Inbox Tools

Johan ArwidmarkChief Technical ArchitectKnowledge Factory

demo

Page 13: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Windows Performance ToolkitOfficial kit

Built and used by the Windows organizationContains Performance Analyzer (WPA) tool suite

Built upon the ETW infrastructureAllows you to capture and analyze performance traces

Freely available as part of the Windows 7 SDK

Page 14: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Performance Analyzer tool suitexperf:

Trace capture, processing, and command-line analysisxperfview:

Visual trace analysisXbootmgr (and xbootmgrSleep):

On/Off transition trace capturehwpower2etw:

TDMS-to-ETL convertersymcachegen:

PDB-to-SymCache generator

Page 15: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Performance Analyzer tool suiteJohan ArwidmarkChief Technical ArchitectKnowledge Factory

demo

Page 16: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

The Big Picture

ETL file

ETWEvent Providers ETW Session

2. Components instrumented with Event

Tracing API1. Collection of in-memory

buffers managed by the kernel

3. Controls logging sessions

5. GUI analysis via graphs and

summary tables

6. CLI trace analysis via

actions

Data flow

XML file XPerfView

XPerf System and Symbol

Information

MergedETL file

4. Metadata injection

Page 17: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

How Performance Analyzer Pull This OffETW is the magic behind the curtains

Event Tracing for WindowsCore component since Windows 2000High performance, low overhead, highly scalableFor details, see “Event Tracing” on MSDN

Page 18: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Boot tracing

Johan ArwidmarkChief Technical ArchitectKnowledge Factory

Case Study #1

Page 19: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Disk Usage Study SummaryComponents working well in isolation could impact performance when executed in parallelFighting over disk dramatically impacts performance

For all involvedDisk seeks can cut throughput by 90%

Schedule all work that can wait as Idle tasksSee Task Scheduler documentation on MSDN

Page 20: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Hardware Device not performingJohan ArwidmarkChief Technical ArchitectKnowledge Factory

Case Study #2

Page 21: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Hardware Device Case Study SummaryOne bad component can disrupt numerous good componentsHigh usage of any single resource can cause performance issuesSpending too much CPU at DPC impacts performance

Page 22: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Related ContentWCL309 - What's New in Microsoft Deployment Toolkit 2012 (MDT)

WCL382 - Deploying Windows 8 with the Microsoft Deployment ToolkitWCL323 - Troubleshooting Windows 7 Deployments

OSP304 - Optimized Desktop Deployment Jeopardy Live Game Show

Page 23: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Track ResourcesResources for Developers http://msdn.microsoft.com/en-us/windows/apps

Windows 8 is ready for Businesshttp://www.microsoft.com/en-us/windows/enterprise/products-and-technologies/windows-8/default.aspx

Microsoft Desktop Optimization Pack:www.microsoft.com/MDOP

Microsoft Desktop Virtualization: www.microsoft.com/dv

Page 24: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Track ResourcesSpringboard Series: www.microsoft.com/springboard Explore > Plan > Deliver > Operate > Support for

Windows 7 and Windows 8MDOPDesktop VirtualizationWindows IntuneInternet Explorer 8, 9 and 10

Track Resources

Page 25: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Download

http://windows.microsoft.com/en-US/windows-8/release-preview

Download the Windows 8 Release Preview Today

Page 26: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Resources

Connect. Share. Discuss.http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resourceswww.microsoft.com/learning

TechNet

Resources for IT Professionalshttp://microsoft.com/technet

Resources for Developershttp://microsoft.com/msdn

Page 27: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

Complete an evaluation on CommNet and enter to win!

Page 28: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

Page 29: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.

Page 30: Maximizing Windows 7 Performance: Troubleshooting Tips Johan Arwidmark Chief Technical Architect Knowledge Factory WCL327