21

Network Testing: Taming the Beast Adam Dare Software Design Engineer in Test Xbox Platform Team Microsoft

Embed Size (px)

Citation preview

Network Testing: Taming the Beast

Adam DareSoftware Design Engineer in TestXbox Platform TeamMicrosoft

AgendaTerminologyLIVE Parties OverviewToolsQ&A

BandwidthUpload: From local to remoteDownload: From remote to local

Latency Round-trip

Packet LossPortPort Forwarding

UPnP

Terminology

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)

NAT (Cont’d)Connectivity Chart

Terminology (cont’d)

Open Moderate Strict

Open

Moderate

Strict

Peer-to-Peer Network

Terminology (cont’d)

Full MeshOpen

Open

OpenOpen

Partial MeshOpen

Moderate

ModerateStrict

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

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

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

LIVE Parties Overview (cont’d)

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

NEWT Internet

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network Traffic Settings

Machine Filter

Network Adapters

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network EmulatorNetwork Emulator for Windows Toolkit

Comes with Xbox 360 XDK

Tools

Network Monitor

NetMonComes with Xbox XDK

Tools (cont’d)

Network Traffic Visualizer

NetGrove Network Packet Analyzer

Comes with Xbox 360 XDK

Tools (cont’d)

Demo

Controlled environmentTest hooks and debug features

Enabling test automationRecord/playbackDisabling network traffic encryption

LoggingInstrumentationCode profilersCode coverage

Tools (cont’d)

Q & A

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.