Network Emulation as a Basis for Performance Analysis of Groupware. Prof. Dr. rer. nat. habil. Dr. h. c. Alexander Schill Dipl. Inf.



Similar documents
Computer Networks and Distributed Systems as a Basis for Cooperative Applications

packet retransmitting based on dynamic route table technology, as shown in fig. 2 and 3.

ns-2 Tutorial Exercise

Network Simulation Traffic, Paths and Impairment

VOICE OVER IP AND NETWORK CONVERGENCE

Testing & Assuring Mobile End User Experience Before Production. Neotys

Optimization of VoIP over e EDCA based on synchronized time

Performance Measurement of Wireless LAN Using Open Source

Requirements of Voice in an IP Internetwork

CHAPTER 6. VOICE COMMUNICATION OVER HYBRID MANETs

Network performance in virtual infrastructures

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

A Passive Method for Estimating End-to-End TCP Packet Loss

Final for ECE374 05/06/13 Solution!!

Influence of Load Balancing on Quality of Real Time Data Transmission*


Measuring the Impact of Security Protocols for Bandwidth

The ISP Column A monthly column on all things Internet

Optimizing Converged Cisco Networks (ONT)

TCP in Wireless Mobile Networks

Internet Infrastructure Measurement: Challenges and Tools

Wave Relay System and General Project Details

OpenFlow: Load Balancing in enterprise networks using Floodlight Controller

A Link Load Balancing Solution for Multi-Homed Networks

Three Key Design Considerations of IP Video Surveillance Systems

Quantifying the Performance Degradation of IPv6 for TCP in Windows and Linux Networking

School of Information Science (IS 2935 Introduction to Computer Security, 2003)

Chapter 4. VoIP Metric based Traffic Engineering to Support the Service Quality over the Internet (Inter-domain IP network)

Dynamic Network Resources Allocation in Grids through a Grid Network Resource Broker

Analysis of Effect of Handoff on Audio Streaming in VOIP Networks

Performance of VMware vcenter (VC) Operations in a ROBO Environment TECHNICAL WHITE PAPER

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Network Simulator: ns-2

H.323 Traffic Characterization Test Plan Draft Paul Schopis,

Truffle Broadband Bonding Network Appliance

Globus Striped GridFTP Framework and Server. Raj Kettimuthu, ANL and U. Chicago

IPv4 and IPv6 Integration. Formation IPv6 Workshop Location, Date

Mobile Communications Chapter 9: Mobile Transport Layer

SSVVP SIP School VVoIP Professional Certification

Networking 4 Voice and Video over IP (VVoIP)

COMPARISON BASED ON VARIOUS PERFORMANCE PARAMETERS BETWEEN WIMAX AND LTE USING NS2

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

How To Monitor Performance On Eve

Allocating Network Bandwidth to Match Business Priorities

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

diversifeye Application Note

Network Friendliness of Mobility Management Protocols

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

IP Office Technical Tip

ToMaTo - a network experimentation tool

Requirements for Simulation and Modeling Tools. Sally Floyd NSF Workshop August 2005

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

Multicast Network Administration Control in Diff Services

Analysis of IP Network for different Quality of Service

SIP Trunking and Voice over IP

VoIP Conformance Labs

NETWORK DELAY: HOW RELIABLE NETWORK ANALYZER SOFTWARE DEVELOPMENT

IBM Tivoli Monitoring for Network Performance

ROSENET: A REMOTE SERVER-BASED NETWORK EMULATION SYSTEM

Performance Analysis of IPv4 v/s IPv6 in Virtual Environment Using UBUNTU

Low-rate TCP-targeted Denial of Service Attack Defense

Exercises on ns-2. Chadi BARAKAT. INRIA, PLANETE research group 2004, route des Lucioles Sophia Antipolis, France

OPNET Network Simulator

Performance Analysis of AQM Schemes in Wired and Wireless Networks based on TCP flow

Disaster-Resilient Backbone and Access Networks

NetIQ Chariot and Application Scanner for Application Performance Management

