An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.

Slides:



Advertisements
Similar presentations
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Advertisements

Geoff Salmon, Monia Ghobadi, Yashar Ganjali, Martin Labrecque, J. Gregory Steffan University of Toronto.
1 Web Server Performance in a WAN Environment Vincent W. Freeh Computer Science North Carolina State Vsevolod V. Panteleenko Computer Science & Engineering.
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) SriramGopinath( )
Traffic Engineering With Traditional IP Routing Protocols
Lect-2: BasicsComputer Networks : An Introduction to Computer Networks Handout #2: Foundations and Basic Concepts Additional Reading Text book:
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Review on Networking Technologies Linda Wu (CMPT )
Color Aware Switch algorithm implementation The Computer Communication Lab (236340) Spring 2008.
A Scalable, Commodity Data Center Network Architecture Mohammad Al-Fares, Alexander Loukissas, Amin Vahdat Presented by Gregory Peaker and Tyler Maclean.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
MAC Layer Protocols for Sensor Networks Leonardo Leiria Fernandes.
Bandwidth Estimation: Metrics Mesurement Techniques and Tools By Ravi Prasad, Constantinos Dovrolis, Margaret Murray and Kc Claffy IEEE Network, Nov/Dec.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Can Google Route? Building a High-Speed Switch from Commodity Hardware Guido Appenzeller, Matthew Holliman Q2/2002.
Performance and Power Efficient On-Chip Communication Using Adaptive Virtual Point-to-Point Connections M. Modarressi, H. Sarbazi-Azad, and A. Tavakkol.
Network Simulation Internet Technologies and Applications.
Localized Asynchronous Packet Scheduling for Buffered Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York Stony Brook.
Chapter 4 Queuing, Datagrams, and Addressing
OMNET++. Outline Introduction Overview The NED Language Simple Modules.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
QoS Support in High-Speed, Wormhole Routing Networks Mario Gerla, B. Kannan, Bruce Kwan, Prasasth Palanti,Simon Walton.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Vladimír Smotlacha CESNET Full Packet Monitoring Sensors: Hardware and Software Challenges.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Salim Hariri HPDC Laboratory Enhanced General Switch Management Protocol Salim Hariri Department of Electrical and Computer.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Winter 2008CS244a Handout 31 CS244a: An Introduction to Computer Networks Handout 3: Foundations and Basic Concepts Nick McKeown Professor of Electrical.
Network Emulation for the Study and Validation of Traffic Models, Congestion and Flow Control in TCP/IP Networks Cheryl Pope Lecturer Department of Computer.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
4/19/20021 TCPSplitter: A Reconfigurable Hardware Based TCP Flow Monitor David V. Schuehler.
Lecture 12: Reconfigurable Systems II October 20, 2004 ECE 697F Reconfigurable Computing Lecture 12 Reconfigurable Systems II: Exploring Programmable Systems.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Using Heterogeneous Paths for Inter-process Communication in a Distributed System Vimi Puthen Veetil Instructor: Pekka Heikkinen M.Sc.(Tech.) Nokia Siemens.
Modeling and Simulating Time- Sensitive Networking Harri Laine.
Kraków4FutureDaQ Institute of Physics & Nowoczesna Elektronika P.Salabura,A.Misiak,S.Kistryn,R.Tębacz,K.Korcyl & M.Kajetanowicz Discrete event simulations.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Efficient Gigabit Ethernet Switch Models for Large-Scale Simulation Dong (Kevin) Jin David Nicol Matthew Caesar University of Illinois.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Precision Measurements with the EVERGROW Traffic Observatory Péter Hága István Csabai.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Studies of LHCb Trigger Readout Network Design Karol Hennessy University College Dublin Karol Hennessy University College Dublin.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Client-server communication Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
2003 컴퓨터 통신 1 Foundation # 컴퓨터 통신 2 Outline A Detailed FTP Example Layering Packet Switching and Circuit Switching Some terms –Data rate, “Bandwidth”
MicroGrid Update & A Synthetic Grid Resource Generator Xin Liu, Yang-suk Kee, Andrew Chien Department of Computer Science and Engineering Center for Networked.
PATH DIVERSITY WITH FORWARD ERROR CORRECTION SYSTEM FOR PACKET SWITCHED NETWORKS Thinh Nguyen and Avideh Zakhor IEEE INFOCOM 2003.
1 Scalability and Accuracy in a Large-Scale Network Emulator Nov. 12, 2003 Byung-Gon Chun.
Network Processing Systems Design
Ethernet Packet Filtering – Part 2 Øyvind Holmeide 10/28/2014 by.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 3 Part 3 Switching and Bridging
Bandwidth Estimation: Metrics Measurement Techniques and Tools
Instructor Materials Chapter 1: LAN Design
Architecture and Algorithms for an IEEE 802
Chapter 5 Network and Transport Layers
OSI Protocol Stack Given the post man exemple.
Transport Protocols over Circuits/VCs
Chapter 3 Part 3 Switching and Bridging
A Framework for Automatic Resource and Accuracy Management in A Cloud Environment Smita Vijayakumar.
Network Core and QoS.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Computer Networks Protocols
Performance of VoIP in a b wireless mesh network
Network Core and QoS.
Presentation transcript:

