Network Testing: Taming the Beast

21

description

Network Testing: Taming the Beast. Adam Dare Software Design Engineer in Test Xbox Platform Team Microsoft. Agenda. Terminology LIVE Parties Overview Tools Q&A. Terminology. Bandwidth Upload: From local to remote Download: From remote to local Latency Round-trip Packet Loss Port - PowerPoint PPT Presentation

Transcript of Network Testing: Taming the Beast

Page 1: Network Testing: Taming the Beast
Page 2: Network Testing: Taming the Beast

Network Testing: Taming the BeastAdam DareSoftware Design Engineer in TestXbox Platform TeamMicrosoft

Page 3: Network Testing: Taming the Beast

AgendaTerminologyLIVE Parties OverviewToolsQ&A

Page 4: Network Testing: Taming the Beast

BandwidthUpload: From local to remoteDownload: From remote to local

Latency Round-trip

Packet LossPortPort Forwarding

UPnP

Terminology

Page 5: Network Testing: Taming the Beast

NAT (Network Address Translation)Allows single internet facing IP address to be used by multiple network devicesMaps internet IP address + Port # to internal IP address + Port #Types of NATs:

Open: Router doesn’t care which port or IP address a return packet comes from, it just forwards the packet on.Moderate: Router requires the port on the return packet to be the same as originally sent, but doesn’t care about the IP address.Strict: Router requires the port AND IP address on the return packet to be the same as originally sent.

Terminology (cont’d)

Page 6: Network Testing: Taming the Beast

NAT (Cont’d)Connectivity Chart

Terminology (cont’d)

Open Moderate StrictOpenModerateStrict

Page 7: Network Testing: Taming the Beast

Peer-to-Peer NetworkTerminology (cont’d)

Full MeshOpen

Open

OpenOpen

Partial MeshOpen

Moderate

ModerateStrict

Page 8: Network Testing: Taming the Beast

System featureTitle independent up to 8-way voice chatLimited CPU and memory restrictionsLimited to 36Kbps upload bandwidthSends mostly voice network trafficTies into Xbox 360 QNet/XRNM networking interfaces

LIVE Parties Overview

Page 9: Network Testing: Taming the Beast

Xbox LIVE Statistics 11/01/09 – 12/01/09NAT Usage

Open: 74%Moderate: 21%Strict:5%

LIVE Parties Overview (cont’d)

Page 10: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

ToolsNEWT Internet

Page 11: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network Traffic Settings

Machine Filter

Network Adapters

Page 12: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Page 13: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Page 14: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Page 15: Network Testing: Taming the Beast

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Page 16: Network Testing: Taming the Beast

Network Monitor

NetMonComes with Xbox XDK

Tools (cont’d)

Page 17: Network Testing: Taming the Beast

Network Traffic Visualizer

NetGrove Network Packet Analyzer

Comes with Xbox 360 XDK

Tools (cont’d)

Page 18: Network Testing: Taming the Beast

Demo

Page 19: Network Testing: Taming the Beast

Controlled environmentTest hooks and debug features

Enabling test automationRecord/playbackDisabling network traffic encryption

LoggingInstrumentationCode profilersCode coverage

Tools (cont’d)

Page 20: Network Testing: Taming the Beast

Q & A

Page 21: Network Testing: Taming the Beast

www.microsoftgamefest.com

© 2009-2010 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.