francis lam microsoft hong...
TRANSCRIPT
Understand more on Windows 7 performance
Feature enhancement when using with Win2k8 R2
Application Compability
Windows 7 Deployment
The rise of small notebook PCs (netbooks)
1GB RAM, modest CPU and Disk
Both enterprise and consumer usageDomain-joined machines require additional resources, which can be challenging for small notebooks
Increasing percentage of PC sales about 20M expected this year
Commonly available PCs now cover a broader spectrum of capabilities
Everyone wants performance – what’s new?
Over 400 footprint reductions across all components
0
200
400
600
800
1000
1200
1400
LaptopA (x86)
LaptopB (x86)
ShipA (x86)
ShipB (x86)
ShipG (x86)
ShipH (x86)
ShipI (x86)
ShipJ (x86)
LaptopA (x64)
LaptopB (x64)
ShipB (x64)
ShipJ (x64)
Vista SP1
Windows 7 Beta
DWM re-architecture reduces memory footprint per window by 50%
Registry read into paged pool
Was memory mapped before
Improves performance because views into registry file don’t need to be mapped and unmapped
Working set management improvements:
Working set is amount of RAM memory manager assigns to process or kernel memory type
Memory manager tuned to reduce impact of run-away processes
Processes that grow quickly reuse their own pages more aggressively
Uses 8 aging levels instead of 4
System cache, paged pool, and pageable system code now each have own working set
Now, each tuned according to specific usage, which improves memory usage
Reduces impact of file copies on system code
PerfTrack: 300 user-visible scenarios identifiedExamples: open start menu, open control panel, booting
Performance goals set for each featureInstrumented with begin/end events
Data sampled from Customer Experience Program and fed back to feature teams
Performance
• System memory savings for running Aero
• High-performance Direct3D10 Aero Glass Windows desktop
• PerformantDirect2D API
• Performance gains in gaming scenarios
Enhanced end-user experience
• Better viewing experience on TVs and widescreen laptops
• Improved video overlay presentation
Improved Reliability
• Standardization of High-definition composition
• GPU content protection through standardized solutions
• Improved diagnosability
Memory savings - GDI Application windows
# of Windows
----------------------
Screen Resolution
5 windows 15 windows 30 windows
1024 x 768 15 MBytes 45 MBytes 90 MBytes
1280 x 1024 25 MBytes 75 MBytes 150 MBytes
1600 x 1200 36.5 MBytes 109.5 MBytes 219 MBytes
0
50
100
150
200
250
300
350
1 2 5 7 10 15 20 25 30 35 40 45 50
Mem
ory
Consum
ption (
MB
)
Number of Windows Open
Memory Consumption Comparison (Lower bars are better)
Windows Vista
Windows 7 Pre Beta
Preliminary data gathered on
Windows 7 pre-release builds
Flash is cheaper Bigger flash storage devices
Wider range of optionsThumb drives, SD cards, Compact Flash
SSDs of all sizes and price ranges
Multiple vendors
Small notebooks can incorporate flash in several forms (SSDs, external flash)
Challenges : • Enabling Windows performance features to scale across the
spectrum (small notebooks to high end machines)
• Helping customers evaluate small notebooks
PC Accelerators: Make the computer more consistently responsive
SuperFetch ™ Works with kernel memory manager to optimize memory usage
ReadyBoost™ optional flash supplement to memory
System Assessment: Evaluate performance of system components
Windows Experience Index Performance Control Panel with summary scores
Windows System Assessment TestsDetailed metrics underneath the summary score
Handle wider range of CPUs, new DX10 graphics, plus new Disk storage (both SSD and HDD)
SuperFetchWhat it does : Memory manager service
Pays attention to user usage patterns
Prioritizes pages so most important aren’t paged out of memory
Pre-loads the most relevant pages into memory
Make the computer more responsive by decreasing paging from disk
Where SuperFetch helpsOptimizing pages to user’s actual usage patterns
Speeds up resume after standby/hibernate
Compensating for slower disk, limited RAM
Random reads
Where SuperFetch does not make a big impactDay 1 scenarios (SuperFetch learns over time)
Unpredictable usage patterns
Systems with very fast disks
Systems with very low memorySince it takes memory to manage memory, SuperFetch will throttle back if the system is very memory-constrained. (ReadyBoost still available)
When workloads cannot fit into DRAM,
SuperFetch can utilize supplemental ReadyBoost caches
Keep more relevant pages in memory, pull fewer from disk
System is more consistently responsive
Benefits are workload dependent – if the workload is large relative to available memory, ReadyBoost can help
Low-RAM, slow-disk systems, like small notebooks
Help resume from standby and hibernate Not boot
ReadyBoost options:
Internal and external ReadyBoost devices
As in Vista , external devices can be : USB keys, SD or SDHC cards, Compact Flash cards
Choosing a ReadyBoost device:
Size before speed
RB cache should be 2-4x DRAM size (recommend 4x)
More ReadyBoost cachesVista supported only 1 per machine, W7 supports 8/machine
Larger ReadyBoost cachesVista supported max 4gb per cache, W7 supports 32GB/cache
FAT32 limited to 4GB per cache (filesize)
exFAT and NTFS cache files can be large
exFAT recommended, more suitable for removable devices
Higher encryptionVista only supported 128 AES
W7 supports AES 256 as an option default still 128
OEM options to configure internal ReadyBoost
Can turn off compression or encryption for internal ReadyBoost devices to minimize CPU load and increase performance
SuperFetchLet SuperFetch handle the tuning ; do not turn the service off
Adapts based on Disk speed and available memory
Turning off SuperFetch disables ReadyBootand ReadyBoost
Boot times would be much slower without ReadyBoot
ReadyBoost
If your machines have limited RAM (compared to their workloads) or slow disks, consider adding ReadyBoost devices.
Small notebooks : limited RAM, modest CPU and disks
Older machines
Easy to add external devices post-purchase
If customer is ordering machines, they can request internal or external ReadyBoost devices
Health policy validation and remediation
Helps keep mobile, desktop and server devices in compliance
Reduces risk from unauthorized systems on the network
RemediationServers
Example: PatchRestrictedNetwork
Windows
Client
Policy
compliantNPSDHCP, VPN
Switch/Router
Policy Serverssuch as: Patch, AV
Corporate Network
Not policy
compliant
DirectAccess
Server
Compliant
Client
Compliant
Client
Data Center and Business
Critical Resources
Internet
Intranet
UserEnterprise
Network
Intranet
User Assume the underlying network is always insecure
Redefine enterprise network edge to insulate the datacenter and business critical resources
Tunnel over IPv4 UDP, TLS, etc.
Technical Details
NAP /
NPS
Servers
Determine your strategyBe ready to monitor IPv6 traffic
Choose an Access Model: Full Intranet Access vs. Selected Server Access?
Assess deployment scale
Get your infrastructure readyWindows 7 clients
Windows Server 2008 R2 DirectAccess Server
DC, DNS Server, Active Directory, PKI, Application Servers, etc.
During deploymentUse DirectAccess configuration wizard to setup DirectAccess Server and generate policies for clients, application servers, and DC/DNS
Customize policies as needed
Get ready step by step
IT Pro Benefits
Improved manageability of remote users
IT simplification and cost reduction
Consistent security for all access scenarios
Seamless & secure access to corporate resources
Consistent connectivity experience in / out office
Combined with other Windows 7 features enhances the end to end IW experience
End User Benefits
Situation Today
Windows 7 Solution
Application and data access over WAN is slow in branch offices
Slow connections hurt user productivity
Improving network performance is expensive and difficult to implement
BranchCache™ SMB Enhancements
Improve user productivity
Reduce network bandwidth utilization
1. Transparent Caching
2. Improved Office Experience
3. Offline Files Enhancements
Windows 7 Solution
Authenticates current state of data and access rights of the user against the server
Supports commonly used protocols: HTTP(S), SMB
Support network security protocols (SSL, IPsec)
Requires Windows Server 2008 R2 in the data center and hosted cache
Caches content downloaded from file and Web servers
Users in the branch can quickly open files stored in the cache
Frees up network bandwidth for other uses
Technical Details
Enterprise
Distributed CacheData cached in cache pool
Hosted CacheData cached at the host server
Cache stored centrally: existing Windows Server 2008 R2 in the branch
Cache availability is high
Enables branch-wide caching
Increased reliability
Recommended for branches without a branch server
Easy to deploy: Enabled on clients through Group Policy
Cache availability decreases with laptops that go offline
IISFile Server
Group Policy
Management
Install the optional “Windows
BranchCache” component on a
Windows 2008 R2 web or file
server
Use Group Policy to enable
Windows BranchCache on
Windows 7 clients
Hosted
Cache
Optionally, install a hosted cache in
your branch. Configure clients to use it
with
Group Policy
IT Pro Benefits
Optimize network utilization:HTTP and HTTPS-based intranet traffic
SMB (and signed SMB) shares on the read path
Support network security protocols (SSL, IPsec)
Reduce the cost of managing WAN
Improve application responsiveness and reduce file transferwait time
Combined with other SMB offerings enhance the userexperience on remote shares
End User Benefits
Top areas of concern with Windows 7 application compatibility:
User Account Control (UAC)
Windows Resource Protection (WRP)
Internet Explorer® Protected Mode
64-bit Operating Systems
Windows Filtering Platform
Operating System Version Changes
Deprecations/GINA/Session 0 (High Impact/Low Frequency)
36
Windows Vista to Windows 7 compatibility is very high, but some changes were made:
Operating System Versioning
Security Class Applications
Removal of Windows Gallery applications (Windows Mail, Movie Maker, Messenger, Address Book, Photo Gallery)
National Language Support (NLS) Sorting Changes
Internet Explorer 8
File Libraries
High DPI Awareness
Removal of Windows Registry Reflection
Removal of msagent and milcore.dll, revamped CDROM driver stack and biometrics support
37
Code rewrite
Painful, least preferred
Virtualization (XP Mode, Med-V)
Costly : Requires specialized hardware support. Less preferred.
Apply Shim (ACT 5.5)
Application fixes to emulate / remediate changed features
Most preferred. NO additional investment required
Using Compatibility Administrator in ACT 5.5
Collection of tools to:
• Inventory for software, hardware, and device assets
• Compatibility evaluation for all of the above
• Get Vendor Support Statements, Logo data from Compatibility Exchange
• Recommendations for fixing applications and Websites (Internet Explorer 8)
• Tools to apply compatibility fixes or “shims” to applications
40
Collect Data Analyze Test and
Mitigate
Inventory Applications and Devices
Gather
high-level compatibility evaluator
data
In-depth testing with dev/test tools
Log test data
Build and test mitigations
Prioritize and Categorize
Synchronize data with Microsoft Compatibility Exchange
Identify high-level issues
41
Log Processing
Service and DB
Data Collection Package/Compatibility Evaluators
Inventory Windows 7 Update
Desktop Topology
Europe North America
HR Finance
1
2
Application
Compatibility
Manager
3
Greg
Ichiro
Internet
42
Compatibility Exchange4
Windows Vista
Windows components change to support:
New technology
Bug fixes
Strategy changes
OS changes may fix some, break others
Simulate previous Windows ONLY for an app
Pre-configured Windows XP VHD image
USB Support New Windows 7 style UI
Seamless Applications
Needs hardwaresupport
Accelerate OS migrations
Reduce application compatibility concerns
Drive Business continuity
Intuitive user experience
Centrally manage Virtual PCs
Simplify Virtual PC image delivery and update
Seamless presentation of windows in a Virtual PC
49
Enable device roaming
Accelerated desktop deployment
Minimize app-to-app compatibility testing
Provisions applications to users at log on
Centralizes permissions
Isolates applications
Provide real-time usage reports
50
Deployment
Image Servicing
and Management
Add/Remove Drivers
and Packages
WIM and VHD Image
Management
User State
Migration Tool
Hardlink Migration
Offline File Gather
Improved user file
detection
Microsoft
Deployment Toolkit
Application
Compatibility Toolkit
Microsoft
Assessment and
Planning
Windows
Deployment Services
Multicast
Multiple Stream Transfer
Dynamic Driver
Provisioning
Enable and disable, enumerate, add, remove packages and updates
Add, remove, enumerate drivers
WIM and VHD support
OEMs can select OS editions offline
DISM
/add-package
/add-package
/remove-package
/remove-package
/get-packages
/add-drivers
/remove-drivers
/get-drivers
/mount-wim
/unmount-wim
/commit-wim
Package Manager
/ip
/iu
/up
/uu
/mount
/unmount
/commit
Commands
Add Package
Add update
Remove Package
Remove Update
Enumerate Packages
Add Drivers
Remove Drivers
Enumerate Drivers
Mount WIM
Unmount WIM
Commit Changes (WIM)
ImageX
+Intlconfig
Multiple Stream TransferMultiple bands to broadcast images to clients
Optimized rates per client connection
Client Auto RemovalSlower clients can be dropped to unicast or entirely (only in standard multicast)
Boot Image MulticastWindows PE boot images can use multicast (clients with EFI)
Fast
Medium
Slow
Clients with multiple transfer speeds
WDS Server
Multicast
Transmission
Transmission begins…
Fastest Medium
Clients with multiple transfer speeds
WDS Server
Multicast
Transmission
Additional clients join stream
Fastest Medium Slowest Medium
Clients with multiple transfer speeds
WDS Server
Multicast
Transmission
More clients to join
FastestMedium Slowest Medium FastestMedium Medium
Clients with multiple transfer speeds
WDS Server
Multicast
First clients complete. Second broad-
cast begins. One client removed.
Medium Medium Medium MediumSlowest
Clients with multiple transfer speeds
WDS Server
Multicast
Last clients complete…
Medium MediumSlowest
Client
WDS Server
Images Drivers
Driver targeting to match drivers to hardware
Reduces image size and centralizes deployment driver management
Microsoft Confidential – NDA Only – Microsoft Preliminary Information
User State Migration Tool
Hardlink Migration Enables local file migration without copying or moving files
Processes migration jobs in third of the time or less
Offline User State Capture Capture during Windows PE phase to improve speed
Volume Shadow CopyCapture files even while they are in use
Improved File DiscoveryReduces XML customization need
Win7 USMT
/hardlink
/offlinewindir(PE or windows.old)
/vsc
/auto
USMT 3Commands
Hard Link Migration
Offline Windows Directory
Volume Shadow Copy
Auto Gather /migdocs /miguser
Windows Vista Windows 7Windows XP
Scanstate.exe
Loadstate.exe
Scanstate.exe Scanstate.exe
Loadstate.exe
Windows 7 USMT Supported OS
Deployment
Image Servicing
and Management
Add/Remove Drivers
and Packages
WIM and VHD Image
Management
User State
Migration Tool
Hardlink Migration
Offline File Gather
Improved user file
detection
Microsoft
Deployment Toolkit
Application
Compatibility Toolkit
Microsoft
Assessment and
Planning
Windows
Deployment Services
Multicast
Multiple Stream Transfer
Dynamic Driver
Provisioning
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Internet Explorer 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.