An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin

2 Overview and Motivation Gigabit Ethernet Widely used to build large-scale networks with many applications High bandwidth, low latency Packet delay and packet loss is now mainly caused in switch

3 Overview and Motivation Use simulation to study applications running on large-scale Gigabit Ethernet Need an efficient switch model in RINSE Control station Data aggregator RTU/Relays RINSE Simulator Expand the network Explore different architectures

4 Existing Switch Models Detailed models (OPNET, OMNet++) Different models for different types of switches High computational cost Require constant update and validation Simple Queuing Model (Ns-2, DETER) Simple FIFO queue One model for everything Queuing model based on data collected from real switch [Roman2008] [Nohn2004] Device-independent Model parameters derived from experimental data

5 Model Requirements Fast simulation speed No internal details Accurate packet delay and loss Device-independent Parameters derived from experimental data on real switches Same model derivation process Expected Model Simple Queue Model Detailed Model Queue model based on experiments Simple Queue Model Detailed Model Queue model based on experiments Expected Model Accurate packet delay and packet loss Less accurateMore Accurate Simulation Speed Slow Fast Black-box Switch Model

6 Model Design Approach Perform Experiments on real switch Build Analytical model Build RINSE model Evaluate Simulation Speed and Accuracy

7 Experiment Data to collect One-way packet delay sequence in switch Packet loss sequence in switch Challenge in Gigabit Environment High bit rate - 1Gb/s Low latency in switch -  s

8 Experiment Difficulties Accurate timestamp for one-way delay One Way Delay = transmission delay + wire propagation delay + delay in switch + delay in end host Software Timestamp at NIC driver,  s resolution Large delay at end hosts at high bit rate (>500Mb/s) Have to use hardware timestamp (NetFPGA) 4 on-board Gigabit Ethernet ports 10 ns resolution Eliminating end-host delay Processing/timestamping packets on the card

9 NetFPGA Card 1234 Experiment Setup Constant Bit Rate UDP flows packet size sending rate, #background flows Time_2 - Time_4 = delay per packet inside switch Problem: capture only about 2000 packets without a miss at 1Gb/s Input pcap Time 2Time 4

10 Experimental Results - Packet Delay (Low Load) Single flow Delay not dependent on sending rate Sufficient processing power to handle single flow up to 1Gb/s Model packet delay as a constant Packet Delay Vs Sending Rate (packet size = 100 Bytes)

11 Experimental Results - Packet Delay (High Load) Mean Delay Vs Sending Rate (packet size = 100 Bytes) 3 extra non-cross interface UDP flows, 950Mb/s each NetGear Low delay with small variance Sufficient processing power to handle 4 flows 3COM Use processor-sharing scheduling Assign weight to a flow according to its bit rate

12 Experimental Results - Packet Loss 0 - received 1 - lost A Packet Loss Sample Pattern 3COM Loss rate NetGear 0.4% 3COM 0.6% Strong autocorrelation exists among neighboring packets

