GAIA VoIP traffic generator and analyzer - PowerPoint PPT Presentation

About This Presentation
Title:

GAIA VoIP traffic generator and analyzer

Description:

To develop a system, for generating & analyzing VoIP traffic, capable of ... No comprehensive tool to support different codecs. 7. Server. 8. Server. 9. Concept ... – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 24
Provided by: cseIi3
Category:

less

Transcript and Presenter's Notes

Title: GAIA VoIP traffic generator and analyzer


1
GAIA VoIP traffic generator and analyzer

Presentation by Amrut Bang
Ashish Deshpande Vijay Gabale
Santosh Patil
Sponsored by
Pune Institute of Computer Technology
GS Lab Pvt. Ltd
2
Agenda
  • Problem definition
  • Need/Motivation
  • Existing solutions limitations
  • Concept of VoIP traffic generator analyzer
  • Features
  • Overall flow
  • System architecture
  • Immediate and long term goals
  • References

3
Problem Definition
  • To develop a system, for generating
    analyzing VoIP traffic, capable of simulating
    multiple hosts on a single machine to test the
    performance of server applications.

A VoIP network in a box
4
Need
  • Every application requires testing before
    deployment. Why?
  • To check the performance and the actual handling
    capacity under varying loads.
  • A mechanism to create the practical working
    conditions and analyze the targets behavior in
    it.

5
A Real World Problem
  • Small scale companies requirement.
  • To check scalability of the system.
  • Costs involved for multiple machines.
  • Complexity of maintaining network connections.
  • Real need a N/W card and a software.

6
Limitations of existing products
  • Commercial Applications Costly, only for
    Windows.
  • No open source tool to simulate multiple hosts on
    a single machine for VoIP.
  • Applications only piecemeal, targeted at the
    developer.
  • Lack well structured scriptable UI.
  • No comprehensive tool to support different
    codecs.

7
192.168.0.5
192.168.0.6
192.168.0.7
192.168.0.8
Server
8
192.168.0.5
192.168.0.6
192.168.0.7
192.168.0.8
192.168.0.1
Server
9
Concept
  • Generation of VoIP traffic, simulating multiple
    hosts on a single machine.
  • Configuring maintaining multiple different
    connections.
  • Analyzing the performance of target server
    application.
  • Precise measurement of testing parameters.
  • Generating reports and displaying results
    graphically.
  • Providing scriptable UI to help an expert.

10
Abstract view of VoIP traffic generator and
analyzer
11
Working of SIP Phone
SIP
User
RTP
UDP
Kernel
IP
Ethernet
12
List of Clients
..
Client 1
Client 2
Client n
Register
Client n
Client 2
Client 1

SIP RTP
Client n
Client 2
Client 1

UDP
Client1
Client 2
Client n

IP
Client 1
Client 2
Client n

User
ARP (IP Simulation)
Ethernet Layer
Network Hardware
13
IP Simulation

Client
172.16.0.21
Register request
ARP response
172.16.0.5
172.16.0.22
ARP broadcast
172.16.0.23
Server
Client
14
Features
  • Create multiple clients and maintain
    communication between them.
  • Generation capture of various packets (ARP,SIP,
    RTP).
  • Calculation of different performance parameters
  • Inputting load graphs
  • Decide No. of clients, Codec selection
  • Displaying server's response (Graph, Histogram,
    Dial)

15
Demo !
16
Overall Flow
Operator
Displaying Servers Response
Scripts
GUI
Shared Data
Shared Data
Target Server Application
Packet Generation Engine
Packet Capture Analysis
17
Client Registration
Client State Machine
Processing Logic
Call Initiation and Communication
Condition Variable Signaling
Global Circular Buffer
. . . . .
Pack1
. .
..
N/2
N/2
Pack2
..
N
Packet Building
Pack n
Receiving thread
LIBPCAP
LIBNET
Network Hardware
18
Design Complexities
  • SIP stack implementation.
  • Efficient memory utilization.
  • pthread_mutex_trylock() instead of
    pthread_mutex_lock().
  • pthread_cond_timedwait().
  • OS Limitations
  • - Thread constraints
  • - Maximum number of open files permitted

19
GAIA Offers
  • Multiple clients on a single machine.
  • Real traffic through simulated clients
  • Starting calls at different times making them
    last for different durations.
  • Several codec formats silent calls.
  • An entire VoIP network in a single box.

20
Immediate Goals
  • Modifying libnet library to eliminate buffer
    copies.
  • Enhanced GUI and scriptable interface.
  • Kernel component.
  • Randomizing traffic generation.
  • Scaling up by increasing no. of clients.

21
Long Term Goals
  • Incorporating more protocols.
  • Distributed load generation.

22
References
  • Jung Shr Vu, Per-Yuang Wang, The performance
    analysis of SIP-T signaling system in carrier
    class VoIP network, Advanced Information
    Networking and Applications, ieeexplore.ieee.org
  • A. Pescape, S. Avallone, G. Venter,Distributed
    Internet Traffic Generator (D-ITG) Analysis
    Experimentation over heterogeneous
    networks,Accepted poster at ICNP,2003
  • Andrew Tanenbaum,Computer Networks,Pearson
    Education
  • Matthias Dalheimer,Programming with Qt,
    OReilly
  • Mathews,Professional Linux Programming
  • POSIX thread (pthread) library manuals
  • RFC 3261- SIP, RFC 1889- RTP, RFC 2327- SDP

23
Thank you !
Write a Comment
User Comments (0)
About PowerShow.com