22-Sept-2005 Google Summer of Code Projects: Lightweight Precision Timestamps Jeff Boote.

Slides:



Advertisements
Similar presentations
Measuring IP Performance Geoff Huston Telstra. What are you trying to measure? User experience –Responsiveness –Sustained Throughput –Application performance.
Advertisements

Lecture 1: Logical, Physical & Casual Time (Part 2) Anish Arora CSE 763.
Categories of I/O Devices
Time in Distributed Systems
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.
Comp Spring 2003 Delay Jitter Ketan Mayer-Patel.
Network Time Protocol (NTP) August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
OWAMP March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
Fast Communication Firefly RPC Lightweight RPC  CS 614  Tuesday March 13, 2001  Jeff Hoy.
Computer Science 425 Distributed Systems CS 425 / ECE 428  2013, I. Gupta, K. Nahrtstedt, S. Mitra, N. Vaidya, M. T. Harandi, J. Hou.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Time and Synchronization Steve Ko Computer Sciences and Engineering University at Buffalo.
Time in Embedded and Real Time Systems Lecture #6 David Andrews
VIA and Its Extension To TCP/IP Network Yingping Lu Based on Paper “Queue Pair IP, …” by Philip Buonadonna.
Teaching material based on Distributed Systems: Concepts and Design, Edition 3, Addison-Wesley Copyright © George Coulouris, Jean Dollimore, Tim.
Active Messages: a Mechanism for Integrated Communication and Computation von Eicken et. al. Brian Kazian CS258 Spring 2008.
PAM A Measurement Study of Internet Delay Asymmetry Abhinav PathakPurdue University Himabindu PuchaPurdue University Ying ZhangUniversity of Michigan.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
1 Synchronization Part 1 REK’s adaptation of Claypool’s adaptation of Tanenbaum’s Distributed Systems Chapter 5.
1 Physical Clocks need for time in distributed systems physical clocks and their problems synchronizing physical clocks u coordinated universal time (UTC)
SNMP ( Simple Network Management Protocol ) based Network Management.
Enhanced NTP IETF – TicToc BOF Greg Dowd – Jeremy Bennington –
Data Communications and Networks
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
Architectures of distributed systems Fundamental Models
Sockets process sends/receives messages to/from its socket
Computer Science Lecture 10, page 1 CS677: Distributed OS Last Class: Naming Name distribution: use hierarchies DNS X.500 and LDAP.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice HP Library Encryption - LTO4 Key.
Mr C Johnston ICT Teacher BTEC IT Unit 05 - Lesson 05 Network Protocols.
Measuring IP Network Routing Convergence A new approach to the problem 59.
Parallel and Distributed Simulation Synchronizing Wallclock Time.
Computer Science Lecture 9, page 1 CS677: Distributed OS Last Class: Naming Name distribution: use hierarchies DNS Iterative versus Recursive name resolution.
Internet2 E2EPI End-2-End Performance Initiative Jeff W. Boote Internet2 29 May 2006.
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.
Virtual Private Networks: An Overview with Performance Evaluation Shashank Khanvilkar and Ashfaq Khokhar, University of Illinois at Chicago Presented by:
Kerberos By Robert Smithers. History of Kerberos Kerberos was created at MIT, and was named after the 3 headed guard dog of Hades in Greek mythology Cerberus.
10-Jun-2005 OWAMP (One-Way Active Measurement Protocol) Jeff Boote Network Performance Workshop.
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
Real-Time & MultiMedia Lab Synchronization Distributed System Jin-Seung,KIM.
ISDS 4120 Project 1 DWAYNE CARRAL JR 3/27/15. There are seven layers which make up the OSI (Open Systems Interconnection Model) which is the model for.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
14-Nov-07 OWAMP (One-Way Latencies) BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Tools BOF-SC07.
10-Jun-05 BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Workshop.
Distributed Systems Lecture 5 Time and synchronization 1.
BWCTL August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
BWCTL (Bandwidth Test Control)
Distributed Computing
OWAMP (One-Way Active Measurement Protocol)
Lecture 5 Time and synchronization
Understanding the OSI Reference Model
(bandwidth control) Jeff Boote Internet2
Northbound API Dan Shmidt | January 2017
Logical time (Lamport)
OWAMP One-Way Active Measurement Protocol (Sample Implementation)
BWCTL (Bandwidth Test Control)
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Architectures of distributed systems Fundamental Models
Architectures of distributed systems Fundamental Models
A tool for locating QoS failures on an Internet path
SNMP (Simple Network Management Protocol) based Network Management
Architectures of distributed systems
Logical time (Lamport)
Architectures of distributed systems Fundamental Models
Logical time (Lamport)
Presentation transcript:

