Top Banner
Developing the Web100 Based Network Diagnostic Tool (NDT) Internet2 piPEs Tutorial Rich Carlson [email protected]
37
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A Web Based Network Monitoring Tool

Developing the Web100 Based Network Diagnostic Tool (NDT)

Internet2 piPEs Tutorial

Rich Carlson

[email protected]

Page 2: A Web Based Network Monitoring Tool

11/9/04 2

Demo

http://ndt-newyork.abilene.ucaid.edu:7123http://ndt-newyork.abilene.ucaid.edu:7123

Page 3: A Web Based Network Monitoring Tool

11/9/04 3

Normal operation in campus

Page 4: A Web Based Network Monitoring Tool

11/9/04 4

Duplex Mismatch Detected

Page 5: A Web Based Network Monitoring Tool

11/9/04 5

Low throughput from remote host

Page 6: A Web Based Network Monitoring Tool

11/9/04 6

Increase TCP buffer size

Page 7: A Web Based Network Monitoring Tool

11/9/04 7

Motivation for work

Measure performance to users desktop

Develop “single shot” diagnostic tool that doesn’t use historical data

Combine numerous Web100 variables to analyze connection

Develop network signatures for ‘typical’ network problems

Page 8: A Web Based Network Monitoring Tool

11/9/04 8

Web100 Project

Joint PSC/NCAR project funded by NSF

‘First step’ to gather TCP data• Kernel Instrument Set (KIS)

Requires patched Linux kernel

Geared toward wide area network performance

Future steps will automate tuning to improve application performance

Page 9: A Web Based Network Monitoring Tool

11/9/04 9

Web Based Performance tool

Operates on Any client with a Java enabled Web browser

What it can do• Positively state if Sender, Receiver, or Network is operating properly

• Provide accurate application tuning info• Suggest changes to improve performance

Page 10: A Web Based Network Monitoring Tool

11/9/04 10

Web base Performance tool

What it can’t do• Tell you where in the network the problem is• Tell you how other servers perform• Tell you how other clients will perform

Page 11: A Web Based Network Monitoring Tool

11/9/04 11

Internet2 piPEs Project

Develop E2E measurement infrastructure capable of finding network problems

Tools include• BWCTL: Bandwidth Control wrapper for NLANR Iperf

• OWAMP: One-Way Active Measurement• NDT: Network Diagnostic Tool

Page 12: A Web Based Network Monitoring Tool

11/9/04 12

piPEs Integration

PerformanceMeasurement

Controller (PMC)

MeasurementDomain Interface

(MDI)

Performance Measurement Point (PMP)

Web Service

NetworkMonitoring

Database

Detect

Authorize

Schedule

Test

Store

Interface

BWCTL OWAMP TraceRoute NDT

DiscoveryModule

“Detective”Applet

Internet2 Detective

AnalysisModule

Performance MeasurementDomain (PMD)

Page 13: A Web Based Network Monitoring Tool

11/9/04 13

Bottleneck Link Detection

What is the slowest link in the end-2-end path?

• Monitors packet arrival times using libpcap routine• Use TCP dynamics to create packet pairs• Quantize results into link type bins (no fractional or bonded links)

Cisco URP grant work

Page 14: A Web Based Network Monitoring Tool

11/9/04 14

Duplex Mismatch Detection

Developed analytical model to describe how Ethernet responds (no prior art?)

Expanding model to describe UDP and TCP flows

Develop practical detection algorithm

Test models in LAN, MAN, and WAN environments

NIH/NLM grant funding

Page 15: A Web Based Network Monitoring Tool

11/9/04 15

Future enhancements

WiFi detection

Faulty Hardware detection

Congestion modification

Full/Half duplex detection

Page 16: A Web Based Network Monitoring Tool

11/9/04 16

Additional Functions and Features

Provide basic tuning information

Basic Features • Basic configuration file • FIFO scheduling of tests• Simple server discovery protocol• Federation mode support• Command line client support

Created sourceforge.net project page

Page 17: A Web Based Network Monitoring Tool

11/9/04 17

Availability

Open Source Development project• http://www.sourceforge.net/projects/ndt

Tools available via from• http://e2epi.internet2.edu/ndt/download.html• Contains source code

Email discussion list [email protected]• Goto http://e2epi.internet2.edu/ndt web site and click

–ndt-users – General discussion on NDT tool–ndt-announce – Announcements on new features

Page 18: A Web Based Network Monitoring Tool

11/9/04 18

NDT Flow Chart

Client

Web

Browser

Java

Applet

NDT - Server

Web

Server

Testing

Engine

Child

Test Engine

Spawn child

Well KnownNDT Server

Web RequestRedirect msgWeb Page Request

Web page response

Test Request

Control Channel

Specific test channels

Page 19: A Web Based Network Monitoring Tool

11/9/04 19

NDT servers

Page 20: A Web Based Network Monitoring Tool

11/9/04 20

Results and Observations

Changing desktop effects performance

Faulty Hardware identification

Mathis et.al formula fails

Page 21: A Web Based Network Monitoring Tool

11/9/04 21