Computer Networks CS321

Measurement of IP Transport Parameters for IP Telephony

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

The Problem with TCP. Overcoming TCP s Drawbacks

Multimedia Requirements. Multimedia and Networks. Quality of Service

Virtual Leased Line (VLL) for Enterprise to Branch Office Communications

SystemC - NS-2 Co-simulation using HSN

OPNET - Network Simulator

Networking Topology For Your System

Challenges of Sending Large Files Over Public Internet

ENSC 427: Communication Networks. Analysis of Voice over IP performance on Wi-Fi networks

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

AN OVERVIEW OF QUALITY OF SERVICE COMPUTER NETWORK

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

5 Performance Management for Web Services. Rolf Stadler School of Electrical Engineering KTH Royal Institute of Technology.

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Region 10 Videoconference Network (R10VN)

Introducing Cisco Unified Communications Express

IxLoad VoIP SIP, MGCP Features

Performance Monitoring on Networked Virtual Environments

Comparison of Web Server Architectures: a Measurement Study

Transcription:

Network Emulation as a Basis for Performance Analysis of Groupware Prof. Dr. rer. nat. habil. Dr. h. c. Alexander Schill Dipl. Inf. Robert Lübke

Contents 1. Motivation 2. Network characteristics and effects 3. State of the art Network simulation Network emulation Hybrid approach 4. NESSEE Emulation platform General architecture Network testing with NESSEE Demonstration 5. Conclusion 2

1. Motivation Why do we need to reproduce network characteristics? Performing experiments in real test networks is only feasible in small scenarios (high coordination effort) Need for reproducible and controllable large-scale experiments Domains: Network protocol development Network application development Mobile app development Use cases: Testing and validation Performance analysis Focus of this talk 3

Motivation: Video Conferencing Scenario Scenario: Video conferencing system with collaboration features Source: Citrix Online, demonstration video 4

Gateway Motivation: Video Conferencing Scenario offered as Software as a Service Data Center (multiple Video Servers) ISP1 ISP2 ISP3 Home Office DSL 6MBit/s Delay: 15ms Loss: 0.2% Internet LTE 16MBit/s Delay: 50ms Loss: 0.6% Leased Line 100MBit/s Delay: 20ms Loss: 0.3% Corporate Network Delay: 5ms Loss: 0.1% Router Delay: 3ms Loss: 0.1%

Motivation: Video Conferencing Scenario Possible testing goals: Does the video conference software properly reconnect after a disconnect? Does the ISP failback mechanism work? How many clients does the video server support? How is the end user experience (video quality) under bad network conditions? 6

2. Network characteristics and effects What are relevant characteristics and effects for reproducing network behavior? Network topologies Data rate Packet delay and its variation (jitter) Packet-level effects: loss, reordering, duplication Connection-level effects: disconnection, handover 7

Network Topologies Communication via multi hop connections with possible network impairments on every link / node Tx Rx Tx: Sender Rx: Receiver P: Path H: Path length (hops) Consideration of the cumulated effects on one path 8

Data rate Specifies how much data can be transferred in a given time unit Often called (network / data / digital) bandwidth, because of its proportionality to the analog bandwidth of the physical channel (in Hz) Common metrics: Capacity C P Maximum data rate of a given network path P Available bandwidth A time-dependent, specified by the current utilizations (0 u 1) and capacities of the corresponding links Bulk TCP Throughput BTT specifies how much payload data can be transferred in a given amount of time using TCP 9

Packet Delay Time between sending and receiving a message Common metrics: One Way Delay (OWD) only one communication direction Round Trip Delay (RTD) time between sending a message and receiving the corresponding answer Overall delay: routing delay D R processing and queueing inside the router transmission delay D T placing the packet onto the link propagation delay D P passing the packet from one end of the link to the other 10

Variability of Packet Delay - Jitter In real networks packet delay is usually not constant. Packet Jitter ΔOWD Variability of packet inter-arrival times Calculation is based on packet delay definition of two subsequent packets (j and j-1) 0 0 If packets j and j-1 have the same size and are sent over the same path, the transmission and propagation delays equalize. ΔOWD mainly depends on varying load and queue sizes of the routers due to parallel traffic 11

