Upload
wendy-dickinson
View
220
Download
1
Tags:
Embed Size (px)
Citation preview
B107: An Overview Of
Dung T. ThoiMicrosoft SwitzerlandLevel 100299
What fuelled Windows 7
Customer Input
Developer Input
Engineering Excellence
Windows 7 Builds on Windows Vista…
Few Changes:
Focus on quality
and reliability
improvements
Few Changes: Most
software that runs on
Windows Vista will run on
Windows 7 - exceptions will
be low level code (AV,
Firewall, Imaging, etc).
Hardware that runs
Windows Vista well will
run Windows 7.
Deep Changes:
New models for
security,
drivers,
deployment,
and networking
Everyday
Tasks Made
Easier
Helps you Live a Life Without Walls
Works the Way You
Want
Everyday Tasks Made Easier
Everyday Tasks Made Easier
• Task Bar• Preview• Jumplist• Pinning• Snap• Hover• Device Stage• Web Slice
demo
Helps you Live a Life
Without Walls
A Life Without Walls
• Libraries• Federated Search• Play To• VHD
demo
Local Machine
My Docs
Intranet Internet
MOSS 2007Team Sites
Legal
Sales
HR
Line of Business
Corporate Index
EMCDocumentum Repository
Where Enterprise Data Lives
10
OpenSearch protocol (http://opensearch.org)
Simple http protocol that builds on RSS & ATOM1-2 days to add it to a search server’s web front endSupported by MOSS 2007 servers out of the boxNo code installation required for client deployments
2. Create .
osdxRSS results
http request1. Enable
Servers for OpenSearch
3. Deploy .osdx
11
Federated Search Setup
Works the Way
YOU Want
Performance
• Background Processing• Graphics• Power Efficiency
Impact Of Background Activity
Performance• Responsiveness to the user• Consumes resources from
foreground applications• Boot, Shutdown, Logoff, etc.
Reliability• Memory leaks• System crashes, hangs• Dependent application
crashes
Security• Activity may require system
privileges• Successful attack may
compromise entire system
Power Consumption• Extra disk, CPU utilization• Decrease in battery life• Prevents idle efficiencies
Internal evaluation of 49 Windows services
Not critical for boot and loginCritical and required for their individual scenarios
Impact Of Background Activity
Resource Quantity
File I/O 47,286
Copy-on-Write (COW) Pages 4,656 (~18MB)
Memory Pages (Total) 15,967 (~60MB)
Registry Operations 38,508
Threads 367
Background Activity Performance Impact
Compared IT image to clean Windows Vista installation:
10 additional 3rd-party services
Clean IT0
20
40
24.746.1
Boot Timeseconds
Clean IT0
15
30
45
25.6 30
Shutdown Timeseconds
Clean IT0%
4%
8%
1.01%6.04%
Idle CPU Uti-lization
15 second trace
Clean IT0
20,000
40,000
10,19231,401
Disk Read Count15 second trace
Choose the right modelWindows Service or Scheduled Task?
Leverage the latest Windows infrastructure
Trigger-Start Services for Windows 7Make performance optimizationsEliminate unnecessary privilegesEvaluate and measureIterate (step 1)
Designing For Efficiency
Trigger-Start ServicesDevice Trigger
Group Policy Trigger (machine & user)IP Address Trigger (arrival & removal)Domain Trigger (joint & removal)Custom Trigger
Service foo
Device Trigger• Start Service• Stop Service
Device Interface ID• GUID• HW ID
• Manual• Automati
c
Trigger-Start
• Tablet PC Input Service• Bluetooth Support Service
(bthserv)• SCM• SC
demo
Process LifeCycle Management
CalendarBootLogonIdle
Event log based entryWorkstation lockWorkstation unlock…
services.exeUnified Background Process Management
svchost.exe taskhost.exe
• http://go.microsoft.com/fwlink/?LinkId=128622 • http://channel9.msdn.com/pdc2008/PC19/• http://channel9.msdn.com/shows/Going+Deep/Chittur-Subbaraman-Inside-
Windows-7-Service-Controller-and-Background-Processing/
Task Triggers
Some Trigger-Start Services In Windows 7
Service Name Description Trigger Type
AELookupSvc Processes application compatibility cache requests for applications as they are launched
Custom ETW
BDESVC Provides BitLocker client services for user interface and auto-unlocking of data volumes
Custom ETW
BTHSERV The Bluetooth service supports discovery and association of remote Bluetooth devices.
Device
SensorsMTPMonitor
Monitors MTP (Media Transfer Protocol) sensors (such as a cell phone with a GPS receiver) to communicate sensor data to programs
Device
TabletInputService
Enables Tablet PC pen and ink functionality
Device
WinDefend Protection against spyware and potentially unwanted software
Group Policy
Performance
• Background Processing• Graphics• Power Efficiency
DirectX Technologies
Increased performance and visual quality (2x)Lower CPU usage than GDI/GDI+Hardware acceleratedReduced memory consumption
Direct2D
Direct3D
Segoe UIDirectWrite
DXVA & WIC
Memory Usage In Windows VistaWindow with GDI content
GDI
System memory
allocation
GDI video memory
allocation
DWM Composition
1
2
Provided by:
Microsoft
ISV
IHV
Memory Usage In Windows 7Window with GDI content
GDI
System memory
allocation
GDI video memory
allocation
DWM Composition
1
1
WDDM
Display driver
Provided by:
Microsoft
ISV
IHV
Results
Note: The above data compares system memory consumption only.Preliminary data gathered on Windows 7 pre-release builds and subject to change
1 2 5 7 1015202530354045500
50000
100000
150000
200000
250000
300000
350000
DWM Memory Consumption Comparison
WDDM v1.1 behaviourWDDM v1 behaviour
Number of Windows Open
Me
mo
ry C
on
su
mp
tio
n (
MB
yte
s)
DirectWrite Rendering
GDI TextTimes New Roman 12 Point
ClearType Compatible Widths
DirectWriteTimes New Roman 12 Point
ClearType Sub-Pixel Positioning
GDI Future
DirectX
GDI2D Text ImagingDevice
Control
D2D DWrite DXGID3D WIC
http://msdn.microsoft.com/en-us/library/dd370990(VS.85).aspx
Performance
• Background Processing• Graphics• Power Efficiency
Reduce Workload Power
Time
Watt
s
0W - Off
Idle Power
• Trade quality or performance for power savings
• Examples• Index only high-
priority items• Disable animations• DVD playback at
30fps instead of 60fps
• “Race to Sleep”• Execute rapidly
at high power• Quickly re-enter
low-power state• Extend average
idle duration• Examples
• Timer coalescing
Idle
• Resource utilization optimizations• Reduce power by
eliminating unnecessary activity
• Examples:• Events and notifications
instead of polling• Extending polling
intervals• Eliminating periodic
disk activity
Power Efficiency – Timer Coalescing API
Platform energy efficiency can be improved by extending idle periods
New timer coalescing API enables callers to specify a tolerance for due timeEnables the kernel to expire multiple timers at the same time
Timer tick15.6 ms
Periodic Timer Events
Windows 7
Vista
Power Policy Enhancements
Iterative evolution of Vista power policyContinue 3 plans: Performance, Balanced, Power SaverSame toolsetRefined UI elementsNew power settings for Windows 7 featuresMinor changes to idle timeout defaults
Power WMI ProviderEnables power policy configuration through standard WMI interface
New Windows 7 Power Policies
Name GUID Description
Default (Balanced)
AC DC
Unattended sleep timeout
7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Determines the amount of inactivity time before the system automatically sleeps if the computer resumed without a user present
2 minutes2
minutes
System cooling policy
94d3a615-a899-4ac5-ae2b-e4d8f634367f
Determines if Active or Passive cooling should be favored for thermal zones
Active Active
Reserve battery level
f3c5027d-cd16-4930-aa6b-90db844a8f00
Configures the percentage of battery capacity remaining before displaying the reserve battery warning
n/a 7%
AHCI link power mode
0b2d69d7-a2a1-449c-9680-f91c70521c60
Configures AHCI link power modes (HIPM, DIPM) and link power states (Partial, Slumber, Active)
HIPM, Partial
HIPM, Slumber
Allow System Required
Policy
a4b195f5-8225-47d8-8012-9d41369786e2
Enable applications to prevent the system from idling to sleep
Enabled Enabled
Dim Display After
17aaa29b-8b43-4b94-aafe-35f64daaf1ee
Determines the amount of inactivity time before the system automatically reduces the brightness of the display on a mobile PC
5 minutes2
minutes
Power Efficiency
• Power Options• PowerDemo
demo
Windows 7 Continues
B108: Security & ManagementB109: DeploymentC108: Green ITC110: ForeFrontA112: Surface!
Save the date for tech·days next year!
14 – 15 avril 2010, CICG
Classic Sponsoring Partners
Premium Sponsoring Partners
PowerPoint Guidelines
Font, size, and color for text have been formatted for you in the Slide MasterUse the color palette shown belowSee next slide for additional guidelinesHyperlink color: www.microsoft.com
Sample FillSample FillSample Fill
Sample FillSample FillSample Fill
PowerPoint TemplateSubtitle color
Example of a slide with a subheadSet the slide title in “title case”Set subheads in “sentence case”Generally set subhead to 36pt or smaller so it will fit on a single lineThe subhead color is defined for this template but must be selected; In PowerPoint 2007, it is the fourth font color from the left
Bar Chart Example
Categ
ory
1
Categ
ory
2
Categ
ory
3
Categ
ory
40
1
2
3
4
5
Series 1Series 2Series 3
Pie Chart Example
59%23%
10%9%
Chart Title
1st Qtr2nd Qtr3rd Qtr4th Qtr
Line Chart Example
Categ
ory
1
Categ
ory
2
Categ
ory
3
Categ
ory
40
1
2
3
4
5
6
Series 1Series 2Series 3Series 4
Area Chart Example
0
2
4
6
8
10
12
14
Series 3
Series 2
Series 1
Slide for Showing Developer’s Software CodeUse this layout to show software codeThe font is Courier, a monospace fontThe slide doesn’t use bullets but levels can be indented using the “Increase List Level” icon on the Home menu
Demo Title
NameTitleGroup
demo
Video Title
video
Partner Title
NameTitleCompany
partner
Customer Title
NameTitleCompany
customer
Announcement Title
announcing
Windows Vista: Lessons Learnt
Minimize change Keep Laser sharp focus on OS stability, reliability and performance. More importantly avoid disruptions
Help bolster productivity Reduce learning curve and provide improved toolsets and documentation
Create new and exciting experiences
Build next generation software experiences that make your users lives richer