13 Model Design Approach Perform Experiments on real switch Build Analytical model Build RINSE model Evaluate Simulation Speed and Accuracy

received 1 - lost state 1 state 2 state 3 Packet Loss Model 132 Kth order Markov Chain 2^K states Our Model - State Space state 1 - long burst of 0s state 2 - short burst of 0s state 3 – burst of 1s Next state depends on Current state #successive packets in the current state

15 Conclusion Experimental results justified our approach as necessary Approach: Building models based on experimental data on real switches Created a packet loss model based on experimental data

16 Ongoing Work Experiment Collect long data traces with Endace DAG card Cross-interface traffic Model Create a packet delay model Use Copula to model both distribution and autocorrelation of delay Study correlation between packet delay and loss Evaluation Compare simulation speed with the simple output queue model Compare simulation-generated trace with real data traces

17 Thank You

18 Experimental Results - Packet Delay (High Load) Packet Delay at Beginning of experiment under differenet sending rate (Mb/s) 3COM - Processor Sharing No idea about bit rate until sufficient packets passed Assign max weight at beginning Passed packets   bit rate dertermined  weight   delay 

19 Experimental Results - Packet Delay (Low Load) Single flow Delay NOT depends on sending rate Sufficient processing power to handle 1Gb/s single flow Model packet delay as a constant

20 Experiment Setup I Host NIC 1NIC 2traffic sendertraffic receiver timestamp Packet capture Switch send to self timestamp at NIC driver NIC to NIC overhead

21 RINSE - Architecture Scalable, parallel and distributed simulations Incorporates hosts, routers, links, interfaces, protocols, etc Domain Modeling Language (DML) A range of implemented network protocols Emulation support DML Configuration SSFNet configure SSF [Simulation Kernel] enhance SSF Standard/API implements Protocol Graph Interface 1 MAC PHY Interface N MAC PHY IPV4 ICMP Emulation Socket TCPUDPDNP3 MODBUS BGPOSPF …

22 RINSE - Switch Model Switch Layer black-box model Simple output queue model Flip-coin model - random delay and packet loss Simulation Time: complex queuing model > simple output queuing model > our black-box model ≥ coin model Switch Ethernet MAC Ethernet PHY Switch IP Ethernet MAC Ethernet PHY Host A UDP APP IP Ethernet MAC Ethernet PHY Host B UDP APP

23 Outline Overview and Motivation Our Approach Measurement Experimental Results and Model Conclusion and Ongoing Work

24 Our Approach Black-Box Switch Model Focus on packet delay and packet loss No detailed architecture, no queues Explore the statistical relation between data- in and data-out Paramters derived from data collected on real swtiches

25 Monitor traffic on every port Long trace (one day) Synchronized clock Real ISP network Model based on experiment, no assumption on traffic and internals

26 Trace-driven Traffic Model Basic question: –How to introduce different traffic sources into the simulation, while retaining the end-to-end congestion control Trace-driven –Problem: Rate adaptation from end-to-end congestion control causes shaping –Example: a connection observed on a high-speed unloaded link might still send packages at a rate much lower than what the link could sustain because somewhere else along the path insufficient resources are available. –Solution: Trace-driven source-level simulation preferable to trace- driven packet-level because data volume and the application-level pattern are NOT shaped by the network’s current property

27 Latency expectations on wired Ethernet End-to-end latency in switched Ethernet a function of the scheduling and call admission procedure in use not specific to Ethernet hard guarantee the Guaranteed Service specs (RFC 2212) statistical guarantees earliest-deadline-first virtual clock service curve based schedulers (INFOCOM 2000 paper by Liebeherr)

28 Black-Box Testing RFCs 2544 and Guidelines describe the steps to determine the capabilities of a router use homogeneous traffic for profiling, and not discuss creating models based on measurements [Shaikh 2001] Experience in black-box OSPF measurement focus on measuring its reaction times to OSPF routing messages [Hohn 2004] Bridging router performance and queuing theory simple queuing models, no loss events, and ignored interactions among ports 12 DAG cards synchronized by GPS [Roman 2007] A black-box router profiler Software testbed (ns2, Click modular router) Focus on single UDP flow and multiple TCP flows