Packet Loss Causes Packet content is corrupted during transmission Error is recognized (check sum), but cannot be corrected Packet is dropped Congestion in network nodes: queues of a router are full Packets are dropped Metric One Way Loss Ratio OWLR: Cumulated Packet Loss rate: P sent : Number of sent packets P rec : Number of received packets P : Path of length H 12

Further network effects Packet reordering Causes: parallel processing, load balancing on multiple paths, path changes Metric: Packet Reordering Rate (PRR) Packet duplication Causes: defective router Metric: Duplication Rate (DR) Disconnection Causes: defective hardware, power outage, insufficient signal strength in wireless technologies, firewalls Handover in wireless technologies Cause: user mobility Intra- and inter-technology handover Hard and soft handover 13

3. State of the Art What are current means to reproduce network behavior? Network simulation Network emulation Using software Using hardware Emulation environments 14

Network Simulation Synthetic approach to reproduce network conditions Simulation model Network topology and characteristics are transformed into a software model Quality of the model affects quality of the results Large scenarios and complex models high computation effort Advantages Reproducibility Controllability Disadvantages Huge scenarios cannot be simulated on one machine Limited to simulation of the network not suitable for testing applications 15

Network Simulation with ns-2 Example: Network Simulator ns-2 Discrete event simulator targeted at networking research Supports simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks Available for Linux, BSD, OS X and Windows (Cygwin) Visualization with Network Animator: 16 Image source: Network Animator documentation - http://www.isi.edu/nsnam/nam/

Network Simulation with ns-2 set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] set n4 [$ns node] set n5 [$ns node] Create six nodes $ns duplex-link $n0 $n2 2Mb 10ms DropTail $ns duplex-link $n1 $n2 2Mb 10ms DropTail $ns simplex-link $n2 $n3 0.3Mb 100ms DropTail $ns simplex-link $n3 $n2 0.3Mb 100ms DropTail $ns duplex-link $n3 $n4 0.5Mb 40ms DropTail $ns duplex-link $n3 $n5 0.5Mb 30ms DropTail Create links between the nodes set tcp [new Agent/TCP] $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n4 $sink $ns connect $tcp $sink $tcp set fid_ 1 $tcp set packetsize_ 552 set ftp [new Application/FTP] $ftp attach-agent $tcp Setup a TCP connection Setup a FTP over TCP connection Source: [AJ03] 17

Network Emulation Characteristics of real network traffic are modified according to a given configuration (traffic shaping) Can take place on different levels of the network stack IP level emulation is most established Categories: Hardware-based Software-based Emulation environment 18

Hardware-based Network Emulation Shape traffic between two or more network ports Mostly web-based user interfaces Advantages Dedicated hardware high performance and precision Disadvantages Expensive Missing flexibility (fixed configuration) Example: Linktropy 7500 PRO (Computer Networks Group) 19

Software-based Network Emulation Packet interception in the network stack of the operating system Manipulation of incoming and outgoing traffic (based on rules) Advantages Flexibility due to dynamic configuration Many different implementations for various use cases Disadvantages Performance and accuracy depend on concrete implementation and underlying hardware Examples: Linux: NISTNet [CS03], NetEm [Hem05], WANEm [KN11] FreeBSD: Dummynet [CR10], ModelNet [VYW+02], KauNet [GHB08] 20

Further devel. Data rate delay jitter loss corruption duplication reordering hand over disconnect topologies Software-based Network Emulation Emulator OS Remarks NISTNet Linux NetEm Linux WANEm Linux GUI available, detailled filters Part of Linux kernel, GUI available Good usability, Live CD Dummynet FreeBSD, Linux, Windows Part of FreeBSD kernel ModelNet FreeBSD Distributed emulation KauNet FreeBSD Pattern-based approach NetPath Linux High precision / performance

