OWAMP (One-Way Active Measurement Protocol)

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
OWAMP March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
VOCAL System Requirements and Scalability. System Recommendations The recommended hardware system to support the VOCAL system is: 700 MHz, Pentium III.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Existing Network Study CPIT 375 Data Network Designing and Evaluation.
Performance Tradeoffs for Static Allocation of Zero-Copy Buffers Pål Halvorsen, Espen Jorde, Karl-André Skevik, Vera Goebel, and Thomas Plagemann Institute.
2007/01/031 Bandwidth Test Controller Speaker : Po-Chou Chen Cheng-Lin Tsai Advisor : Quincy Wu Date : 2008/01/03.
BWCTL March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
High Performance User-Level Sockets over Gigabit Ethernet Pavan Balaji Ohio State University Piyush Shivam Ohio State University.
Computer Emergency Notification System (CENS)
Tony McGregor RIPE NCC Visiting Researcher The University of Waikato DAR Active measurement in the large.
OWAMP August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
05-Apr-2006 OWAMP and BWCTL: Installation and Configuration Jeff Boote Network Performance Workshop.
10-Jun-2005 OWAMP and BWCTL: Installation and Configuration Jeff Boote Network Performance Workshop.
22-Sept-2005 Google Summer of Code Projects: Lightweight Precision Timestamps Jeff Boote.
10-Jun-2005 OWAMP (One-Way Active Measurement Protocol) Jeff Boote Network Performance Workshop.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
14-Nov-07 OWAMP (One-Way Latencies) BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Tools BOF-SC07.
INDIANAUNIVERSITYINDIANAUNIVERSITY Tsunami File Transfer Protocol Presentation by ANML January 2003.
L1/HLT trigger farm Bologna setup 0 By Gianluca Peco INFN Bologna Genève,
10-Jun-05 BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Workshop.
Securing Access to Data Using IPsec Josh Jones Cosc352.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
BWCTL August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
VMware ESX and ESXi Module 3.
Module 12: I/O Systems I/O hardware Application I/O Interface
Instructor Materials Chapter 9: Transport Layer
Module 8: Networking Services
BWCTL (Bandwidth Test Control)
Computer Hardware.
CCNA Routing and Switching Routing and Switching Essentials v6.0
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Planning, Configuring, And Troubleshooting WINS.
Securing the Network Perimeter with ISA 2004
Chapter 2: System Structures
What is Fibre Channel? What is Fibre Channel? Introduction
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Introduction to Networks
Dept. of Computer Science
(bandwidth control) Jeff Boote Internet2
CSCI 315 Operating Systems Design
Chapter 10: Device Discovery, Management, and Maintenance
OWAMP One-Way Active Measurement Protocol (Sample Implementation)
BWCTL (Bandwidth Test Control)
Chapter 2: System Structures
Chapter 8: Monitoring the Network
Network Attached Storage NAS100
Chapter 2: The Linux System Part 1
Operating System Concepts
CS703 - Advanced Operating Systems
Architectures of distributed systems Fundamental Models
Architectures of distributed systems Fundamental Models
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Chapter 2: Operating-System Structures
Chapter 2: The Linux System Part 5
CSE 451: Operating Systems Autumn 2003 Lecture 2 Architectural Support for Operating Systems Hank Levy 596 Allen Center 1.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
ONLINE SECURE DATA SERVICE
Architectures of distributed systems
CSE 451: Operating Systems Winter 2003 Lecture 2 Architectural Support for Operating Systems Hank Levy 412 Sieg Hall 1.
Requirements Definition
Architectures of distributed systems Fundamental Models
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Chapter 2: Operating-System Structures
CSE 486/586 Distributed Systems Time and Synchronization
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

OWAMP (One-Way Active Measurement Protocol) Jeff Boote (boote@internet2.edu) Network Performance Workshop Or… one-way ping 10-Jun-2005

What is it? OWD or One-Way PING A control protocol A test protocol A sample implementation of both One-Way latencies or Delay. Think of it as one-way ping. OWAMP itself is a control protocol, a test packet format, and a sample implementation. 2005-Mar-22

Why the OWAMP protocol? Find problems in the network Congestion usually happens in one direction first… Routing (asymmetric, or just changes) SNMP polling intervals mask high queue levels that active probes can show There have been many implementations to do One-Way delay over the years (Surveyor, Ripe…) The problem has been interoperability. http://www.ietf.org/internet-drafts/draft-ietf-ippm-owdp-014.txt The solution is standards. 2005-Mar-22

OWAMP Control protocol Supports authentication and authorization Used to configure tests Endpoint controlled port numbers Extremely configurable send schedule Configurable packet sizes Used to start/stop tests Used to retrieve results Provisions for dealing with partial session results Basically the client makes requests for tests with a server. 2005-Mar-22

OWAMP Test protocol Packets can be “open”, “authenticated”, or “encrypted” The protocol is effectively a packet format. 2005-Mar-22

Sample Implementation Applications owampd daemon owping client Built upon protocol abstraction library Supports one-off applications Allows authentication/policy hooks to be incorporated There is a one-off application in the distribution called powstream that creates a perpetual stream of packets from the server to the client for continuous testing. 2005-Mar-22

