50
B107: An Overview Of Dung T. Thoi Microsoft Switzerland Level 100299

Dung T. Thoi Microsoft Switzerland Level 100 299

Embed Size (px)

Citation preview

Page 1: Dung T. Thoi Microsoft Switzerland Level 100  299

B107: An Overview Of

Dung T. ThoiMicrosoft SwitzerlandLevel 100299

Page 2: Dung T. Thoi Microsoft Switzerland Level 100  299

What fuelled Windows 7

Customer Input

Developer Input

Engineering Excellence

Page 3: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 4: Dung T. Thoi Microsoft Switzerland Level 100  299

Everyday

Tasks Made

Easier

Helps you Live a Life Without Walls

Works the Way You

Want

Page 5: Dung T. Thoi Microsoft Switzerland Level 100  299

Everyday Tasks Made Easier

Page 6: Dung T. Thoi Microsoft Switzerland Level 100  299

Everyday Tasks Made Easier

• Task Bar• Preview• Jumplist• Pinning• Snap• Hover• Device Stage• Web Slice

demo

Page 7: Dung T. Thoi Microsoft Switzerland Level 100  299

Helps you Live a Life

Without Walls

Page 8: Dung T. Thoi Microsoft Switzerland Level 100  299

A Life Without Walls

• Libraries• Federated Search• Play To• VHD

demo

Page 9: Dung T. Thoi Microsoft Switzerland Level 100  299

Local Machine

My Docs

E-mail

Intranet Internet

MOSS 2007Team Sites

Legal

Sales

HR

Line of Business

Corporate Index

EMCDocumentum Repository

Where Enterprise Data Lives

10

Page 10: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 11: Dung T. Thoi Microsoft Switzerland Level 100  299

Works the Way

YOU Want

Page 12: Dung T. Thoi Microsoft Switzerland Level 100  299

Performance

• Background Processing• Graphics• Power Efficiency

Page 13: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 14: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 15: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 16: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 17: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 18: Dung T. Thoi Microsoft Switzerland Level 100  299

Trigger-Start

• Tablet PC Input Service• Bluetooth Support Service

(bthserv)• SCM• SC

demo

Page 19: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 20: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 21: Dung T. Thoi Microsoft Switzerland Level 100  299

Performance

• Background Processing• Graphics• Power Efficiency

Page 22: Dung T. Thoi Microsoft Switzerland Level 100  299

DirectX Technologies

Increased performance and visual quality (2x)Lower CPU usage than GDI/GDI+Hardware acceleratedReduced memory consumption

Direct2D

Direct3D

Segoe UIDirectWrite

DXVA & WIC

Page 23: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 24: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 25: Dung T. Thoi Microsoft Switzerland Level 100  299

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)

Page 26: Dung T. Thoi Microsoft Switzerland Level 100  299

DirectWrite Rendering

GDI TextTimes New Roman 12 Point

ClearType Compatible Widths

DirectWriteTimes New Roman 12 Point

ClearType Sub-Pixel Positioning

Page 27: Dung T. Thoi Microsoft Switzerland Level 100  299

GDI Future

DirectX

GDI2D Text ImagingDevice

Control

D2D DWrite DXGID3D WIC

http://msdn.microsoft.com/en-us/library/dd370990(VS.85).aspx

Page 28: Dung T. Thoi Microsoft Switzerland Level 100  299

Performance

• Background Processing• Graphics• Power Efficiency

Page 29: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 30: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 31: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 32: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 33: Dung T. Thoi Microsoft Switzerland Level 100  299

Power Efficiency

• Power Options• PowerDemo

demo

Page 34: Dung T. Thoi Microsoft Switzerland Level 100  299

Windows 7 Continues

B108: Security & ManagementB109: DeploymentC108: Green ITC110: ForeFrontA112: Surface!

Page 35: Dung T. Thoi Microsoft Switzerland Level 100  299

Save the date for tech·days next year!

14 – 15 avril 2010, CICG

Page 36: Dung T. Thoi Microsoft Switzerland Level 100  299

Classic Sponsoring Partners

Premium Sponsoring Partners

Page 37: Dung T. Thoi Microsoft Switzerland Level 100  299
Page 38: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 39: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 40: Dung T. Thoi Microsoft Switzerland Level 100  299

Bar Chart Example

Categ

ory

1

Categ

ory

2

Categ

ory

3

Categ

ory

40

1

2

3

4

5

Series 1Series 2Series 3

Page 41: Dung T. Thoi Microsoft Switzerland Level 100  299

Pie Chart Example

59%23%

10%9%

Chart Title

1st Qtr2nd Qtr3rd Qtr4th Qtr

Page 42: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 43: Dung T. Thoi Microsoft Switzerland Level 100  299

Area Chart Example

0

2

4

6

8

10

12

14

Series 3

Series 2

Series 1

Page 44: Dung T. Thoi Microsoft Switzerland Level 100  299

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

Page 45: Dung T. Thoi Microsoft Switzerland Level 100  299

Demo Title

NameTitleGroup

demo

Page 46: Dung T. Thoi Microsoft Switzerland Level 100  299

Video Title

video

Page 47: Dung T. Thoi Microsoft Switzerland Level 100  299

Partner Title

NameTitleCompany

partner

Page 48: Dung T. Thoi Microsoft Switzerland Level 100  299

Customer Title

NameTitleCompany

customer

Page 49: Dung T. Thoi Microsoft Switzerland Level 100  299

Announcement Title

announcing

Page 50: Dung T. Thoi Microsoft Switzerland Level 100  299

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