2007/01/031 Bandwidth Test Controller Speaker : Po-Chou Chen Cheng-Lin Tsai Advisor : Quincy Wu Date : 2008/01/03.

Slides:



Advertisements
Similar presentations
Taekyung Kim 0x410 ~ 0x International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international.
Advertisements

1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 3 Ethernet Technologies/ Ethernet Switching/ TCP/IP Protocol Suite and IP Addressing.
CCNA – Network Fundamentals
Intermediate TCP/IP TCP Operation.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Socket Programming.
1 Java Networking – Part I CS , Spring 2008/9.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Chapter 4 OSI Transport Layer
All rights reserved © 2006, Alcatel Accelerating TCP Traffic on Broadband Access Networks  Ing-Jyh Tsang 
Gursharan Singh Tatla Transport Layer 16-May
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Process-to-Process Delivery:
BWCTL March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
Web application architecture
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_a Transport Protocols - UDP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
Transport Layer: TCP and UDP. Overview of TCP/IP protocols Comparing TCP and UDP TCP connection: establishment, data transfer, and termination Allocation.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
BWCTL August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
All Rights Reserved © Alcatel-Lucent | TIA 30.3 Contribution | August 2010 Telecommunications Industry AssociationTR-30.3/ Arlington, VA.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Chapter 2 Applications and Layered Architectures Sockets.
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.
26th APAN - Queenstown, New Zealand - August 5, 2008 Installing PerfSONAR-BUOY John Hicks Indiana University TransPAC2
Page 1 Network Addressing CS.457 Network Design And Management.
NEES Cyberinfrastructure Center at the San Diego Supercomputer Center, UCSD George E. Brown, Jr. Network for Earthquake Engineering Simulation Analyzing.
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
Client/Server Socket Programming Project
13-Oct-2003 Internet2 End-to-End Performance Initiative: piPEs Eric Boyd, Matt Zekauskas, Internet2 International.
1 Iperf Adviser : Quincy Wu Speaker : Ying Shun Lin Nov.30 , 2005.
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
Socket Programming.
Bandwidth Test Controller (BWCTL) Speaker: Shin-Fu Huang Date: 2009/10/08 1.
1 PJSUA – A Command Line SIP User Agent Speaker: Li-Wen Chen Advisor: Quincy Wu Date: 2010/01/07.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Netprog: Client/Server Issues1 Issues in Client/Server Programming Refs: Chapter 27.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Agenda Socket Programming The OSI reference Model The OSI protocol stack Sockets Ports Java classes for sockets Input stream and.
10-Jun-05 BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Workshop.
1 Network Communications A Brief Introduction. 2 Network Communications.
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
Connect communicate collaborate Performance Metrics & Basic Tools Robert Stoy, DFN EGI TF, Madrid September 2013.
BWCTL August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
1 SIPp Speaker : Cheng-Lin Tsai Advisor : Quincy Wu Date : 2007/11/29.
1 Example security systems n Kerberos n Secure shell.
iperf a gnu tool for IP networks
BWCTL (Bandwidth Test Control)
LINUX ADMINISTRATION 1
Chapter 5 Network and Transport Layers
(bandwidth control) Jeff Boote Internet2
UNIX Services and Daemons
BWCTL (Bandwidth Test Control)
Process-to-Process Delivery:
Configuring Internet-related services
Issues in Client/Server Programming
Process-to-Process Delivery: UDP, TCP
Presentation transcript:

2007/01/031 Bandwidth Test Controller Speaker : Po-Chou Chen Cheng-Lin Tsai Advisor : Quincy Wu Date : 2008/01/03

2007/01/032 Outline Introduction Bwctl install Iperf Client & Daemon Demo Reference

2007/01/033 Introduction Bandwidth Test Controller (BWCTL) BWCTL was developed for use with E2E piPEs ( End-to-End Performance Initiative Performance Environment System ) and Abilene Measurement Infrastructure Motivation Iperf is one of the tools for throughput tests The major objective for the BWCTL was to create a resource allocation and scheduling daemon

2007/01/034 Introduction (Cont.) Benefits Run Iperf tool on two endpoints and hosts on intermediate paths before the development of BWCTL It allows authorized testers to request and run tests without hands on support from NOC staff