Functionality (owping client) owping client requests OWD tests from an OWAMP server Client can be sender or reciever Communication can be “open”, “authenticated”, or “encrypted” Supports the setup of many tests concurrently Supports the buffering of results on the server for later retrieval The command-line arguments were made as similar to ping as possible. 2005-Mar-22

Functionality (owampd) Accepts requests for OWD tests Responds with accepted/denied Tests are formally started with a StartSessions message from the client. Runs tests Sessions with packets received at the server are buffered for later retrieval Standard accept/fork style unix daemon 2005-Mar-22

Resource Allocation Each connection is “classified” (authentication) Each classification is associated with a set of hierarchical limits Bandwidth (bandwidth) Session buffer (disk) Data retention (delete_on_fetch) Connection policy (allow_open_mode) (no time dependent dimension to resource allocation in owampd) The parent owampd keeps track of current resource utilization needed to implement policy. 2005-Mar-22

Architecture See http://e2epi.internet2.edu/owamp/details.html 2005-Mar-22

General Requirements NTP (ntpd) synchronized clock on the local system Specific configuration requirements as specified in NTP talk… NTP system calls available gnumake for build process Getting a good stable NTP configuration is the most challenging task for obtaining good owamp results. 2005-Mar-22

Supported Systems FreeBSD 4.x, 5.x Linux 2.4,2.6 (Most recent versions of UNIX should work) The next version will be tested on SunOS before final release. 2005-Mar-22

Recommended Hardware Stable System Clock Temperature controlled environment No power management of CPU No strict requirements for CPU, Memory, Bus speed More tasking schedules will require more capable hardware Stable system clock is the most important feature. 2005-Mar-22

Example Hardware Intel SCB2 motherboard 2 x 1.266 GHz PIII, 512 KB L2 cache, 133 MHz FSB 2 x 512 MB ECC registered RAM (one/slot to enable interleaving) 2 x Seagate 18 GB SCSI (ST318406LC) Inter Ethernet Pro 10/100+ (i82555) (on-motherboard) We use these systems to support more than 44 concurrent streams of 10 packets/second The 44 concurrent streams represent intra-abilene testing. Hosts doing tests with external hosts are doing more. 2005-Mar-22

Operational concerns Time: Firewalls: NTP issues predominate the problems Determining an accurate timestamp “error” is in many ways more difficult than getting a “very good” timestamp Working as an “open” server requires UTC time source (For predefined test peers, other options available) Firewalls: Port filter trade-off Administrators like pre-defined port numbers Vendor manufactures would probably like to “prioritize” test traffic Owampd allows a range of ports to be specified for the reciever These issues will be discussed further in the hands-on session. 2005-Mar-22

Policy/Security Considerations Third-Party DoS source DoS target Resource consumption Memory (primary and secondary) Network bandwidth DoS source: A compromised owampd server could be used to send packets toward others. The implementation ensures that sessions can not be directed to random hosts in unauthenticated mode. (Only toward the OWAMP-control client.) Reasonable bandwidth limits and well protected AES keys should limit this risk. DoS target: Packets directed toward an owampd server can/will affect the precision of the valid test traffic. Someone might try to effect data plots by targetting hosts that do owamp measurements. Resource Consumption: owampd has policy controls to allocate resources to appropriate users. 2005-Mar-22

Policy Recommendations Restrict overall bandwidth to something relatively small Most OWAMP sessions do not require much Limit “open” tests to ensure they do not interfere with precision of other tests On Abilene, we attempt to be open until we can’t. 2005-Mar-22

Methodological Errors Our tests indicate a methodological error of 73 usec * Experiments with two systems connected via cross-over cable Two concurrent sessions (send,recv) 10 packets/second Intel SCB2 motherboard 2x512 MB ECC registered RAM Intel PRO/100+ integrated NIC * 95% confidence level (RFC 2679) * Error is specific to this hardware/intensity level * Old version of owamp, should be even better now. You should expect your results to be valid within 100usec’s of the error reported. (The error reported represents the NTP error, but does not include this error.) 2005-Mar-22

Availability http://e2epi.internet2.edu/owamp/ Currently available Mail lists: owamp-users@internet2.edu owamp-announce@internet2.edu https://mail.internet2.edu/wws/lists/engineering 2005-Mar-22

www.internet2.edu

Precision Related Context Switches This slide just illustrates where most of the methodological error comes from, it is not strictly important to understand from an operational point of view. There are 6 context switches from when the sender process first requests the time until the receiver process has all the data. The context switches that affect precision are 2–5 because they occur between the fetching of the system clock values on the respective systems. Implementation decision was made to do timing in user space to allow for more portability. (custom kernel’s not required) It would be possible to completely remove these 4 context switches if the implementation created its own system call that combined the functionality of reading the timestamp with the sending and receiving of the UDP packet. This is a possible future enhancement that could be done to improve worst-case accuracy for the subset of installations that need more precision. --------------------- Don’t go into this unless there is interest and questions. 2005-Mar-22