logoff (usersession) suspend system hiberfile write shutdown apps service notifications service...

16
www.buildwindows.com Introduction to the Boot Performance Assessment Rob Greenwell Program Manager Microsoft Corporation HW-916P

Upload: erika-russell

Post on 17-Jan-2016

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Introduction to the Boot Performance Assessment

Rob GreenwellProgram ManagerMicrosoft Corporation

HW-916P

Page 2: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Agenda

• Why is Boot performance important?• What you can learn from the Boot Performance

Assessment• What metrics are captured• What is the assessment workflow• DEMO (Running and Viewing Results)• Wrap up

Page 3: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Why is Boot performance important?

• Users often equate the overall quality of their systems with time it takes to turn on their PC and reach a usable desktop

• Users want an instant on experience on the PC similar to that of other consumer electronics devices today

• While Windows has invested heavily into improving On/Off transition performance, we can not do it alone

Page 4: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

What can you learn from this assessment• OEMs can assess the boot performance of their

systems and images during development and assure they are delivering a quality experience

• IHV’s and ISV’s can measure the impact that their components have on the boot process

• Understand any potential performance issues and get initial remediation guidance

Page 5: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

What Metrics are captured by the Assessment• Both Boot and Shutdown durations are captured

using Event Tracing for Windows (ETW).• Similar to the way existing tools such as Velocity work

today.

• Process level details such as CPU and Disk utilization are also provided.

• Assisted Performance Diagnostics identifies potentially problematic performance issues.

Page 6: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Overview of the Boot Scenario

• New Boot experience in Windows Developer Preview called Hybrid Boot

• Initiated from Shutdown and leverages Hibernate technology to improve performance for the most common scenarios. • User Sessions are logged off as normal• Devices, System Processes, and Session 0 entities are

notified that hibernate is occurring and data is written to hiberfile.

• A Restart action will use the traditional Boot behavior.

Page 7: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Phases of Hybrid Boot

• The following diagram shows a condensed visual representation of what the shutdown scenario looks like.

Logoff (UserSession) Suspend System

Hiberfile WriteShutdown

AppsService

NotificationsSuspend Services

Suspend Devices

Hiberfile Write

QueryDevices

Page 8: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Phases of Hybrid Boot

• The following diagram is a visual representation of the Hybrid Boot Resume scenario and a comparison with the traditional Boot scenario

BIOS Initialization OS Initialization (drivers, devices, services) Post-Boot

POST HiberfileRead Post-BootDriver Init (S4)

Trad

ition

al

Boot

Hyb

rid B

oot

Explorer Ready

Explorer Ready

Unlike traditional boot drivers and services are not

restarted

Page 9: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Boot Performance Assessment Workflow

• The following diagram shows the primary workflow of the assessment when it is run

Training Runs

• 6 Reboots• Process Idle

Tasks• Allow OS to fully

train itself

Timing Runs

• 3 Reboots• Captures timing

traces• Viewable as

iterations

Analysis Runs

• 2 Reboots• Capture analysis

traces• CPU and IO

Results Aggregation

• Metrics and Issues are aggregated into final results file

Page 10: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Do’s & Don’ts• Best practices for running the Boot assessment

• The assessment will reboot your machine several time. • Save your work before running it• Configure your machine so it does not prompt for logon

credentials• Single User account with no password• There are tools and registry settings that can be configured for

auto-logon, but be aware of the security implications

• Make sure the correct device drivers are installed for all devices; especially graphics driver

Page 11: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Let’s look closer at the Boot Assessment…

demo

Page 12: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

Wrap up

• Make Boot performance a priority

• Use the boot assessment to test your OS images and HW / SW components

• Investigate high priority issues and follow remediation guidance

• Provide feedback through the EEAP program.

Page 13: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

For more information

• HW-147T Building high quality Windows PCs using the assessment and deployment kit

• HW-148P Scaling and extending Windows assessments to improve system quality: Parts 1 and 2

• HW-59T Improving performance with the Windows Performance Toolkit

• HW-61H Experiencing the assessment tools in Windows 8

RELATED SESSIONS• HW-915P Introduction to assessments

• HW-149P Improving battery life and energy efficiency

• HW-920P Introduction to the streaming assessment

Page 14: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

www.buildwindows.com

• Feedback and questions http://forums.dev.windows.com

• Session feedbackhttp://bldw.in/SessionFeedback

thank you

Page 15: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices

© 2011 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 16: Logoff (UserSession) Suspend System Hiberfile Write Shutdown Apps Service Notifications Service Notifications Suspend Services Suspend Devices