Modern Standby Instrumentation and Tools Power Meters OOBE
Modern Standby Instrumentation and Tools Power Meters OOBE On/Off Transition Edge and UWP Apps Firmware SMBIOS Firmware Update UEFI
Silicon and HW collaboration and technologies Hardware design and validation guidance Modern Standby Energy Estimation Engine and Battery Saver Hardware offload Scenarios (Edge, Media Playback, Office, Skype) Tools and training videos
Target customer and expectation Target form factor and price point Target battery life goals BOM and design vs. cost and goal Differentiation Cost Industrial design thickness/weight Battery capacity Component selection Battery life goals
Hardware Part Platform CPU IHV Part #A Display size and resolution IHV Part #B Input controller IHV Part #C Memory type and size IHV Part #D Storage type IHV Part #E Wi-Fi IHV Part #F Mobile broadband IHV Part #G Sensors IHV Part #H PMIC, battery controller IHV Part #I Other parts IHV Part #J, K Total Avg Power (m. W) Battery Capacity (Whr) Est. Runtime with battery (hr) Screen On Idle Standby Workload s toe V r IH vanc u o h y in ad t i w rk data o W tain ob
Edge Battery Saver and more to come …
Modern Standby
S 3 = Legacy Standby MS = Modern Standby (S 0 i. X) Hibernate (S 4) Deeper sleep state than S 3 and MS
ASUS TF 303 CL Huawei Matebook Dell Latitude 11 5175 Lenovo Think. Pad X 1 Dell Latitude 7275 Microsoft Surface Pro 4 HP Elite. Book Folio NEC LAVIE Direct HZ Different form factors and price points HP Spectre X 2 Samsung Galaxy Tab. Pro S
On with Screen on Lower Modern Standby (S 0 i. X) Legacy Standby (S 3) Hibernate (S 4) Off (S 5) + Adaptive Hibernate Triggers RESUME LATENCY On with Screen off Higher
Higher On with Screen off Modern Standby (S 0 i. X) & Legacy Standby (S 3) Hibernate (S 4) + Adaptive Hibernate Triggers Off (S 5) TYPICAL POWER DRAW On with Screen on Lower
The Desktop Activity Moderator (DAM) is a run-time Windows component only active on Modern Standby devices DAM pauses all desktop applications and throttles runtime of third-party system services when the device is in standby Whenever the device is in Modern Standby state, DAM is active
Wake on Voice (Wo. V) – NEW! Wake on Finger Print Reader – NEW! Wake Sources Wake on Automatic Wireless Docking – NEW! Wake on BT (Band, Phone, Pen) – NEW! Wake on “Miracast to PC” – NEW! Wake on Location Services (Geo-fencing) Performance & Security Entertainment & Staying Connected Faster resume from standby Consumer Device Encryption Windows is up-to-date Uninterrupted Casting & Audio Playback Sync with Bluetooth Devices (E. g. , Fitness watch) Receive Skype Calls Email & Calendar are up-to-date Receive push notifications (E. g. , Social or Io. T) CS DS Legacy Standby Disconnected Connected Scenarios S 3
Hey Cortana, will it rain today? No, it’s unlikely. The forecast shows mostly sunny skies with a high of 85 and low of 75
Much easier integration and servicing for third parties than past custom solutions Can support BT, NFC and other transports
Disconnected and connected standby devices running UWP apps can sync with Bluetooth devices such as fitness watches while remaining in standby
Device encryption allows you to secure your data straight out of box Uses TPM 2. 0 to wrap and secure your data further Only the right decryption key or password can access the data Learn more from https: //technet. microsoft. com/en-us/library/dn 306081. aspx
Windows stays up-to-date while in connected standby Updates are automatically downloaded and installed
Local and streaming audio UWP apps continue to play in low power audio mode after entering disconnected or connected standby
Receive Calls from the UWP Skype app while the device is in connected standby
UWP based Email & Calendar apps are up-to-date on connected standby devices
Social media, security, doorbell, and many other UWP apps can wake a device from a connected standby state
# Document Description & URL Win. HEC June 2016: Customizing & Optimizing Modern Standby Devices Hands-on Lab on Channel 9 Hands-on lab doc that covers the following topics: • Navigate through a Sleep. Study report • Looking at Standby ETL traces with WPA • Identifying problems with spurious wakes, missing drivers & constraints, and USB devices • Learn more about Adaptive Hibernate Triggers & how to customize settings https: //sec. ch 9. ms/slides/win. HEC/Win. HECHOLCustomizing. Optimizing. Modern. Standby. Devices. zip 2 Win. HEC 2015: Debugging Power Problems in Standby Talk & Lab on Channel 9 Talk: https: //channel 9. msdn. com/Events/Win. HEC/2015/OWD 200 English Slides: http: //video. ch 9. ms/sessions/winhec/2015/files/OWD 200%20%20 Debugging%20 Power%20 Problems%20 with%20 Standby. pptx Mandarin Slides: http: //video. ch 9. ms/sessions/winhec/2015/files/OWD 200 -M%20%20 Debugging%20 Power%20 Problems%20 with%20 Standby. pptx Lab: https: //channel 9. msdn. com/Events/Win. HEC/2015/OWDHOL 304 (note: The Win. HEC June 2016 lab is an updated version of this lab) 3 Modern Standby & RS 1 Updates on Windows. com Brief overview of the RS 1 changes to enable Battery Saver by default in Modern Standby https: //blogs. windows. com/windowsexperience/2016/04/26/announcing-windows-10 -insider-preview-build 14332/#GCqihr. Crmgq. I 9 y 6 d. 97 4 Modern Standby Content on MSDN https: //msdn. microsoft. com/en-us/library/windows/hardware/mt 282515(v=vs. 85). aspx https: //msdn. microsoft. com/en-us/library/windows/hardware/mt 637228(v=vs. 85). aspx 5 RS 1 Adaptive Hibernate Docs on MSDN https: //msdn. microsoft. com/en-us/library/windows/hardware/mt 732711(v=vs. 85). aspx 1
# 1 Tool / Test Suite Windows Performance Analyzer (WPA) 2 Power. Cfg /Sleepstudy 3 Modern Standby Energy Efficiency Assessment Location Description & URL Built into OS Included in the Windows Assessment and Deployment Kit (ADK), the Windows® Performance Toolkit consists of performance monitoring and trace visualization tools that produce in-depth performance profiles of Windows operating systems and applications. Built into OS Checks if the platform is in Modern Standby. Sleep Study tool provides overview information about each connected standby session. This information includes the active & idle time, and the power consumed. Learn more in the following Channel 9 Defrag Tools training video: https: //channel 9. msdn. com/Shows/Defrag-Tools-168 -Powercfg-Sleep-Study ADK Windows Assessment & Deployment Kit contains an energy efficiency assessment that generates an ETW log and measures the drain rate while in Modern Standby. https: //msdn. microsoft. com/enus/library/windows/hardware/dn 916163(v=vs. 85). aspx 4 Modern Standby & Compatibility Tests HLK MS Duration Test: https: //msdn. microsoft. com/en-us/library/windows/hardware/dn 949525(v=vs. 85). aspx MS Exit Latency Stress: https: //msdn. microsoft. com/enus/library/windows/hardware/dn 940611(v=vs. 85). aspx MS Hardware Security Test: https: //msdn. microsoft. com/enus/library/windows/hardware/dn 940396(v=vs. 85). aspx MS IO Stress: https: //msdn. microsoft. com/en-us/library/windows/hardware/dn 942043(v=vs. 85). aspx MS Stress with Driver Verifier's Stress: https: //msdn. microsoft. com/enus/library/windows/hardware/dn 924110(v=vs. 85). aspx HLK Compatibility Playlists: https: //sysdev. microsoft. com/en-US/Hardware/compatibilityplaylists 5 Pwr. Test Scenarios DDK https: //msdn. microsoft. com/en-us/library/windows/hardware/ff 550758(v=vs. 85). aspx
# 1 2 3 4 Document Description & URL Kaby Lake Platform Modern Standby Cook-Book U/Y/H Modern Standby (MS) Cook Book has been prepared to ease the Modern Standby implementation by documenting basic checks the customer can follow. Skylake and Kaby Lake BIOS Checklist for Modern Standby and Low Power Enabling This document provides a BIOS programming checklist for Modern Standby and Low power enabling on the platform. It outlines BIOS platform policies and settings in Intel Silicon Initialization and gives direction and guidance for BIOS engineers on how to perform the correct settings in BIOS. Kaby Lake Platform Modern Connected Standby Customer Checklist (HW Checklist) The purpose of this checklist is to provide a quick comparison guide for the customer design vs Intel reference design as it pertains to Modern Standby. For any discrepancies, references or other details on device states, voltage rail assignments and control signal, refer to EDS, PDG and RVP. Intel* Skylake Runtime D 3 (RTD 3) Hardware and Software Recommendations This document covers the Runtime D 3 feature overview, requirements, and implementation details. Guidelines for OS/BIOS/HW interactions are provided. Intel* Power Optimizer (PO) Framework Device Requirements Document for Skylake 5 (2015) Client Platforms This document describes the third party device requirements for the Power Optimizer (PO) framework for Skylake 2015 based PC platforms focusing on the Mobile 2 -chip, ULT platforms and Y based designs.
# 1 2 3 Tool / Test Suite Power House Mountain Intel® SVT Closed Chassis Adapter SVID bus Protocol Decoder Windows Location Description & URL Validation Internet Portal Powerhouse Mountain (PHM) is the leading power optimization debug and enabling tool for mobile and desktop Intel internal validation and Intel's NDA customers. Capabilities include: • capturing platform power states and transition events on a system under test (SUT) • post processing and time alignment of diverse data types to visualize user target data types for accelerated debug analysis with one tool • enables capturing total system power measurement using Intel Real-time Power Meter family of products (Intel RPM) and Pyramid Mountain Edison based interposer solution (PYM) Intel Portal Intel® Silicon View Technology Closed Chassis Adapter (also known as SVTCCA or BSSB) provides access to DFx-features, like JTAG and Run-control, through USB 3 port(s) on Intel® Direct Connect Interface (DCI) enabled silicon and platforms. The tool enables closed-chassis use-cases where USB 3 -hosted DCI is limited, intermittent, or unavailable and includes initial cold boot, suspend-state operation and survival, Reset-flows, and USB 3 or IOSF path failures. Intel® ITP software or Intel® System Studio software is required - software is sold separately. The tool can be used to check Silicon Power Management status https: //designintools. intel. com/Search. Results. asp? Search=DCI&Submit Intel Portal This is a Windows application to decode SVID bus protocol captured from an Oscilloscope. This tool decodes VR 12. 0, VR 12. 5 and VR 12. 6 SVID bus protocol. The tool includes parity checking and SVID protocol and register decodes for faster SVID trace analysis and debug of issues related to power delivery and the SVID bus https: //designintools. intel. com/Product. Details. asp? Product. Code=PACSVIDBPD
Power. Cfg commands to temporarily disable hibernate triggers to evaluate and optimize the Modern Standby power floor NOTE: Do NOT use these settings in shipping images (For Test purposes Only) Hibernate Triggers Power. Cfg commands to temporarily disable trigger Disable the doze to hibernate (S 4) timer powercfg /setdcvalueindex scheme_current sub_sleep HIBERNATEIDLE 0 Disable User Presence Prediction based Doze to S 4 trigger (default is enabled) powercfg /setdcvalueindex scheme_current sub_presence USERPRESENCEPREDICTION 0 Set Standby Budget Percent trigger to 100% powercfg /setdcvalueindex scheme_current sub_presence standbybudgetpercent 100 Set Standby Active Reserve Time to the maximum value powercfg /setdcvalueindex scheme_current sub_presence standbyreservetime 4294967295
Collaborate with your silicon partner on high quality lead design as the foundation to scale Leverage engagement on lead designs to ensure high quality then self-enable follow on designs Utilize tools and guidance to self-triage blocking issues and device quality
Power data Device activity
Power Instrumentation Fully Instrumented Devices Intel® HDK HW Power Meter IC High ($$, $$$) Medium ($$$) Low ($) Component Flexibility Low High Low E 3 Compatibility No Yes Scale Low Medium High Cost
https: //blogs. windows. com/windowsexperience/2016/09/15/edge-battery-anniversaryupdate/#Bgzy. IJp. Xzd. Sv 0 w 4 X. 97
E 3 is an inbox service running on all battery powered Windows 10 devices Provides energy usage data by HW, apps and services Users understand what consumes battery life Developers understand impact of their code choices on battery life HW partners understand hardware energy tradeoffs for different usage scenarios, including self-host mining of energy telemetry More accurate energy data with optional hardware power meters E 3 Configuration Approximate accuracy per power model CPU Storage Display Network Software Estimation 87% <70% Hardware Measurement 98% 98%
Maxim Integrated power meter in market solution MAX 34407: SMBus 4 -Channel Wide Dynamic Range Power Accumulator For more information please email sales@maximintegrated. com or review the spec on this site: https: //www. maximintegrated. com/en/products/analog/amplifiers/MAX 34407. html Microchip power meter solution in development Measurement resolution from 1 m. A to 10 A Microchip’s solution offers a measurement range of 0 V to 32 V For more information please email E 3@microchip. com
Battery Saver provides users more control of battery life Extends battery life by limiting background activity and providing user with data about which apps, services, and hardware components are consuming the most energy
“Power. Cfg /SRUMUTIL” generates a CSV dump of E 3 data Target Audience: Power optimization engineers, tech enthusiasts Investment: Documentation & training on how to convert the raw data into actionable information Energy data (millijoules) attributed to apps and hardware components https: //channel 9. msdn. com/Shows/Defrag-Tools-157 -Energy-Estimation-Engine-E 3
Windows Performance Analyzer (WPA) E 3 plugin enables power engineers to visualize E 3 data in graphs
Common Core Module and I/O board with different add-in-card connectors enable prototyping and validation by product configuration HDK Power App EMI Power Meter Driver over USB
Correlate power data with activity Optimize media scenarios for quality and energy efficiency Verify that power saving features are enabled Power data System activity
https: //channel 9. msdn. com/Blogs/Win. HEC/httpschannel 9 msdncom. Shows. Defrag. Tools. Defrag-Tools-168 -Powercfg-Sleep-Study https: //channel 9. msdn. com/Shows/Defrag-Tools-159 -Powercfg https: //sec. ch 9. ms/slides/win. HEC/Win. HECHOLCustomizing. Optimizing. Modern. Standby. De vices. zip
https: //developer. microsoft. com/enus/windows/hardware/windows-assessmentdeployment-kit
https: //developer. microsoft. com/enus/windows/hardware/windows-assessmentdeployment-kit
Enable audio offload on chipsets that support offload Implement low refresh rate display panels Validate multi-plane overlay (MPO) and Independent Flip (i. Flip) implementations Use hardware power monitoring solutions (power meters, Intel HDK) Balance battery capacity with hardware spec View MSDN CH 9 videos and provide feedback
Reduced work in background or minimized tabs, optimized timer management, etc. Address common unresponsive/hanging tabs issues and delays upon user input
Add the Windows Defender Trusted Image Identifier setting • More info in https: //technet. microsoft. com/en-us/library/hh 825233. aspx Validate that the 3 rd party antimalware app registers itself properly with Windows Security Center and only one antimalware app is running during OOBE Add the /EA switch when using DISM to apply or capture a Windows image https: //channel 9. msdn. com/Shows/Defrag-Tools-165 -Performance-tracing-in-OOBE
https: //msdn. microsoft. com/en-us/library/windows/desktop/dd 392330(v=vs. 85). aspx https: //channel 9. msdn. com/Shows/Defrag-Tools-166 -Performance-Analysis-of-UWPApps https: //channel 9. msdn. com/Shows/Defrag-Tools-156 -Critical-Path-Analysis-with. Windows-Performance-Analyzer
Guidance on how to analyze web site performance
https: //channel 9. msdn. com/Shows/Defrag-Tools-154 -Memory-Footprint-and-Leaks
Windows Store App Leverages a new internal ETW event that ends when the UI can respond to user input Only applicable to Microsoft apps today Out of Box Experience (OOBE) Provides light weight tracing profile to gather OOBE measurements File Handling Reboot capability between iterations added to clear antimalware temporary memory caches On/Off Transition
Firmware drives high quality device targeting and reporting Windows as a Service enables Windows devices to receive feature, quality and security updates SMBIOS values stored in the firmware enabling your customers to receive the most recent firmware, driver and OS updates the easiest and fastest way through accurate device targeting Firmware Update Platforms enables seamless firmware update without the need for a separate firmware update infrastructure Security is a top concern for users across all segments Secure firmware enables Windows security features that help protect business and user information
SMBIOS is a specification by DMTF that defines data structures and values stored in the firmware SMBIOS enables accurate targeting of devices when performing firmware, driver, OS and/or admin controlled updates SMBIOS is also used for device inventory management
X SMBIOS Default Minimum Recommendation Preferred Recommendation Manufacturer To be filled by O. E. M Contoso Family To be filled by O. E. M A 11 Product Name To be filled by O. E. M A 11 a 110001 Baseboard Product To be filled by O. E. M bb 03 SKU Number To be filled by O. E. M A 11 a 11001 -EU-04 Enclosure Type To be filled by O. E. M Hex value defined in SMBIOS Spec 3. 1 Serial Number To be filled by O. E. M Value specified by Vendor Matches S/N on printed sticker System UUID Universally Unique ID Value specified by Vendor Universally Unique ID
Firmware Update A platform for installing system and device firmware updates via driver packages that are processed by using the UEFI Update. Capsule function Provides a consistent and reliable firmware update experience Improves the discoverability of firmware updates for end-users Firmware Update Best Practices Planning • Define unique ESRTGUID and SMBIOS fields • Validate unique CHID Implementation • Populate ESRT/GUID with your defined values • Populate SMBIOS fields Validation • Check CHID and ESRT/GUID uniqueness • Validate distribution targeting and firmware installation In-Market • Switch from validation to live deployment
Firmware containing updates to latest specification Implement latest UEFI, and components necessary to meet Microsoft Security requirements Provide hardware based security Implement Firmware Trusted Platform Module (TPM) 2. 0 or Discrete TPM 2. 0 Prevent advanced memory attacks Implement Memory Overwrite Request Control (MORLockv 2) Protect the secure environment created by Virtualization Based Security (VBS) Create a static Windows Security Mitigation Table (WSMT) in the ACPI namespace of the platform Enable I/O Memory Management Unit (IOMMU) and Virtualization in UEFI
Modern Standby Lab https: //channel 9. msdn. com/Blogs/Win. HEC-Anniversary-Update-Engineering-Workshop--Labs. Available POWERCFG /Sleep. Study https: //channel 9. msdn. com/Shows/Defrag-Tools-168 -Powercfg-Sleep-Study
POWERCFG /SRUMUTIL - Visualize E 3 data in Excel https: //channel 9. msdn. com/Shows/Defrag-Tools-157 -Energy-Estimation-Engine-E 3 Intro to E 3 ETW logging and Power. Cfg /SRUMUTIL https: //channel 9. msdn. com/Blogs/Win. HEC-Anniversary-Update-Engineering-Workshop--Labs. Available Edge Leveraged power meter chips to optimize for power https: //blogs. windows. com/windowsexperience/2016/09/15/edge-battery-anniversaryupdate/#i. P 7 Mca. Zq. UXB 0 k. Uh 8. 97 https: //microsoftedge. github. io/videotest/2016 -09/Webdriver. Methodology. html Power. Cfg /Sleep. Study leverages Power Meter chips https: //channel 9. msdn. com/Shows/Defrag-Tools-168 -Powercfg-Sleep-Study
POWERCFG /SRUMUTIL - Visualize E 3 data in Excel https: //channel 9. msdn. com/Shows/Defrag-Tools-157 -Energy-Estimation-Engine-E 3 POWERCFG /Sleep. Study leverages Power Meter chips https: //channel 9. msdn. com/Shows/Defrag-Tools-168 -Powercfg-Sleep-Study Media e. Xperience Analyzer part 6: Audio Offload https: //channel 9. msdn. com/Shows/Defrag-Tools-158 -Media-e. Xperience-Analyzer-part-6 Audio-Offload Media e. Xperience Analyzer part 2: Video Playback Power Saving https: //channel 9. msdn. com/Shows/Defrag-Tools-150 -Media-e. Xperience-Analyzer-part-2 Video-Playback-Power-Saving
Automatic Maintenance http: //msdn. microsoft. com/en-us/library/windows/desktop/hh 848037(v=vs. 85). aspx Task Scheduler http: //msdn. microsoft. com/en-us/library/windows/desktop/aa 383614(v=vs. 85). aspx Task definition schema http: //msdn. microsoft. com/library/aa 383609(v=VS. 85). aspx Windows Performance Toolkit Technical Reference http: //msdn. microsoft. com/en-us/library/windows/hardware/hh 162945. aspx Best Practices for Energy Efficiency http: //msdn. microsoft. com/en-us/library/dd 371723(v=vs. 85). aspx
Performance Analysis of UWP Apps https: //channel 9. msdn. com/Shows/Defrag-Tools-166 -Performance-Analysis-of-UWPApps Performance Tracing in OOBE https: //channel 9. msdn. com/Shows/Defrag-Tools-165 -Performance-tracing-in-OOBE Critical Path Analysis with Windows Performance Analyzer https: //channel 9. msdn. com/Shows/Defrag-Tools-156 -Critical-Path-Analysis-with. Windows-Performance-Analyzer Boot Performance https: //channel 9. msdn. com/Shows/Defrag-Tools-155 -Boot-Performance Memory Footprint and Leaks https: //channel 9. msdn. com/Shows/Defrag-Tools-154 -Memory-Footprint-and-Leaks
MXA - Part 1: Overview https: //channel 9. msdn. com/Shows/Defrag-Tools/Defrag. Tools-149 -Media-e. Xperience-Analyzer-part-1 MXA - Part 3: Audio Glitch Analysis Part 1 https: //channel 9. msdn. com/Shows/Defrag-Tools-151 -Media-e. Xperience-Analyzer-part-3 Audio-Glitch-Analysis MXA - Part 4: Video Glitch Analysis https: //channel 9. msdn. com/Shows/Defrag-Tools-152 -Media-e. Xperience-Analyzer-part-4 Video-Glitch-Analysis MXA - Part 5: Audio Glitch Analysis Part 2 https: //channel 9. msdn. com/Shows/Defrag-Tools-153 -Media-e. Xperience-Analyzer-part-5 Audio-Glitch-Analysis-II
System Management BIOS (SMBIOS) Specification http: //www. dmtf. org/standards/smbios Windows UEFI Firmware Update Platform https: //www. microsoft. com/en-us/download/details. aspx? id=38405 Windows 10 Driver Publishing Workflow http: //download. microsoft. com/download/B/A/8/BA 89 DCE 0 -DB 25 -4425 -9 EFF 1037 E 0 BA 06 F 9/windows 10_driver_publishing_workflow. docx Hardware Compatibility Specification for Systems for Windows 10 https: //msdn. microsoft. com/en-us/windows/hardware/commercialize/design/compatibility/systems
© 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U. S. and/or other countries. All other trademarks, copyrights and other forms of intellectual property belong to their respective owners. 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.
- Slides: 86