22-Sept-2005 Google Summer of Code Projects: Lightweight Precision Timestamps Jeff Boote

2005-Sept-22 Summer of Code 2005 Program funded by Google ($2M) Supported students to work on open- source projects ($4500 per student) 400 students were selected Each student was required to have a mentoring organization 40 mentoring organizations Internet2 mentored 10 students

2005-Sept-22 Internet2 mentored projects Mostly transport-related things ( Two projects to characterize internal delays Three projects to work on a transport tool Two projects to work on thrulay One project to build a Gaim plug-in 8 success, 2 failures

2005-Sept-22 Lightweight Precision Timestamps Implement a lightweight timestamp API Basically gettimeofday() without a system call 2 projects successful

2005-Sept-22 Uses For Internet2 mostly network delay measurements Owamp Thrulay Bulk-transport protocol (delay based congestion control) Wide applicability (code profiling, etc…)

2005-Sept-22 OWAMP (the problem) One-way network latency measurements Control protocol Test protocol Sample implementation 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

2005-Sept-22 Sample Implementation Applications owampd daemon owping client Built upon protocol abstraction library Supports one-off applications Allows authentication/policy hooks to be incorporated

2005-Sept-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

2005-Sept-22 Functionality (owampd) 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

2005-Sept-22 Architecture

2005-Sept-22 Systemic Application Errors Our tests indicate a systemic 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 FreeBSD 4.6 * 95% confidence level (RFC 2679) * Error is specific to this OS/hardware/intensity level * Tests with older version of owamp, should be a little better now.

2005-Sept-22 Calibration Distribution

2005-Sept-22 Characterization of Error Owamp (Min delay was 56 usec) Timestamp fetching: usec Serialization: usec Unaccounted: usec Ping (RTT 57 usec) Timestamp Fetching: 5.07 usec Serialization: usec Unaccounted: usec

2005-Sept-22 Precision Related Context Switches

2005-Sept-22 Problems with “system” time for latency measurement Poor clock resolution (typically 1-10 msec) Large amount of time to actually fetch timestamp Some systems better than others Large jitter System-call - context switch threat No error estimates Drift estimate only happens at boot time for some systems Cold hardware

2005-Sept-22 Project Definition Use clock register (TSC) along with system-wide state to incorporate drift adjustment and conversion to UTC without system calls.

2005-Sept-22 Implementation Daemon Treat “system” clock as an upstream NTP server Synchronize TSC values to “system” clock –Saves transformation information in shared memory so all local process have access to identical transformation –Does not use locks - implemented with a rotating buffer with an index to the “current” set of coefficients (index updated with “atomic” operation)

2005-Sept-22 Implementation Client Read TSC values directly Read transformation information from shared memory

2005-Sept-22 Validation of Implementation See websites

2005-Sept-22 Features No system calls Clock resolution related to processor speed Potential to provide error estimates Quick convergence Spike supressor to deal with system time jitter PLL/FLL state machine based on NTP algorithms

2005-Sept-22 Future Enhancements to support OWAMP Add interaction with NTP to determine error of system clock Expose error of TSC synchronization as well as NTP

2005-Sept-22 Project Pages Fasttime (Alex Holkner) TSC-xluo (Xun Luo) (Both sites site references for related work)