10 Mbps NIC• Throughput 6.8/6.7 Mbps send/receive • RTT 20 ms• Retransmission/Timeouts 25/3

100 Mbps NIC• Throughput 84/86 Mbps send/receive• RTT 10 ms • Retransmission/Timeouts 0/0

Different Host, Same Switch Port

Page 22: A Web Based Network Monitoring Tool

11/9/04 22

100 Mbps FD

Ave Rtt %loss5.41 0.001.38 0.786.16 0.0014.82 0.00

10 Mbps72.80 0.018.84 0.75

Speed94.0922.5082.6633.61

6.997.15

LAN Testing Results

Page 23: A Web Based Network Monitoring Tool

11/9/04 23

100 Mbps FD

Ave Rtt %loss loss/sec5.41 0.00 0.03

1.38 0.78 15.11

6.16 0.00 0.03

14.82 0.00 0.10

10 Mbps

72.80 0.01 0.03

8.84 0.75 4.65

Speed94.09 Good22.50 Bad NIC82.66 Bad reverse 33.61 Congestion

6.99 Good7.15 Bad NIC

LAN Testing Results

Page 24: A Web Based Network Monitoring Tool

11/9/04 24

Mathis et.al Formula fails

Estimate = (K * MSS) / (RTT * sqrt(loss))• old-loss = (Retrans - FastRetran) / (DataPktsOut - AckPktsOut)

• new-loss = CongestionSignals / PktsOut

Estimate < Measured (K = 1)• old-loss 91/443 (20.54%)• new-loss 35/443 (7.90%)

Page 25: A Web Based Network Monitoring Tool

11/9/04 25

NDT Hardware Requirements

Minimum requirements• 500 MHz Intel or AMD CPU• 64 MB of RAM• Fast Ethernet

Buying something now• 2 GHz or better processor• 256 MB of RAM• Gigabit Ethernet

Disk space for executables and log files• No disk I/O involved during test

Page 26: A Web Based Network Monitoring Tool

11/9/04 26

NDT Software Requirements

Web100 enhancements• Linux kernel• User library

Other 3rd party SW needed to compile source• Java SDK • pcap library • Client uses Java JRE (beware of version mismatch)

NDT source file • Test engine (web100srv) requires root authority

Page 27: A Web Based Network Monitoring Tool

11/9/04 27

Recommended Settings

There are no settings or options for the Web based java applet.

• It allows the user to run a fixed set of tests for a limited time period

Test engine settings• Turn on admin view (-a option) • If multiple network interfaces exist use –i option to specify correct interface to monitor (ethx)

Simple Web server (fakewww)• Use –l fn option to create log file

Page 28: A Web Based Network Monitoring Tool

11/9/04 28

Potential Risks

Non-standard kernel required• GUI tools can be used to monitor other ports

Public servers generate trouble reports from remote users

• Respond or ignore emails

Test streams can trigger IDS alarms• Configure IDS to ignore NDT server

Page 29: A Web Based Network Monitoring Tool

11/9/04 29

Possible Alternatives

Other tools that can perform client testing• Several web sites offer the ability for a user to check PC upload/download speed.

• Internet2/Surfnet Detective• NCSA Advisor

Page 30: A Web Based Network Monitoring Tool

11/9/04 30

Supplemental information

Page 31: A Web Based Network Monitoring Tool

11/9/04 31

NDT’s Web100 Based Approach

Simple bi-directional test to gather E2E data

Gather multiple data variables from server

Compare measured performance to analytical values

Translate network values into plain text messages

Geared toward campus area network

Page 32: A Web Based Network Monitoring Tool

11/9/04 32

NDT Benefits

End-user based view of network

Can identify configuration problems

Can identify performance bottlenecks

Provides some ‘hard evidence’ to users and network administrators to reduce finger pointing

Doesn’t rely on historical data

Page 33: A Web Based Network Monitoring Tool

11/9/04 33

NDT methodology

Identify specific problem(s) that affect end users

Analyze problem to determine ‘Network Signature’ for this problem

Provide testing tool to automate detection process

Page 34: A Web Based Network Monitoring Tool

11/9/04 34

IEEE 802.11 (WiFi) Detection

Detect when host is connected via wireless (wifi) link

• Radio signal changes strength• NICs implement power saving features• Multiple standards (a/b/g/n)

Some data has been collected

Page 35: A Web Based Network Monitoring Tool

11/9/04 35

Faulty Hardware/Link Detection

Detect non-congestive loss due to• Faulty NIC/switch interface• Bad Cat-5 cable• Dirty optical connector

Preliminary works shows that it is possible to distinguish between congestive and non-congestive loss

Page 36: A Web Based Network Monitoring Tool

11/9/04 36

Full/Half Link Duplex setting

Detect half-duplex link in E2E path• Identify when throughput is limited by half-duplex operations

Preliminary work shows detection possible when link transitions between blocking states

Page 37: A Web Based Network Monitoring Tool

11/9/04 37

Normal congestion detection

Shared network infrastructures will cause periodic congestion episodes

• Detect/report when TCP throughput is limited by cross traffic

• Detect/report when TCP throughput is limited by own traffic