Network Emulation Environments Test networks with many distributed nodes Mostly based on federation of multiple universities / research institutes that share their infrastructure with each other Advantages Possibility to perform large experiments Disadvantages Resources must be reserved before the experiment Limited flexibility (mostly fixed network emulation configuration) Examples: 22

Amount of netw. param. Wireless emul. Mobility emul. Predefined netw. param. Access / usage Reproducibility Experiments on own resources Network Emulation Environments System Remarks PlanetLab O Large, distributed testbed EmuLab O ( ) Testbed & open source software OneLab O O ORBIT VINI O Contains multiple specialized testbeds Grid of 400 wireless nodes in laboratory environment Based on PlanetLab; adds better controllability and realistic emul. WhyNet Wireless network emulation Common focus: Network protocol development, instead of testing and experimenting with network applications 23

State of the art: preliminary conclusion What are means to reproduce network behavior for large-scale experiments with distributed systems? Simulation Too abstract, because software under test must be part of simulation model Emulation Using Hardware High performance / accuracy Missing flexibility, because of fixed configuration Using Software Used as a basis Highly flexible, extensible, adaptable of our own emulation platform Emulation environments Limited flexibility (mostly fixed configuration) Often: Cannot be used until adding machines to the federated testbeds 25

4. NESSEE Emulation Platform How to facilitate network tests and experiments for large-scale distributed systems? Research project in cooperation with Citrix Systems, Online Services Division Network Endpoint Server Scenario Emulation Environment 26

NESSEE Features Emulation platform that facilitates the setup and coordination of different kinds of testing Main features Network testing: fine-grained configuration of all relevant network characteristics Scalability testing: control and coordinate large numbers of software under test (SUT) instances (experiments with >6000) Functional testing: monitor the SUT, log file evaluation Test Description Language (TDL) and scriptable test cases to achieve flexibility and reusability (GUI for test case authoring) Continuous Integration (CI): run NESSEE tests from within the development workflow using common build and CI tools Platform independence: SUT on different operating systems supported (tested with Linux and Windows) Convenient web front end to manage the whole platform 27

Architecture NESSEE Editor create & edit test cases TDL file (Test Description Language) Central Log Repository Test System load test cases save logs Test System Client SUT Client SUT COM SSH Dedicated SUT machine Test Node Module controls gets log controls gets log NESSEE Server controls gets log controls gets log Test Node Module COM SSH Server SUT Server SUT Dedicated SUT machine Test System configures gets log Test System Client SUT Client SUT IPC SSH Dedicated SUT machine Test Node Module degraded Degrader (Network Emulation) Test Node Module IPC SSH Server SUT Server SUT 28 Dedicated SUT machine

Web front end Manage the whole platform: administrative tasks (test systems, configuration), test case management, test execution & monitoring Handle real-time updates from the NESSEE Server with WebSockets or long polling signalr framework Implemented in JavaScript / HTML5 dojo framework 29

Test Description Language (TDL) XML-based generic description language for test cases As simple as possible to allow manual editing Support for authoring environment (NESSEE Editor) Modular design with independent components Coordination functions TestCaseDescription Server functions Network Topology Behavior Client functions 30

Network testing with NESSEE TDL Example (Network Topology) <ClientComponents> <NetworkNode NetworkCapabilitiesId="DSL2000"> <NetworkEndpointType id="dsl2000endpoint"/> <NetworkNode NetworkCapabilitiesId="WiFiNRouter"> <NetworkEndpointType id="wifiendpoint" NetworkCapabilitiesId="OldWiFiEndpoint" /> </NetworkNode> </NetworkNode>... </ClientComponents> <ServerComponents> <Datacenter id="datacenter_asia"> <ISP id="isp03" NetworkCapabilitiesId="cap03"/> <ISP id="isp04" NetworkCapabilitiesId="cap04"/> <ISP id="isp05" NetworkCapabilitiesId="cap05"/> <VideoCluster id="vidcluster03" ISPId="isp03"/> </Datacenter> </ServerComponents> 31