2007/01/035 Introduction (Cont.) BWCTL wraps Iperf by actually executing the Iperf command line program on the system BWCTL will work as a 3-party application. The client can arrange a test between two servers on two different systems

2007/01/036 Bwctl install Iperf version 2.0 NTP (ntpd) synchronized clock on the local system NTP system calls % tar –zxvf bwctl-$VERS.tar.gz % cd bwctl-$VERS %./configure --prefix=/ami # --prefix is only needed if you don't like the default # (/usr/local on most systems) % make % make install

2007/01/037 Bwctl install(Cont.) TCP/8423 Control communication – client to server TCP/ephemeral Control communication – server to server: Specific range settable using peer ports in bwctld.conf TCP/5001 Iperf testing port – Settable to a range using test ports in bwctld.conf UDP/5001 Iperf testing port – Settable to a range using test ports in bwctld.conf)

2007/01/038 Iperf Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss. Server side: $ iperf -s $ iperf -s -D (run the server as a daemon) $ iperf -s -R (remove the iperf service) Client side: $ iperf -c remohost

2007/01/039 Iperf (cont.) Client and Server Options -f [k|m|K|M ]:A letter specifying the format to print bandwidth numbers in. 'b' = bits/sec 'B' = Bytes/sec 'k' = Kbits/sec 'K' = KBytes/sec 'm' = Mbits/sec 'M' = MBytes/sec 'g' = Gbits/sec 'G' = GBytes/sec -i : Sets the interval time in seconds between periodic bandwidth -u: Use UDP rather than TCP -w: For TCP, this sets the TCP window size. For UDP, it is just the buffer which datagrams are received in

2007/01/0310 Iperf (cont.) Client Options -t : The time in seconds to transmit for (Default is 10 seconds ) -b: The UDP bandwidth to send at, in bits/sec. (Default is 1 Mbit/sec.) -n: Sends an array of len bytes num times Bind to an IPv6 address Server side: $ iperf -s -V Client side: $ iperf -c -V

2007/01/0311 bwctl (client) & bwctld (daemon) BWCTL contains two application bwctl (client) bwctld (daemon) bwctl bwctl makes requests to both endpoints of a test If no server is available on the localhost, the client handles the test endpoint.

2007/01/0312 bwctld (Daemon) bwctld bwctld is a traditional accept/fork style daemon The bwctld on each test host: Accepts request “Iperf” tests including time slot and parameters for test Responds with a tentative reservation or a denied message Brokers resources Runs tests Returns results to both sides of the test

2007/01/0313 Control Flow for BWCTL Architecture (General Case)

2007/01/0314 Local bwctld not available

2007/01/0315 Bwctld.conf var_dir vardir Directory path where the bwctld.pid file will be placed. user user Specifies the uid the bwctld process should run as. user can be specified using a valid user name on the system or by using -uid. This option is only used if bwctld is started as root. If the given user has root permissions, the root_folly option must also be specified. group group Specifies the gid the bwctld process should run as. group can be specified using a valid group name on the system or by using -gid. This option is only used if bwctld is started as root.

2007/01/0316 Bwctld.limits Hierarchical Limitclasses

2007/01/0317 Bwctld.limits (Cont.) Available per limitclass Root: Complete set of resources available Hostile: No tests allowed NOC: Inherit Root limits Peer: Limit UDP to 500m Could make children limitclasses for each individual peer if lower limits should be applied to some Normal: UDP not needed for most end users Open: No tests allowed

2007/01/0318 Bwctld.limits (Cont.) IP/netmask Assign net ::1/127 ami assign net /16 ami assign net /32 ami Username and AES key assign user mac ami

2007/01/0319 Bwctld.keys /ami/bin/aespasswd Used to create and manage an AES keyfile. SYNOPSIS aespasswd [-n] [-d] -f keyfile identity OPTIONS -n Create the keyfile -d Delete given identity from keyfile -f keyfile Specifies file that holds identity/key pairs

2007/01/0320 Running Bandwidth Test Controller Testing the bwctl Client /ami/bin/bwctl –c create a test toward /ami/bin/bwctl –s create a test from /ami/bin/bwctl -A AE aeskey mac –c -s Testing the bwctld with debug mode /ami/bin/bwctld -Z

2007/01/0321 Reference Internet2 Iperf