Network testing with NESSEE Network emulator: extended version of KauNet for FreeBSD (based on DummyNet) Based on pipes and rules Pipe: configured with certain network characteristics (delay, loss, bandwidth, ) Rule: Defines which pakets have to pass which pipes (like firewall rules) 32

Network testing with NESSEE - DEMO DEMO 33

Evaluation NESSEE fulfills all requirements of an emulation platform for automated functional, load and network tests of distributed systems Non-functional requirement: Scalability Scalability and accuracy of the network emulation Deviations of configured and measured values in large and complex scenarios Results (relative deviations): - Data rate: ±3.50% - Packet Delay: ±0.20% - Packet loss: ±0.10% - Packet Reordering: ±0.13% - Packet duplication: ±0.00% 34

Evaluation Scalability of the script engine approach Comparison with other script engines in multiple scenarios Sufficient results (not always the best) Example scenario: Calls from script to native code

Evaluation Scalability of the IPC approach for controlling the SUT Maximum number of SUT instances per test system Dependence on underlying hardware 500 instances can be started in about 80s Active video conferences: 200 250 instances / test system

5. Conclusion Reproduction of network conditions is essential in tests and evaluation of network applications and distributed systems All relevant characteristics should be covered: data rate, delay, jitter, loss, reordering, duplication, hand over, disconnect Network Simulation: synthetic approach; uses simulation model Network Emulation: practical approach; shapes real traffic NESSEE Emulation Platform facilitates the setup and coordination of large-scale network, load and functional tests 37

Literature & References Literature: CROVELLA, Mark; KRISHNAMURTHY, Balachander: Internet Measurement: Infrastructure, Traffic and Applications. John Wiley & Sons, July 2006 TANENBAUM, Andrew; WETHERALL, David: Computer Networks. Prentice Hall International, July 2013 References: [AJ03]: ALTMAN, Eitan; JIMÉNEZ, Tania: NS Simulator for beginners, Lecture Notes, Univ. de Los Andes, Mérida, Venezuela and ESSI, Sophia-Antipolis, France [CR10]: CARBONE, Marta ; RIZZO, Luigi: Dummynet Revisited. In: ACM SIGCOMM Computer Communication Review 40 (2010), April, Nr. 2, S. 12 20. ISSN 0146 4833 [CS03]: CARSON, Mark ; SANTAY, Darrin: NIST Net: a Linux-based network emulation tool. In: ACM SIGCOMM Computer Communication Review 33 (2003), July, Nr. 3, S. 111 126. ISSN 0146 4833 [GHB08]: GARCIA, Johan ; HURTIG, Per ; BRUNSTROM, Anna: KauNet: A Versatile and Flexible Emulation System. In: Proceedings of the 5th Swedish National Computer Networking Workshop (SNCNW 2008). Karlskrona, Sweden, April 2008 [Hem05]: HEMMINGER, Stephen: Network Emulation with NetEm. In: linux.conf.au. Canberra, Australia, April 2005 [KN11]: KALITA, H.K. ; NAMBIAR, M.K.: Designing WANem : A Wide Area Network emulator tool. In: Third International Conference on Communication Systems and Networks (COMSNETS), 2011, S. 1 4 [VYW+02]: VAHDAT, Amin; YOCUM, Ken; WALSH, Kevin; MAHADEVAN, Priya ;KOSTIC, Dejan; CHASE, Jeff; BECKER, David: Scalability and Accuracy in a Large-Scale Network Emulator. In: Proceedings of the 5th symposium on Operating systems design and implementation. New York, NY, USA : ACM, 2002 (OSDI 02). ISBN 978 1 4503 0111 4, S. 271 284 [CPGD10]: CONCHON, Emmanuel ; PÉRENNOU, Tanguy ; GARCIA, Johan ; DIAZ, Michel: W-NINE: A Two-stage Emulation Platform for Mobile andwireless Systems. In: EURASIP J. Wirel. Commun. Netw. 2010 (2010), April, S. 3:1 3:12. ISSN 1687 1472 38